Merge tag 'irq-core-2020-12-15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / include / asm-generic / msi.h
index 25344de0e8f9d85e1deee0f75cc55e3beecb7f30..bf910d47e900a954c6ea3e9ab5fdc3229c03112c 100644 (file)
@@ -24,12 +24,16 @@ struct msi_desc;
 typedef struct msi_alloc_info {
        struct msi_desc                 *desc;
        irq_hw_number_t                 hwirq;
+       unsigned long                   flags;
        union {
                unsigned long           ul;
                void                    *ptr;
        } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS];
 } msi_alloc_info_t;
 
+/* Device generating MSIs is proxying for another device */
+#define MSI_ALLOC_FLAGS_PROXY_DEVICE   (1UL << 0)
+
 #define GENERIC_MSI_DOMAIN_OPS         1
 
 #endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */