Skip to content

AMD IOMMU cleanups, fixes and IVRS bug workarounds

Joerg Roedel linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9iommu/amd: Remove map_sg_no_iommu()drivers/iommu/amd_iommu.c+1 -211 reply
2/9iommu/amd: Use AMD specific data structure for irq remappingdrivers/iommu/amd_iommu.c+27 -271 reply
3/9iommu/amd: Properly initialize irq-table lockdrivers/iommu/amd_iommu.c+3 -00 replies
4/9iommu/amd: Move add_special_device() to __initdrivers/iommu/amd_iommu_init.c+1 -10 replies
5/9iommu/amd: Extend IVRS special device data structuredrivers/iommu/amd_iommu_init.c drivers/iommu/amd_iommu_types.h+20 -90 replies
6/9iommu/amd: Add early maps for ioapic and hpetdrivers/iommu/amd_iommu_init.c+38 -00 replies
7/9iommu/amd: Add ioapic and hpet ivrs overridedrivers/iommu/amd_iommu_init.c+62 -23 replies
8/9iommu/amd: Don't report firmware bugs with cmd-line ivrs overridesdrivers/iommu/amd_iommu_init.c+16 -31 reply
9/9iommu/amd: Document ivrs_ioapic and ivrs_hpet parametersDocumentation/kernel-parameters.txt+14 -00 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBorislav PetkovShuah KhanSuravee Suthikulanit
SeriesR-b
1/9R-b
2/9R-b
3/9
4/9
5/9
6/9
7/9T-b T-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] AMD IOMMU cleanups, fixes and IVRS bug workarounds

Hi,

this patch-set contains some cleanups and patches for the AMD IOMM driver. The most important part is a workaround that can be used to get interrupt remapping working even the the IVRS table provided by the BIOS is broken.

Joerg

Joerg Roedel (9):
iommu/amd: Remove map_sg_no_iommu()
iommu/amd: Use AMD specific data structure for irq remapping iommu/amd: Properly initialize irq-table lock iommu/amd: Move add_special_device() to __init iommu/amd: Extend IVRS special device data structure iommu/amd: Add early maps for ioapic and hpet iommu/amd: Add ioapic and hpet ivrs override
iommu/amd: Don't report firmware bugs with cmd-line ivrs overrides iommu/amd: Document ivrs_ioapic and ivrs_hpet parameters

 Documentation/kernel-parameters.txt |   14 ++++
 drivers/iommu/amd_iommu.c           |   79 +++++++-----------
 drivers/iommu/amd_iommu_init.c      |  151 +++++++++++++++++++++++++++++++----
 drivers/iommu/amd_iommu_types.h     |    1 +
 4 files changed, 182 insertions(+), 63 deletions(-)
Signature · 1 line
1.7.9.5