iommu/vt-d: Fix aligned pages for cache invalidation
Status from this message: Applied to iommu (intel/vt-d), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Add a new fix to Limit max address mask to MAX_AGAW_PFN_WIDTH.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iommu/vt-d: Limit max address mask to MAX_AGAW_PFN_WIDTHdrivers/ | +1 | 0 replies | |
| 2/2 | iommu/vt-d: Fix aligned pages in calculate_psi_aligned_address()drivers/ | +1 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kevin Tian |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] iommu/vt-d: Fix aligned pages for cache invalidation
The aligned pages for cache invalidation returned by calculate_psi_aligned_address() are incorrect if the start pfn is not aligned, which can lead to cache inconsistencies when qi_flush_piotlb() uses the number of pages to flush caches for the first-stage translation.
Fix this by updating the aligned pages once the address mask is adjusted.
Change log:
v2:
- Add a new fix to Limit max address mask to MAX_AGAW_PFN_WIDTH.
v1: https://lore.kernel.org/linux-iommu/[email protected]/
Lu Baolu (2):
iommu/vt-d: Limit max address mask to MAX_AGAW_PFN_WIDTH iommu/vt-d: Fix aligned pages in calculate_psi_aligned_address()
drivers/iommu/intel/cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1