kernel_optimize_test/arch/powerpc/platforms/ps3
Masakazu Mokuno b47027795a 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 a1f242ff46
("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>
2008-08-26 10:24:46 +10:00
..
device-init.c powerpc/ps3: Add a sub-match id to ps3_system_bus 2008-07-22 10:39:33 +10:00
exports.c
htab.c powerpc/ps3: Rework htab code to remove ioremap 2008-08-26 10:24:46 +10:00
hvcall.S
interrupt.c [POWERPC] PS3: Make ps3_virq_setup and ps3_virq_destroy static 2008-05-02 15:00:44 +10:00
Kconfig powerpc: pci config cleanup 2008-07-16 17:57:34 -05:00
Makefile [POWERPC] PS3: Device registration routines. 2007-06-28 19:16:43 +10:00
mm.c [POWERPC] PS3: Fix memory hotplug 2008-05-23 16:15:29 +10:00
os-area.c [POWERPC] Add include of linux/of.h to os-area.c 2008-04-24 20:57:33 +10:00
platform.h [POWERPC] PS3: Add logical performance monitor repository routines 2008-01-25 22:52:52 +11:00
repository.c [POWERPC] PS3: Add logical performance monitor repository routines 2008-01-25 22:52:52 +11:00
setup.c powerpc/ps3: Rework htab code to remove ioremap 2008-08-26 10:24:46 +10:00
smp.c powerpc: convert to generic helpers for IPI function calls 2008-06-26 11:22:13 +02:00
spu.c powerpc/ps3: Fix ioremap of spu shadow regs 2008-08-26 10:24:46 +10:00
system-bus.c powerpc/ps3: Add a sub-match id to ps3_system_bus 2008-07-22 10:39:33 +10:00
time.c [POWERPC] PS3: Add os-area rtc_diff set/get routines 2007-10-09 21:01:58 +10:00