All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module
@ 2023-09-21  9:31 Vasant Hegde
  2023-09-21  9:31 ` [PATCH v3 1/5] iommu/amd: Remove " Vasant Hegde
                   ` (5 more replies)
  0 siblings, 6 replies; 34+ messages in thread
From: Vasant Hegde @ 2023-09-21  9:31 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 SVA Part 1 [1] which in turn based on top of
upstrem v6.6-rc1.
  https://lore.kernel.org/linux-iommu/20230921092147.5930-1-vasant.hegde@amd.com/T/#t

This is also available at github :
  https://github.com/AMDESE/linux/tree/iommu_sva_part2_v3_iommu_v2_v6.6_rc1


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] 34+ messages in thread

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

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21  9:31 [PATCH v3 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Vasant Hegde
2023-09-21  9:31 ` [PATCH v3 1/5] iommu/amd: Remove " Vasant Hegde
2023-09-21 14:05   ` Deucher, Alexander
2023-09-21 14:14     ` Jason Gunthorpe
2023-09-21 15:15       ` Deucher, Alexander
2023-09-21 16:31         ` Jason Gunthorpe
2023-09-22  2:23           ` Baolu Lu
2023-09-22  8:52             ` Vasant Hegde
2023-09-22 12:00               ` Jason Gunthorpe
2023-09-25 15:11                 ` Vasant Hegde
2023-09-25 15:57                   ` Jason Gunthorpe
2023-09-25 16:31                   ` Deucher, Alexander
2023-09-25 16:37                     ` Jason Gunthorpe
2023-09-22 11:59             ` Jason Gunthorpe
2023-09-22 12:13               ` Baolu Lu
2023-09-22 12:18                 ` Jason Gunthorpe
2023-09-22 12:42                   ` Baolu Lu
2023-09-22 12:43                     ` Jason Gunthorpe
2023-09-25  9:04                   ` joro
2023-09-25 15:40                     ` Vasant Hegde
2023-09-28 14:52                     ` Deucher, Alexander
2023-10-05 11:29                       ` Vasant Hegde
2023-10-06 15:19                         ` Deucher, Alexander
2023-09-22 18:08                 ` Deucher, Alexander
2023-09-22 18:15           ` Deucher, Alexander
2023-09-22  6:45         ` Vasant Hegde
2023-09-22 18:13           ` Deucher, Alexander
2023-09-25 15:30             ` Vasant Hegde
2023-09-21  9:31 ` [PATCH v3 2/5] iommu/amd: Remove PPR support Vasant Hegde
2023-09-21  9:31 ` [PATCH v3 3/5] iommu/amd: Remove amd_iommu_device_info() Vasant Hegde
2023-09-21  9:31 ` [PATCH v3 4/5] iommu/amd: Remove unused EXPORT_SYMBOLS Vasant Hegde
2023-09-21  9:31 ` [PATCH v3 5/5] Revert "iommu: Fix false ownership failure on AMD systems with PASID activated" Vasant Hegde
2023-10-02  6:32 ` [PATCH v3 0/5] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Joerg Roedel
2023-10-05 11:30   ` Vasant Hegde

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.