[PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT

Anand Moon posted 1 patch 2 months ago
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
Posted by Anand Moon 2 months ago
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

base-commit: 11a299a7933e03c83818b431e6a1c53ad387423d
-- 
2.44.0

Re: [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
Posted by Catalin Marinas 2 months ago
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.

-- 
Catalin
Re: [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
Posted by Anand Moon 2 months ago
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