Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 5.4-1.0.0-imx to v5.4.38 from stable #66

Merged
merged 258 commits into from
May 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
66491da
watchdog: reset last_hw_keepalive time at start
Mar 12, 2020
9d1062c
scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
jsmart-gh Mar 22, 2020
0c5733a
scsi: lpfc: Fix crash after handling a pci error
jsmart-gh Mar 22, 2020
8427b05
scsi: lpfc: Fix crash in target side cable pulls hitting WAIT_FOR_UNREG
jsmart-gh Mar 22, 2020
fb66926
scsi: libfc: If PRLI rejected, move rport to PLOGI state
javed-h Mar 27, 2020
acbfccc
ceph: return ceph_mdsc_do_request() errors from __get_parent()
Mar 6, 2020
b71ac80
ceph: don't skip updating wanted caps when cap is stale
ukernel Mar 10, 2020
a5f036a
pwm: rcar: Fix late Runtime PM enablement
geertu Mar 16, 2020
f507ae6
nvme-tcp: fix possible crash in write_zeroes processing
sagigrimberg Mar 23, 2020
713ad9b
scsi: iscsi: Report unbind session event when the target has been rem…
Mar 24, 2020
1310d96
tools/test/nvdimm: Fix out of tree build
santoshs Jan 14, 2020
90a33c2
ASoC: Intel: atom: Take the drv->lock mutex before calling sst_send_s…
jwrdegoede Apr 2, 2020
da2c733
nvme: fix deadlock caused by ANA update wrong locking
sagigrimberg Apr 2, 2020
8300465
drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax
Apr 5, 2020
1edfff7
dma-direct: fix data truncation in dma_direct_get_required_mask()
kishon Apr 6, 2020
16846f6
kernel/gcov/fs.c: gcov_seq_next() should increase position index
vaverin Apr 10, 2020
70638a7
selftests: kmod: fix handling test numbers above 9
ebiggers Apr 10, 2020
cb5d960
ipc/util.c: sysvipc_find_ipc() should increase position index
vaverin Apr 10, 2020
e84ef75
kconfig: qconf: Fix a few alignment issues
mchehab Apr 2, 2020
8652254
lib/raid6/test: fix build on distros whose /bin/sh is not bash
masahir0y Mar 26, 2020
ad11876
s390/cio: generate delayed uevent for vfio-ccw subchannels
cohuck Mar 27, 2020
ed61eec
s390/cio: avoid duplicated 'ADD' uevents
cohuck Mar 27, 2020
1712911
loop: Better discard support for block devices
Apr 3, 2020
107290a
Revert "powerpc/64: irq_work avoid interrupt when called with hardwar…
npiggin Apr 2, 2020
de1263d
powerpc/pseries: Fix MCE handling on pseries
Mar 20, 2020
1bfb642
nvme: fix compat address handling in several ioctls
draconx Mar 28, 2020
53cdc93
pwm: renesas-tpu: Fix late Runtime PM enablement
geertu Mar 16, 2020
41a3e44
pwm: bcm2835: Dynamically allocate base
ffainelli Feb 3, 2020
16c3705
perf/core: Disable page faults when getting phys address
olsajiri Apr 7, 2020
632d973
drm/amd/display: Calculate scaling ratios on every medium/full update
Apr 5, 2020
578aa47
ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN MPWIN895CL tablet
jwrdegoede Apr 5, 2020
bdb6137
ALSA: usb-audio: Add Pioneer DJ DJM-250MK2 quirk
Apr 1, 2020
e650a26
xhci: Ensure link state is U3 after setting USB_SS_PORT_LS_U3
khfeng Mar 12, 2020
ea6f701
xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT…
khfeng Mar 12, 2020
2be2132
xhci: Finetune host initiated USB3 rootport link suspend and resume
matnyman Mar 12, 2020
df38cda
drm/amd/display: Not doing optimize bandwidth if flip pending.
Mar 9, 2020
b91ae59
PCI/PM: Add pcie_wait_for_link_delay()
westeri Nov 12, 2019
39b9a0b
libbpf: Fix readelf output parsing on powerpc with recent binutils
aurel32 Dec 1, 2019
01fad93
PCI: pciehp: Prevent deadlock on disconnect
westeri Oct 29, 2019
ca958fe
ASoC: SOF: trace: fix unconditional free in trace release
kv2019i Jan 24, 2020
2390698
tracing/selftests: Turn off timeout setting
rostedt Nov 13, 2019
3edd552
virtio-blk: improve virtqueue error to BLK_STS
halil-pasic Feb 13, 2020
8a20fb1
scsi: smartpqi: fix controller lockup observed during force reboot
Oct 7, 2019
d867f27
scsi: smartpqi: fix call trace in device discovery
MurthyBhat37 Oct 7, 2019
3340d01
scsi: smartpqi: fix problem with unique ID for physical device
Oct 7, 2019
7720fd9
PCI/ASPM: Allow re-enabling Clock PM
hkallweit Oct 5, 2019
91097eb
PCI/PM: Add missing link delays required by the PCIe spec
westeri Nov 26, 2019
d02f424
cxgb4: fix adapter crash due to wrong MC size
vishalsdk Apr 22, 2020
3b759be
cxgb4: fix large delays in PTP synchronization
chelsiocudbg Apr 20, 2020
382f57b
ipv4: Update fib_select_default to handle nexthop objects
dsahern Apr 22, 2020
2d197d8
ipv6: fix restrict IPV6_ADDRFORM operation
jchax Apr 18, 2020
70a37b9
macsec: avoid to set wrong mtu
TaeheeYoo Apr 23, 2020
d5ba4c2
macvlan: fix null dereference in macvlan_device_event()
TaeheeYoo Apr 20, 2020
aa6a14b
mlxsw: Fix some IS_ERR() vs NULL bugs
Apr 22, 2020
49bbf32
net: bcmgenet: correct per TX/RX ring statistics
Apr 23, 2020
befd63a
net/mlx4_en: avoid indirect call in TX completion
Apr 15, 2020
21b1a76
net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
sherlly Apr 15, 2020
4acc0b1
net: openvswitch: ovs_ct_exit to be done under ovs_lock
xpu22 Apr 16, 2020
6885d58
net: stmmac: dwmac-meson8b: Add missing boundary to RGMII TX clock array
Apr 18, 2020
5a2ddf8
net/x25: Fix x25_neigh refcnt leak when receiving frame
sherlly Apr 23, 2020
a3afaa5
sched: etf: do not assume all sockets are full blown
Apr 21, 2020
8a60fad
selftests: Fix suppress test in fib_tests.sh
dsahern Apr 21, 2020
3f642d7
tcp: cache line align MAX_TCP_HEADER
Apr 17, 2020
755425c
team: fix hang in team_mode_get()
TaeheeYoo Apr 20, 2020
07856b2
vrf: Fix IPv6 with qdisc and xfrm
dsahern Apr 21, 2020
2537dc9
net: dsa: b53: Lookup VID in ARL searches when VLAN is enabled
ffainelli Apr 21, 2020
1fae6eb
net: dsa: b53: Fix valid setting for MDB entries
ffainelli Apr 21, 2020
2cc27f1
net: dsa: b53: Fix ARL register definitions
ffainelli Apr 21, 2020
cb1a18a
net: dsa: b53: Rework ARL bin logic
ffainelli Apr 21, 2020
51c935f
net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL
ffainelli Apr 21, 2020
b977fe1
vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
qsn Apr 22, 2020
ace87b4
geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
qsn Apr 22, 2020
dfbbb45
xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
dsahern Apr 20, 2020
b1bcb48
vrf: Check skb for XFRM_TRANSFORMED flag
dsahern Apr 20, 2020
419d8fb
KEYS: Avoid false positive ENOMEM error on key read
Waiman-Long Mar 22, 2020
23abb5f
ALSA: hda: Remove ASUS ROG Zenith from the blacklist
tiwai Apr 19, 2020
6ec99b9
ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
tiwai Apr 20, 2020
12c02c4
ALSA: usb-audio: Add connector notifier delegation
tiwai Apr 22, 2020
1495258
iio: core: remove extra semi-colon from devm_iio_device_register() macro
krepost Apr 15, 2020
02311bc
iio: st_sensors: rely on odr mask to know if odr can be set
yarlB Apr 11, 2020
db16806
iio: adc: stm32-adc: fix sleep in atomic context
Mar 9, 2020
f83a969
iio: adc: ti-ads8344: properly byte swap value
alexandrebelloni Apr 16, 2020
6a956eb
iio: xilinx-xadc: Fix ADC-B powerdown
larsclausen Apr 3, 2020
cf2849c
iio: xilinx-xadc: Fix clearing interrupt when enabling trigger
larsclausen Apr 3, 2020
b3e365a
iio: xilinx-xadc: Fix sequencer configuration for aux channels in sim…
larsclausen Apr 3, 2020
557f3f5
iio: xilinx-xadc: Make sure not exceed maximum samplerate
larsclausen Apr 3, 2020
b7758cd
USB: sisusbvga: Change port variable from signed to unsigned
Lawliar Apr 21, 2020
8409f83
USB: Add USB_QUIRK_DELAY_CTRL_MSG and USB_QUIRK_DELAY_INIT for Corsai…
Apr 10, 2020
1d53402
USB: early: Handle AMD's spec-compliant identifiers, too
thejh Apr 1, 2020
b48193a
USB: core: Fix free-while-in-use bug in the USB S-Glibrary
AlanStern Mar 28, 2020
50ad463
USB: hub: Fix handling of connect changes during sleep
AlanStern Apr 22, 2020
4fbf19b
USB: hub: Revert commit bd0e6c9614b9 ("usb: hub: try old enumeration …
AlanStern Apr 22, 2020
3d15344
tty: serial: owl: add "much needed" clk_prepare_enable()
Atomar25 Apr 16, 2020
f4f2353
vmalloc: fix remap_vmalloc_range() bounds checks
thejh Apr 21, 2020
fcfd63d
staging: gasket: Fix incongruency in handling of sysfs entries creation
CoreRasurae Apr 3, 2020
a77daaf
coredump: fix null pointer dereference on coredump
sudipm-mukherjee Apr 21, 2020
3c88e95
mm/hugetlb: fix a addressing exception caused by huge_pte_offset
Apr 21, 2020
5126bde
mm/ksm: fix NULL pointer dereference when KSM zero page is enabled
Apr 21, 2020
0005151
tools/vm: fix cross-compile build
lynxeye-dev Apr 21, 2020
16e373f
ALSA: usx2y: Fix potential NULL dereference
tiwai Apr 20, 2020
0939d06
ALSA: hda/realtek - Fix unexpected init_amp override
tiwai Apr 18, 2020
1e1f9d3
ALSA: hda/realtek - Add new codec supported for ALC245
KailangYang Apr 23, 2020
dbb11f1
ALSA: hda/hdmi: Add module option to disable audio component binding
tiwai Apr 15, 2020
d5cd821
ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
sherlly Apr 23, 2020
387039b
ALSA: usb-audio: Filter out unsupported sample rates on Focusrite dev…
puleglot Apr 18, 2020
86f1c52
tpm/tpm_tis: Free IRQ if probing fails
Apr 12, 2020
16244ed
tpm: fix wrong return value in tpm_pcr_extend
uudiin Apr 14, 2020
3fc644f
tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
Mar 20, 2020
3471257
KVM: s390: Return last valid slot if approx index is out-of-bounds
Apr 8, 2020
878127a
KVM: Check validity of resolved slot when searching memslots
Apr 8, 2020
52ca311
KVM: VMX: Enable machine check support for 32bit targets
ubizjak Apr 14, 2020
f1c0d32
tty: hvc: fix buffer overflow during hvc_alloc().
AndrewAtDaynix Apr 14, 2020
9de9003
tty: rocket, avoid OOB access
Apr 17, 2020
1b4e23a
usb-storage: Add unusual_devs entry for JMicron JMS566
AlanStern Apr 22, 2020
2082104
signal: Avoid corrupting si_pid and si_uid in do_notify_parent
ebiederm Apr 20, 2020
83f82fd
audit: check the length of userspace generated audit records
pcmoore Apr 20, 2020
f67f331
ASoC: dapm: fixup dapm kcontrol widget
gt82lee Apr 18, 2020
d62d852
mac80211: populate debugfs only after cfg80211 init
jmberg-intel Apr 23, 2020
7e69c9e
SUNRPC: Fix backchannel RPC soft lockups
chucklever Apr 17, 2020
222722b
iwlwifi: pcie: actually release queue memory in TVQM
jmberg-intel Apr 17, 2020
4025ac3
iwlwifi: mvm: beacon statistics shouldn't go backwards
gomord Apr 17, 2020
c93fb50
iwlwifi: mvm: limit maximum queue appropriately
jmberg-intel Apr 17, 2020
f1926b1
iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation
ilanpeer2 Apr 17, 2020
562489b
iwlwifi: mvm: fix inactive TID removal return value usage
jmberg-intel Apr 17, 2020
eabc107
cifs: fix uninitialised lease_key in open_shroot()
pcacjr Apr 21, 2020
921b7b1
ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
a3f Mar 23, 2020
dba6465
powerpc/setup_64: Set cache-line-size based on cache-block-size
cpackham-atlnz Apr 16, 2020
279dd75
staging: comedi: dt2815: fix writing hi byte of analog output
ian-abbott Apr 6, 2020
8f8d7f0
staging: comedi: Fix comedi_device refcnt leak in comedi_open
sherlly Apr 20, 2020
b027b30
vt: don't hardcode the mem allocation upper bound
npitre Mar 28, 2020
64882aa
vt: don't use kmalloc() for the unicode screen buffer
npitre Mar 29, 2020
ec5ad5e
staging: vt6656: Don't set RCR_MULTICAST or RCR_BROADCAST by default.
Apr 18, 2020
74bbe9d
staging: vt6656: Fix calling conditions of vnt_set_bss_mode
Apr 18, 2020
0bcc658
staging: vt6656: Fix drivers TBTT timing counter.
Apr 18, 2020
9f1a23c
staging: vt6656: Fix pairwise key entry save.
Apr 18, 2020
23d4405
staging: vt6656: Power save stop wake_up_count wrap around.
Apr 14, 2020
892de57
cdc-acm: close race betrween suspend() and acm_softint
oneukum Apr 15, 2020
f4d1cf2
cdc-acm: introduce a cool down
oneukum Apr 15, 2020
e1b6566
UAS: no use logging any details in case of ENODEV
oneukum Apr 15, 2020
22432bc
UAS: fix deadlock in error handling and PM flushing work
oneukum Apr 15, 2020
a0f1f53
fpga: dfl: pci: fix return value of cci_pci_sriov_configure
yilunxu1984 Feb 25, 2020
bf99695
usb: dwc3: gadget: Fix request completion check
Mar 31, 2020
11c2089
usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_re…
Apr 2, 2020
740c938
usb: typec: tcpm: Ignore CC and vbus changes in PORT_RESET change
Apr 2, 2020
8dbfb11
usb: typec: altmode: Fix typec_altmode_get_partner sometimes returnin…
grainrigi Apr 22, 2020
f385e76
xhci: Fix handling halted endpoint even if endpoint ring appears empty
matnyman Apr 21, 2020
54470b0
xhci: prevent bus suspend if a roothub port detected a over-current c…
matnyman Apr 21, 2020
fceab23
xhci: Don't clear hub TT buffer on ep0 protocol stall
matnyman Apr 21, 2020
3af0614
serial: sh-sci: Make sure status register SCxSR is read in correct se…
fujitakazuhiro Mar 27, 2020
1bb43b4
Revert "serial: uartps: Fix uartps_major handling"
Apr 3, 2020
6fcbf58
Revert "serial: uartps: Use the same dynamic major number for all ports"
Apr 3, 2020
3e64d4d
Revert "serial: uartps: Fix error path when alloc failed"
Apr 3, 2020
f7504ef
Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"
Apr 3, 2020
bbc0423
Revert "serial: uartps: Change uart ID port allocation"
Apr 3, 2020
02d3203
Revert "serial: uartps: Move Port ID to device data structure"
Apr 3, 2020
c460687
Revert "serial: uartps: Register own uart console and driver structures"
Apr 3, 2020
b48331b
powerpc/kuap: PPC_KUAP_DEBUG should depend on PPC_KUAP
mpe Mar 1, 2020
3160e84
powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32
chleroy Apr 17, 2020
58b243c
compat: ARM64: always include asm-generic/compat.h
arndb Dec 9, 2019
44d9eb0
s390/mm: fix page table upgrade vs 2ndary address mode accesses
borntraeger Apr 15, 2020
aa73bcc
Linux 5.4.36
gregkh Apr 29, 2020
4051abf
Merge tag 'v5.4.36' into 5.4-1.0.0-imx
zandrey Apr 30, 2020
4d23f54
remoteproc: Fix wrong rvring index computation
clementleger Oct 4, 2019
276224b
ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()
richardweinberger Jan 19, 2020
4a5c9ae
printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
sergey-senozhatsky Mar 3, 2020
a74a543
ASoC: stm32: sai: fix sai probe
Apr 17, 2020
7067a62
usb: dwc3: gadget: Do link recovery for SS and SSP
Feb 1, 2020
8f4cd6f
kbuild: fix DT binding schema rule again to avoid needless rebuilds
masahir0y Apr 21, 2020
7155416
usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_comp…
nathanchance Mar 29, 2020
9dcb184
usb: gadget: udc: atmel: Fix vbus disconnect handling
cristibirsan Apr 10, 2020
c2bdc86
afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
dhowells Apr 16, 2020
f581eff
afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
dhowells Apr 24, 2020
f9e41e4
iio:ad7797: Use correct attribute_group
Mar 10, 2020
db66fd5
propagate_one(): mnt_set_mountpoint() needs mount_lock
Apr 27, 2020
1f107e4
counter: 104-quad-8: Add lock guards - generic interface
Mar 16, 2020
37405f2
s390/ftrace: fix potential crashes when switching tracers
Apr 6, 2020
e9058b4
ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
stephan-gh Apr 15, 2020
08865eb
ASoC: tas571x: disable regulators on failed probe
Apr 14, 2020
005aa9f
ASoC: meson: axg-card: fix codec-to-codec link setup
jbrun3t Apr 20, 2020
1157d97
ASoC: wm8960: Fix wrong clock after suspend & resume
TE-N-ShengjiuWang Apr 21, 2020
13b28f6
drivers: soc: xilinx: fix firmware driver Kconfig dependency
arndb Apr 8, 2020
f1317a4
nfsd: memory corruption in nfsd4_lock()
vaverin Mar 27, 2020
db2426f
bpf: Forbid XADD on spilled pointers for unprivileged users
thejh Apr 17, 2020
6cdded3
i2c: altera: use proper variable to hold errno
Mar 27, 2020
ce3460b
rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
dhowells Apr 13, 2020
62f1cb4
net/cxgb4: Check the return from t4_query_params properly
jgunthorpe Apr 14, 2020
ccd3b4b
xfs: acquire superblock freeze protection on eofblocks scans
Apr 12, 2020
53dbb93
svcrdma: Fix trace point use-after-free race
chucklever Mar 30, 2020
b4284ef
svcrdma: Fix leak of svc_rdma_recv_ctxt objects
chucklever Mar 31, 2020
2292e40
net/mlx5e: Don't trigger IRQ multiple times on XSK wakeup to avoid WQ…
Feb 11, 2020
246ff2a
net/mlx5e: Get the latest values from counters in switchdev mode
Apr 8, 2020
d2b631a
PCI: Avoid ASMedia XHCI USB PME# from D0 defect
khfeng Dec 19, 2019
85a9e19
PCI: Add ACS quirk for Zhaoxin multi-function devices
Mar 27, 2020
981fd6a
PCI: Make ACS quirk implementations more uniform
bjorn-helgaas Sep 5, 2019
d2481b5
PCI: Unify ACS quirk desired vs provided checking
bjorn-helgaas Sep 6, 2019
17d166e
PCI: Add Zhaoxin Vendor ID
Mar 27, 2020
684dba8
PCI: Add ACS quirk for Zhaoxin Root/Downstream Ports
Mar 27, 2020
764a7d0
PCI: Move Apex Edge TPU class quirk to fix BAR assignment
bjorn-helgaas Apr 9, 2020
05ae985
ARM: dts: bcm283x: Disable dsi0 node
Apr 15, 2020
6cfb8c2
cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
tohojo Apr 16, 2020
a8b5611
s390/pci: do not set affinity for floating irqs
niklas88 Apr 16, 2020
0402877
net/mlx5: Fix failing fw tracer allocation on s390
niklas88 Apr 9, 2020
c04d01e
sched/core: Fix reset-on-fork from RT with uclamp
Apr 16, 2020
9578a8c
perf/core: fix parent pid/tid in task exit events
captain5050 Apr 17, 2020
36c436a
netfilter: nat: fix error handling upon registering inet hook
Apr 18, 2020
b9c3155
PM: sleep: core: Switch back to async_schedule_dev()
khfeng Apr 21, 2020
9c5c94c
blk-iocost: Fix error on iocost_ioc_vrate_adj
Waiman-Long Apr 21, 2020
ca3a2ca
um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/ge…
iha Apr 22, 2020
50c5d91
bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
lukenels Apr 22, 2020
d0b8695
bpf, x86_32: Fix clobbering of dst for BPF_JSET
lukenels Apr 22, 2020
309a509
bpf, x86_32: Fix logic error in BPF_LDX zero-extension
wyqkp Apr 23, 2020
e5329fc
mm: shmem: disable interrupt when acquiring info->lock in userfaultfd…
Apr 21, 2020
ab6e8af
xfs: clear PF_MEMALLOC before exiting xfsaild thread
ebiggers Mar 10, 2020
3c9bbe7
bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
lukenels Apr 18, 2020
316ad98
libbpf: Initialize *nl_pid so gcc 10 is happy
jeremycline Apr 4, 2020
b5da115
net: fec: set GPR bit on suspend by DT configuration.
Apr 2, 2020
f887614
x86: hyperv: report value of misc_features
olafhering Apr 7, 2020
1697627
signal: check sig before setting info in kill_pid_usb_asyncio
ZhiqiangLiu26 Mar 30, 2020
ec6e579
afs: Fix length of dump of bad YFSFetchStatus record
dhowells Apr 1, 2020
535ed3f
xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
djwong Apr 12, 2020
135e102
ALSA: hda: Release resources at error in delayed probe
tiwai Apr 13, 2020
bd074af
ALSA: hda: Keep the controller initialization even if no codecs found
tiwai Apr 13, 2020
a323f69
ALSA: hda: Explicitly permit using autosuspend if runtime PM is suppo…
RSpliet Apr 13, 2020
62d350e
scsi: target: fix PR IN / READ FULL STATUS for FC
BStroesser Apr 8, 2020
1cc2460
scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
BStroesser Apr 9, 2020
820126d
objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings
jpoimboe Apr 1, 2020
8c627d4
objtool: Support Clang non-section symbols in ORC dump
jpoimboe Apr 1, 2020
d9d4ea1
xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
jgross1 Mar 26, 2020
daafdf8
ALSA: hda: call runtime_allow() for all hda controllers
jason77-wang Apr 14, 2020
9178430
net: stmmac: socfpga: Allow all RGMII modes
AtsushiNemoto Apr 14, 2020
a719f7b
mac80211: fix channel switch trigger from unknown mesh peer
Mar 28, 2020
1876e0e
arm64: Delete the space separator in __emit_inst
MaskRay Apr 14, 2020
0fe3908
ext4: use matching invalidatepage in ext4_writepage
Feb 26, 2020
1e4281e
ext4: increase wait time needed before reuse of deleted inode numbers
tytso Apr 14, 2020
3e9299c
ext4: convert BUG_ON's to WARN_ON's in mballoc.c
tytso Apr 14, 2020
c7b6c51
blk-mq: Put driver tag in blk_mq_dispatch_rq_list() when no budget
Apr 16, 2020
f37079e
hwmon: (jc42) Fix name to have no illegal characters
saschahauer Apr 17, 2020
d15fc14
taprio: do not use BIT() in TCA_TAPRIO_ATTR_FLAG_* definitions
esyr-rh Mar 24, 2020
b0946b4
qed: Fix race condition between scheduling and destroying the slowpat…
Mar 25, 2020
ec9cf8a
Crypto: chelsio - Fixes a hang issue during driver registration
ayushsawl Mar 30, 2020
f161048
net: use indirect call wrappers for skb_copy_datagram_iter()
Mar 25, 2020
93af898
qed: Fix use after free in qed_chain_free
Mar 29, 2020
8c472ab
ext4: check for non-zero journal inum in ext4_calculate_overhead
riteshharjani Mar 16, 2020
4104faa
ASoC: soc-core: disable route checks for legacy devices
plbossart Mar 9, 2020
4e7fb75
ASoC: stm32: spdifrx: fix regmap status check
Mar 18, 2020
527c60e
Linux 5.4.37
gregkh May 2, 2020
5a54c69
Revert "ASoC: meson: axg-card: fix codec-to-codec link setup"
gregkh May 2, 2020
9895e0a
Linux 5.4.38
gregkh May 2, 2020
2d18f90
Merge tag 'v5.4.37' into 5.4-1.0.0-imx
zandrey May 3, 2020
fd90ac1
Merge tag 'v5.4.38' into 5.4-1.0.0-imx
zandrey May 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5005,8 +5005,7 @@

usbcore.old_scheme_first=
[USB] Start with the old device initialization
scheme, applies only to low and full-speed devices
(default 0 = off).
scheme (default 0 = off).

usbcore.usbfs_memory_mb=
[USB] Memory limit (in MB) for buffers allocated by
Expand Down
2 changes: 2 additions & 0 deletions Documentation/arm64/silicon-errata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N1 | #1349291 | N/A |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N1 | #1542419 | ARM64_ERRATUM_1542419 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | MMU-500 | #841119,826419 | N/A |
+----------------+-----------------+-----------------+-----------------------------+
+----------------+-----------------+-----------------+-----------------------------+
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 4
SUBLEVEL = 35
SUBLEVEL = 38
EXTRAVERSION =
NAME = Kleptomaniac Octopus

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm283x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@
"dsi0_ddr2",
"dsi0_ddr";

status = "disabled";
};

thermal: thermal@7e212000 {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
obj-$(CONFIG_SOC_IMX7ULP) += suspend-imx7ulp.o
endif
ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o

obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
Expand Down
16 changes: 16 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,22 @@ config ARM64_ERRATUM_1463225

If unsure, say Y.

config ARM64_ERRATUM_1542419
bool "Neoverse-N1: workaround mis-ordering of instruction fetches"
default y
help
This option adds a workaround for ARM Neoverse-N1 erratum
1542419.

Affected Neoverse-N1 cores could execute a stale instruction when
modified by another CPU. The workaround depends on a firmware
counterpart.

Workaround the issue by hiding the DIC feature from EL0. This
forces user-space to perform cache maintenance.

If unsure, say Y.

config CAVIUM_ERRATUM_22375
bool "Cavium erratum 22375, 24313"
default y
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
#define CTR_L1IP_MASK 3
#define CTR_DMINLINE_SHIFT 16
#define CTR_IMINLINE_SHIFT 0
#define CTR_IMINLINE_MASK 0xf
#define CTR_ERG_SHIFT 20
#define CTR_CWG_SHIFT 24
#define CTR_CWG_MASK 15
#define CTR_IDC_SHIFT 28
#define CTR_DIC_SHIFT 29

#define CTR_CACHE_MINLINE_MASK \
(0xf << CTR_DMINLINE_SHIFT | 0xf << CTR_IMINLINE_SHIFT)
(0xf << CTR_DMINLINE_SHIFT | CTR_IMINLINE_MASK << CTR_IMINLINE_SHIFT)

#define CTR_L1IP(ctr) (((ctr) >> CTR_L1IP_SHIFT) & CTR_L1IP_MASK)

Expand Down
5 changes: 3 additions & 2 deletions arch/arm64/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
*/
#ifndef __ASM_COMPAT_H
#define __ASM_COMPAT_H

#include <asm-generic/compat.h>

#ifdef CONFIG_COMPAT

/*
Expand All @@ -13,8 +16,6 @@
#include <linux/sched.h>
#include <linux/sched/task_stack.h>

#include <asm-generic/compat.h>

#define COMPAT_USER_HZ 100
#ifdef __AARCH64EB__
#define COMPAT_UTS_MACHINE "armv8b\0\0"
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/include/asm/cpucaps.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
#define ARM64_WORKAROUND_1463225 44
#define ARM64_WORKAROUND_CAVIUM_TX2_219_TVM 45
#define ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM 46
#define ARM64_WORKAROUND_1542419 47

#define ARM64_NCAPS 47
#define ARM64_NCAPS 48

#endif /* __ASM_CPUCAPS_H */
4 changes: 3 additions & 1 deletion arch/arm64/include/asm/sysreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
#ifndef CONFIG_BROKEN_GAS_INST

#ifdef __ASSEMBLY__
#define __emit_inst(x) .inst (x)
// The space separator is omitted so that __emit_inst(x) can be parsed as
// either an assembler directive or an assembler macro argument.
#define __emit_inst(x) .inst(x)
#else
#define __emit_inst(x) ".inst " __stringify((x)) "\n\t"
#endif
Expand Down
32 changes: 31 additions & 1 deletion arch/arm64/kernel/cpu_errata.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,21 @@ has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry,
}

static void
cpu_enable_trap_ctr_access(const struct arm64_cpu_capabilities *__unused)
cpu_enable_trap_ctr_access(const struct arm64_cpu_capabilities *cap)
{
u64 mask = arm64_ftr_reg_ctrel0.strict_mask;
bool enable_uct_trap = false;

/* Trap CTR_EL0 access on this CPU, only if it has a mismatch */
if ((read_cpuid_cachetype() & mask) !=
(arm64_ftr_reg_ctrel0.sys_val & mask))
enable_uct_trap = true;

/* ... or if the system is affected by an erratum */
if (cap->capability == ARM64_WORKAROUND_1542419)
enable_uct_trap = true;

if (enable_uct_trap)
sysreg_clear_set(sctlr_el1, SCTLR_EL1_UCT, 0);
}

Expand Down Expand Up @@ -651,6 +659,18 @@ needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry,
return false;
}

static bool __maybe_unused
has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry,
int scope)
{
u32 midr = read_cpuid_id();
bool has_dic = read_cpuid_cachetype() & BIT(CTR_DIC_SHIFT);
const struct midr_range range = MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1);

WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
return is_midr_in_range(midr, &range) && has_dic;
}

#ifdef CONFIG_HARDEN_EL2_VECTORS

static const struct midr_range arm64_harden_el2_vectors[] = {
Expand Down Expand Up @@ -927,6 +947,16 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
.capability = ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM,
ERRATA_MIDR_RANGE_LIST(tx2_family_cpus),
},
#endif
#ifdef CONFIG_ARM64_ERRATUM_1542419
{
/* we depend on the firmware portion for correctness */
.desc = "ARM erratum 1542419 (kernel portion)",
.capability = ARM64_WORKAROUND_1542419,
.type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM,
.matches = has_neoverse_n1_erratum_1542419,
.cpu_enable = cpu_enable_trap_ctr_access,
},
#endif
{
}
Expand Down
11 changes: 11 additions & 0 deletions arch/arm64/kernel/sys_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <linux/compat.h>
#include <linux/cpufeature.h>
#include <linux/personality.h>
#include <linux/sched.h>
#include <linux/sched/signal.h>
Expand All @@ -17,6 +18,7 @@

#include <asm/cacheflush.h>
#include <asm/system_misc.h>
#include <asm/tlbflush.h>
#include <asm/unistd.h>

static long
Expand All @@ -30,6 +32,15 @@ __do_compat_cache_op(unsigned long start, unsigned long end)
if (fatal_signal_pending(current))
return 0;

if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) {
/*
* The workaround requires an inner-shareable tlbi.
* We pick the reserved-ASID to minimise the impact.
*/
__tlbi(aside1is, __TLBI_VADDR(0, 0));
dsb(ish);
}

ret = __flush_cache_user_range(start, start + chunk);
if (ret)
return ret;
Expand Down
9 changes: 9 additions & 0 deletions arch/arm64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,15 @@ static void ctr_read_handler(unsigned int esr, struct pt_regs *regs)
int rt = ESR_ELx_SYS64_ISS_RT(esr);
unsigned long val = arm64_ftr_reg_user_value(&arm64_ftr_reg_ctrel0);

if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) {
/* Hide DIC so that we can trap the unnecessary maintenance...*/
val &= ~BIT(CTR_DIC_SHIFT);

/* ... and fake IminLine to reduce the number of traps. */
val &= ~CTR_IMINLINE_MASK;
val |= (PAGE_SHIFT - 2) & CTR_IMINLINE_MASK;
}

pt_regs_write_reg(regs, rt, val);

arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/entry_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_SPE)
stw r10,_CCR(r1)
stw r1,KSP(r3) /* Set old stack pointer */

kuap_check r2, r4
kuap_check r2, r0
#ifdef CONFIG_SMP
/* We need a sync somewhere here to make sure that if the
* previous task gets rescheduled on another CPU, it sees all
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ static bool __init parse_cache_info(struct device_node *np,
lsizep = of_get_property(np, propnames[3], NULL);
if (bsizep == NULL)
bsizep = lsizep;
if (lsizep == NULL)
lsizep = bsizep;
if (lsizep != NULL)
lsize = be32_to_cpu(*lsizep);
if (bsizep != NULL)
Expand Down
44 changes: 13 additions & 31 deletions arch/powerpc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,35 +522,6 @@ static inline void clear_irq_work_pending(void)
"i" (offsetof(struct paca_struct, irq_work_pending)));
}

void arch_irq_work_raise(void)
{
preempt_disable();
set_irq_work_pending_flag();
/*
* Non-nmi code running with interrupts disabled will replay
* irq_happened before it re-enables interrupts, so setthe
* decrementer there instead of causing a hardware exception
* which would immediately hit the masked interrupt handler
* and have the net effect of setting the decrementer in
* irq_happened.
*
* NMI interrupts can not check this when they return, so the
* decrementer hardware exception is raised, which will fire
* when interrupts are next enabled.
*
* BookE does not support this yet, it must audit all NMI
* interrupt handlers to ensure they call nmi_enter() so this
* check would be correct.
*/
if (IS_ENABLED(CONFIG_BOOKE) || !irqs_disabled() || in_nmi()) {
set_dec(1);
} else {
hard_irq_disable();
local_paca->irq_happened |= PACA_IRQ_DEC;
}
preempt_enable();
}

#else /* 32-bit */

DEFINE_PER_CPU(u8, irq_work_pending);
Expand All @@ -559,16 +530,27 @@ DEFINE_PER_CPU(u8, irq_work_pending);
#define test_irq_work_pending() __this_cpu_read(irq_work_pending)
#define clear_irq_work_pending() __this_cpu_write(irq_work_pending, 0)

#endif /* 32 vs 64 bit */

void arch_irq_work_raise(void)
{
/*
* 64-bit code that uses irq soft-mask can just cause an immediate
* interrupt here that gets soft masked, if this is called under
* local_irq_disable(). It might be possible to prevent that happening
* by noticing interrupts are disabled and setting decrementer pending
* to be replayed when irqs are enabled. The problem there is that
* tracing can call irq_work_raise, including in code that does low
* level manipulations of irq soft-mask state (e.g., trace_hardirqs_on)
* which could get tangled up if we're messing with the same state
* here.
*/
preempt_disable();
set_irq_work_pending_flag();
set_dec(1);
preempt_enable();
}

#endif /* 32 vs 64 bit */

#else /* CONFIG_IRQ_WORK */

#define test_irq_work_pending() 0
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ config PPC_KUAP

config PPC_KUAP_DEBUG
bool "Extra debugging for Kernel Userspace Access Protection"
depends on PPC_HAVE_KUAP && (PPC_RADIX_MMU || PPC_32)
depends on PPC_KUAP && (PPC_RADIX_MMU || PPC32)
help
Add extra debugging for Kernel Userspace Access Protection (KUAP)
If you're unsure, say N.
Expand Down
11 changes: 11 additions & 0 deletions arch/powerpc/platforms/pseries/ras.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,17 @@ static int mce_handle_error(struct pt_regs *regs, struct rtas_error_log *errp)
#endif

out:
/*
* Enable translation as we will be accessing per-cpu variables
* in save_mce_event() which may fall outside RMO region, also
* leave it enabled because subsequently we will be queuing work
* to workqueues where again per-cpu variables accessed, besides
* fwnmi_release_errinfo() crashes when called in realmode on
* pseries.
* Note: All the realmode handling like flushing SLB entries for
* SLB multihit is done by now.
*/
mtmsr(mfmsr() | MSR_IR | MSR_DR);
save_mce_event(regs, disposition == RTAS_DISP_FULLY_RECOVERED,
&mce_err, regs->nip, eaddr, paddr);

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void diag_stat_inc(enum diag_stat_enum nr)
}
EXPORT_SYMBOL(diag_stat_inc);

void diag_stat_inc_norecursion(enum diag_stat_enum nr)
void notrace diag_stat_inc_norecursion(enum diag_stat_enum nr)
{
this_cpu_inc(diag_stat.counter[nr]);
trace_s390_diagnose_norecursion(diag_map[nr].code);
Expand Down
4 changes: 2 additions & 2 deletions arch/s390/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ int smp_find_processor_id(u16 address)
return -1;
}

bool arch_vcpu_is_preempted(int cpu)
bool notrace arch_vcpu_is_preempted(int cpu)
{
if (test_cpu_flag_of(CIF_ENABLED_WAIT, cpu))
return false;
Expand All @@ -413,7 +413,7 @@ bool arch_vcpu_is_preempted(int cpu)
}
EXPORT_SYMBOL(arch_vcpu_is_preempted);

void smp_yield_cpu(int cpu)
void notrace smp_yield_cpu(int cpu)
{
if (MACHINE_HAS_DIAG9C) {
diag_stat_inc_norecursion(DIAG_STAT_X09C);
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EXPORT_TRACEPOINT_SYMBOL(s390_diagnose);

static DEFINE_PER_CPU(unsigned int, diagnose_trace_depth);

void trace_s390_diagnose_norecursion(int diag_nr)
void notrace trace_s390_diagnose_norecursion(int diag_nr)
{
unsigned long flags;
unsigned int *depth;
Expand Down
3 changes: 3 additions & 0 deletions arch/s390/kvm/kvm-s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,9 @@ static int gfn_to_memslot_approx(struct kvm_memslots *slots, gfn_t gfn)
start = slot + 1;
}

if (start >= slots->used_slots)
return slots->used_slots - 1;

if (gfn >= memslots[start].base_gfn &&
gfn < memslots[start].base_gfn + memslots[start].npages) {
atomic_set(&slots->lru_slot, start);
Expand Down
Loading