aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNicholas Miehlbradt <[email protected]>2024-04-08 05:23:58 +0000
committerMichael Ellerman <[email protected]>2024-04-15 12:53:39 +1000
commit676b2f99b0f6cd11193eeae13c976565c3fc7545 (patch)
treefd5692814cfee5729a7b9e6c13543aeee269643d /tools/perf/scripts/python/exported-sql-viewer.py
parent676abf7c39267080ab81597c6d4f372a10c0fc21 (diff)
powerpc: Add static_key_feature_checks_initialized flag
JUMP_LABEL_FEATURE_CHECK_DEBUG used static_key_intialized to determine whether {cpu,mmu}_has_feature() is used before static keys were initialized. However, {cpu,mmu}_has_feature() should not be used before setup_feature_keys() is called but static_key_initialized is set well before this by the call to jump_label_init() in early_init_devtree(). This creates a window in which JUMP_LABEL_FEATURE_CHECK_DEBUG will not detect misuse and report errors. Add a flag specifically to indicate when {cpu,mmu}_has_feature() is safe to use. Signed-off-by: Nicholas Miehlbradt <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions