1. 09 1月, 2014 4 次提交
  2. 30 12月, 2013 1 次提交
  3. 01 11月, 2013 1 次提交
  4. 31 10月, 2013 1 次提交
    • L
      ACPICA: Update DMAR table definitions. · fa5f508f
      Lv Zheng 提交于
      This patch updates DMAR table header definitions as such enhancement
      has been made in ACPICA upstream already.  It ports that change to
      the Linux source to reduce source code differences between Linux and
      ACPICA upstream.
      
      Build test done on x86-64 machine with the following configs enabled:
        CONFIG_DMAR_TABLE
        CONFIG_IRQ_REMAP
        CONFIG_INTEL_IOMMU
      
      This patch does not affect the generation of the Linux kernel binary.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      fa5f508f
  5. 20 6月, 2013 1 次提交
    • L
      iommu/vt-d: DMAR reporting table needs at least one DRHD · 7cef3347
      Li, Zhen-Hua 提交于
      In intel vt-d spec , chapter 8.1 , DMA Remapping Reporting Structure.
      In the end of the table, it says:
      
      Remapping Structures[]
      -
      A list of structures. The list will contain one or
      more DMA Remapping Hardware Unit Definition
      (DRHD) structures, and zero or more Reserved
      Memory Region Reporting (RMRR) and Root Port
      ATS Capability Reporting (ATSR) structures.
      These structures are described below.
      
      So, there should be at least one DRHD structure in DMA Remapping
      reporting table. If there is no DRHD found, a warning is necessary.
      Signed-off-by: NLi, Zhen-Hua <zhen-hual@hp.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      7cef3347
  6. 25 4月, 2013 1 次提交
  7. 24 4月, 2013 1 次提交
  8. 23 4月, 2013 1 次提交
    • T
      iommu/vt-d: Disable translation if already enabled · 3a93c841
      Takao Indoh 提交于
      This patch disables translation(dma-remapping) before its initialization
      if it is already enabled.
      
      This is needed for kexec/kdump boot. If dma-remapping is enabled in the
      first kernel, it need to be disabled before initializing its page table
      during second kernel boot. Wei Hu also reported that this is needed
      when second kernel boots with intel_iommu=off.
      
      Basically iommu->gcmd is used to know whether translation is enabled or
      disabled, but it is always zero at boot time even when translation is
      enabled since iommu->gcmd is initialized without considering such a
      case. Therefor this patch synchronizes iommu->gcmd value with global
      command register when iommu structure is allocated.
      Signed-off-by: NTakao Indoh <indou.takao@jp.fujitsu.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      3a93c841
  9. 27 3月, 2013 1 次提交
  10. 06 3月, 2013 1 次提交
  11. 08 2月, 2013 1 次提交
  12. 28 1月, 2013 1 次提交
  13. 11 6月, 2012 1 次提交
  14. 08 6月, 2012 2 次提交
  15. 14 5月, 2012 1 次提交
  16. 07 5月, 2012 3 次提交
  17. 21 9月, 2011 5 次提交
  18. 14 9月, 2011 1 次提交
  19. 13 9月, 2011 2 次提交
  20. 21 6月, 2011 1 次提交
    • O
      x86/ia64: intel-iommu: move to drivers/iommu/ · 166e9278
      Ohad Ben-Cohen 提交于
      This should ease finding similarities with different platforms,
      with the intention of solving problems once in a generic framework
      which everyone can use.
      
      Note: to move intel-iommu.c, the declaration of pci_find_upstream_pcie_bridge()
      has to move from drivers/pci/pci.h to include/linux/pci.h. This is handled
      in this patch, too.
      
      As suggested, also drop DMAR's EXPERIMENTAL tag while we're at it.
      
      Compile-tested on x86_64.
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      166e9278
  21. 24 5月, 2011 1 次提交
  22. 29 3月, 2011 1 次提交
  23. 14 12月, 2010 1 次提交
    • S
      x86, vt-d: Handle previous faults after enabling fault handling · 7f99d946
      Suresh Siddha 提交于
      Fault handling is getting enabled after enabling the interrupt-remapping (as
      the success of interrupt-remapping can affect the apic mode and hence the
      fault handling mode).
      
      Hence there can potentially be some faults between the window of enabling
      interrupt-remapping in the vt-d and the fault-handling of the vt-d units.
      
      Handle any previous faults after enabling the vt-d fault handling.
      
      For v2.6.38 cleanup, need to check if we can remove the dmar_fault() in the
      enable_intr_remapping() and see if we can enable fault handling along with
      enabling intr-remapping.
      Signed-off-by: NSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <20101201062244.630417138@intel.com>
      Cc: stable@kernel.org [v2.6.32+]
      Acked-by: NChris Wright <chrisw@sous-sol.org>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      7f99d946
  24. 12 10月, 2010 1 次提交
  25. 27 8月, 2010 2 次提交
    • K
      x86, VT-d: Make Intel VT-d IOMMU use IOMMU_INIT_* macros. · 4db77ff3
      Konrad Rzeszutek Wilk 提交于
      We utilize the IOMMU_INIT macros to create this dependency:
      
                     [null]
                       |
             [pci_xen_swiotlb_detect]
                       |
             [pci_swiotlb_detect_override]
                       |
             [pci_swiotlb_detect_4gb]
                       |
               +-------+--------+---------------------+
              /                  \                     \
      [detect_calgary]    [gart_iommu_hole_init]   [detect_intel_iommu]
                                  |
                          [amd_iommu_detect]
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      LKML-Reference: <1282845485-8991-10-git-send-email-konrad.wilk@oracle.com>
      CC: Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp>
      CC: Jesse Barnes <jbarnes@virtuousgeek.org>
      CC: David Woodhouse <David.Woodhouse@intel.com>
      CC: Len Brown <len.brown@intel.com>
      CC: Chris Wright <chrisw@sous-sol.org>
      CC: Yinghai Lu <yinghai@kernel.org>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      4db77ff3
    • K
      x86, iommu: Make all IOMMU's detection routines return a value. · 480125ba
      Konrad Rzeszutek Wilk 提交于
      We return 1 if the IOMMU has been detected. Zero or an error number
      if we failed to find it. This is in preperation of using the IOMMU_INIT
      so that we can detect whether an IOMMU is present. I have not
      tested this for regression on Calgary, nor on AMD Vi chipsets as
      I don't have that hardware.
      
      CC: Muli Ben-Yehuda <muli@il.ibm.com>
      CC: "Jon D. Mason" <jdmason@kudzu.us>
      CC: "Darrick J. Wong" <djwong@us.ibm.com>
      CC: Jesse Barnes <jbarnes@virtuousgeek.org>
      CC: David Woodhouse <David.Woodhouse@intel.com>
      CC: Chris Wright <chrisw@sous-sol.org>
      CC: Yinghai Lu <yinghai@kernel.org>
      CC: Joerg Roedel <joerg.roedel@amd.com>
      CC: H. Peter Anvin <hpa@zytor.com>
      CC: Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      LKML-Reference: <1282845485-8991-3-git-send-email-konrad.wilk@oracle.com>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      480125ba
  26. 19 5月, 2010 2 次提交
  27. 14 4月, 2010 1 次提交