All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module
@ 2023-10-06  9:57 Vasant Hegde
  2023-10-06  9:57 ` [PATCH v4 1/5] iommu/amd: Remove " Vasant Hegde
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vasant Hegde @ 2023-10-06  9:57 UTC (permalink / raw)
  To: iommu, joro
  Cc: suravee.suthikulpanit, wei.huang2, jsnitsel, jgg, Vasant Hegde

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/20230921093140.6162-1-vasant.hegde@amd.com/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/20230821104956.707235-1-vasant.hegde@amd.com/T/#t

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

v1 : https://lore.kernel.org/linux-iommu/20230815103255.565295-1-vasant.hegde@amd.com/


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

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-06 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-06  9:57 [PATCH v4 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Vasant Hegde
2023-10-06  9:57 ` [PATCH v4 1/5] iommu/amd: Remove " Vasant Hegde
2023-10-06  9:57 ` [PATCH v4 2/5] iommu/amd: Remove PPR support Vasant Hegde
2023-10-06  9:57 ` [PATCH v4 3/5] iommu/amd: Remove amd_iommu_device_info() Vasant Hegde
2023-10-06  9:57 ` [PATCH v4 4/5] iommu/amd: Remove unused EXPORT_SYMBOLS Vasant Hegde
2023-10-06  9:57 ` [PATCH v4 5/5] Revert "iommu: Fix false ownership failure on AMD systems with PASID activated" Vasant Hegde
2023-10-06 14:02 ` [PATCH v4 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.