• Benjamin Herrenschmidt's avatar
    powerpc: Fix some 6xx/7xxx CPU setup functions · 1f1936ff
    Benjamin Herrenschmidt authored
    Some of those functions try to adjust the CPU features, for example
    to remove NAP support on some revisions. However, they seem to use
    r5 as an index into the CPU table entry, which might have been right
    a long time ago but no longer is. r4 is the right register to use.
    
    This probably caused some off behaviours on some PowerMac variants
    using 750cx or 7455 processor revisions.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: stable@kernel.org
    1f1936ff
cpu_setup_6xx.S 10.9 KB