1. 15 3月, 2012 1 次提交
    • S
      iommu/amd: Fix section warning for prealloc_protection_domains · cebd5fa4
      Steffen Persvold 提交于
      Fix the following section warning in drivers/iommu/amd_iommu.c :
      
      WARNING: vmlinux.o(.text+0x526e77): Section mismatch in reference from the function prealloc_protection_domains() to the function .init.text:alloc_passthrough_domain()
      The function prealloc_protection_domains() references
      the function __init alloc_passthrough_domain().
      This is often because prealloc_protection_domains lacks a __init
      annotation or the annotation of alloc_passthrough_domain is wrong.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NSteffen Persvold <sp@numascale.com>
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      cebd5fa4
  2. 23 1月, 2012 1 次提交
    • J
      iommu/amd: Work around broken IVRS tables · af1be049
      Joerg Roedel 提交于
      On some systems the IVRS table does not contain all PCI
      devices present in the system. In case a device not present
      in the IVRS table is translated by the IOMMU no DMA is
      possible from that device by default.
      This patch fixes this by removing the DTE entry for every
      PCI device present in the system and not covered by IVRS.
      
      Cc: stable@vger.kernel.org # >= 3.0
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      af1be049
  3. 22 12月, 2011 1 次提交
  4. 15 12月, 2011 2 次提交
  5. 12 12月, 2011 11 次提交
  6. 15 11月, 2011 2 次提交
  7. 10 11月, 2011 2 次提交
  8. 21 10月, 2011 1 次提交
  9. 11 10月, 2011 1 次提交
  10. 02 9月, 2011 2 次提交
  11. 06 7月, 2011 1 次提交
  12. 21 6月, 2011 2 次提交
  13. 14 6月, 2011 9 次提交
  14. 07 6月, 2011 1 次提交
    • J
      x86/amd-iommu: Fix boot crash with hidden PCI devices · 26018874
      Joerg Roedel 提交于
      Some PCIe cards ship with a PCI-PCIe bridge which is not
      visible as a PCI device in Linux. But the device-id of the
      bridge is present in the IOMMU tables which causes a boot
      crash in the IOMMU driver.
      This patch fixes by removing these cards from the IOMMU
      handling. This is a pure -stable fix, a real fix to handle
      this situation appriatly will follow for the next merge
      window.
      
      Cc: stable@kernel.org	# > 2.6.32
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      26018874
  15. 06 6月, 2011 1 次提交
    • J
      x86/amd-iommu: Use only per-device dma_ops · 27c2127a
      Joerg Roedel 提交于
      Unfortunatly there are systems where the AMD IOMMU does not
      cover all devices. This breaks with the current driver as it
      initializes the global dma_ops variable. This patch limits
      the AMD IOMMU to the devices listed in the IVRS table fixing
      DMA for devices not covered by the IOMMU.
      
      Cc: stable@kernel.org
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      27c2127a
  16. 22 5月, 2011 1 次提交
  17. 10 5月, 2011 1 次提交