aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2023-06-05 12:51:16 -0700
committerJakub Kicinski <[email protected]>2023-06-06 21:10:01 -0700
commit4f48c30312b7af5365878ab191bb41e7b899e09b (patch)
treed4ec7b553ea03fdabe90dff2cd2cdb2d695adec6 /tools/perf/scripts/python
parent82a01ab35bd02ba4b0b4e12bc95c5b69240eb7b0 (diff)
pds_core: Fix FW recovery detection
Commit 523847df1b37 ("pds_core: add devcmd device interfaces") included initial support for FW recovery detection. Unfortunately, the ordering in pdsc_is_fw_good() was incorrect, which was causing FW recovery to be undetected by the driver. Fix this by making sure to update the cached fw_status by calling pdsc_is_fw_running() before setting the local FW gen. Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces") Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: Brett Creeley <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions