linux-uconsole/tools/testing/selftests/kvm
Oliver Upton b8add3f47a selftests: KVM: Align SMCCC call with the spec in steal_time
[ Upstream commit 01f91acb55 ]

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 <drjones@redhat.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20210921171121.2148982-3-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-09 14:40:57 +02:00
..
aarch64 KVM: selftests: Add blessed SVE registers to get-reg-list 2020-11-08 06:03:02 -05:00
include KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00
lib KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:47:22 -04:00
s390x selftests: KVM: s390: check for registers to NOT change on reset 2020-03-16 17:59:09 +01:00
x86_64 selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn 2021-10-09 14:40:57 +02:00
.gitignore KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Make the number of vcpus global 2020-11-08 06:04:03 -05:00
dirty_log_perf_test.c KVM: selftests: allow two iterations of dirty_log_perf_test 2020-11-09 09:45:17 -05:00
dirty_log_test.c KVM: selftests: Drop pointless vm_create wrapper 2020-11-08 06:03:36 -05:00
kvm_create_max_vcpus.c KVM: selftests: Convert some printf's to pr_info's 2020-03-16 17:57:07 +01:00
Makefile KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00
set_memory_region_test.c selftests: kvm/set_memory_region_test: Fix race in move region test 2020-12-03 12:38:58 -05:00
steal_time.c selftests: KVM: Align SMCCC call with the spec in steal_time 2021-10-09 14:40:57 +02:00