hw/i386/amd_iommu: fix incorrect page_size hugepages
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/i386/amd_iommu.c: trace page walk in fetch_pte()hw/ hw/ | +12 | 0 replies | |
| 2/2 | hw/i386/amd_iommu.c: fix incorrect page_size for hugepageshw/ | +10 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] hw/i386/amd_iommu: fix incorrect page_size hugepages
I have observed the IOMMU using the page size for the next level instead of the current level for hugepages, e.g. using 4K for what should be 2M pages.
The issue can be observed under Linux, but only with specific settings as Linux tends to set NextLevel=7, which directly sets the page size after the walk.
David Hoppenbrouwers (2):
hw/i386/amd_iommu.c: trace page walk in fetch_pte() hw/i386/amd_iommu.c: fix incorrect page_size for hugepages
hw/i386/amd_iommu.c | 21 ++++++++++++++++++--- hw/i386/trace-events | 4 ++++ 2 files changed, 22 insertions(+), 3 deletions(-)
Signature · 1 line
2.52.0