summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorYour Name <[email protected]>2023-07-17 10:59:42 +0000
committerYour Name <[email protected]>2023-07-17 10:59:42 +0000
commitd1528589b422729a8f9b10fce153425bc8ed5949 (patch)
tree172e084a5267155d42f8de39ab47d397ca3871ef /arch/x86/include/asm
parent76b865af2d59d018d8e2805ea9ac7a411361265b (diff)
add UINTR_EVENT_VECTORtemp1
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/hardirq.h1
-rw-r--r--arch/x86/include/asm/idtentry.h1
-rw-r--r--arch/x86/include/asm/irq_vectors.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h
index a4623fdb65a1..de7fdd2cabd9 100644
--- a/arch/x86/include/asm/hardirq.h
+++ b/arch/x86/include/asm/hardirq.h
@@ -23,6 +23,7 @@ typedef struct {
#ifdef CONFIG_X86_USER_INTERRUPTS
unsigned int uintr_spurious_count;
unsigned int uintr_kernel_notifications;
+ unsigned int uintr_event_notifications;
#endif
unsigned int x86_platform_ipis; /* arch dependent */
unsigned int apic_perf_irqs;
diff --git a/arch/x86/include/asm/idtentry.h b/arch/x86/include/asm/idtentry.h
index 0ac7ef592283..c98adb309f95 100644
--- a/arch/x86/include/asm/idtentry.h
+++ b/arch/x86/include/asm/idtentry.h
@@ -674,6 +674,7 @@ DECLARE_IDTENTRY_SYSVEC(POSTED_INTR_NESTED_VECTOR, sysvec_kvm_posted_intr_nested
#ifdef CONFIG_X86_USER_INTERRUPTS
DECLARE_IDTENTRY_SYSVEC(UINTR_NOTIFICATION_VECTOR, sysvec_uintr_spurious_interrupt);
DECLARE_IDTENTRY_SYSVEC(UINTR_KERNEL_VECTOR, sysvec_uintr_kernel_notification);
+DECLARE_IDTENTRY_SYSVEC(UINTR_EVENT_VECTOR, sysvec_uintr_event_notification);
#endif
#if IS_ENABLED(CONFIG_HYPERV)
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 1d289b3ee0da..66d1b9505120 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -107,6 +107,7 @@
/* Vector for User interrupt notifications */
#define UINTR_NOTIFICATION_VECTOR 0xec
#define UINTR_KERNEL_VECTOR 0xeb
+#define UINTR_EVENT_VECTOR 0xe9
#define LOCAL_TIMER_VECTOR 0xea