summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2026-06-22 15:23:37 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2026-06-23 19:13:39 +0200
commit632cdeecdd30337e3a9293d9de52ad9fbaf5f229 (patch)
treef3e5d698b1611dcc5f4d1da9ed363b6572a4c614 /tools/perf/scripts/python/bin/stackcollapse-report
parent645f1a2589bd4782e25490e5ecc05b7043c36cbf (diff)
drm/xe/mmio: Verify MMIO is available
We shouldn't access device registers after the device was unplugged or the MMIO bar (GTTMMADR) was unmapped. Instead of relying on the NPD splat due to zeroed tile->mmio.regs, which might be unreliable anyway as not all xe_mmio structs are using that directly, add an explicit check during all xe_mmio read/write operations to test if xe->mmio.regs are still mapped and safely abort with WARN if not. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260622132342.19600-2-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions