This series fixes the AMD vIOMMU issues reported from the 11.1 pull request Coverity scan, plus follow-up review comments pointing out bitfield usage and big-endian hosts compatibility concerns.
Although patches 3 and 4 fix correctness issues in big-endian hosts, these are longstanding portability bugs rather than recent regressions, so I have not CC'd qemu-stable on them. Thank you, Alejandro Changes since v1: https://lore.kernel.org/all/[email protected]/ - Added Peter's Reviewed-by to patch 1. - Dropped the standalone "Fully initialize XT interrupt message state" patch. Patch 2 now fixes CID 1660056 and removes the XT bitfield union. - Added two patches to remove IRTE bitfield decoding and fix command buffer endianness handling. 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 hw/i386/amd_iommu.c | 164 +++++++++++++++++++++++++++++++------------- hw/i386/amd_iommu.h | 63 ----------------- 2 files changed, 118 insertions(+), 109 deletions(-) base-commit: b83371668192a705b878e909c5ae9c1233cbd5fb -- 2.47.3
