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: <redacted>
Signed-off-by: Will Deacon <redacted>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>