1. 31 3月, 2015 1 次提交
  2. 25 2月, 2015 1 次提交
    • T
      iommu/exynos: Play nice in multi-platform builds · a7b67cd5
      Thierry Reding 提交于
      The Exynos System MMU driver unconditionally executes code and registers
      a struct iommu_ops with the platform bus irrespective of whether it runs
      on an Exynos SoC or not. This causes problems in multi-platform kernels
      where drivers for other SoCs will no longer be able to register their
      own struct iommu_ops or even try to use a struct iommu_ops for an IOMMU
      that obviously isn't there.
      
      The smallest fix I could think of is to check for the existence of any
      Exynos System MMU devices in the device tree and skip initialization
      otherwise.
      
      This fixes a problem on Tegra20 where the DRM driver will try to use the
      obviously non-existent Exynos System MMU.
      Reported-by: NNicolas Chauvet <kwizart@gmail.com>
      Cc: Kukjin Kim <kgene@kernel.org>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      a7b67cd5
  3. 04 11月, 2014 1 次提交
    • O
      iommu: Add iommu_map_sg() function · 315786eb
      Olav Haugan 提交于
      Mapping and unmapping are more often than not in the critical path.
      map_sg allows IOMMU driver implementations to optimize the process
      of mapping buffers into the IOMMU page tables.
      
      Instead of mapping a buffer one page at a time and requiring potentially
      expensive TLB operations for each page, this function allows the driver
      to map all pages in one go and defer TLB maintenance until after all
      pages have been mapped.
      
      Additionally, the mapping operation would be faster in general since
      clients does not have to keep calling map API over and over again for
      each physically contiguous chunk of memory that needs to be mapped to a
      virtually contiguous region.
      Signed-off-by: NOlav Haugan <ohaugan@codeaurora.org>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      315786eb
  4. 20 10月, 2014 1 次提交
  5. 19 8月, 2014 1 次提交
  6. 07 7月, 2014 1 次提交
  7. 28 5月, 2014 1 次提交
  8. 27 5月, 2014 1 次提交
  9. 26 5月, 2014 1 次提交
  10. 14 5月, 2014 19 次提交
  11. 14 8月, 2013 1 次提交
  12. 03 4月, 2013 1 次提交
  13. 08 2月, 2013 1 次提交
  14. 18 9月, 2012 1 次提交
  15. 03 8月, 2012 1 次提交
  16. 24 7月, 2012 1 次提交
  17. 11 7月, 2012 1 次提交
  18. 12 5月, 2012 1 次提交