Skip to content

AMD IOMMU 2.6.28 updates for review

Joerg Roedel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23AMD IOMMU: check for invalid device pointersarch/x86/kernel/amd_iommu.c+35 -80 replies
2/23AMD IOMMU: move TLB flushing to the map/unmap helper functionsarch/x86/kernel/amd_iommu.c+5 -140 replies
3/23AMD IOMMU: implement lazy IO/TLB flushingDocumentation/kernel-parameters.txt arch/x86/kernel/amd_iommu.c arch/x86/kernel/amd_iommu_init.c +1 more+45 -517 replies
4/23AMD IOMMU: add branch hints to completion wait checksarch/x86/kernel/amd_iommu.c+6 -60 replies
5/23AMD IOMMU: align alloc_coherent addresses properlyarch/x86/kernel/amd_iommu.c+14 -80 replies
6/23AMD IOMMU: add event buffer allocationarch/x86/kernel/amd_iommu_init.c include/asm-x86/amd_iommu_types.h+38 -00 replies
7/23AMD IOMMU: save pci segment from ACPI tablesarch/x86/kernel/amd_iommu_init.c include/asm-x86/amd_iommu_types.h+4 -00 replies
8/23AMD IOMMU: save pci_dev instead of devidarch/x86/kernel/amd_iommu_init.c include/asm-x86/amd_iommu_types.h+19 -110 replies
9/23AMD IOMMU: add MSI interrupt supportarch/x86/Kconfig arch/x86/kernel/amd_iommu.c arch/x86/kernel/amd_iommu_init.c +2 more+120 -10 replies
10/23AMD IOMMU: add event handling codearch/x86/kernel/amd_iommu.c arch/x86/kernel/amd_iommu_init.c include/asm-x86/amd_iommu_types.h+108 -20 replies
11/23AMD IOMMU: enable event loggingarch/x86/kernel/amd_iommu_init.c+8 -00 replies
12/23AMD IOMMU: allow IO page faults from devicesarch/x86/kernel/amd_iommu_init.c+0 -10 replies
13/23AMD IOMMU: add dma_supported callbackarch/x86/kernel/amd_iommu.c+25 -00 replies
14/23AMD IOMMU: don't assing preallocated protection domains to devicesarch/x86/kernel/amd_iommu.c include/asm-x86/amd_iommu_types.h+44 -50 replies
15/23AMD IOMMU: some set_device_domain cleanupsarch/x86/kernel/amd_iommu.c include/asm-x86/amd_iommu_types.h+8 -40 replies
16/23AMD IOMMU: avoid unnecessary low zone allocation in alloc_coherentarch/x86/kernel/amd_iommu.c+3 -20 replies
17/23AMD IOMMU: replace memset with __GFP_ZERO in alloc_coherentarch/x86/kernel/amd_iommu.c+1 -10 replies
18/23AMD IOMMU: simplify dma_mask_to_pagesarch/x86/kernel/amd_iommu.c+1 -24 replies
19/23AMD IOMMU: free domain bitmap with its allocation orderarch/x86/kernel/amd_iommu_init.c+2 -10 replies
20/23AMD IOMMU: remove unnecessary cast to u64 in the init codearch/x86/kernel/amd_iommu_init.c+1 -10 replies
21/23AMD IOMMU: calculate IVHD size with a functionarch/x86/kernel/amd_iommu_init.c+10 -20 replies
22/23AMD IOMMU: use cmd_buf_size when freeing the command bufferarch/x86/kernel/amd_iommu_init.c+2 -10 replies
23/23add AMD IOMMU tree to MAINTAINERS fileMAINTAINERS+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/23] AMD IOMMU 2.6.28 updates for review

Hi all,

this is the patch series with all 2.6.28 updates I currently have for the AMD IOMMU driver. The highlights in this series are the implementation of lazy IOTLB flushing which increases performance and code for AMD IOMMU event handling. Any events the hardware will send are now visible. There are also a lot of minor fixes and cleanups which came up during code review and LKML discussions from various persons. The patches are relative to current tip/master branch.
Please review.

Here is the shortlog and the diffstat:

FUJITA Tomonori (1):
AMD IOMMU: avoid unnecessary low zone allocation in alloc_coherent

Joerg Roedel (22):
AMD IOMMU: check for invalid device pointers
AMD IOMMU: move TLB flushing to the map/unmap helper functions AMD IOMMU: implement lazy IO/TLB flushing
AMD IOMMU: add branch hints to completion wait checks AMD IOMMU: align alloc_coherent addresses properly
AMD IOMMU: add event buffer allocation
AMD IOMMU: save pci segment from ACPI tables
AMD IOMMU: save pci_dev instead of devid
AMD IOMMU: add MSI interrupt support
AMD IOMMU: add event handling code
AMD IOMMU: enable event logging
AMD IOMMU: allow IO page faults from devices
AMD IOMMU: add dma_supported callback
AMD IOMMU: don't assing preallocated protection domains to devices AMD IOMMU: some set_device_domain cleanups
AMD IOMMU: replace memset with __GFP_ZERO in alloc_coherent AMD IOMMU: simplify dma_mask_to_pages
AMD IOMMU: free domain bitmap with its allocation order AMD IOMMU: remove unnecessary cast to u64 in the init code AMD IOMMU: calculate IVHD size with a function
AMD IOMMU: use cmd_buf_size when freeing the command buffer add AMD IOMMU tree to MAINTAINERS file

 Documentation/kernel-parameters.txt |    5 +
 MAINTAINERS                         |    1 +
 arch/x86/Kconfig                    |    1 +
 arch/x86/kernel/amd_iommu.c         |  301 +++++++++++++++++++++++++++++------
 arch/x86/kernel/amd_iommu_init.c    |  194 ++++++++++++++++++++--
 include/asm-x86/amd_iommu.h         |    3 +
 include/asm-x86/amd_iommu_types.h   |   64 +++++++-
 7 files changed, 497 insertions(+), 72 deletions(-)

Thanks,

Joerg