linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
@ 2024-09-26 14:58 Anand Moon
  2024-09-26 17:04 ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Anand Moon @ 2024-09-26 14:58 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Anand Moon, Sebastian Andrzej Siewior, linux-arm-kernel,
	linux-kernel

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
  2024-09-26 14:58 [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT Anand Moon
@ 2024-09-26 17:04 ` Catalin Marinas
  2024-09-27  3:40   ` Anand Moon
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2024-09-26 17:04 UTC (permalink / raw)
  To: Anand Moon
  Cc: Will Deacon, Sebastian Andrzej Siewior, linux-arm-kernel,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT
  2024-09-26 17:04 ` Catalin Marinas
@ 2024-09-27  3:40   ` Anand Moon
  0 siblings, 0 replies; 3+ messages in thread
From: Anand Moon @ 2024-09-27  3:40 UTC (permalink / raw)
  To: Catalin Marinas
  Cc: Will Deacon, Sebastian Andrzej Siewior, linux-arm-kernel,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-27  3:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 14:58 [PATCH v1] arm64: defconfig: Enable CONFIG_EXPERT Anand Moon
2024-09-26 17:04 ` Catalin Marinas
2024-09-27  3:40   ` Anand Moon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).