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

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1620d

2 messages, 2 authors, 2022-03-09 · open the first message on its own page

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

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-05-12 05:36:24

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@gmail.com>
---
 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
-- 
2.9.3

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

From: Christophe Leroy <hidden>
Date: 2022-03-09 09:16:21


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@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.
quoted hunk
---
  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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help