Skip to content

amd_iommu: Bugfix and Cleanup for IO Page Fault

Alejandro Jimenez qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest5 patches 2 repliesIn review

Changes in v3 from the cover letter

- Rebased onto b574eaf640f0.
- Patch 3: Applied suffix LOG for consistent EVTLOG/PPRLOG/GALOG naming, updated
the existing macros and all their call sites. I preferred the use of LOG since GA by itself is generally used to refer to Guest Virtual APIC support in the docs.
- Patch 4: Minor change in commit message, code unchanged from v2.
- Patch 5: added GALOG_RUN to the RO mask [Sairaj].
- Added Reviewed-by and Signed-off trailers as appropriate.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5amd_iommu: Do not create duplicate MSI capabilityhw/i386/amd_iommu.c+0 -50 replies
2/5amd_iommu: Use full BDF when reporting page faultshw/i386/amd_iommu.c+18 -60 replies
3/5amd_iommu: Define MMIO register maskshw/i386/amd_iommu.c hw/i386/amd_iommu.h+30 -120 replies
4/5amd_iommu: Make extended feature register read-onlyhw/i386/amd_iommu.h+1 -10 replies
5/5amd_iommu: Do not latch unsupported GA log status bitshw/i386/amd_iommu.h+3 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSairaj KodilkarAlejandro Jimenez
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] amd_iommu: Bugfix and Cleanup for IO Page Fault

Hi Michael,

I am re-sending Dongli's series after reviewing and addressing the comments from his earlier v2 submission:
v2: https://lore.kernel.org/qemu-devel/[email protected]/

The series has been rebased on top of:
b574eaf640f0 ("Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging")

Please queue it for your next pull request, whenever it is convenient.

Also available at:
https://github.com/aljimenezb/qemu/commits/amdvi-dongli-fixes-2026/

Changes since v2:
- Rebased onto b574eaf640f0.
- Patch 3: Applied suffix LOG for consistent EVTLOG/PPRLOG/GALOG naming, updated
the existing macros and all their call sites. I preferred the use of LOG since GA by itself is generally used to refer to Guest Virtual APIC support in the docs.
- Patch 4: Minor change in commit message, code unchanged from v2.
- Patch 5: added GALOG_RUN to the RO mask [Sairaj].
- Added Reviewed-by and Signed-off trailers as appropriate.

Thank you Dongli and Sairaj for your work on these fixes. Please let me know if I missed any of your proposed changes.

Thank you.
Alejandro

Dongli Zhang (5):
amd_iommu: Do not create duplicate MSI capability
amd_iommu: Use full BDF when reporting page faults
amd_iommu: Define MMIO register masks
amd_iommu: Make extended feature register read-only
amd_iommu: Do not latch unsupported GA log status bits

 hw/i386/amd_iommu.c | 47 +++++++++++++++++++++++++++------------------
 hw/i386/amd_iommu.h | 25 ++++++++++++++++++++----
 2 files changed, 49 insertions(+), 23 deletions(-)

base-commit: b574eaf640f02c4edf28cbee6417378f0d79cda0

Signature · 1 line
2.47.3