Skip to contentSkip to conversation

arm64: defconfig: Enable CONFIG_EXPERT

PATCH In review Anand Moon 2 participants 3 messages Sep 26, 2024 – Sep 27, 2024

lore
Share & tools
lore

Anand Moon

author
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable CONFIG_EXPERT

Enable CONFIG_EXPERT to allow the configuration of PREEMPT_RT.

PREEMPT_RT depends on the following configuration:

CONFIG_PREEMPT_RT

	bool “Fully Preemptible Kernel (Real-Time)”
	depends on CONFIG_EXPERT && ARCH_SUPPORTS_RT
	select PREEMPTION
Cc Sebastian Andrzej Siewior <[email protected]>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 5fdbfea7a5b2..3d9d29eb0c13 100644
@@ -28,6 +28,7 @@ CONFIG_CGROUP_BPF=y
 CONFIG_USER_NS=y
 CONFIG_SCHED_AUTOGROUP=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
 CONFIG_KALLSYMS_ALL=y
 CONFIG_PROFILING=y
 CONFIG_KEXEC=y

base-commit: 11a299a7933e03c83818b431e6a1c53ad387423d

Signature · 1 line
2.44.0
#1 lore raw
Quoted 20 lines · Anand Moon

Enable CONFIG_EXPERT to allow the configuration of PREEMPT_RT.

PREEMPT_RT depends on the following configuration:

CONFIG_PREEMPT_RT

	bool “Fully Preemptible Kernel (Real-Time)”
	depends on CONFIG_EXPERT && ARCH_SUPPORTS_RT
	select PREEMPTION
Cc Sebastian Andrzej Siewior <[email protected]>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +0 -0
index 5fdbfea7a5b2..3d9d29eb0c13 100644

arch/arm64/configs/defconfig CONFIG_CGROUP_BPF=y · line 34

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_CGROUP_BPF=y
 CONFIG_USER_NS=y
 CONFIG_SCHED_AUTOGROUP=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
 CONFIG_KALLSYMS_ALL=y
 CONFIG_PROFILING=y
 CONFIG_KEXEC=y

EXPERT is not really for defconfig (at least not for the arm64 one). Distros can (and do) enable it if they want. Also PREEMPT_RT is default off, so you'd have to enable it in your config anyway, not sure what this patch helps with.

Signature · 1 line
Catalin
author
#2 lore raw

Hi Catalin,

Quoted 26 lines · Catalin Marinas
Quoted 24 lines · Anand Moon

Enable CONFIG_EXPERT to allow the configuration of PREEMPT_RT.

PREEMPT_RT depends on the following configuration:

CONFIG_PREEMPT_RT
bool “Fully Preemptible Kernel (Real-Time)” depends on CONFIG_EXPERT && ARCH_SUPPORTS_RT select PREEMPTION

Cc Sebastian Andrzej Siewior <[email protected]>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 5fdbfea7a5b2..3d9d29eb0c13 100644
@@ -28,6 +28,7 @@ CONFIG_CGROUP_BPF=y
 CONFIG_USER_NS=y
 CONFIG_SCHED_AUTOGROUP=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
Quoted 9 lines

arch/arm64/configs/defconfig CONFIG_CGROUP_BPF=y · line 34

Quoted 3 lines
arch/arm64/configs/defconfig +0 -0
 CONFIG_KALLSYMS_ALL=y
 CONFIG_PROFILING=y
 CONFIG_KEXEC=y

EXPERT is not really for defconfig (at least not for the arm64 one). Distros can (and do) enable it if they want. Also PREEMPT_RT is default off, so you'd have to enable it in your config anyway, not sure what this patch helps with.

Ok, I will enable this in my distro config.

Quoted 2 lines

--
Catalin

Thanks
-Anand