• Kever Yang's avatar
    ARM: rockchip: add basic smp support for rk3288 · 3ee851e2
    Kever Yang authored
    This patch add basic rk3288 smp support.
    
    Only cortex-A9 need invalid L1, A7/A12/A15/A17 should not invalid L1, since
    for A7/A12/A15, the invalidation would be taken as clean and invalidate.
    
    If you use the software manual invalidation instead of hardware invalidation
    (assert l1/l2rstdisable during reset) after reset, there is tiny change that
    some cachelines would be in dirty and valid state after reset(since the ram
    content would be random value after reset), then the unexpected clean might
    lead to system crash.
    
    It is a known issue for the A12/A17 MPCore multiprocessor that the active
    processors might be stalled when the individual processor is powered down,
    we can avoid this prolbem by softreset the processor before power it down.
    Signed-off-by: default avatarKever Yang <kever.yang@rock-chips.com>
    Tested-by: default avatarKevin Hilman <khilman@linaro.org>
    Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    3ee851e2
platsmp.c 8.12 KB