android_kernel_xiaomi_sm8350/arch/s390
Heiko Carstens b771aeac32 [S390] Fix IRQ tracing.
If a machine check is pending and the external or I/O interrupt handler
returns to userspace io_mcck_pending is going to call s390_handle_mcck.
Before this happens a call to TRACE_IRQS_ON was already made since we
know that we are going back to userspace and hence interrupts will be
enabled. So there was an indication that interrupts are enabled while
in reality they are still disabled.
s390_handle_mcck will do a local_irq_save/restore pair and confuse
lockdep which later complains about inconsistent irq tracing.
To solve this just call trace_hardirqs_off before calling
s390_handle_mcck and trace_hardirqs_on afterwards.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2007-07-27 12:29:19 +02:00
..
appldata [S390] Convert to smp_call_function_single. 2007-07-27 12:29:17 +02:00
boot
crypto [S390] Fixed comment typo. 2007-07-10 11:24:42 +02:00
hypfs [S390] Add exception handler for diagnose 224 2007-05-31 17:38:10 +02:00
kernel [S390] Fix IRQ tracing. 2007-07-27 12:29:19 +02:00
lib mm: fault feedback #2 2007-07-19 10:04:41 -07:00
math-emu
mm [S390] Get rid of new section mismatch warnings. 2007-07-27 12:29:18 +02:00
oprofile
defconfig [S390] z/VM unit record device driver 2007-07-17 13:36:19 +02:00
Kconfig [S390] Kconfig: use common Kconfig files for s390. 2007-05-10 15:46:08 +02:00
Kconfig.debug
Makefile pass -msize-long to sparse on s390 2007-07-15 16:40:52 -07:00