1. 01 7月, 2015 1 次提交
  2. 19 6月, 2015 1 次提交
  3. 11 6月, 2015 10 次提交
  4. 02 6月, 2015 1 次提交
  5. 29 5月, 2015 1 次提交
  6. 02 4月, 2015 9 次提交
  7. 31 3月, 2015 1 次提交
  8. 04 2月, 2015 2 次提交
  9. 15 1月, 2015 1 次提交
  10. 16 12月, 2014 1 次提交
  11. 14 11月, 2014 1 次提交
    • W
      iommu/amd: remove compiler warning due to IOMMU_CAP_NOEXEC · cfdeec22
      Will Deacon 提交于
      Some versions of GCC get unduly upset when confronted with a switch
      that doesn't explicitly handle all cases of an enum, despite having an
      implicit default case following the actualy switch statement:
      
         drivers/iommu/amd_iommu.c: In function 'amd_iommu_capable':
      >> drivers/iommu/amd_iommu.c:3409:2: warning: enumeration value 'IOMMU_CAP_NOEXEC' not handled in switch [-Wswitch]
           switch (cap) {
      
      This patch adds a case for IOMMU_CAP_NOEXEC to the amd IOMMU driver to
      remove this warning.
      
      Cc: Joerg Roedel <jroedel@suse.de>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      cfdeec22
  12. 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
  13. 26 9月, 2014 1 次提交
    • Y
      iommu/irq_remapping: Fix the regression of hpet irq remapping · 5fc24d8c
      Yijing Wang 提交于
      Commit 71054d88 ("x86, hpet: Introduce x86_msi_ops.setup_hpet_msi")
      introduced x86_msi_ops.setup_hpet_msi to setup hpet MSI irq
      when irq remapping enabled. This caused a regression of
      hpet MSI irq remapping.
      
      Original code flow before commit 71054d88:
      hpet_setup_msi_irq()
      	arch_setup_hpet_msi()
      		setup_hpet_msi_remapped()
      			remap_ops->setup_hpet_msi()
      				alloc_irte()
      		msi_compose_msg()
      		hpet_msi_write()
      		...
      
      Current code flow after commit 71054d88:
      hpet_setup_msi_irq()
      	x86_msi.setup_hpet_msi()
      		setup_hpet_msi_remapped()
      			intel_setup_hpet_msi()
      				alloc_irte()
      
      Currently, we only call alloc_irte() for hpet MSI, but
      do not composed and wrote its msg...
      Signed-off-by: NYijing Wang <wangyijing@huawei.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      5fc24d8c
  14. 25 9月, 2014 3 次提交
  15. 26 8月, 2014 4 次提交
  16. 18 8月, 2014 1 次提交
  17. 07 7月, 2014 1 次提交