• Russell King's avatar
    [ARM] Fix FIQ issue with ARM926 · 0214f922
    Russell King authored
    Jon Eibertzon writes:
    > We have noticed that the I-cache is disabled while waiting for
    > interrupt in cpu_arm926_do_idle in arch/arm/mm/proc-arm926.S
    > and we are curious to know why, because this causes us a great
    > performance hit when executing in FIQ-handlers. Is it assumed
    > here that every individual FIQ-handler re-enables the I-cache?
    
    The I-cache disable is an errata workaround, so the solution is to
    disable FIQs across the section with the I-cache disabled.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    0214f922
proc-arm926.S 12.2 KB