• B
    [POWERPC] Fix cache line vs. block size confusion · 20474abd
    Benjamin Herrenschmidt 提交于
    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: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    20474abd
booting-without-of.txt 91.8 KB