summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/msidef.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2009-03-16 17:04:55 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-03-17 15:38:59 -0700
commit9d783ba042771284fb4ee5013c3d94220755ae7f (patch)
tree102ec9f89d363589108ae35e4b38c12fc6e2765c /arch/x86/include/asm/msidef.h
parent0ac2491f57af5644f88383d28809760902d6f4d7 (diff)
downloadblackbird-op-linux-9d783ba042771284fb4ee5013c3d94220755ae7f.tar.gz
blackbird-op-linux-9d783ba042771284fb4ee5013c3d94220755ae7f.zip
x86, x2apic: enable fault handling for intr-remapping
Impact: interface augmentation (not yet used) Enable fault handling flow for intr-remapping aswell. Fault handling code now shared by both dma-remapping and intr-remapping. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/msidef.h')
-rw-r--r--arch/x86/include/asm/msidef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msidef.h b/arch/x86/include/asm/msidef.h
index 6706b3006f13..4cc48af23fef 100644
--- a/arch/x86/include/asm/msidef.h
+++ b/arch/x86/include/asm/msidef.h
@@ -47,6 +47,7 @@
#define MSI_ADDR_DEST_ID_MASK 0x00ffff0
#define MSI_ADDR_DEST_ID(dest) (((dest) << MSI_ADDR_DEST_ID_SHIFT) & \
MSI_ADDR_DEST_ID_MASK)
+#define MSI_ADDR_EXT_DEST_ID(dest) ((dest) & 0xffffff00)
#define MSI_ADDR_IR_EXT_INT (1 << 4)
#define MSI_ADDR_IR_SHV (1 << 3)
OpenPOWER on IntegriCloud