aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/idt.c
diff options
context:
space:
mode:
authorGravatar Kirill A. Shutemov <kirill.shutemov@linux.intel.com> 2022-04-06 02:29:15 +0300
committerGravatar Dave Hansen <dave.hansen@linux.intel.com> 2022-04-07 08:27:51 -0700
commit775acc82a88fd36f5e89a08d39874fdeeaa04247 (patch)
tree9bb3380bac837c0728fe424e706b13dd38562c7c /arch/x86/kernel/idt.c
parentx86/tdx: Exclude shared bit from __PHYSICAL_MASK (diff)
downloadlinux-775acc82a88fd36f5e89a08d39874fdeeaa04247.tar.gz
linux-775acc82a88fd36f5e89a08d39874fdeeaa04247.tar.bz2
linux-775acc82a88fd36f5e89a08d39874fdeeaa04247.zip
x86/traps: Refactor exc_general_protection()
TDX brings a new exception -- Virtualization Exception (#VE). Handling of #VE structurally very similar to handling #GP. Extract two helpers from exc_general_protection() that can be reused for handling #VE. No functional changes. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lkml.kernel.org/r/20220405232939.73860-7-kirill.shutemov@linux.intel.com
Diffstat (limited to 'arch/x86/kernel/idt.c')
0 files changed, 0 insertions, 0 deletions