Linux IOMMU Development
 help / color / mirror / Atom feed
* [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module
@ 2023-08-15 10:32 Vasant Hegde
  2023-08-15 10:32 ` [PATCH 1/4] iommu/amd: Remove " Vasant Hegde
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Vasant Hegde @ 2023-08-15 10:32 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
removing dependency on iommu_v2 module [1].

[1] https://patchwork.freedesktop.org/series/122124/

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 modue. 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 SVA Part 1 [1] :
  https://lore.kernel.org/linux-iommu/20230815102202.565012-1-vasant.hegde@amd.com/T/#t

  Also to build kernel with this series either we need above AMD GPU
  related changes [1] -OR- compile with kernel config 'CONFIG_HSA_AMD=n'.

This is also available at github :
  https://github.com/AMDESE/linux/tree/iommu_sva_part2_v1_iommu_v2_v6.5_rc1

Thank you,
Vasant / Suravee


Vasant Hegde (4):
  iommu/amd: Remove iommu_v2 module
  iommu/amd: Remove PPR support
  iommu/amd: Remove amd_iommu_device_info()
  iommu/amd: Remove unused EXPORT_SYMBOLS

 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 ----------------------------
 include/linux/amd-iommu.h           | 120 ----
 8 files changed, 9 insertions(+), 1279 deletions(-)
 delete mode 100644 drivers/iommu/amd/iommu_v2.c

-- 
2.31.1


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

end of thread, other threads:[~2023-08-16  9:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 10:32 [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Vasant Hegde
2023-08-15 10:32 ` [PATCH 1/4] iommu/amd: Remove " Vasant Hegde
2023-08-15 14:43   ` Jason Gunthorpe
2023-08-16  9:52     ` Vasant Hegde
2023-08-15 10:32 ` [PATCH 2/4] iommu/amd: Remove PPR support Vasant Hegde
2023-08-15 10:32 ` [PATCH 3/4] iommu/amd: Remove amd_iommu_device_info() Vasant Hegde
2023-08-15 10:32 ` [PATCH 4/4] iommu/amd: Remove unused EXPORT_SYMBOLS Vasant Hegde
2023-08-15 14:41 ` [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Jason Gunthorpe
2023-08-16  7:31   ` Vasant Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox