summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2021-09-21 20:11:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-09 15:40:57 +0300
commitb8add3f47ae7fee564a941aa9ade3eb51ea997f0 (patch)
tree19b8a89106418c88ec2f1cc0a395e3497254981f /virt
parent352b02562a3e01a640bf7d242ebf61003cf93c59 (diff)
downloadlinux-b8add3f47ae7fee564a941aa9ade3eb51ea997f0.tar.xz
selftests: KVM: Align SMCCC call with the spec in steal_time
[ Upstream commit 01f91acb55be7aac3950b89c458bcea9ef6e4f49 ] 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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions