aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSohil Mehta <sohil.mehta@intel.com>2018-09-11 20:11:37 -0400
committerJoerg Roedel <jroedel@suse.de>2018-09-25 08:33:43 -0400
commit4a2d80dbadb72b998641af32d8dd4b7b39e72aa0 (patch)
tree2d52aa17453353cf5c3ee75c2d984aef2672d3d1
parent26b86092c4650311256fa2372ced7e1e17d97d7b (diff)
iommu/vt-d: Update register definitions to VT-d 3.0 specification
Add new register definitions added in the VT-d 3.0 specification. Also include registers that were missing previously. Cc: Lu Baolu <baolu.lu@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Ashok Raj <ashok.raj@intel.com> Cc: Gayatri Kammela <gayatri.kammela@intel.com> Signed-off-by: Sohil Mehta <sohil.mehta@intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--include/linux/intel-iommu.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h
index b7cf32e8ae1f..3bdb9aa198af 100644
--- a/include/linux/intel-iommu.h
+++ b/include/linux/intel-iommu.h
@@ -72,6 +72,42 @@
72#define DMAR_PEDATA_REG 0xe4 /* Page request event interrupt data register */ 72#define DMAR_PEDATA_REG 0xe4 /* Page request event interrupt data register */
73#define DMAR_PEADDR_REG 0xe8 /* Page request event interrupt addr register */ 73#define DMAR_PEADDR_REG 0xe8 /* Page request event interrupt addr register */
74#define DMAR_PEUADDR_REG 0xec /* Page request event Upper address register */ 74#define DMAR_PEUADDR_REG 0xec /* Page request event Upper address register */
75#define DMAR_MTRRCAP_REG 0x100 /* MTRR capability register */
76#define DMAR_MTRRDEF_REG 0x108 /* MTRR default type register */
77#define DMAR_MTRR_FIX64K_00000_REG 0x120 /* MTRR Fixed range registers */
78#define DMAR_MTRR_FIX16K_80000_REG 0x128
79#define DMAR_MTRR_FIX16K_A0000_REG 0x130
80#define DMAR_MTRR_FIX4K_C0000_REG 0x138
81#define DMAR_MTRR_FIX4K_C8000_REG 0x140
82#define DMAR_MTRR_FIX4K_D0000_REG 0x148
83#define DMAR_MTRR_FIX4K_D8000_REG 0x150
84#define DMAR_MTRR_FIX4K_E0000_REG 0x158
85#define DMAR_MTRR_FIX4K_E8000_REG 0x160
86#define DMAR_MTRR_FIX4K_F0000_REG 0x168
87#define DMAR_MTRR_FIX4K_F8000_REG 0x170
88#define DMAR_MTRR_PHYSBASE0_REG 0x180 /* MTRR Variable range registers */
89#define DMAR_MTRR_PHYSMASK0_REG 0x188
90#define DMAR_MTRR_PHYSBASE1_REG 0x190
91#define DMAR_MTRR_PHYSMASK1_REG 0x198
92#define DMAR_MTRR_PHYSBASE2_REG 0x1a0
93#define DMAR_MTRR_PHYSMASK2_REG 0x1a8
94#define DMAR_MTRR_PHYSBASE3_REG 0x1b0
95#define DMAR_MTRR_PHYSMASK3_REG 0x1b8
96#define DMAR_MTRR_PHYSBASE4_REG 0x1c0
97#define DMAR_MTRR_PHYSMASK4_REG 0x1c8
98#define DMAR_MTRR_PHYSBASE5_REG 0x1d0
99#define DMAR_MTRR_PHYSMASK5_REG 0x1d8
100#define DMAR_MTRR_PHYSBASE6_REG 0x1e0
101#define DMAR_MTRR_PHYSMASK6_REG 0x1e8
102#define DMAR_MTRR_PHYSBASE7_REG 0x1f0
103#define DMAR_MTRR_PHYSMASK7_REG 0x1f8
104#define DMAR_MTRR_PHYSBASE8_REG 0x200
105#define DMAR_MTRR_PHYSMASK8_REG 0x208
106#define DMAR_MTRR_PHYSBASE9_REG 0x210
107#define DMAR_MTRR_PHYSMASK9_REG 0x218
108#define DMAR_VCCAP_REG 0xe00 /* Virtual command capability register */
109#define DMAR_VCMD_REG 0xe10 /* Virtual command register */
110#define DMAR_VCRSP_REG 0xe20 /* Virtual command response register */
75 111
76#define OFFSET_STRIDE (9) 112#define OFFSET_STRIDE (9)
77 113