diff options
author | Brett Creeley <[email protected]> | 2024-01-29 15:40:34 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-31 18:26:59 -0800 |
commit | e96094c1d11cce4deb5da3c0500d49041ab845b8 (patch) | |
tree | a2e5fff15ad3626daafa992a7d3b6f5d4c4e2a17 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 7e82a8745b951b1e794cc780d46f3fbee5e93447 (diff) |
pds_core: Clear BARs on reset
During reset the BARs might be accessed when they are
unmapped. This can cause unexpected issues, so fix it by
clearing the cached BAR values so they are not accessed
until they are re-mapped.
Also, make sure any places that can access the BARs
when they are NULL are prevented.
Fixes: 49ce92fbee0b ("pds_core: add FW update feature to devlink")
Signed-off-by: Brett Creeley <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions