Skip to content

iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module

Vasant Hegde linux-iommu 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyApplied
  2. v35 patches 28 repliesSuperseded
  3. v25 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Rebased on top of iommu/next branch
- Added 'Tested-by'

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5iommu/amd: Remove iommu_v2 moduledrivers/iommu/amd/Kconfig drivers/iommu/amd/Makefile drivers/iommu/amd/amd_iommu.h +3 more+0 -11450 replies
2/5iommu/amd: Remove PPR supportdrivers/iommu/amd/amd_iommu.h drivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/iommu.c+1 -590 replies
3/5iommu/amd: Remove amd_iommu_device_info()drivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/iommu.c include/linux/amd-iommu.h+8 -680 replies
4/5iommu/amd: Remove unused EXPORT_SYMBOLSdrivers/iommu/amd/init.c drivers/iommu/amd/iommu.c+0 -70 replies
5/5Revert "iommu: Fix false ownership failure on AMD systems with PASID activated"drivers/iommu/iommu.c+1 -190 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJason GunthorpeJerry SnitselaarAlex Deucher
1/5R-b R-b T-b
2/5R-b R-b T-b
3/5R-b R-b T-b
4/5R-b R-b T-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module

This is part 2 of the 4-part series to introduce Share Virtual Address (SVA) support. This series removes iommu_v2 module support.

AMD GPU driver which was the only in-kernel user of iommu_v2 module is removed dependency on iommu_v2 module. These changes are already in upstream (v6.6 merge window).

Also subsequent series will add SVA spuport in AMD IOMMU driver. Device drivers are expected to use common SVA framework to enable device PASID/PRI features.

Hence this series removes iommu_v2 module and the functions used to support iommu_v2 module. Note that there are certain functions (ex: PPR interrupt handling code) which will be used in subsequent series for SVA support. Hence not removed those functions.

This patch series is based on top of iommu/next branch (Commit 8e5ab3f54a10).

Changes from v3 -> v4:
- Rebased on top of iommu/next branch
- Added 'Tested-by'

v3 : https://lore.kernel.org/linux-iommu/[email protected]/T/#t

Changes from v2 -> v3:
- Updated description as AMD GPU related changes are merged in v6.6 merge window
- Few other updated to description based on Jerry's suggestion
- Added Reviewed-by tags

v2 : https://lore.kernel.org/linux-iommu/[email protected]/T/#t

Changes from v1 -> v2:
- Added patch to revert commit 2380f1e8195e

v1 : https://lore.kernel.org/linux-iommu/[email protected]/

Thank you,
Vasant / Suravee

Vasant Hegde (5):
iommu/amd: Remove iommu_v2 module
iommu/amd: Remove PPR support
iommu/amd: Remove amd_iommu_device_info()
iommu/amd: Remove unused EXPORT_SYMBOLS
Revert "iommu: Fix false ownership failure on AMD systems with PASID activated"

 drivers/iommu/amd/Kconfig           |   9 -
 drivers/iommu/amd/Makefile          |   1 -
 drivers/iommu/amd/amd_iommu.h       |   7 -
 drivers/iommu/amd/amd_iommu_types.h |  21 +-
 drivers/iommu/amd/init.c            |   1 -
 drivers/iommu/amd/iommu.c           | 133 +---
 drivers/iommu/amd/iommu_v2.c        | 996 ----------------------------
 drivers/iommu/iommu.c               |  20 +-
 include/linux/amd-iommu.h           | 120 ----
 9 files changed, 10 insertions(+), 1298 deletions(-)
 delete mode 100644 drivers/iommu/amd/iommu_v2.c
Signature · 1 line
2.31.1