[PATCH 1/2] ARM: tlb: add branch predictor maintenance operations

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


On Mon, Feb 25, 2013 at 03:21:27PM +0000, Will Deacon wrote:
> The ARM architecture requires explicit branch predictor maintenance
> when updating an instruction stream for a given virtual address. In
> reality, this isn't so much of a burden because the branch predictor
> is flushed during the cache maintenance required to make the new
> instructions visible to the I-side of the processor.
> 
> However, there are still some cases where explicit flushing is required,
> so add a local_bp_flush_all operation to deal with this.
> 
> 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