ANDROID: virt: gunyah: Replace arm_smccc_1_1_smc with arm_smccc_1_1_invoke
Replace arm_smccc_1_1_smc with arm_smccc_1_1_invoke because arm_smccc_1_1_invoke() determines the conduit (hvc/smc/none) before making an SMC, which may not be supported on some virtual platforms. Bug: 428106948 Change-Id: Ib21c7790b03996e73caa0874dc826d78e7b1c3d8 Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>
This commit is contained in:
committed by
Treehugger Robot
parent
3b5bd5416e
commit
279274c126
@@ -187,7 +187,7 @@ static bool gunyah_has_qcom_extensions(void)
|
||||
uuid_t uuid;
|
||||
u32 *up;
|
||||
|
||||
arm_smccc_1_1_smc(GUNYAH_QCOM_EXT_CALL_UUID_ID, &res);
|
||||
arm_smccc_1_1_invoke(GUNYAH_QCOM_EXT_CALL_UUID_ID, &res);
|
||||
|
||||
up = (u32 *)&uuid.b[0];
|
||||
up[0] = lower_32_bits(res.a0);
|
||||
|
Reference in New Issue
Block a user