linux/drivers
Marc Zyngier c9223b6162 PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter()
The PSCI CPU suspend code isn't aware of the PMR vs DAIF game,
resulting in a system that locks up if entering CPU suspend
with GICv3 pNMI enabled.

To save the day, teach the suspend code about our new cpuidle
context helpers, which will do everything that's required just
like the usual WFI cpuidle code.

This fixes my Altra system, which would otherwise lock-up at
boot time when booted with irqchip.gicv3_pseudo_nmi=1.

Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210615111227.2454465-4-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2021-06-17 18:00:39 +01:00
..
accessibility
acpi libnvdimm fixes for 5.13-rc2 2021-05-15 08:32:51 -07:00
amba
android
ata
atm
auxdisplay
base Driver core fixes for 5.13-rc2 2021-05-16 10:13:14 -07:00
bcma
block block-5.13-2021-05-14 2021-05-15 08:52:30 -07:00
bluetooth
bus
cdrom
char Char/misc driver fixes for 5.13-rc3 2021-05-20 06:31:52 -10:00
clk
clocksource clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86 2021-05-14 14:55:13 +02:00
comedi
connector
counter
cpufreq Fix an idle CPU selection bug, and an AMD Ryzen maximum frequency enumeration bug. 2021-05-15 10:24:48 -07:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf dma-buf: fix unintended pin/unpin warnings 2021-05-20 14:02:27 +02:00
edac
eisa
extcon
firewire
firmware PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter() 2021-06-17 18:00:39 +01:00
fpga
fsi
gnss
gpio
gpu drm fixes for 5.13-rc3 2021-05-20 20:15:43 -10:00
greybus
hid
hsi
hv
hwmon Char/misc driver fixes for 5.13-rc3 2021-05-20 06:31:52 -10:00
hwspinlock
hwtracing
i2c
i3c
ide
idle
iio
infiniband RDMA/uverbs: Fix a NULL vs IS_ERR() bug 2021-05-19 15:32:07 -03:00
input
interconnect
iommu
ipack
irqchip irqchip: Remove redundant error printing 2021-05-16 13:07:18 +01:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md dm integrity: fix sparse warnings 2021-05-13 14:53:49 -04:00
media
memory
memstick
message
mfd
misc platform-drivers-x86 for v5.13-2 2021-05-20 06:40:20 -10:00
mmc
most
mtd
mux
net
nfc
ntb
nubus
nvdimm
nvme nvme-fc: clear q_live at beginning of association teardown 2021-05-19 08:40:24 +02:00
nvmem
of
opp
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform platform/x86: touchscreen_dmi: Add info for the Chuwi Hi10 Pro (CWI529) tablet 2021-05-20 14:11:03 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20210520 2021-05-20 14:41:35 -10:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging
target
tc
tee AMD-TEE reference count loaded TAs 2021-05-17 16:06:02 +02:00
thermal
thunderbolt
tty Char/misc driver fixes for 5.13-rc3 2021-05-20 06:31:52 -10:00
uio uio_hv_generic: Fix another memory leak in error handling paths 2021-05-14 13:26:04 +02:00
usb Driver core fixes for 5.13-rc2 2021-05-16 10:13:14 -07:00
vdpa
vfio
vhost
video Char/misc driver fixes for 5.13-rc3 2021-05-20 06:31:52 -10:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen-pciback: reconfigure also from backend watch handler 2021-05-21 09:55:16 +02:00
zorro
Kconfig
Makefile