[PATCH v3 0/2] vtd: Minor cleanup

From: Zhenzhong Duan
Date: Thu Oct 24 2024 - 05:25:03 EST


Hi,

This cleanup the vtd dump code to dump lower entry after check current
level entry's present bit. Also fix the print to avoid confusing.

See patch log for details.

Thanks
Zhenzhong

Changelog:
v3:
- Fix a missed check
- Refine commit log further

v2:
- Add Fixes tag in patch1 (Baolu)
- Refine commit log in patch2 (Baolu)


Zhenzhong Duan (2):
iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
iommu/vt-d: Fix checks and print in pgtable_walk()

drivers/iommu/intel/iommu.c | 40 ++++++++++++++++++++++++-------------
1 file changed, 26 insertions(+), 14 deletions(-)

--
2.34.1