Searched hist:"4 a1725281fc5b0009944b1c0e1d2c1dc311a09ec" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/s390/kernel/ |
H A D | early.c | diff 4a1725281fc5b0009944b1c0e1d2c1dc311a09ec Tue Sep 05 15:49:37 CEST 2023 Heiko Carstens <hca@linux.ibm.com> s390/smp,mcck: fix early IPI handling
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>
|
H A D | smp.c | diff 4a1725281fc5b0009944b1c0e1d2c1dc311a09ec Tue Sep 05 15:49:37 CEST 2023 Heiko Carstens <hca@linux.ibm.com> s390/smp,mcck: fix early IPI handling
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>
|