• K
    ppc/85xx: Fix bug in setup_mp code · eb0a2cc9
    Kumar Gala 提交于
    Its possible that we try and copy the boot page code out of flash into a
    DDR location that doesn't have a TLB cover it.  For example, if we have
    3G of DDR we typically only map the first 2G.  In the cases of 4G+ this
    wasn't an issue since the reset page TLB mapping covered the last page
    of memory which we wanted to copy to.
    
    We now change the physical address of the reset page TLB to map to the
    true physical location of the boot page code, copy and than set the
    TLB back to its 1:1 mapping of the reset page.
    Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
    eb0a2cc9
mp.c 5.8 KB