powerpc: Fix setting FSCR for HV=0 and on secondary CPUs
authorMichael Neuling <mikey@neuling.org>
Mon, 4 Mar 2013 19:45:50 +0000 (19:45 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Mar 2013 05:56:29 +0000 (16:56 +1100)
commit57d231678ace658b3a73a0d144cfebbd4257bc0e
tree6b644ca8c160e8e3415718545ae57eeaca620627
parent8170a83f15eeca9a84ff895f1a89b58918425a3f
powerpc: Fix setting FSCR for HV=0 and on secondary CPUs

Currently we only set the FSCR (Facility Status and Control Register) when HV=1
but this feature is available when HV=0 also.  This patch sets FSCR when HV=0.

Also, we currently only set the FSCR on the master CPU.  This patch also sets
the FSCR on secondary CPUs.

Signed-off-by: Michael Neuling <mikey@neuling.org>
cc: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cpu_setup_power.S