]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc85xx: also write addr_h to spin table for 64bit boot entry
authorBai Yingjie <byj.tea@gmail.com>
Mon, 6 Jan 2020 04:29:54 +0000 (12:29 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Jan 2020 11:05:51 +0000 (22:05 +1100)
commit5bb1c83b1f5791fe0b1b52bdc61097ca94d3482b
treea0fc44fe108220af21732aa0c2c95f682dbe484a
parent076d9ba3a9ba11be49e861910d0a48307f44ec28
powerpc/mpc85xx: also write addr_h to spin table for 64bit boot entry

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@gmail.com>
Acked-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200106042957.26494-2-yingjie_bai@126.com
arch/powerpc/platforms/85xx/smp.c