mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
x86/irq: Reserve a per CPU IDT vector for posted MSIs
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
This commit is contained in:
1 parent
7fec07fd21
commit
f5a3562ec9
1 file changed
+7
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user