diff options
author | 2025-07-14 12:50:21 +0800 | |
---|---|---|
committer | 2025-07-14 11:18:03 +0100 | |
commit | 00939bebe51c23d325c9796ad57ace49833a5813 (patch) | |
tree | f3494977b00e929dc9bbcbc8ce84b28270044449 /tools/perf/scripts/python | |
parent | iommu/vt-d: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid() (diff) | |
download | wireguard-linux-00939bebe51c23d325c9796ad57ace49833a5813.tar.xz wireguard-linux-00939bebe51c23d325c9796ad57ace49833a5813.zip |
iommu/vt-d: Fold domain_exit() into intel_iommu_domain_free()
It has only one caller, no need for two functions.
Correct the WARN_ON() error handling to leak the entire page table if the
HW is still referencing it so we don't UAF during WARN_ON recovery.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/2-v3-dbbe6f7e7ae3+124ffe-vtd_prep_jgg@nvidia.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20250714045028.958850-5-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions