https://github.com/torvalds/linux
Revision 13cbc0cd4a30c815984ad88e3a2e5976493516a3 authored by Andy Lutomirski on 03 July 2020, 17:02:56 UTC, committed by Thomas Gleixner on 04 July 2020, 17:47:26 UTC
DEFINE_IDTENTRY_MCE and DEFINE_IDTENTRY_DEBUG were wired up as non-RAW
on x86_32, but the code expected them to be RAW.

Get rid of all the macro indirection for them on 32-bit and just use
DECLARE_IDTENTRY_RAW and DEFINE_IDTENTRY_RAW directly.

Also add a warning to make sure that we only hit the _kernel paths
in kernel mode.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/9e90a7ee8e72fd757db6d92e1e5ff16339c1ecf9.1593795633.git.luto@kernel.org

1 parent f41f082
History
Tip revision: 13cbc0cd4a30c815984ad88e3a2e5976493516a3 authored by Andy Lutomirski on 03 July 2020, 17:02:56 UTC
x86/entry/32: Fix #MC and #DB wiring on x86_32
Tip revision: 13cbc0c
File Mode Size
Makefile -rw-r--r-- 418 bytes
generic_mpih-add1.c -rw-r--r-- 1.3 KB
generic_mpih-lshift.c -rw-r--r-- 1.5 KB
generic_mpih-mul1.c -rw-r--r-- 1.3 KB
generic_mpih-mul2.c -rw-r--r-- 1.3 KB
generic_mpih-mul3.c -rw-r--r-- 1.3 KB
generic_mpih-rshift.c -rw-r--r-- 1.5 KB
generic_mpih-sub1.c -rw-r--r-- 1.3 KB
longlong.h -rw-r--r-- 38.9 KB
mpi-bit.c -rw-r--r-- 1.5 KB
mpi-cmp.c -rw-r--r-- 1.6 KB
mpi-inline.h -rw-r--r-- 2.6 KB
mpi-internal.h -rw-r--r-- 5.3 KB
mpi-pow.c -rw-r--r-- 7.7 KB
mpicoder.c -rw-r--r-- 9.0 KB
mpih-cmp.c -rw-r--r-- 1.3 KB
mpih-div.c -rw-r--r-- 5.2 KB
mpih-mul.c -rw-r--r-- 13.6 KB
mpiutil.c -rw-r--r-- 2.7 KB

back to top