summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-03-04 20:45:52 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-03-05 06:56:30 +0100
commit54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52 (patch)
tree45830a7b21e9fe6a533772e8cb571c6cca7eb385 /arch
parentpowerpc: Add DSCR FSCR register bit definition (diff)
downloadlinux-54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52.tar.xz
linux-54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52.zip
powerpc: Set DSCR bit in FSCR setup
We support DSCR (Data Stream Control Register) so we should make sure we set it in the FSCR (Facility Status & Control Register) incase some firmwares don't set it. If we don't set this, we'll take a facility unavailable exception when using the DSCR. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/cpu_setup_power.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cpu_setup_power.S b/arch/powerpc/kernel/cpu_setup_power.S
index bb2d2034d61f..ea847abb0d0a 100644
--- a/arch/powerpc/kernel/cpu_setup_power.S
+++ b/arch/powerpc/kernel/cpu_setup_power.S
@@ -116,7 +116,7 @@ __init_LPCR:
__init_FSCR:
mfspr r3,SPRN_FSCR
- ori r3,r3,FSCR_TAR
+ ori r3,r3,FSCR_TAR|FSCR_DSCR
mtspr SPRN_FSCR,r3
blr