amd_iommu: Fix Coverity and endianness issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesIn review
- v12 patches 5 repliesSuperseded
Changes in v2 from the cover letter
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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | amd_iommu: Return int from page walk status helpershw/ | +2 | 0 replies | |
| 2/4 | amd_iommu: Decode XT interrupt control register without bitfieldshw/ hw/ | +18 | 1 reply | |
| 3/4 | amd_iommu: Decode IRTEs without bitfieldshw/ hw/ | +69 | 0 replies | |
| 4/4 | amd_iommu: Fix endianness handling for command buffer entrieshw/ | +29 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Maydell | Philippe Mathieu-Daudé |
|---|---|---|
| Series | R-b | |
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] amd_iommu: Fix Coverity and endianness issues
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
Signature · 1 line
2.47.3