diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-09-02 10:27:20 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-09-02 18:15:00 +0200 |
commit | 1f5e307ca16c0c19186cbd56ac460a687e6daba0 (patch) | |
tree | ff7aaa0b71ed726750079c23a78ee5fc1edbc9d2 /fs/exec.c | |
parent | ccb02b27bb50c0f5a8f6fd745aecf4ac4beda73f (diff) |
iommu/vt-d: Unconditionally flush device TLB for pasid table updates
The caching mode of an IOMMU is irrelevant to the behavior of the device
TLB. Previously, commit <304b3bde24b5> ("iommu/vt-d: Remove caching mode
check before device TLB flush") removed this redundant check in the
domain unmap path.
Checking the caching mode before flushing the device TLB after a pasid
table entry is updated is unnecessary and can lead to inconsistent
behavior.
Extends this consistency by removing the caching mode check in the pasid
table update path.
Suggested-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20240820030208.20020-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions