diff options
author | Tina Zhang <[email protected]> | 2024-02-27 10:14:37 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-03-01 13:51:19 +0100 |
commit | b4b1054f6cdd08b040fc5132936a5700c1d2d05b (patch) | |
tree | e8e069ea531524287453de007c5285d031c33ca6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 967912a3a51e2378ebfd20c2f480eb974acd0fc1 (diff) |
iommu/vt-d: Remove treatment for revoking PASIDs with pending page faults
Commit 2f26e0a9c986 ("iommu/vt-d: Add basic SVM PASID support") added a
special treatment to mandate that no page faults may be outstanding for
the PASID after intel_svm_unbind_mm() is called, as the PASID will be
released and reused after unbind.
This is unnecessary anymore as no outstanding page faults have been
ensured in the driver's remove_dev_pasid path:
- Tear down the pasid entry, which guarantees that new page faults for
the PASID will be rejected by the iommu hardware.
- All outstanding page faults have been responded to.
- All hardware pending faults are drained in intel_drain_pasid_prq().
Remove this unnecessary code.
Signed-off-by: Tina Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions