diff mbox series

[v1] arm64: defconfig: Enable CONFIG_EXPERT

Message ID 20240926145817.1124-1-linux.amoon@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1] arm64: defconfig: Enable CONFIG_EXPERT | expand

Commit Message

Anand Moon Sept. 26, 2024, 2:58 p.m. UTC
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 <bigeasy@linutronix.de>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)


base-commit: 11a299a7933e03c83818b431e6a1c53ad387423d

Comments

Catalin Marinas Sept. 26, 2024, 5:04 p.m. UTC | #1
On Thu, Sep 26, 2024 at 08:28:16PM +0530, Anand Moon wrote:
> 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 <bigeasy@linutronix.de>
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 5fdbfea7a5b2..3d9d29eb0c13 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -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.
Anand Moon Sept. 27, 2024, 3:40 a.m. UTC | #2
Hi Catalin,

On Thu, 26 Sept 2024 at 22:34, Catalin Marinas <catalin.marinas@arm.com> wrote:
>
> On Thu, Sep 26, 2024 at 08:28:16PM +0530, Anand Moon wrote:
> > 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 <bigeasy@linutronix.de>
> > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > ---
> >  arch/arm64/configs/defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 5fdbfea7a5b2..3d9d29eb0c13 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -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.
>
Ok, I will enable this in my distro config.
> --
> Catalin

Thanks
-Anand
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5fdbfea7a5b2..3d9d29eb0c13 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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