Commit efb579ea authored by Lu Baolu's avatar Lu Baolu Committed by Xiaochen Shen
Browse files

iommu/vt-d: Use iommu_sva_alloc(free)_pasid() helpers

mainline inclusion
from mainline-v5.13
commit 40483774
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO


CVE: NA

Intel-SIG: commit 40483774 iommu/vt-d: Use iommu_sva_alloc(free)_pasid() helpers.
Incremental backporting patches for DSA/IAA on Intel Xeon platform.

--------------------------------

Align the pasid alloc/free code with the generic helpers defined in the
iommu core. This also refactored the SVA binding code to improve the
readability.

Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210520031531.712333-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20210610020115.1637656-8-baolu.lu@linux.intel.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarXiaochen Shen <xiaochen.shen@intel.com>
parent 239deb9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment