aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2020-03-19 09:12:27 -0700
committerHerbert Xu <[email protected]>2020-03-30 11:50:49 +1100
commit1517f63cd84f00da3a3e21dff042410b2799c1c3 (patch)
treea051ca2063818227b747b1071df88ff7691a067c /tools/perf/scripts/python/export-to-sqlite.py
parent8483c831b9f3fca2219ac45f361386a1233f6c9b (diff)
crypto: caam - drop global context pointer and init_done
Leverage devres to get rid of code storing global context as well as init_done flag. Original code also has a circular deallocation dependency where unregister_algs() -> caam_rng_exit() -> caam_jr_free() chain would only happen if all of JRs were freed. Fix this by moving caam_rng_exit() outside of unregister_algs() and doing it specifically for JR that instantiated HWRNG. Signed-off-by: Andrey Smirnov <[email protected]> Cc: Chris Healy <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Horia Geantă <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Iuliana Prodan <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions