linux-stable/arch/powerpc
Olof Johansson dabcafd3f3 [PATCH] powerpc: Set cache info defaults
Cache info is setup by walking the device tree in initialize_cache_info().
However, icache_flush_range might be called before that, in
slb_initialize()->patch_slb_encoding, which modifies the load immediate
instructions used with SLB fault code.

Not only that, but depending on memory layout, we might take SLB faults
during unflatten_device_tree. So that fault will load an SLB entry that
might not contain the right LLP flags for the segment.

Either we can walk the flattened device tree to setup cache info, or
we can pick the known defaults that are known to work. Doing it in the
flattened device tree is hairier since we need to know the machine type
to know what property to look for, etc, etc.

For now, it's just easier to go with the defaults. Worst thing that
happens from it is that we might waste a few cycles doing too small
dcbst/icbi increments.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-12-09 15:42:52 +11:00
..
boot [PATCH] ppc boot: replace string labels with numbers 2005-11-18 13:18:16 +11:00
configs powerpc: Move defconfig over and remove remaining arch/ppc64 files 2005-11-18 16:39:08 +11:00
kernel [PATCH] powerpc: Set cache info defaults 2005-12-09 15:42:52 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: Fix a huge page bug 2005-12-08 16:57:41 +11:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms [PATCH] powerpc: Remove debug code in hash path 2005-12-08 16:57:47 +11:00
sysdev [PATCH] powerpc: update my email address 2005-11-23 21:23:20 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] powerpc: correct the NR_CPUS description text 2005-12-02 14:51:35 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: remove arch/powerpc/include hack for 64 bit 2005-11-25 22:11:23 +11:00