From: Will Deacon Date: Thu, 23 May 2013 17:29:18 +0000 (+0100) Subject: ARM: tlb: don't bother with barriers for branch predictor maintenance X-Git-Tag: v3.12-rc1~128^2^3~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587b9b6487acddf777301c867c24f31fdf4ada4a;p=pandora-kernel.git ARM: tlb: don't bother with barriers for branch predictor maintenance Branch predictor maintenance is only required when we are either changing the kernel's view of memory (switching tables completely) or dealing with ASID rollover. Both of these use-cases require subsequent TLB invalidation, which has the relevant barrier instructions to ensure completion and visibility of the maintenance, so this patch removes the instruction barrier from [local_]flush_bp_all. Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon --- Reading git-diff-tree failed