diff options
author | Oliver Upton <[email protected]> | 2021-09-21 17:11:21 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-09-22 10:33:08 -0400 |
commit | 01f91acb55be7aac3950b89c458bcea9ef6e4f49 (patch) | |
tree | 28074cbca8e0033f8762fe66ae7b5d53542b2b52 /tools/perf/util/trace-event-scripting.c | |
parent | 90b54129e8df909ccca527b2d69bcb1f0216aa8f (diff) |
selftests: KVM: Align SMCCC call with the spec in steal_time
The SMC64 calling convention passes a function identifier in w0 and its
parameters in x1-x17. Given this, there are two deviations in the
SMC64 call performed by the steal_time test: the function identifier is
assigned to a 64 bit register and the parameter is only 32 bits wide.
Align the call with the SMCCC by using a 32 bit register to handle the
function identifier and increasing the parameter width to 64 bits.
Suggested-by: Andrew Jones <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions