summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-03-27 22:55:46 +0300
committerAndi Shyti <andi.shyti@linux.intel.com>2023-03-28 12:22:05 +0300
commitde4149730d9d72f50d4e6dfedad0d11b1df05b7e (patch)
treed0a16e29e2e2752a80374c4368c002ea22f69bd2 /tools/perf/scripts/python/stackcollapse.py
parent5dff5d092ba6c5485aac1467dad938c74ba6ed57 (diff)
downloadlinux-de4149730d9d72f50d4e6dfedad0d11b1df05b7e.tar.xz
drm/i915: Sanitycheck MMIO access early in driver load
We occasionally see the PCI device in a non-accessible state at the point the driver is loaded. When this happens, all BAR accesses will read back as 0xFFFFFFFF. Rather than reading registers and misinterpreting their (invalid) values, let's specifically check for 0xFFFFFFFF in a register that cannot have that value to see if the device is accessible. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230327195547.356584-2-andi.shyti@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions