18 May, 2009

1 commit


29 Apr, 2009

1 commit

  • 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: Fenghua Yu
    Acked-by: Weidong Han
    Signed-off-by: David Woodhouse

    Fenghua Yu
     

24 Mar, 2009

1 commit


04 Jan, 2009

1 commit

  • 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: Ingo Molnar

    Ingo Molnar
     

03 Jan, 2009

9 commits


18 Oct, 2008

1 commit

  • The current Intel IOMMU code assumes that both host page size and Intel
    IOMMU page size are 4KiB. The first patch supports variable page size.
    This provides support for IA64 which has multiple page sizes.

    This patch also adds some other code hooks for IA64 platform including
    DMAR_OPERATION_TIMEOUT definition.

    [dwmw2: some cleanup]
    Signed-off-by: Fenghua Yu
    Signed-off-by: Tony Luck
    Signed-off-by: David Woodhouse

    Fenghua Yu
     

15 Oct, 2008

1 commit

  • This patch extends the VT-d driver to support KVM

    [Ben: fixed memory pinning]
    [avi: move dma_remapping.h as well]

    Signed-off-by: Kay, Allen M
    Signed-off-by: Weidong Han
    Signed-off-by: Ben-Ami Yassour
    Signed-off-by: Amit Shah
    Acked-by: Mark Gross
    Signed-off-by: Avi Kivity

    Kay, Allen M