aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2025-03-27 19:05:03 -0400
committerBorislav Petkov (AMD) <bp@alien8.de>2025-04-07 14:46:56 +0200
commit321550859f3bd64f547d0b4e9fbd97bd539ef47c (patch)
tree0634dcfde8577ec760879c03c0104ba8f8cbfc75 /scripts/gdb/linux/utils.py
parentLinux 6.15-rc1 (diff)
downloadlinux-rng-321550859f3bd64f547d0b4e9fbd97bd539ef47c.tar.xz
linux-rng-321550859f3bd64f547d0b4e9fbd97bd539ef47c.zip
x86/microcode/AMD: Clean the cache if update did not load microcode
If microcode did not get loaded there is no reason to keep it in the cache. Moreover, if loading failed it will not be possible to load an earlier version of microcode since the failed revision will always be selected from the cache on the next reload attempt. Since the failed revisions is not easily available at this point just clean the whole cache. It will be rebuilt later if needed. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20250327230503.1850368-3-boris.ostrovsky@oracle.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions