qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] amd_iommu: Fixes to align with AMDVi specification
@ 2025-06-17 15:04 Alejandro Jimenez
  2025-06-17 15:04 ` [PATCH v4 1/8] amd_iommu: Fix Miscellaneous Information Register 0 encoding Alejandro Jimenez
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Alejandro Jimenez @ 2025-06-17 15:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: ethan.milon, mst, pbonzini, mjt, marcel.apfelbaum,
	richard.henderson, eduardo, vasant.hegde, suravee.suthikulpanit,
	santosh.shukla, sarunkod, brijesh.singh, joao.m.martins,
	boris.ostrovsky, alejandro.j.jimenez, philmd

Added two new changes based on observations from Ethan. Like the rest of
the fixes in this series, these do not trigger problems today given the
limited feature set supported. Re-tested the series with emulated devices,
VFIO passthrough usage with amd-iommu is not possible since merge of commit
31753d5a336f ("hw/i386/amd_iommu: Fix device setup failure when PT is on.")
regardless of guest kernel iommu mode.

Changes since v3:
- Made an additional change in PATCH 1 with correct encoding for
AMDVI_MAX_GVA_ADDR, adding Ethan as co-author. Dropped Vasant R-b.
- Added patch by Ethan fixing truncation bug.

Thank you,
Alejandro

v3: https://lore.kernel.org/all/20250529193023.3590780-1-alejandro.j.jimenez@oracle.com/

Alejandro Jimenez (7):
  amd_iommu: Fix Miscellaneous Information Register 0 encoding
  amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command
  amd_iommu: Update bitmasks representing DTE reserved fields
  amd_iommu: Fix masks for various IOMMU MMIO Registers
  amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE
  amd_iommu: Fix the calculation for Device Table size
  amd_iommu: Remove duplicated definitions

Ethan Milon (1):
  amd_iommu: Fix truncation of oldval in amdvi_writeq

 hw/i386/amd_iommu.c | 17 +++++++------
 hw/i386/amd_iommu.h | 59 ++++++++++++++++++++++-----------------------
 2 files changed, 38 insertions(+), 38 deletions(-)


base-commit: a6f02277595136832c9e9bcaf447ab574f7b1128
-- 
2.43.5



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-06-26 17:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17 15:04 [PATCH v4 0/8] amd_iommu: Fixes to align with AMDVi specification Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 1/8] amd_iommu: Fix Miscellaneous Information Register 0 encoding Alejandro Jimenez
2025-06-26 17:53   ` Vasant Hegde
2025-06-17 15:04 ` [PATCH v4 2/8] amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 3/8] amd_iommu: Update bitmasks representing DTE reserved fields Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 4/8] amd_iommu: Fix masks for various IOMMU MMIO Registers Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 5/8] amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 6/8] amd_iommu: Fix the calculation for Device Table size Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 7/8] amd_iommu: Remove duplicated definitions Alejandro Jimenez
2025-06-17 15:04 ` [PATCH v4 8/8] amd_iommu: Fix truncation of oldval in amdvi_writeq Alejandro Jimenez
2025-06-26 12:36   ` Vasant Hegde
2025-06-26 17:55 ` [PATCH v4 0/8] amd_iommu: Fixes to align with AMDVi specification Vasant Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).