]> Git Repo - linux.git/commit
x86/entry/64: Refactor IRQ stacks and make them NMI-safe
authorAndy Lutomirski <[email protected]>
Tue, 11 Jul 2017 15:33:38 +0000 (10:33 -0500)
committerIngo Molnar <[email protected]>
Tue, 18 Jul 2017 08:56:22 +0000 (10:56 +0200)
commit1d3e53e8624a3ec85f4041ca6d973da7c1575938
treeb8e2bb366529b5eb91c54cbd15bf437c8434dd0a
parentcb8c65ccff7f77d0285f1b126c72d37b2572c865
x86/entry/64: Refactor IRQ stacks and make them NMI-safe

This will allow IRQ stacks to nest inside NMIs or similar entries
that can happen during IRQ stack setup or teardown.

The new macros won't work correctly if they're invoked with IRQs on.
Add a check under CONFIG_DEBUG_ENTRY to detect that.

Signed-off-by: Andy Lutomirski <[email protected]>
[ Use %r10 instead of %r11 in xen_do_hypervisor_callback to make objtool
  and ORC unwinder's lives a little easier. ]
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/b0b2ff5fb97d2da2e1d7e1f380190c92545c8bb5.1499786555.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/Kconfig.debug
arch/x86/entry/entry_64.S
arch/x86/kernel/process_64.c
This page took 0.053735 seconds and 4 git commands to generate.