diff options
author | Lu Baolu <[email protected]> | 2023-08-09 20:47:56 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-08-09 17:44:37 +0200 |
commit | ac1a3483febd0ec8fced1ccb15da349dcc360fbb (patch) | |
tree | ca018892615b5bf5ac3ca2bfaf5b2f61bd38499f /lib/crypto/mpi/mpi-add.c | |
parent | 2dcebc7ddce7ffd4015824227c7623558b89d721 (diff) |
iommu/vt-d: Add domain_flush_pasid_iotlb()
The VT-d spec requires to use PASID-based-IOTLB invalidation descriptor
to invalidate IOTLB and the paging-structure caches for a first-stage
page table. Add a generic helper to do this.
RID2PASID is used if the domain has been attached to a physical device,
otherwise real PASIDs that the domain has been attached to will be used.
The 'real' PASID attachment is handled in the subsequent change.
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions