[PATCH] powerpc/configs: Turn CONFIG_RELOCATABLE on by default

Christophe Leroy christophe.leroy at csgroup.eu
Wed Mar 9 20:15:48 AEDT 2022



Le 12/05/2017 à 07:36, Balbir Singh a écrit :
> On powernv/pseries and ppc64 defconfigs
> 
> Most distros will want it on by default and I've missed
> turning it on during developer testing. Having it on ensures
> we are testing our patches with the config enabled.
> 
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>

Today it is already on by default on pseries_defconfig and ppc64_defconfig.

Only powernv_defconfig would need it explicitely if this patch is still 
relevant.

> ---
>   arch/powerpc/configs/powernv_defconfig | 1 +
>   arch/powerpc/configs/ppc64_defconfig   | 1 +
>   arch/powerpc/configs/pseries_defconfig | 1 +
>   3 files changed, 3 insertions(+)
> 
> diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> index 0695ce0..eca7189 100644
> --- a/arch/powerpc/configs/powernv_defconfig
> +++ b/arch/powerpc/configs/powernv_defconfig
> @@ -52,6 +52,7 @@ CONFIG_PPC_TRANSACTIONAL_MEM=y
>   CONFIG_HOTPLUG_CPU=y
>   CONFIG_KEXEC=y
>   CONFIG_KEXEC_FILE=y
> +CONFIG_RELOCATABLE=y
>   CONFIG_IRQ_ALL_CPUS=y
>   CONFIG_NUMA=y
>   CONFIG_MEMORY_HOTPLUG=y
> diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
> index 5175028..ba30841 100644
> --- a/arch/powerpc/configs/ppc64_defconfig
> +++ b/arch/powerpc/configs/ppc64_defconfig
> @@ -49,6 +49,7 @@ CONFIG_BINFMT_MISC=m
>   CONFIG_PPC_TRANSACTIONAL_MEM=y
>   CONFIG_KEXEC=y
>   CONFIG_KEXEC_FILE=y
> +CONFIG_RELOCATABLE=y
>   CONFIG_CRASH_DUMP=y
>   CONFIG_IRQ_ALL_CPUS=y
>   CONFIG_MEMORY_HOTREMOVE=y
> diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
> index 1a61aa2..54954b6 100644
> --- a/arch/powerpc/configs/pseries_defconfig
> +++ b/arch/powerpc/configs/pseries_defconfig
> @@ -55,6 +55,7 @@ CONFIG_BINFMT_MISC=m
>   CONFIG_PPC_TRANSACTIONAL_MEM=y
>   CONFIG_KEXEC=y
>   CONFIG_KEXEC_FILE=y
> +CONFIG_RELOCATABLE=y
>   CONFIG_IRQ_ALL_CPUS=y
>   CONFIG_MEMORY_HOTPLUG=y
>   CONFIG_MEMORY_HOTREMOVE=y


More information about the Linuxppc-dev mailing list