[PATCH 0/2] Remove VT-d virtual command interface

Jacob Pan posted 2 patches 2 years, 7 months ago
drivers/iommu/intel/cap_audit.c |   2 -
drivers/iommu/intel/dmar.c      |   2 -
drivers/iommu/intel/iommu.c     |  85 ---------
drivers/iommu/intel/iommu.h     |   8 -
drivers/iommu/ioasid.c          | 293 +-------------------------------
include/linux/ioasid.h          |  28 ---
6 files changed, 9 insertions(+), 409 deletions(-)
[PATCH 0/2] Remove VT-d virtual command interface
Posted by Jacob Pan 2 years, 7 months ago
Hi all,

This patch set removes unused VT-d virtual command interface followed by
clean up in the IOASID code.

This has only been tested on x86 platforms, need help with testing on ARM
SMMU and other architectures.

I also hope to collect feedback on the upcoming clean up and enhancements
below:
1. Consolidate VT-d private SVA PASID array with IOASID common code
2. As we retain the global IOASID allocator, we need some level of resource
management. I want to restart the effort to include IOASID under misc
cgroup.
(https://lore.kernel.org/linux-iommu/20210303160205.151d114e@jacob-builder/)

Thanks,

Jacob

Jacob Pan (2):
  iommu/vt-d: Remove virtual command interface
  iommu/ioasid: Remove custom IOASID allocator

 drivers/iommu/intel/cap_audit.c |   2 -
 drivers/iommu/intel/dmar.c      |   2 -
 drivers/iommu/intel/iommu.c     |  85 ---------
 drivers/iommu/intel/iommu.h     |   8 -
 drivers/iommu/ioasid.c          | 293 +-------------------------------
 include/linux/ioasid.h          |  28 ---
 6 files changed, 9 insertions(+), 409 deletions(-)

-- 
2.25.1
RE: [PATCH 0/2] Remove VT-d virtual command interface
Posted by Tian, Kevin 2 years, 7 months ago
> From: Jacob Pan <jacob.jun.pan@linux.intel.com>
> Sent: Saturday, February 11, 2023 7:02 AM
> 
> Hi all,
> 
> This patch set removes unused VT-d virtual command interface followed by
> clean up in the IOASID code.
> 
> This has only been tested on x86 platforms, need help with testing on ARM
> SMMU and other architectures.
> 
> I also hope to collect feedback on the upcoming clean up and enhancements
> below:
> 1. Consolidate VT-d private SVA PASID array with IOASID common code
> 2. As we retain the global IOASID allocator, we need some level of resource
> management. I want to restart the effort to include IOASID under misc
> cgroup.
> (https://lore.kernel.org/linux-iommu/20210303160205.151d114e@jacob-
> builder/)
> 

this should go with adding global pasid allocator to iommufd.

before that we don't have such cgroup requirement.