aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2018-07-19 15:32:42 +0200
committerBorislav Petkov <[email protected]>2018-11-19 10:51:05 +0100
commit2b8d34b1ece506a9bbd47b56d266ee020a0c65ac (patch)
treeff3b76052e8c87292a99aeb42a4ea3282ae16075 /tools/perf/scripts/python/export-to-sqlite.py
parent70887cb23eda6bedac73eef227b55e3eb74e0cb7 (diff)
x86/microcode/AMD: Concentrate patch verification
Add a verify_patch() function which tries to sanity-check many aspects of a microcode patch supplied by an outside container before attempting a load. Prepend all sub-functions' names which verify an aspect of a microcode patch with "__". Call it in verify_and_add_patch() *before* looking at the microcode header. Signed-off-by: Borislav Petkov <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions