From: Stephan Gerhold Date: Mon, 4 Oct 2021 20:49:49 +0000 (+0200) Subject: ARM: qcom: Add qcom,msm8916-smp enable-method identical to MSM8226 X-Git-Tag: v6.1-rc5~2733^2~4^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87922aec8a269805aad7fd462c8959cda49ea9df;p=platform%2Fkernel%2Flinux-starfive.git ARM: qcom: Add qcom,msm8916-smp enable-method identical to MSM8226 Unfortunately, some MSM8916 devices have signed firmware without ARM64 and PSCI support and can therefore only boot ARM32 Linux. The ARM Cortex-A53 cores should be actually booted exactly like the Cortex-A7 cores on MSM8226, so just add an alias for the existing code. Signed-off-by: Stephan Gerhold Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20211004204955.21077-9-stephan@gerhold.net --- diff --git a/arch/arm/mach-qcom/platsmp.c b/arch/arm/mach-qcom/platsmp.c index 6049655..58a4228 100644 --- a/arch/arm/mach-qcom/platsmp.c +++ b/arch/arm/mach-qcom/platsmp.c @@ -385,6 +385,7 @@ static const struct smp_operations qcom_smp_cortex_a7_ops __initconst = { #endif }; CPU_METHOD_OF_DECLARE(qcom_smp_msm8226, "qcom,msm8226-smp", &qcom_smp_cortex_a7_ops); +CPU_METHOD_OF_DECLARE(qcom_smp_msm8916, "qcom,msm8916-smp", &qcom_smp_cortex_a7_ops); static const struct smp_operations qcom_smp_kpssv1_ops __initconst = { .smp_prepare_cpus = qcom_smp_prepare_cpus,