powerpc/85xx: Fix writing to spin table 'cpu-release-addr' on ppc64e
authorKumar Gala <galak@kernel.crashing.org>
Tue, 15 Feb 2011 04:45:48 +0000 (22:45 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 15 Mar 2011 14:29:56 +0000 (09:29 -0500)
commitdecbb280bb8e3bceebcf5defb4f61dfbfdb23e18
tree47d845745196b4a0c76b0206316f3092b3c8da92
parent964a29962c278ddff8a199f23d7c9ef35152a0fe
powerpc/85xx: Fix writing to spin table 'cpu-release-addr' on ppc64e

If the spin table is located in the linear mapping (which can happen if
we have 4G or more of memory) we need to access the spin table via a
cacheable coherent mapping like we do on ppc32 (and do explicit cache
flush).

See the following commit for the ppc32 version of this issue:

commit d1d47ec6e62ab08d2ebb925fd9203abfad3adfbf
Author: Peter Tyser <ptyser@xes-inc.com>
Date:   Fri Dec 18 16:50:37 2009 -0600

    powerpc/85xx: Fix SMP when "cpu-release-addr" is in lowmem

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/smp.c