summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-01-27 16:23:56 -0800
committerLizhi Hou <lizhi.hou@amd.com>2026-01-30 11:52:45 -0800
commita9162439ad792afcddc04718408ec1380b7a5f63 (patch)
treee0d376b8ebffc0103bcd98e563fd236e13f5c842 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentdb7e7ea838c916ee4cdf26bee126fd36f58295dc (diff)
accel/amdxdna: Hold mm structure across iommu_sva_unbind_device()
Some tests trigger a crash in iommu_sva_unbind_device() due to accessing iommu_mm after the associated mm structure has been freed. Fix this by taking an explicit reference to the mm structure after successfully binding the device, and releasing it only after the device is unbound. This ensures the mm remains valid for the entire SVA bind/unbind lifetime. Fixes: be462c97b7df ("accel/amdxdna: Add hardware context") Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260128002356.1858122-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions