1. 18 5月, 2009 1 次提交
  2. 29 4月, 2009 1 次提交
    • F
      Intel IOMMU Pass Through Support · 4ed0d3e6
      Fenghua Yu 提交于
      The patch adds kernel parameter intel_iommu=pt to set up pass through
      mode in context mapping entry. This disables DMAR in linux kernel; but
      KVM still runs on VT-d and interrupt remapping still works.
      
      In this mode, kernel uses swiotlb for DMA API functions but other VT-d
      functionalities are enabled for KVM. KVM always uses multi level
      translation page table in VT-d. By default, pass though mode is disabled
      in kernel.
      
      This is useful when people don't want to enable VT-d DMAR in kernel but
      still want to use KVM and interrupt remapping for reasons like DMAR
      performance concern or debug purpose.
      Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
      Acked-by: NWeidong Han <weidong@intel.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      4ed0d3e6
  3. 24 3月, 2009 1 次提交
  4. 04 1月, 2009 1 次提交
    • I
      intel-iommu: fix build error with INTR_REMAP=y and DMAR=n · c66b9906
      Ingo Molnar 提交于
      dmar.o can be built in the CONFIG_INTR_REMAP=y case but
      iommu_calculate_agaw() is only available if VT-d is built as well.
      
      So create an inline version of iommu_calculate_agaw() for the
      !CONFIG_DMAR case. The iommu->agaw value wont be used in this
      case, but the code is cleaner (has less #ifdefs) if we have it around
      unconditionally.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      c66b9906
  5. 03 1月, 2009 9 次提交
  6. 18 10月, 2008 1 次提交
  7. 15 10月, 2008 1 次提交
  8. 12 7月, 2008 2 次提交