Skip to content

amd-iommu debug patches for 2.6.31

Joerg Roedel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7amd-iommu: add amd_iommu_dump parameterarch/x86/include/asm/amd_iommu_types.h arch/x86/kernel/amd_iommu_init.c+16 -00 replies
2/7amd-iommu: add dump for iommus described in ivrs tablearch/x86/kernel/amd_iommu_init.c+9 -00 replies
3/7amd-iommu: print ivhd information to dmesg when requestedarch/x86/kernel/amd_iommu_init.c+73 -00 replies
4/7amd-iommu: print ivmd information to dmesg when requestedarch/x86/kernel/amd_iommu_init.c+11 -00 replies
5/7amd-iommu: move protection domain printk to dump codearch/x86/kernel/amd_iommu.c+6 -40 replies
6/7x86/iommu: add IOMMU_STRESS Kconfig entryarch/x86/Kconfig.debug+8 -00 replies
7/7amd-iommu: disable device isolation with CONFIG_IOMMU_STRESSarch/x86/kernel/amd_iommu_init.c+6 -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/7] amd-iommu debug patches for 2.6.31

This patchset contains updates to the debugging code in the AMD IOMMU driver for Linux. It introduces two additional features:

* A new command line parameter to let the driver dump the parsed contents of the IVRS ACPI table to dmesg. This is a debug feature to make it easier to find the bug for problems reported to me
* A new Kconfig entry to enable IOMMU stress testing code. I made this Kconfig entry generic because other IOMMU implementations may pick this up as well.

Please review.

diffstat:

 arch/x86/Kconfig.debug                 |    8 +++
 arch/x86/include/asm/amd_iommu_types.h |    6 ++
 arch/x86/kernel/amd_iommu.c            |   10 ++-
 arch/x86/kernel/amd_iommu_init.c       |  109 ++++++++++++++++++++++++++++++++
 4 files changed, 129 insertions(+), 4 deletions(-)

shortlog:

Joerg Roedel (7):
amd-iommu: add amd_iommu_dump parameter
amd-iommu: add dump for iommus described in ivrs table
amd-iommu: print ivhd information to dmesg when requested
amd-iommu: print ivmd information to dmesg when requested
amd-iommu: move protection domain printk to dump code x86/iommu: add IOMMU_STRESS Kconfig entry
amd-iommu: disable device isolation with CONFIG_IOMMU_STRESS