[05/13] powerpc/64s: interrupt replay balance the return branch predictor
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jun 19 22:25:43 AEST 2017
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 <ego at linux.vnet.ibm.com>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b48bbb82e2b83537c500417d60218a
cheers
More information about the Linuxppc-dev
mailing list