1. 08 11月, 2009 1 次提交
    • F
      x86: Use x86_platform for iommu_shutdown · 338bac52
      FUJITA Tomonori 提交于
      This patch cleans up pci_iommu_shutdown() a bit to use
      x86_platform (similar to how IA64 initializes an IOMMU driver).
      
      This adds iommu_shutdown() to x86_platform to avoid calling
      every IOMMUs' shutdown functions in pci_iommu_shutdown() in
      order. The IOMMU shutdown functions are platform specific (we
      don't have multiple different IOMMU hardware) so the current way
      is pointless.
      
      An IOMMU driver sets x86_platform.iommu_shutdown to the shutdown
      function if necessary.
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: joerg.roedel@amd.com
      LKML-Reference: <20091027163358F.fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      338bac52
  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. 06 1月, 2009 1 次提交
  4. 17 12月, 2008 1 次提交
  5. 28 11月, 2008 1 次提交
  6. 16 11月, 2008 1 次提交
  7. 25 10月, 2008 1 次提交
  8. 23 10月, 2008 2 次提交
  9. 18 10月, 2008 1 次提交
  10. 17 10月, 2008 1 次提交
    • J
      x86: rename iommu_num_pages function to iommu_nr_pages · bdab0ba3
      Joerg Roedel 提交于
      This series of patches re-introduces the iommu_num_pages function so that
      it can be used by each architecture specific IOMMU implementations.  The
      series also changes IOMMU implementations for X86, Alpha, PowerPC and
      UltraSparc.  The other implementations are not yet changed because the
      modifications required are not obvious and I can't test them on real
      hardware.
      
      This patch:
      
      This is a preparation patch for introducing a generic iommu_num_pages function.
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: Muli Ben-Yehuda <muli@il.ibm.com>
      Cc: Dave Airlie <airlied@linux.ie>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      bdab0ba3
  11. 23 9月, 2008 1 次提交
  12. 19 9月, 2008 1 次提交
  13. 06 9月, 2008 1 次提交
  14. 29 7月, 2008 1 次提交
  15. 27 7月, 2008 1 次提交
  16. 23 7月, 2008 1 次提交
    • V
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum 提交于
      This patch is the result of an automatic script that consolidates the
      format of all the headers in include/asm-x86/.
      
      The format:
      
      1. No leading underscore. Names with leading underscores are reserved.
      2. Pathname components are separated by two underscores. So we can
         distinguish between mm_types.h and mm/types.h.
      3. Everything except letters and numbers are turned into single
         underscores.
      Signed-off-by: NVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  17. 11 7月, 2008 1 次提交
  18. 10 7月, 2008 1 次提交
  19. 09 7月, 2008 1 次提交
  20. 30 10月, 2007 1 次提交
  21. 11 10月, 2007 1 次提交
  22. 22 7月, 2007 1 次提交