]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/irqdomain.h
genirq/irqdomain: Make sure all irq domain flags are distinct
[linux.git] / include / linux / irqdomain.h
index 698749f42cede798af409cddc2f3575210127f2c..8d062e86d954e11ef5fb46a8b00bb12287b6ad8b 100644 (file)
@@ -192,7 +192,7 @@ enum {
        IRQ_DOMAIN_FLAG_HIERARCHY       = (1 << 0),
 
        /* Irq domain name was allocated in __irq_domain_add() */
-       IRQ_DOMAIN_NAME_ALLOCATED       = (1 << 6),
+       IRQ_DOMAIN_NAME_ALLOCATED       = (1 << 1),
 
        /* Irq domain is an IPI domain with virq per cpu */
        IRQ_DOMAIN_FLAG_IPI_PER_CPU     = (1 << 2),
@@ -206,6 +206,13 @@ enum {
        /* Irq domain implements MSI remapping */
        IRQ_DOMAIN_FLAG_MSI_REMAP       = (1 << 5),
 
+       /*
+        * Quirk to handle MSI implementations which do not provide
+        * masking. Currently known to affect x86, but partially
+        * handled in core code.
+        */
+       IRQ_DOMAIN_MSI_NOMASK_QUIRK     = (1 << 6),
+
        /*
         * Flags starting from IRQ_DOMAIN_FLAG_NONCORE are reserved
         * for implementation specific purposes and ignored by the