projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fec07f
)
x86/irq: Reserve a per CPU IDT vector for posted MSIs
author
Jacob Pan
<jacob.jun.pan@linux.intel.com>
Tue, 23 Apr 2024 17:41:07 +0000
(10:41 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 29 Apr 2024 22:54:42 +0000
(
00:54
+0200)
When posted MSI is enabled, all device MSIs are multiplexed into a single
notification vector. MSI handlers will be de-multiplexed at run-time by
system software without IDT delivery.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link:
https://lore.kernel.org/r/20240423174114.526704-6-jacob.jun.pan@linux.intel.com
arch/x86/include/asm/irq_vectors.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/irq_vectors.h
b/arch/x86/include/asm/irq_vectors.h
index d18bfb238f660fcccdfdf444a60720f03163e4d5..13aea8fc3d45fcf462b18fddc4a90fffcc87a631 100644
(file)
--- a/
arch/x86/include/asm/irq_vectors.h
+++ b/
arch/x86/include/asm/irq_vectors.h
@@
-97,10
+97,16
@@
#define LOCAL_TIMER_VECTOR 0xec
+/*
+ * Posted interrupt notification vector for all device MSIs delivered to
+ * the host kernel.
+ */
+#define POSTED_MSI_NOTIFICATION_VECTOR 0xeb
+
#define NR_VECTORS 256
#ifdef CONFIG_X86_LOCAL_APIC
-#define FIRST_SYSTEM_VECTOR
LOCAL_TIMER
_VECTOR
+#define FIRST_SYSTEM_VECTOR
POSTED_MSI_NOTIFICATION
_VECTOR
#else
#define FIRST_SYSTEM_VECTOR NR_VECTORS
#endif