diff options
| author | Ilia Levi <ilia.levi@intel.com> | 2026-09-08 17:50:48 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2026-09-09 10:57:10 +0100 |
| commit | f3391a0b12d7bf826a0b21600d2f294f3dce4c14 (patch) | |
| tree | 66c34d50bd4f3758bad7f6781190ca1cb9310e2c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 683eb75c150b4a08d1796e5e142ad26098407abe (diff) | |
| download | linux-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
