diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2025-05-08 20:17:16 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-05-08 20:17:16 +0300 |
| commit | a1d8a8309367565dc658ae31dcc256beb9f0423b (patch) | |
| tree | 8c665be3c9187334f0b991d5729e52d224010905 /include/linux | |
| parent | 9357e329cdeb6f2d27b431a22d4965700bec478a (diff) | |
| parent | f1680d9081e161925c3aca81231ee867c95890b0 (diff) | |
| download | linux-a1d8a8309367565dc658ae31dcc256beb9f0423b.tar.xz | |
Merge branch 'irq/platform-msi' into irq/msi
Pull in the platform MSI/GIC changes which are seperate for the PCI
endpoint driver updates.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/irqdomain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 2f955716cf82..13cbacd1b5dc 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -231,6 +231,9 @@ enum { /* Irq domain must destroy generic chips when removed */ IRQ_DOMAIN_FLAG_DESTROY_GC = (1 << 10), + /* Address and data pair is mutable when irq_set_affinity() */ + IRQ_DOMAIN_FLAG_MSI_IMMUTABLE = (1 << 11), + /* * Flags starting from IRQ_DOMAIN_FLAG_NONCORE are reserved * for implementation specific purposes and ignored by the @@ -693,6 +696,10 @@ static inline bool irq_domain_is_msi_device(struct irq_domain *domain) return domain->flags & IRQ_DOMAIN_FLAG_MSI_DEVICE; } +static inline bool irq_domain_is_msi_immutable(struct irq_domain *domain) +{ + return domain->flags & IRQ_DOMAIN_FLAG_MSI_IMMUTABLE; +} #else /* CONFIG_IRQ_DOMAIN_HIERARCHY */ static inline int irq_domain_alloc_irqs(struct irq_domain *domain, unsigned int nr_irqs, int node, void *arg) |
