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.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -192,7 +192,7 @@ enum { · 191 unmodified lines | |||
| 192 | IRQ_DOMAIN_FLAG_HIERARCHY = (1 << 0), | 192 | IRQ_DOMAIN_FLAG_HIERARCHY = (1 << 0), |
| 193 | 193 | ||
| 194 | /* Irq domain name was allocated in __irq_domain_add() */ | 194 | /* Irq domain name was allocated in __irq_domain_add() */ |
| 195 | IRQ_DOMAIN_NAME_ALLOCATED = (1 << 6), | 195 | IRQ_DOMAIN_NAME_ALLOCATED = (1 << 1), |
| 196 | 196 | ||
| 197 | /* Irq domain is an IPI domain with virq per cpu */ | 197 | /* Irq domain is an IPI domain with virq per cpu */ |
| 198 | IRQ_DOMAIN_FLAG_IPI_PER_CPU = (1 << 2), | 198 | IRQ_DOMAIN_FLAG_IPI_PER_CPU = (1 << 2), |