summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/irq_remapping.h
diff options
context:
space:
mode:
authorFeng Wu <feng.wu@intel.com>2015-06-09 13:20:35 +0800
committerThomas Gleixner <tglx@linutronix.de>2015-06-12 11:33:52 +0200
commit3d9b98f4ec17ba8d555f1972a3870035a87574a0 (patch)
treee5485dbfdc6872f1ecaeac9eee950d86ec273a72 /drivers/iommu/irq_remapping.h
parent07c09787b26db724c94a912a572a9a4fa66008f3 (diff)
downloadblackbird-op-linux-3d9b98f4ec17ba8d555f1972a3870035a87574a0.tar.gz
blackbird-op-linux-3d9b98f4ec17ba8d555f1972a3870035a87574a0.zip
iommu, x86: Setup Posted-Interrupts capability for Intel iommu
Set Posted-Interrupts capability for Intel iommu when Interrupt Remapping is enabled, clear it when disabled. Signed-off-by: Feng Wu <feng.wu@intel.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Joerg Roedel <joro@8bytes.org> Cc: jiang.liu@linux.intel.com Cc: iommu@lists.linux-foundation.org Cc: dwmw2@infradead.org Link: http://lkml.kernel.org/r/1433827237-3382-9-git-send-email-feng.wu@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/iommu/irq_remapping.h')
-rw-r--r--drivers/iommu/irq_remapping.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/irq_remapping.h b/drivers/iommu/irq_remapping.h
index b6ca30d31986..039c7af7b190 100644
--- a/drivers/iommu/irq_remapping.h
+++ b/drivers/iommu/irq_remapping.h
@@ -34,6 +34,8 @@ extern int disable_sourceid_checking;
extern int no_x2apic_optout;
extern int irq_remapping_enabled;
+extern int disable_irq_post;
+
struct irq_remap_ops {
/* The supported capabilities */
int capability;
@@ -69,6 +71,7 @@ extern void ir_ack_apic_edge(struct irq_data *data);
#define irq_remapping_enabled 0
#define irq_remap_broken 0
+#define disable_irq_post 1
#endif /* CONFIG_IRQ_REMAP */
OpenPOWER on IntegriCloud