Re: SMP enablement on Cortex-R52 (using PSCI ?)

From: Vladimir Murzin
Date: Tue Apr 18 2023 - 08:15:02 EST


Hi,

On 4/14/23 12:24, Ayan Kumar Halder wrote:
> Hi PSCI developers,
>
> We have a SoC where there are 4 Cortex-R52 which is distributed in two clusters. So we have 2 Cortex-R52 in one cluster and 2 Cortex-R52 in another cluster.
>
> We wish to enable SMP on the 2 R52 within a cluster with Xen hypervisor (EL2 software) running on them.
>
> We are trying to explore if we can use PSCI for booting the secondary cores.
>

snip

>
> I wish to know how do we wake up the secondary core if PSCI is not supported.
>

It looks to me you need to provide/use platform defined method. I see that
Xen provides struct platform_desc with smp_init and cpu_up callbacks...

Cheers
Vladimir

> Kind regards,
> Ayan
>
>
>