Skip to content

Commit 2546287

Browse files
Zenghui YuKAGA-KOKO
authored andcommitted
genirq/irqdomain: Make sure all irq domain flags are distinct
This was noticed when printing debugfs for MSIs on my ARM64 server. The new dstate IRQD_MSI_NOMASK_QUIRK came out surprisingly while it should only be the x86 stuff for the time being... The new MSI quirk flag uses the same bit as IRQ_DOMAIN_NAME_ALLOCATED which is oddly defined as bit 6 for no good reason. Switch it to the non used bit 1. Fixes: 6f1a489 ("x86/apic/msi: Plug non-maskable MSI affinity race") Signed-off-by: Zenghui Yu <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent cba6437 commit 2546287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/irqdomain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ enum {
192192
IRQ_DOMAIN_FLAG_HIERARCHY = (1 << 0),
193193

194194
/* Irq domain name was allocated in __irq_domain_add() */
195-
IRQ_DOMAIN_NAME_ALLOCATED = (1 << 6),
195+
IRQ_DOMAIN_NAME_ALLOCATED = (1 << 1),
196196

197197
/* Irq domain is an IPI domain with virq per cpu */
198198
IRQ_DOMAIN_FLAG_IPI_PER_CPU = (1 << 2),

0 commit comments

Comments
 (0)