Thread (4 messages) flat view 4 messages, 2 authors, 2013-02-25
DORMANTno replies REVIEWED: 3 (3M)

1 review trailer.

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

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2013-02-25 16:31:44

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: <redacted>
Signed-off-by: Will Deacon <redacted>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help