diff options
author | Elliot Berman <[email protected]> | 2020-01-07 13:04:13 -0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-01-07 22:14:06 -0800 |
commit | 4a9f1e13b7ed89e66ca9f7c46e48e305402e0732 (patch) | |
tree | 46ee329624dc76fee8989ac78f099625397f5986 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 9a1108d2b001cda1af17160c78afedfff92e2202 (diff) |
firmware: qcom_scm-64: Make SMC macros less magical
Improve understandability of SMC macros by reversing the logic as they
are all functions of how many arguments can be shoved in registers and
how many SCM arguments are supported.
There aren't 4 register arguments because are 7 arguments that go into a
buffer - there are up to 7 arguments that are overflowed into a buffer
because only 4 registers are allocated for arguments.
Reviewed-by: Stephen Boyd <[email protected]>
Tested-by: Brian Masney <[email protected]> # arm32
Tested-by: Stephan Gerhold <[email protected]>
Signed-off-by: Elliot Berman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions