diff options
| author | Alan Previn <alan.previn.teres.alexis@intel.com> | 2023-06-08 16:07:16 -0700 |
|---|---|---|
| committer | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2023-06-12 08:24:28 -0700 |
| commit | 8c33c3755b75c98d8eb490df345b4187a295a1a8 (patch) | |
| tree | 7c0f45794f867310e63f1d22fb96ff65044a2968 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/i915: Fix a VMA UAF for multi-gt platform (diff) | |
| download | linux-8c33c3755b75c98d8eb490df345b4187a295a1a8.tar.gz linux-8c33c3755b75c98d8eb490df345b4187a295a1a8.zip | |
drm/i915/gsc: take a wakeref for the proxy-init-completion check
Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init
takes a wakeref before reading GSC Shim registers.
NOTE: another patch in review also adds a call from selftest to
this same function. (https://patchwork.freedesktop.org/series/117713/)
which is why i am adding the wakeref inside the callee, not the
caller.
v2: - add a helper, 'gsc_uc_get_fw_status' for both callers
(Daniele Ceraolo)
Fixes: 99afb7cc8c44 ("drm/i915/pxp: Add ARB session creation and cleanup")
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230608230716.3079594-1-alan.previn.teres.alexis@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
