iommu/amd: Always allow to map huge pages
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iommu/amd: Collect page-table pages in freelistdrivers/ | +83 | 0 replies | |
| 2/7 | iommu/amd: Introduce free_sub_pt() functiondrivers/ | +13 | 0 replies | |
| 3/7 | iommu/amd: Ignore page-mode 7 in free_sub_pt()drivers/ drivers/ | +5 | 0 replies | |
| 4/7 | iommu/amd: Allow downgrading page-sizes in alloc_pte()drivers/ | +9 | 0 replies | |
| 5/7 | iommu/amd: Restart loop if cmpxchg64 succeeded in alloc_pte()drivers/ | +5 | 0 replies | |
| 6/7 | iommu/amd: Allow to upgrade page-sizedrivers/ | +27 | 0 replies | |
| 7/7 | vfio/type1: Remove map_try_harder() code pathdrivers/ | +2 | 2 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Alex Williamson |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] iommu/amd: Always allow to map huge pages
Hi,
the AMD IOMMU driver had an issue for a long time where it didn't allow to map a huge-page when smaller mappings existed at that address range before. The VFIO driver even had a workaround for that behavior.
These patches fix the issue and remove the workaround from the VFIO driver.
Please review.
Thanks,
Joerg
Joerg Roedel (7):
iommu/amd: Collect page-table pages in freelist iommu/amd: Introduce free_sub_pt() function iommu/amd: Ignore page-mode 7 in free_sub_pt() iommu/amd: Allow downgrading page-sizes in alloc_pte() iommu/amd: Restart loop if cmpxchg64 succeeded in alloc_pte() iommu/amd: Allow to upgrade page-size
vfio/type1: Remove map_try_harder() code path
drivers/iommu/amd_iommu.c | 204 +++++++++++++++++++++----------- drivers/iommu/amd_iommu_types.h | 1 + drivers/vfio/vfio_iommu_type1.c | 33 +----- 3 files changed, 137 insertions(+), 101 deletions(-)
Signature · 1 line
2.17.1