aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2023-11-22 11:26:05 +0800
committerJoerg Roedel <[email protected]>2023-11-27 11:07:52 +0100
commit9a16ab9d640274b20813d2d17475e18d3e99d834 (patch)
tree309ce417665fede9791ae9772e01cbb2c0d881a2 /scripts/gdb/linux/utils.py
parentda37dddcf4caf015c400a930301d2ee27a7a15fb (diff)
iommu/vt-d: Make context clearing consistent with context mapping
In the iommu probe_device path, domain_context_mapping() allows setting up the context entry for a non-PCI device. However, in the iommu release_device path, domain_context_clear() only clears context entries for PCI devices. Make domain_context_clear() behave consistently with domain_context_mapping() by clearing context entries for both PCI and non-PCI devices. Fixes: 579305f75d34 ("iommu/vt-d: Update to use PCI DMA aliases") Signed-off-by: Lu Baolu <[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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions