Re: [RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-30 Thread Christophe Leroy
Le 30/08/2021 à 08:55, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of August 28, 2021 7:59 pm: Le 27/08/2021 à 18:34, Nicholas Piggin a écrit : Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash MMU code to be compiled out if radix is selected

Re: [RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-30 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 28, 2021 7:59 pm: > > > Le 27/08/2021 à 18:34, Nicholas Piggin a écrit : >> Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash >> MMU code to be compiled out if radix is selected and the minimum >> supported CPU type is

Re: [RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-30 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 28, 2021 7:34 pm: > > > Le 27/08/2021 à 18:34, Nicholas Piggin a écrit : >> Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash >> MMU code to be compiled out if radix is selected and the minimum >> supported CPU type is

Re: [RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-28 Thread Christophe Leroy
Le 27/08/2021 à 18:34, Nicholas Piggin a écrit : Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash MMU code to be compiled out if radix is selected and the minimum supported CPU type is POWER9 or higher, and KVM is not selected. This saves 128kB kernel image size (90kB

Re: [RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-28 Thread Christophe Leroy
Le 27/08/2021 à 18:34, Nicholas Piggin a écrit : Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash MMU code to be compiled out if radix is selected and the minimum supported CPU type is POWER9 or higher, and KVM is not selected. This saves 128kB kernel image size (90kB

[RFC PATCH 4/6] powerpc/64s: Make hash MMU code build configurable

2021-08-27 Thread Nicholas Piggin
Introduce a new option CONFIG_PPC_64S_HASH_MMU which allows the 64s hash MMU code to be compiled out if radix is selected and the minimum supported CPU type is POWER9 or higher, and KVM is not selected. This saves 128kB kernel image size (90kB text) on powernv_defconfig minus KVM, 350kB on