Skip to content

more AMD IOMMU updates for 2.6.29

Joerg Roedel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22AMD IOMMU: add a domain flag for default domainsarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+3 -00 replies
2/22AMD IOMMU: allocate a new protection for hotplugged devicesarch/x86/kernel/amd_iommu.c+17 -00 replies
3/22AMD IOMMU: use dev_name instead of self-build print_devidarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+1 -142 replies
4/22AMD IOMMU: convert iommu->need_sync to boolarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+3 -30 replies
5/22AMD IOMMU: convert amd_iommu_isolate to boolarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu_init.c+5 -40 replies
6/22AMD IOMMU: use calc_devid in prealloc_protection_domainsarch/x86/kernel/amd_iommu.c+1 -10 replies
7/22AMD IOMMU: use dev_name in iommu_enable functionarch/x86/kernel/amd_iommu_init.c+2 -60 replies
8/22AMD IOMMU: add Kconfig entry for statistic collection codearch/x86/Kconfig+10 -00 replies
9/22AMD IOMMU: add necessary header defines for stats countingarch/x86/include/asm/amd_iommu_types.h+26 -00 replies
10/22AMD IOMMU: add init code for statistic collectionarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu.c+39 -00 replies
11/22AMD IOMMU: add stats counter for completion wait eventsarch/x86/kernel/amd_iommu.c+6 -00 replies
12/22AMD IOMMU: add stats counter for map_single requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
13/22AMD IOMMU: add stats counter for unmap_single requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
14/22AMD IOMMU: add stats counter for map_sg requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
15/22AMD IOMMU: add stats counter for unmap_sg requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
16/22AMD IOMMU: add stats counter for alloc_coherent requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
17/22AMD IOMMU: add stats counter for free_coherent requestsarch/x86/kernel/amd_iommu.c+4 -00 replies
18/22AMD IOMMU: add stats counter for cross-page requestarch/x86/kernel/amd_iommu.c+5 -00 replies
19/22AMD IOMMU: add stats counter for single iommu domain tlb flushesarch/x86/kernel/amd_iommu.c+4 -00 replies
20/22AMD IOMMU: add stats counter for domain tlb flushesarch/x86/kernel/amd_iommu.c+4 -00 replies
21/22AMD IOMMU: add statistics about allocated io memoryarch/x86/kernel/amd_iommu.c+6 -00 replies
22/22AMD IOMMU: add statistics about total number of map requestsarch/x86/kernel/amd_iommu.c+4 -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/22] more AMD IOMMU updates for 2.6.29

Hi,

this is the rest of AMD IOMMU updates for the 2.6.29 merge window (the other part is contained in the KVM device passthrough patchsets posted before).
These patches include some cleanups and improvements for PCI device hotplug. The most interesting part is the new stats collection facility. Once enabled, the user can see various high-level statistics about what the IOMMU code (mostly limited to DMA-API) is doing in debugfs. This can be used to optimize this and other code (e.g. pv-dma in KVM) in the future.

Joerg

diffstat:

 arch/x86/Kconfig                       |   10 +++
 arch/x86/include/asm/amd_iommu_types.h |   46 +++++++++----
 arch/x86/kernel/amd_iommu.c            |  117 ++++++++++++++++++++++++++++++--
 arch/x86/kernel/amd_iommu_init.c       |   15 ++---
 4 files changed, 160 insertions(+), 28 deletions(-)