This series backports the Neoverse-N1 #1542419 erratum workaround
to v5.4.35. The series was originally merged in v5.5.
These patches handle user-space. The kernel change was:
commit dd8a1f134884 ("arm64: ftrace: Ensure synchronisation in PLT setup
for Neoverse-N1 #1542419"), which was taken as a fix for v5.4.
Thanks,
James
Catalin Marinas (1):
arm64: Silence clang warning on mismatched value/register sizes
James Morse (3):
arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1
#1542419
arm64: Fake the IminLine size on systems affected by Neoverse-N1
#1542419
arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space
Documentation/arm64/silicon-errata.rst | 2 ++
arch/arm64/Kconfig | 16 +++++++++++++
arch/arm64/include/asm/cache.h | 3 ++-
arch/arm64/include/asm/cpucaps.h | 3 ++-
arch/arm64/kernel/cpu_errata.c | 32 +++++++++++++++++++++++++-
arch/arm64/kernel/sys_compat.c | 11 +++++++++
arch/arm64/kernel/traps.c | 9 ++++++++
7 files changed, 73 insertions(+), 3 deletions(-)
--
2.19.1
This series includes manually backported changes that implements Tegra
specific timeout callback to switch between finite and infinite HW busy
detection wait modes.
sdhci-tegra driver patch implements set_timeout callback based on one of
the sdhci host driver patch that refactors sdhci_set_timeout and allows
drivers to call __sdhci_set_timeout with their timeout callback
implementation.
Both of these patches are manually backported in this series.
Sowjanya Komatineni (3):
mmc: sdhci: Refactor sdhci_set_timeout()
sdhci: tegra: Implement Tegra specific set_timeout callback
sdhci: tegra: Enable MMC_CAP_WAIT_WHILE_BUSY host capability
drivers/mmc/host/sdhci-tegra.c | 32 ++++++++++++++++++++++++++++++++
drivers/mmc/host/sdhci.c | 38 ++++++++++++++++++++------------------
drivers/mmc/host/sdhci.h | 1 +
3 files changed, 53 insertions(+), 18 deletions(-)
--
2.7.4
This is the start of the stable review cycle for the 4.19.118 release.
There are 64 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri, 24 Apr 2020 09:48:23 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.118-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.19.118-rc1
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: fix buggy r0 retval refinement for tracing helpers
Waiman Long <longman(a)redhat.com>
KEYS: Don't write out to userspace while holding key semaphore
Wen Yang <wenyang(a)linux.alibaba.com>
mtd: phram: fix a double free issue in error path
Dan Carpenter <dan.carpenter(a)oracle.com>
mtd: lpddr: Fix a double free in probe()
Frieder Schrempf <frieder.schrempf(a)kontron.de>
mtd: spinand: Explicitly use MTD_OPS_RAW to write the bad block marker to OOB
Paul E. McKenney <paulmck(a)kernel.org>
locktorture: Print ratio of acquisitions, not failures
Stephen Rothwell <sfr(a)canb.auug.org.au>
tty: evh_bytechan: Fix out of bounds accesses
Maxime Roussin-Bélanger <maxime.roussinbelanger(a)gmail.com>
iio: si1133: read 24-bit signed integer for measurement
Dan Carpenter <dan.carpenter(a)oracle.com>
fbdev: potential information leak in do_fb_ioctl()
Florian Fainelli <f.fainelli(a)gmail.com>
net: dsa: bcm_sf2: Fix overflow checks
Chao Yu <yuchao0(a)huawei.com>
f2fs: fix to wait all node page writeback
Adrian Huang <ahuang12(a)lenovo.com>
iommu/amd: Fix the configuration of GCR3 table root pointer
Dan Carpenter <dan.carpenter(a)oracle.com>
libnvdimm: Out of bounds read in __nd_ioctl()
Jeffery Miller <jmiller(a)neverware.com>
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
Jan Kara <jack(a)suse.cz>
ext2: fix debug reference to ext2_xattr_cache
Randy Dunlap <rdunlap(a)infradead.org>
ext2: fix empty body warnings when -Wextra is used
Jacob Pan <jacob.jun.pan(a)linux.intel.com>
iommu/vt-d: Fix mm reference leak
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
drm/vc4: Fix HDMI mode validation
Chao Yu <yuchao0(a)huawei.com>
f2fs: fix NULL pointer dereference in f2fs_write_begin()
Trond Myklebust <trond.myklebust(a)hammerspace.com>
NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
Jack Zhang <Jack.Zhang1(a)amd.com>
drm/amdkfd: kfree the wrong pointer
Qian Cai <cai(a)lca.pw>
x86: ACPI: fix CPU hotplug deadlock
David Hildenbrand <david(a)redhat.com>
KVM: s390: vsie: Fix possible race when shadowing region 3 tables
Vegard Nossum <vegard.nossum(a)oracle.com>
compiler.h: fix error in BUILD_BUG_ON() reporting
Qian Cai <cai(a)lca.pw>
percpu_counter: fix a data race at vm_committed_as
Steven Price <steven.price(a)arm.com>
include/linux/swapops.h: correct guards for non_swap_entry()
Long Li <longli(a)microsoft.com>
cifs: Allocate encryption header through kmalloc
Gabriel Krisman Bertazi <krisman(a)collabora.com>
um: ubd: Prevent buffer overrun on command completion
Eric Sandeen <sandeen(a)redhat.com>
ext4: do not commit super on read-only bdev
Thomas Richter <tmricht(a)linux.ibm.com>
s390/cpum_sf: Fix wrong page count in error message
Nathan Chancellor <natechancellor(a)gmail.com>
powerpc/maple: Fix declaration made after definition
Alexander Gordeev <agordeev(a)linux.ibm.com>
s390/cpuinfo: fix wrong output when CPU0 is offline
Misono Tomohiro <misono.tomohiro(a)jp.fujitsu.com>
NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
Trond Myklebust <trond.myklebust(a)hammerspace.com>
NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
Alexandre Belloni <alexandre.belloni(a)bootlin.com>
rtc: 88pm860x: fix possible race condition
Lucas Stach <l.stach(a)pengutronix.de>
soc: imx: gpc: fix power up sequencing
Sowjanya Komatineni <skomatineni(a)nvidia.com>
clk: tegra: Fix Tegra PMC clock out parents
Dmitry Osipenko <digetx(a)gmail.com>
power: supply: bq27xxx_battery: Silence deferred-probe error
Claudiu Beznea <claudiu.beznea(a)microchip.com>
clk: at91: usb: continue if clk_hw_round_rate() return zero
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Report crash data in die() when panic_on_oops is set
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Trigger crash enlightenment only once during system crash.
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Unload vmbus channel in hv panic callback
Magnus Karlsson <magnus.karlsson(a)intel.com>
xsk: Add missing check on user supplied headroom size
Ilya Dryomov <idryomov(a)gmail.com>
rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
Ilya Dryomov <idryomov(a)gmail.com>
rbd: avoid a deadlock on header_rwsem when flushing notifies
Nathan Chancellor <natechancellor(a)gmail.com>
video: fbdev: sis: Remove unnecessary parentheses and commented code
ndesaulniers(a)google.com <ndesaulniers(a)google.com>
lib/raid6: use vdupq_n_u8 to avoid endianness warnings
Tianyu Lan <Tianyu.Lan(a)microsoft.com>
x86/Hyper-V: Report crash register data or kmsg before running crash kernel
Frank Rowand <frank.rowand(a)sony.com>
of: overlay: kmemleak in dup_and_fixup_symbol_prop()
Frank Rowand <frank.rowand(a)sony.com>
of: unittest: kmemleak in of_unittest_overlay_high_level()
Frank Rowand <frank.rowand(a)sony.com>
of: unittest: kmemleak in of_unittest_platform_populate()
Frank Rowand <frank.rowand(a)sony.com>
of: unittest: kmemleak on changeset destroy
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda: Don't release card at firmware loading error
Zenghui Yu <yuzenghui(a)huawei.com>
irqchip/mbigen: Free msi_desc on device teardown
Pablo Neira Ayuso <pablo(a)netfilter.org>
netfilter: nf_tables: report EOPNOTSUPP on unsupported flags/object type
Martin Fuzzey <martin.fuzzey(a)flowbird.group>
ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
Luke Nelson <lukenels(a)cs.washington.edu>
arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
Michael Walle <michael(a)walle.cc>
watchdog: sp805: fix restart handler
Roman Gushchin <guro(a)fb.com>
ext4: use non-movable memory for superblock readahead
Li Bin <huawei.libin(a)huawei.com>
scsi: sg: add sg_remove_request in sg_common_write
Josh Poimboeuf <jpoimboe(a)redhat.com>
objtool: Fix switch table detection in .text.unlikely
Luke Nelson <lukenels(a)cs.washington.edu>
arm, bpf: Fix offset overflow for BPF_MEM BPF_DW
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/dts/imx6qdl.dtsi | 5 +--
arch/arm/boot/dts/imx6qp.dtsi | 1 -
arch/arm/net/bpf_jit_32.c | 52 +++++++++++++++--------
arch/powerpc/platforms/maple/setup.c | 34 +++++++--------
arch/s390/kernel/perf_cpum_sf.c | 1 +
arch/s390/kernel/processor.c | 5 ++-
arch/s390/mm/gmap.c | 1 +
arch/um/drivers/ubd_kern.c | 4 +-
arch/x86/hyperv/hv_init.c | 6 ++-
arch/x86/include/asm/mshyperv.h | 2 +-
arch/x86/kernel/acpi/cstate.c | 3 +-
arch/x86/kernel/cpu/mshyperv.c | 10 +++++
drivers/acpi/processor_throttling.c | 7 ---
drivers/block/rbd.c | 25 +++++++----
drivers/clk/at91/clk-usb.c | 3 ++
drivers/clk/tegra/clk-tegra-pmc.c | 12 +++---
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 20 +++++++--
drivers/hv/channel_mgmt.c | 3 ++
drivers/hv/vmbus_drv.c | 60 +++++++++++++++++++-------
drivers/iio/light/si1133.c | 37 ++++++++++------
drivers/iommu/amd_iommu_types.h | 2 +-
drivers/iommu/intel-svm.c | 7 +--
drivers/irqchip/irq-mbigen.c | 8 +++-
drivers/mtd/devices/phram.c | 15 ++++---
drivers/mtd/lpddr/lpddr_cmds.c | 1 -
drivers/mtd/nand/spi/core.c | 1 +
drivers/net/dsa/bcm_sf2_cfp.c | 9 ++--
drivers/nvdimm/bus.c | 6 ++-
drivers/of/overlay.c | 2 +
drivers/of/unittest.c | 16 +++++--
drivers/power/supply/axp288_fuel_gauge.c | 4 +-
drivers/power/supply/bq27xxx_battery.c | 5 ++-
drivers/rtc/rtc-88pm860x.c | 14 +++---
drivers/scsi/sg.c | 4 +-
drivers/soc/imx/gpc.c | 24 ++++++-----
drivers/tty/ehv_bytechan.c | 21 +++++++--
drivers/video/fbdev/core/fbmem.c | 2 +-
drivers/video/fbdev/sis/init301.c | 4 +-
drivers/watchdog/sp805_wdt.c | 4 ++
fs/buffer.c | 11 +++++
fs/cifs/transport.c | 28 +++++++-----
fs/ext2/xattr.c | 8 ++--
fs/ext4/inode.c | 2 +-
fs/ext4/super.c | 5 ++-
fs/f2fs/node.c | 7 +--
fs/f2fs/super.c | 5 ++-
fs/nfs/callback_proc.c | 2 +
fs/nfs/direct.c | 2 +
fs/nfs/pagelist.c | 17 ++++----
include/acpi/processor.h | 8 ++++
include/keys/big_key-type.h | 2 +-
include/keys/user-type.h | 3 +-
include/linux/buffer_head.h | 8 ++++
include/linux/compiler.h | 2 +-
include/linux/key-type.h | 2 +-
include/linux/percpu_counter.h | 4 +-
include/linux/swapops.h | 3 +-
kernel/bpf/verifier.c | 45 +++++++++++++++-----
kernel/locking/locktorture.c | 8 ++--
lib/raid6/neon.uc | 5 +--
lib/raid6/recov_neon_inner.c | 7 +--
net/dns_resolver/dns_key.c | 2 +-
net/netfilter/nf_tables_api.c | 4 +-
net/rxrpc/key.c | 27 ++++--------
net/xdp/xdp_umem.c | 5 +--
security/keys/big_key.c | 11 ++---
security/keys/encrypted-keys/encrypted.c | 7 ++-
security/keys/keyctl.c | 73 +++++++++++++++++++++++++-------
security/keys/keyring.c | 6 +--
security/keys/request_key_auth.c | 7 ++-
security/keys/trusted.c | 14 +-----
security/keys/user_defined.c | 5 +--
sound/pci/hda/hda_intel.c | 19 +++------
tools/objtool/check.c | 5 +--
76 files changed, 508 insertions(+), 309 deletions(-)