[PATCH v3 2/2] powerpc/mpc85xx: also write addr_h to spin table for 64bit boot entry

Scott Wood oss at buserror.net
Tue Jan 7 05:05:59 AEDT 2020


On Mon, 2020-01-06 at 12:29 +0800, yingjie_bai at 126.com wrote:
> From: Bai Yingjie <byj.tea at gmail.com>
> 
> CPU like P4080 has 36bit physical address, its DDR physical
> start address can be configured above 4G by LAW registers.
> 
> For such systems in which their physical memory start address was
> configured higher than 4G, we need also to write addr_h into the spin
> table of the target secondary CPU, so that addr_h and addr_l together
> represent a 64bit physical address.
> Otherwise the secondary core can not get correct entry to start from.
> 
> Signed-off-by: Bai Yingjie <byj.tea at gmail.com>
> ---
>  arch/powerpc/platforms/85xx/smp.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Acked-by: Scott Wood <oss at buserror.net>

-Scott




More information about the Linuxppc-dev mailing list