From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wrqvD3c3gzDqjH for ; Mon, 19 Jun 2017 22:25:43 +1000 (AEST) In-Reply-To: <20170613130557.26315-6-npiggin@gmail.com> To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: "Gautham R . Shenoy" , Nicholas Piggin Subject: Re: [05/13] powerpc/64s: interrupt replay balance the return branch predictor Message-Id: <3wrqvC4406z9sCX@ozlabs.org> Date: Mon, 19 Jun 2017 22:25:43 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > Signed-off-by: Nicholas Piggin Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/b48bbb82e2b83537c500417d60218a cheers