OrangePi_CM5/arch/x86/kernel/cpu/mce
Thomas Gleixner 2694244327 x86/entry: Move nmi entry/exit into common code
commit b6be002bcd1dd1dedb926abf3c90c794eacb77dc upstream.

Lockdep state handling on NMI enter and exit is nothing specific to X86. It's
not any different on other architectures. Also the extra state type is not
necessary, irqentry_state_t can carry the necessary information as well.

Move it to common code and extend irqentry_state_t to carry lockdep state.

[ Ira: Make exit_rcu and lockdep a union as they are mutually exclusive
  between the IRQ and NMI exceptions, and add kernel documentation for
  struct irqentry_state_t ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201102205320.1458656-7-ira.weiny@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-17 17:06:36 +01:00
..
Makefile
…
amd.c x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap 2020-08-20 10:34:38 +02:00
apei.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
core.c x86/entry: Move nmi entry/exit into common code 2021-03-17 17:06:36 +01:00
dev-mcelog.c x86/mce/dev-mcelog: Do not update kflags on AMD systems 2020-09-15 10:04:51 +02:00
genpool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 437 2019-06-05 17:37:17 +02:00
inject.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
internal.h x86/mce: Pass pointer to saved pt_regs to severity calculation routines 2020-10-07 10:51:42 +02:00
p5.c x86/mce: Address objtools noinstr complaints 2020-06-11 15:15:02 +02:00
severity.c x86/mce: Decode a kernel instruction to determine if it is copying from user 2020-10-07 11:32:40 +02:00
therm_throt.c x86/entry: Convert various system vectors 2020-06-11 15:15:14 +02:00
threshold.c x86/entry: Convert various system vectors 2020-06-11 15:15:14 +02:00
winchip.c x86/mce: Address objtools noinstr complaints 2020-06-11 15:15:02 +02:00