diff options
author | Jacob Pan <[email protected]> | 2020-05-16 14:20:51 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-18 15:37:25 +0200 |
commit | 3375303e82877552f3b2b42309e8233fe715fd9f (patch) | |
tree | 73ae1b229a5e05e01b2754c8464504add1912cfc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 24f27d32ab6b71dedcbbeeab8f9bdc143b539ac0 (diff) |
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 <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions