android_kernel_xiaomi_sm8350/arch
Benjamin Herrenschmidt 20474abda6 [POWERPC] Fix cache line vs. block size confusion
We had an historical confusion in the kernel between cache line
and cache block size. The former is an implementation detail of
the L1 cache which can be useful for performance optimisations,
the later is the actual size on which the cache control
instructions operate, which can be different.

For some reason, we had a weird hack reading the right property
on powermac and the wrong one on any other 64 bits (32 bits is
unaffected as it only uses the cputable for cache block size
infos at this stage).

This fixes the booting-without-of.txt documentation to mention
the right properties, and fixes the 64 bits initialization code
to look for the block size first, with a fallback to the line
size if the property is missing.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-11-08 14:15:30 +11:00
..
alpha alpha: sg_virt() fallout 2007-10-23 12:31:05 +02:00
arm [ARM] 4636/1: pxa: add default configuration for zylonite 2007-10-31 15:21:48 +00:00
avr32 [AVR32] ARRAY_SIZE() cleanup 2007-10-23 11:20:26 +02:00
blackfin Blackfin arch: reclaim a few bytes from the end of our init section 2007-10-30 12:00:02 +08:00
cris typo fixes 2007-10-20 01:34:40 +02:00
frv scatterlist fallout: frv 2007-10-27 22:18:11 -07:00
h8300 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
ia64 [IA64] Fix incorrect return value from ia64_setup_msi_irq() 2007-10-30 09:54:47 -07:00
m32r spelling fixes: arch/m32r/ 2007-10-20 01:14:39 +02:00
m68k m68k: sg fallout 2007-10-24 08:55:40 +02:00
m68knommu m68knommu: mark mem init functions as __init 2007-10-23 20:45:44 -07:00
mips [MIPS] tb0219: Update copyright message. 2007-10-29 19:35:37 +00:00
parisc parisc: fix sg_page() fallout 2007-10-23 09:49:31 +02:00
powerpc [POWERPC] Fix cache line vs. block size confusion 2007-11-08 14:15:30 +11:00
ppc [POWERPC] i8259: Add disable method 2007-11-08 14:15:29 +11:00
s390 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
sh Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
sh64 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
sparc [SPARC32]: Fix build-warning in io-unit.c 2007-10-27 00:54:14 -07:00
sparc64 [SPARC64]: Update defconfig. 2007-11-01 03:18:02 -07:00
um misc uml annotation and section fixes 2007-10-29 07:41:32 -07:00
v850 spelling fixes: arch/v850/ 2007-10-20 01:24:05 +02:00
x86 Remove bogus default y for DMAR and NET_DMA 2007-10-30 08:06:55 -07:00
xtensa Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00