[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <4496Vf0vRHz9s9T@ozlabs.org>
Date: Thu, 28 Feb 2019 20:21:13 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Diana Craciun <diana.craciun@....com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: powerpc/fsl: Fix the flush of branch predictor.
On Tue, 2019-02-26 at 18:18:48 UTC, Christophe Leroy wrote:
> The commit identified below adds MC_BTB_FLUSH macro only when
> CONFIG_PPC_FSL_BOOK3E is defined. This results in the following error
> on some configs (seen several times with kisskb randconfig_defconfig)
>
> arch/powerpc/kernel/exceptions-64e.S:576: Error: Unrecognized opcode: `mc_btb_flush'
> make[3]: *** [scripts/Makefile.build:367: arch/powerpc/kernel/exceptions-64e.o] Error 1
> make[2]: *** [scripts/Makefile.build:492: arch/powerpc/kernel] Error 2
> make[1]: *** [Makefile:1043: arch/powerpc] Error 2
> make: *** [Makefile:152: sub-make] Error 2
>
> This patch adds a blank definition of MC_BTB_FLUSH for other cases.
>
> Fixes: 10c5e83afd4a ("powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)")
> Cc: Diana Craciun <diana.craciun@....com>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> Reviewed-by: Daniel Axtens <dja@...ens.net>
> Reviewed-by: Diana Craciun <diana.craciun@....com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/27da80719ef132cf8c80eb406d5aeb37
cheers
Powered by blists - more mailing lists