[GIT PULL] x86/core changes for v5.6

From: Ingo Molnar
Date: Tue Jan 28 2020 - 12:47:05 EST


Linus,

Please pull the latest x86-core-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-core-for-linus

# HEAD: 248ed51048c40d36728e70914e38bffd7821da57 x86/nmi: Remove irq_work from the long duration NMI handler

Misc changes:

- Enhance #GP fault printouts by distinguishing between canonical
and non-canonical address faults, and also add KASAN fault decoding.

- Fix/enhance the x86 NMI handler by putting the duration check into a
direct function call instead of an irq_work which we know to be broken
in some cases.

- Clean up do_general_protection() a bit.

out-of-topic modifications in x86-core-for-linus:
---------------------------------------------------
include/linux/kasan.h # 2f004eea0fc8: x86/kasan: Print original ad
mm/kasan/report.c # 2f004eea0fc8: x86/kasan: Print original ad

Thanks,

Ingo

------------------>
Borislav Petkov (1):
x86/traps: Cleanup do_general_protection()

Changbin Du (1):
x86/nmi: Remove irq_work from the long duration NMI handler

Jann Horn (4):
x86/insn-eval: Add support for 64-bit kernel mode
x86/traps: Print address on #GP
x86/dumpstack: Introduce die_addr() for die() with #GP fault address
x86/kasan: Print original address on #GP


arch/x86/include/asm/kdebug.h | 1 +
arch/x86/include/asm/nmi.h | 1 -
arch/x86/include/asm/ptrace.h | 13 +++++
arch/x86/kernel/dumpstack.c | 26 +++++++++-
arch/x86/kernel/nmi.c | 20 ++++----
arch/x86/kernel/traps.c | 108 ++++++++++++++++++++++++++++++++++--------
arch/x86/lib/insn-eval.c | 26 +++++-----
arch/x86/mm/kasan_init_64.c | 21 --------
include/linux/kasan.h | 6 +++
mm/kasan/report.c | 40 ++++++++++++++++
10 files changed, 198 insertions(+), 64 deletions(-)