summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2024-01-30 02:40:34 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-01 05:26:59 +0300
commite96094c1d11cce4deb5da3c0500d49041ab845b8 (patch)
treea2e5fff15ad3626daafa992a7d3b6f5d4c4e2a17 /tools/perf/scripts/python
parent7e82a8745b951b1e794cc780d46f3fbee5e93447 (diff)
downloadlinux-e96094c1d11cce4deb5da3c0500d49041ab845b8.tar.xz
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 <brett.creeley@amd.com> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://lore.kernel.org/r/20240129234035.69802-6-brett.creeley@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions