• Per Fransson's avatar
    ARM: ux500 specific L2 cache code · ae694804
    Per Fransson authored
    The generic version of l2x0_inv_all is only called just after disabling
    the L2 cache and is surrounded by a spinlock. However, we're not really
    turning off the L2 cache right now, and the PL310 does not support
    exclusive accesses (used to implement the spinlock). So, the
    invalidation needs to be done without the spinlock.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Hans-Juergen Koch <hjk@linutronix.de>
    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Signed-off-by: default avatarPer Fransson <per.xx.fransson@stericsson.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
    ae694804
cpu.c 3.69 KB