mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
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
a71768f6d0
commit
7011769d22
@@ -123,7 +123,7 @@ static bool gh_has_qcom_extensions(void)
|
||||
uuid_t uuid;
|
||||
u32 *up;
|
||||
|
||||
arm_smccc_1_1_smc(GH_QCOM_EXT_CALL_UUID_ID, &res);
|
||||
arm_smccc_1_1_invoke(GH_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