aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorYi Liu <[email protected]>2024-02-19 11:15:55 +0000
committerJoerg Roedel <[email protected]>2024-02-21 09:28:44 +0000
commit29e10487d6df050afeee886b7c1da208f389cb5b (patch)
tree0d41b262fe300174a9c8d8350141a1c8af5dbd5e /net/switchdev/switchdev.c
parentiommu/vt-d: Add missing iotlb flush for parent domain (diff)
downloadkernel-29e10487d6df050afeee886b7c1da208f389cb5b.tar.gz
kernel-29e10487d6df050afeee886b7c1da208f389cb5b.zip
iommu/vt-d: Update iotlb in nested domain attach
Should call domain_update_iotlb() to update the has_iotlb_device flag of the domain after attaching device to nested domain. Without it, this flag is not set properly and would result in missing device TLB flush. Fixes: 9838f2bb6b6b ("iommu/vt-d: Set the nested domain to a device") Signed-off-by: Yi Liu <[email protected]> Reviewed-by: Kevin Tian <[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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions