diff options
author | Michael Neuling <mikey@neuling.org> | 2013-03-04 14:45:52 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-03-05 00:56:30 -0500 |
commit | 54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52 (patch) | |
tree | 45830a7b21e9fe6a533772e8cb571c6cca7eb385 /arch/powerpc/kernel/cpu_setup_power.S | |
parent | fa759e9b0984748cf626aac59bca60bdab42c644 (diff) |
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/powerpc/kernel/cpu_setup_power.S')
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_power.S | 2 |
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: | |||
116 | 116 | ||
117 | __init_FSCR: | 117 | __init_FSCR: |
118 | mfspr r3,SPRN_FSCR | 118 | mfspr r3,SPRN_FSCR |
119 | ori r3,r3,FSCR_TAR | 119 | ori r3,r3,FSCR_TAR|FSCR_DSCR |
120 | mtspr SPRN_FSCR,r3 | 120 | mtspr SPRN_FSCR,r3 |
121 | blr | 121 | blr |
122 | 122 | ||