• Russell King's avatar
    ARM: cache-l2x0: make better use of background cache handling · 3d107434
    Russell King authored
    There's no point having the hardware support background operations
    if we issue a cache operation, and then wait for it to complete
    before calculating the address of the next operation.  We gain no
    advantage in the cache controller stalling the bus until completion.
    
    What we should be doing is using the 'wait' time productively by
    calculating the address of the next operation, and only then waiting
    for the previous operation to complete.  This means that cache
    operations can occur in parallel with the CPU calculating the next
    address.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    3d107434
cache-l2x0.c 4.32 KB