Skip to content

iommu/amd: re-mapping fixes

Andrei Dulea via iommu linux-iommu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu/amd: Fix pages leak in free_pagetable()drivers/iommu/amd_iommu.c+1 -11 reply
2/4iommu/amd: Fix downgrading default page-sizes in alloc_pte()drivers/iommu/amd_iommu.c+2 -10 replies
3/4iommu/amd: Introduce first_pte_l7() helperdrivers/iommu/amd_iommu.c+29 -110 replies
4/4iommu/amd: Unmap all L7 PTEs when downgrading page-sizesdrivers/iommu/amd_iommu.c+27 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] iommu/amd: re-mapping fixes

This patch series tries to address a few issues encountered when replacing existing mappings:
.> pages leak in free_pagetable()
.> allow downgrading default page-sizes in alloc_pte()
.> tear-down all the replicated PTEs of a large mapping when downgrading to smaller mappings

Andrei Dulea (4):
iommu/amd: Fix pages leak in free_pagetable() iommu/amd: Fix downgrading default page-sizes in alloc_pte() iommu/amd: Introduce first_pte_l7() helper iommu/amd: Unmap all L7 PTEs when downgrading page-sizes

 drivers/iommu/amd_iommu.c | 73 +++++++++++++++++++++++++++++++--------
 1 file changed, 58 insertions(+), 15 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu