diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-03-18 10:33:05 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-03-24 12:42:43 +0300 |
commit | 58c610bd1a3f50820e45a7c09ec0e44d2cda15dd (patch) | |
tree | 696539e1e17fd7600222865fa331e9144737a58b /include/linux/intel-iommu.h | |
parent | a1e4ee22863d41a6fbb24310d7951836cb6dafe7 (diff) | |
download | linux-58c610bd1a3f50820e45a7c09ec0e44d2cda15dd.tar.xz |
intel-iommu: Snooping control support
Snooping control enabled IOMMU to guarantee DMA cache coherency and thus reduce
software effort (VMM) in maintaining effective memory type.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/intel-iommu.h')
-rw-r--r-- | include/linux/intel-iommu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index d2e3cbfba14f..3ad894004938 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -123,7 +123,7 @@ static inline void dmar_writeq(void __iomem *addr, u64 val) #define ecap_eim_support(e) ((e >> 4) & 0x1) #define ecap_ir_support(e) ((e >> 3) & 0x1) #define ecap_max_handle_mask(e) ((e >> 20) & 0xf) - +#define ecap_sc_support(e) ((e >> 7) & 0x1) /* Snooping Control */ /* IOTLB_REG */ #define DMA_TLB_FLUSH_GRANU_OFFSET 60 |