Skip to content

amd_iommu fixes staged for 11.1

Alejandro Jimenez qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5amd_iommu: Fix opcode reported in invalid command handlinghw/i386/amd_iommu.c+2 -20 replies
2/5amd_iommu: Return int from page walk status helpershw/i386/amd_iommu.c+2 -21 reply
3/5amd_iommu: Decode XT interrupt control register without bitfieldshw/i386/amd_iommu.c hw/i386/amd_iommu.h+18 -240 replies
4/5amd_iommu: Decode IRTEs without bitfieldshw/i386/amd_iommu.c hw/i386/amd_iommu.h+69 -731 reply
5/5amd_iommu: Fix endianness handling for command buffer entrieshw/i386/amd_iommu.c+29 -101 reply

Reviews trailers per patch

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

PatchPeter MaydellSairaj KodilkarIgor MammedovPhilippe Mathieu-Daudé
1/5R-b A-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/5] amd_iommu fixes staged for 11.1

Hi Michael,

I have staged these recently reviewed AMD vIOMMU fixes for 11.1:

https://github.com/aljimenezb/qemu/commits/amdvi-next

Base: 30e8a06b64aa ("Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging")
Tip:  018c1dfb3e8c ("amd_iommu: Fix endianness handling for command buffer entries")

Patch 1 is an independent fix previously posted at:
https://lore.kernel.org/qemu-devel/[email protected]/

Patches 2-5 address a Coverity finding and big-endian portability issues. They were reviewed in:
https://lore.kernel.org/qemu-devel/[email protected]/

I did basic smoke testing on an AMD Zen4 host using the AMD vIOMMU device. Completed several guest boot and reboot cycles with xtsup both enabled and disabled. No regressions were observed in guest startup or reboot behavior.

There are two other outstanding series pending review, but I am unlikely to complete review/testing by myself for those before the upcoming soft-freeze deadline.

Thank you,
Alejandro

Alejandro Jimenez (4):
amd_iommu: Return int from page walk status helpers
amd_iommu: Decode XT interrupt control register without bitfields
amd_iommu: Decode IRTEs without bitfields
amd_iommu: Fix endianness handling for command buffer entries

David Hoppenbrouwers (1):
amd_iommu: Fix opcode reported in invalid command handling

 hw/i386/amd_iommu.c | 168 +++++++++++++++++++++++++++++++-------------
 hw/i386/amd_iommu.h |  63 -----------------
 2 files changed, 120 insertions(+), 111 deletions(-)

base-commit: 30e8a06b64aa58a3990ba39cb5d09531e7d265e0

Signature · 1 line
2.47.3