[PATCH 4/6] arm64/ls1043a: add DTS for Freescale LS1043A SoC

Hou Zhiqiang B48286 at freescale.com
Tue Sep 22 20:05:20 PDT 2015



> -----Original Message-----
> From: Li Yang-Leo-R58472
> Sent: 2015年9月23日 1:23
> To: Hou Zhiqiang-B48286; Mark Rutland; marc.zyngier at arm.com
> Cc: linux-arm-kernel at lists.infradead.org; Catalin Marinas; Will Deacon;
> linux-i2c at vger.kernel.org; linux-watchdog at vger.kernel.org; linux-
> doc at vger.kernel.org; linux-clk at vger.kernel.org; Xie Shaohui-B21989;
> corbet at lwn.net; Sharma Bhupesh-B45370; mturquette at baylibre.com; wsa at the-
> dreams.de; sboyd at codeaurora.org; wim at iguana.be; Song Wenbin-B53747; Wood
> Scott-B07421; Hu Mingkai-B21284
> Subject: RE: [PATCH 4/6] arm64/ls1043a: add DTS for Freescale LS1043A SoC
> 
> > >
> > > Hi,
> > >
> > > > +/memreserve/ 0x80000000 0x00010000;
> > >
> > > Why is this necessary?
> >
> > This memory region is pre-reserved for the spin-table/psci, although
> > didn't add Enable method of secondary cores.
> 
> Can this be reserved by bootloader?

Yes, the memory for psci was reserved by u-boot code. But due to spin-table
need the release address, is it better adding the /memreserve/ in dts file?
Or add it by bootloader and fix the release address accordingly?

> 
> >
> > > If this is necessary, please add a comment stating what this is for.
> > >
> > > > +               cpu at 3 {
> > > > +                       device_type = "cpu";
> > > > +                       compatible = "arm,cortex-a53";
> > > > +                       reg = <0x0 0x3>;
> > > > +                       clocks = <&clockgen 1 0>;
> > > > +               };
> > >
> > > Missing enable-method properties on all the secondary CPUs.
> > >
> >
> > There are two methods (spin-table and psci) to bring up secondary
> > cores, which one do you think is better?
> 
> Do we have the PSCI support ready in both UEFI and u-boot?  If not, we
> should use spin-table for now.
>

our internal u-boot supports PSCI but opensource doesn't support it for ARMv8.

Thanks,
Zhiqiang


More information about the linux-arm-kernel mailing list