]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ea089d0bd74a11c718112cddd45e7c67807aef3
tree3d39b5658a07052a51dc4e1e56a8350170a717ef
parent8b5b7d7e6aabd2842ebcca03026d0fb12f40b21f
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