Thread (32 messages) flat view 32 messages, 3 authors, 2017-06-19

Re: [05/13] powerpc/64s: interrupt replay balance the return branch predictor

From: Michael Ellerman <hidden>
Date: 2017-06-19 12:25:43

On Tue, 2017-06-13 at 13:05:49 UTC, Nicholas Piggin wrote:
The __replay_interrupt code is branched to with bl, but the caller is
returned to directly with rfid from the interrupt.

Instead, rfid to a stub that returns to the caller with blr, which
should keep the return branch predictor balanced.

Reviewed-by: Gautham R. Shenoy <redacted>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/b48bbb82e2b83537c500417d60218a

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help