]> www.infradead.org Git - users/dwmw2/linux.git/commit
powerpc/64s: update cpu selection options
authorNicholas Piggin <npiggin@gmail.com>
Wed, 21 Sep 2022 01:41:03 +0000 (11:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:10 +0000 (19:22 +1000)
commit7fd123e544886bf04fa853869efe55cb3f22d0c0
tree555194e7b8ac19dfd6350a996cfda0f2a9443493
parent58ec7f06b74e0d6e76c4110afce367c8b5f0837d
powerpc/64s: update cpu selection options

Update the 64s GENERIC_CPU option. POWER4 support has been dropped, so
make that clear in the option name. The POWER5_CPU option is dropped
because it's uncommon, and GENERIC_CPU covers it.

-mtune= before power8 is dropped because the minimum gcc version
supports power8, and tuning is made consistent between big and little
endian.

A 970 option is added for PowerPC 970 / G5 because they still have a
user base, and -mtune=power8 does not generate good code for the 970.

This also updates the ISA versions document to add Power4/Power4+
because I didn't realise Power4+ used 2.01.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220921014103.587954-2-npiggin@gmail.com
Documentation/powerpc/isa-versions.rst
arch/powerpc/Makefile
arch/powerpc/platforms/Kconfig.cputype