Hi Hans, On Sun, Dec 22, 2013 at 01:57:34PM +0100, Hans de Goede wrote: > Hi, > > On 12/22/2013 12:21 AM, Michal Suchanek wrote: > >Actually sun7i smp conflicts badly with the sun6i smp .. so a stab at a > >merge: > > > >https://github.com/hramrach/linux-sunxi/commits/sunxi-next > > > >Compile tested. > > Actually the plan for A20 going forward is to have u-boot implement > PSCI and use that, the problem of the parent post is likely that he does not > have CONFIG_ARM_PSCI=y in his kernels .config. The reason for this is that > this is necessary to properly enable HYP mode on the cpu-cores, which we > want to be able to do hardware virtualization. > > WRT I'm a bit surprised that Maxime does have SMP support for A31 in his tree > to get merged upstream, as the A31 should be the same story, it has Cortex > A7 cores which can do HYP mode too. > > Maxime ?
You're right, except that we don't have any proper A31 support in u-boot for now, so we can't setup the firmware that will handle PSCI, and as such, we have to rely on the old way. Of course, that means that we can't use HYP mode on the A31 for now, and the plan for the A31 is the same: we go for PSCI, as soon as some patches are available (and since the A20 bringup code is very close, it shouldn't be that far away), we remove the A31 SMP related code from Linux. The code I just took really is just a transition solution for the time being. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
signature.asc
Description: Digital signature
