firmware: qcom_scm: updated commit text for usage of SMC_CONVENTION_ARM_32

updated commit text in scm driver for usage of
SMC_CONVENTION_ARM_64 for 64bit kernel and
SMC_CONVENTION_ARM_32 for 32bit kernel.

Change-Id: I84eefd91a00e303b80388e43f59dc5c914352bca
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
This commit is contained in:
Kathiravan T 2023-05-17 11:55:20 +05:30 committed by Sai Kannan Chintakayala
parent a645196d92
commit 48c73395b4

View file

@ -207,6 +207,10 @@ static enum qcom_scm_convention __get_convention(void)
* Per the "SMC calling convention specification", the 64-bit calling
* convention can only be used when the client is 64-bit, otherwise
* system will encounter the undefined behaviour.
* When running on 32bit kernel, SCM call with convention
* SMC_CONVENTION_ARM_64 is causing the system crash. To avoid that
* use SMC_CONVENTION_ARM_64 for 64bit kernel and SMC_CONVENTION_ARM_32
* for 32bit kernel.
*/
#if IS_ENABLED(CONFIG_ARM64)
/*