diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2008-08-20 16:18:56 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-25 20:24:46 -0400 |
commit | b47027795a22fe61f93de6010c120f26273fc693 (patch) | |
tree | 5656337fbada29bd6cdb8d7c8fcaa0372fd4ba8e /arch/powerpc/platforms/pseries/setup.c | |
parent | 9cfeb74e93cf3549b7fa67ffe407192da625c777 (diff) |
powerpc/ps3: Fix ioremap of spu shadow regs
Fix the ioremap of the spu shadow regs on the PS3.
The current PS3 hypervisor requires the spu shadow regs to be
mapped with the PTE page protection bits set as read-only (PP=3).
This implementation uses the low level __ioremap() to bypass the
page protection settings inforced by ioremap_flags() to get the
needed PTE bits set for the shadow regs.
This fixes a runtime failure on the PS3 introduced by the powerpc
ioremap_prot rework of commit a1f242ff460e4b50a045fa237c3c56cce9eabf83
("powerpc ioremap_prot").
Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
0 files changed, 0 insertions, 0 deletions