summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIlia Levi <ilia.levi@intel.com>2026-09-08 17:50:48 +0100
committerMatthew Auld <matthew.auld@intel.com>2026-09-09 10:57:10 +0100
commitf3391a0b12d7bf826a0b21600d2f294f3dce4c14 (patch)
tree66c34d50bd4f3758bad7f6781190ca1cb9310e2c /tools/perf/scripts/python/stackcollapse.py
parent683eb75c150b4a08d1796e5e142ad26098407abe (diff)
downloadlinux-f3391a0b12d7bf826a0b21600d2f294f3dce4c14.tar.gz
linux-f3391a0b12d7bf826a0b21600d2f294f3dce4c14.zip
drm/xe/mmio_gem: forbid VMA split
The fault handler assumes it always operates on a VMA spanning the entire GEM object. This does not hold when the VMA has been split, e.g. by a partial munmap or mprotect. In that case the handler may map wrong physical pages or cause SIGBUS. Handle this by forbidding VMA split, as partial unmaps are not deemed useful for MMIO GEMs. Suggested-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Ilia Levi <ilia.levi@intel.com> Fixes: 1ffcf8b8ae8a ("drm/xe: Support for mmap-ing mmio regions") Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260908165046.1393557-11-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions