kernel_samsung_a53x/arch/s390
Heiko Carstens 750ae15550 s390/smp,mcck: fix early IPI handling
[ Upstream commit 4a1725281fc5b0009944b1c0e1d2c1dc311a09ec ]

Both the external call as well as the emergency signal submask bits in
control register 0 are set before any interrupt handler is registered.

Change the order and first register the interrupt handler and only then
enable the interrupts by setting the corresponding bits in control
register 0.

This prevents that the second part of the machine check handler for
early machine check handling is not executed: the machine check handler
sends an IPI to the CPU it runs on. If the corresponding interrupts are
enabled, but no interrupt handler is present, the interrupt is ignored.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:44 +01:00
..
appldata Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
boot Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crypto crypto: s390/aes - Fix buffer overread in CTR mode 2024-11-18 12:12:55 +01:00
hypfs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include s390/uv: Panic for set and remove shared access UVC errors 2024-11-23 23:20:43 +01:00
kernel s390/smp,mcck: fix early IPI handling 2024-11-23 23:20:44 +01:00
kvm KVM: s390: fix setting of fpc register 2024-11-18 12:13:10 +01:00
lib Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm s390/mm: Fix clearing storage keys for huge pages 2024-11-19 11:32:42 +01:00
net Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oprofile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci s390: use the correct count for __iowrite64_copy() 2024-11-18 22:25:42 +01:00
purgatory Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tools Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00