diff options
author | 2020-05-16 14:20:51 +0800 | |
---|---|---|
committer | 2020-05-18 15:37:25 +0200 | |
commit | 3375303e82877552f3b2b42309e8233fe715fd9f (patch) | |
tree | 73ae1b229a5e05e01b2754c8464504add1912cfc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/vt-d: Enlightened PASID allocation (diff) | |
download | wireguard-linux-3375303e82877552f3b2b42309e8233fe715fd9f.tar.xz wireguard-linux-3375303e82877552f3b2b42309e8233fe715fd9f.zip |
iommu/vt-d: Add custom allocator for IOASID
When VT-d driver runs in the guest, PASID allocation must be
performed via virtual command interface. This patch registers a
custom IOASID allocator which takes precedence over the default
XArray based allocator. The resulting IOASID allocation will always
come from the host. This ensures that PASID namespace is system-
wide.
Virtual command registers are used in the guest only, to prevent
vmexit cost, we cache the capability and store it during initialization.
Signed-off-by: Liu, Yi L <yi.l.liu@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20200516062101.29541-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions