]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iommu/vt-d: Make intel_iommu_enable_pasid() more generic
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 25 Mar 2019 01:30:29 +0000 (09:30 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 15:15:48 +0000 (17:15 +0200)
commitd7cbc0f3220fabbdfa9b3aa79275baa5b16fef5d
tree443d1f1727c9f12f7103ef89eeb12ff1edced0a5
parent2b899390fdc8b8bdb95ce24269a799194b303388
iommu/vt-d: Make intel_iommu_enable_pasid() more generic

This moves intel_iommu_enable_pasid() out of the scope of
CONFIG_INTEL_IOMMU_SVM with more and more features requiring
pasid function.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
drivers/iommu/intel-svm.c
include/linux/intel-iommu.h