idt.c (cf5c5763eb531ff5120111ad300126e926fb5a56) idt.c (9a22bf6debbf5169f750af53c7f86eb4e3cd6712)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Interrupt descriptor table related code
4 */
5#include <linux/interrupt.h>
6
7#include <asm/cpu_entry_area.h>
8#include <asm/set_memory.h>

--- 55 unchanged lines hidden (view full) ---

64 SYSG(X86_TRAP_BP, asm_exc_int3),
65
66#ifdef CONFIG_X86_32
67 /*
68 * Not possible on 64-bit. See idt_setup_early_pf() for details.
69 */
70 INTG(X86_TRAP_PF, asm_exc_page_fault),
71#endif
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Interrupt descriptor table related code
4 */
5#include <linux/interrupt.h>
6
7#include <asm/cpu_entry_area.h>
8#include <asm/set_memory.h>

--- 55 unchanged lines hidden (view full) ---

64 SYSG(X86_TRAP_BP, asm_exc_int3),
65
66#ifdef CONFIG_X86_32
67 /*
68 * Not possible on 64-bit. See idt_setup_early_pf() for details.
69 */
70 INTG(X86_TRAP_PF, asm_exc_page_fault),
71#endif
72#ifdef CONFIG_INTEL_TDX_GUEST
73 INTG(X86_TRAP_VE, asm_exc_virtualization_exception),
74#endif
72};
73
74/*
75 * The default IDT entries which are set up in trap_init() before
76 * cpu_init() is invoked. Interrupt stacks cannot be used at that point and
77 * the traps which use them are reinitialized with IST after cpu_init() has
78 * set up TSS.
79 */

--- 262 unchanged lines hidden ---
75};
76
77/*
78 * The default IDT entries which are set up in trap_init() before
79 * cpu_init() is invoked. Interrupt stacks cannot be used at that point and
80 * the traps which use them are reinitialized with IST after cpu_init() has
81 * set up TSS.
82 */

--- 262 unchanged lines hidden ---