[PATCH v1 1/5] powerpc/64: Set default CPU in Kconfig

Michael Ellerman patch-notifications at ellerman.id.au
Mon Feb 20 14:53:59 AEDT 2023


On Mon, 19 Dec 2022 19:45:56 +0100, Christophe Leroy wrote:
> Since 0069f3d14e7a ("powerpc/64e: Tie PPC_BOOK3E_64 to PPC_E500MC"), the
> only possible BOOK3E/64 are E500, so no need of a default CPU over the
> E5500.
> 
> When the user selects book3e, they must have an e500 compatible
> compiler, and it won't work anymore with the default -mcpu=power64, see
> commit d6b551b8f90c ("powerpc/64e: Fix build failure with GCC 12
> (unrecognized opcode: `wrteei')").
> 
> [...]

Patches 2, 3 & 5 applied to powerpc/next.

[2/5] powerpc: Pass correct CPU reference to assembler
      https://git.kernel.org/powerpc/c/bfb03af71a3798b5a88a945a9c19ad67e1c4986d
[3/5] powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500
      https://git.kernel.org/powerpc/c/77e82fa1f9781a958a6ea4aed7aec41239a5a22f
[5/5] powerpc/epapr: Don't use wrteei on non booke
      https://git.kernel.org/powerpc/c/3c2ce4912a6f44dfb11bc5d241b13e9f5d79078b

cheers


More information about the Linuxppc-dev mailing list