[PATCH 2/2] ARM: mm: perform explicit branch predictor maintenance when required

Catalin Marinas catalin.marinas at arm.com
Mon Feb 25 11:31:44 EST 2013

On Mon, Feb 25, 2013 at 03:21:28PM +0000, Will Deacon wrote:
> 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.
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>

More information about the linux-arm-kernel mailing list