ANDROID: KVM: arm64: Reserve all args for req_mmio
Make unused args for ARM_SMCCC_KVM_FUNC_DEV_REQ_MMIO to be 0 as they may be used in the future. Bug: 357781595 Change-Id: Iea52c8b623ef8ee732b4799b395e0a112248d2b9 Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
@@ -280,8 +280,9 @@ bool pkvm_device_request_mmio(struct pkvm_hyp_vcpu *hyp_vcpu, u64 *exit_code)
|
||||
u64 token;
|
||||
s8 level;
|
||||
|
||||
/* arg2 and arg3 reserved for future use. */
|
||||
if (smccc_get_arg2(vcpu) || smccc_get_arg3(vcpu) || !PAGE_ALIGNED(ipa))
|
||||
/* args 2..6 reserved for future use. */
|
||||
if (smccc_get_arg2(vcpu) || smccc_get_arg3(vcpu) || smccc_get_arg4(vcpu) ||
|
||||
smccc_get_arg5(vcpu) || smccc_get_arg6(vcpu) || !PAGE_ALIGNED(ipa))
|
||||
goto out_inval;
|
||||
|
||||
ret = pkvm_get_guest_pa_request(hyp_vcpu, ipa, PAGE_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user