x86/idtentry: Provide IDTRENTRY_NOIST variants for #DB and #MC
authorThomas Gleixner <tglx@linutronix.de>
Tue, 25 Feb 2020 22:33:28 +0000 (23:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:00 +0000 (15:15 +0200)
commitf08e32ec3cfcf9e6d3640007de590c225ab2e201
tree3d39b5658a07052a51dc4e1e56a8350170a717ef
parentdf7ccaffd2035ebd4bfbb2d980e5817c31f4a891
x86/idtentry: Provide IDTRENTRY_NOIST variants for #DB and #MC

Provide NOIST entry point macros which allows to implement NOIST variants
of the C entry points. These are invoked when #DB or #MC enter from user
space. This allows explicit handling of the difference between user mode
and kernel mode entry later.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135315.084882104@linutronix.de
arch/x86/include/asm/idtentry.h