commit | 100b8a14a37074796a467d6a9147317538ee70cf | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Thu Jun 10 10:00:58 2021 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jun 10 09:06:12 2021 +0200 |
tree | d6b35be36f161b900c61edb41ec764bf1f737a16 | |
parent | 521f546b4e4cedfbfbb5787f940a592dd20dd1f2 [diff] |
iommu/vt-d: Add pasid private data helpers We are about to use iommu_sva_alloc/free_pasid() helpers in iommu core. That means the pasid life cycle will be managed by iommu core. Use a local array to save the per pasid private data instead of attaching it the real pasid. Signed-off-by: Lu 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-7-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>