diff options
author | Andrew Donnellan <[email protected]> | 2023-02-10 19:03:46 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-02-12 22:12:37 +1100 |
commit | 50a466bf3e6f6f177dc0aeefa46a2f8927075a1d (patch) | |
tree | c495161a8da82cc0f6d95f10ee31d437cf2f9d36 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 86b6c0ae2caee9cadee1256d31b204ea54cb55c0 (diff) |
powerpc/secvar: Allow backend to populate static list of variable names
Currently, the list of variables is populated by calling
secvar_ops->get_next() repeatedly, which is explicitly modelled on the
OPAL API (including the keylen parameter).
For the upcoming PLPKS backend, we have a static list of variable names.
It is messy to fit that into get_next(), so instead, let the backend put
a NULL-terminated array of variable names into secvar_ops->var_names,
which will be used if get_next() is undefined.
Signed-off-by: Andrew Donnellan <[email protected]>
Signed-off-by: Russell Currey <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions