From: Will Deacon Date: Thu, 28 Feb 2013 16:48:40 +0000 (+0100) Subject: ARM: 7661/1: mm: perform explicit branch predictor maintenance when required X-Git-Tag: v3.9-rc2~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c7e4b8bbb3d4fa52df5746a8ad38e610143651;p=pandora-kernel.git ARM: 7661/1: mm: perform explicit branch predictor maintenance when required The ARM ARM requires branch predictor maintenance if, for a given ASID, the instructions at a specific virtual address appear to change. From the kernel's point of view, that means: - Changing the kernel's view of memory (e.g. switching to the identity map) - ASID rollover (since ASIDs will be re-allocated to new tasks) This patch adds explicit branch predictor maintenance when either of the two conditions above are met. Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed