diff mbox series

[isar-cip-core,1/1] PREEMPT_RT: enable isolcpus feature set

Message ID 20240808143104.542740-1-felix.moessbauer@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core,1/1] PREEMPT_RT: enable isolcpus feature set | expand

Commit Message

Felix Moessbauer Aug. 8, 2024, 2:31 p.m. UTC
The current cip-rt kernel config does not enable the isolcpus feature
set. As almost all current rt deployments still rely on the isolcpus
feature, we should also enable it here. It anyways only comes into play
when setting the isolcpus= kernel cmdline parameter. By that, we just
set the kconfig option CONFIG_CPU_ISOLATION=y for the preempt-rt kernel.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 recipes-kernel/linux/files/preempt-rt.cfg | 1 +
 1 file changed, 1 insertion(+)

Comments

Jan Kiszka Aug. 9, 2024, 3:26 p.m. UTC | #1
On 08.08.24 16:31, Felix Moessbauer wrote:
> The current cip-rt kernel config does not enable the isolcpus feature
> set. As almost all current rt deployments still rely on the isolcpus
> feature, we should also enable it here. It anyways only comes into play
> when setting the isolcpus= kernel cmdline parameter. By that, we just
> set the kconfig option CONFIG_CPU_ISOLATION=y for the preempt-rt kernel.
> 
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
>  recipes-kernel/linux/files/preempt-rt.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-kernel/linux/files/preempt-rt.cfg b/recipes-kernel/linux/files/preempt-rt.cfg
> index ea37556..afbf53d 100644
> --- a/recipes-kernel/linux/files/preempt-rt.cfg
> +++ b/recipes-kernel/linux/files/preempt-rt.cfg
> @@ -2,6 +2,7 @@
>  CONFIG_EXPERT=y
>  CONFIG_PREEMPT_RT=y
>  CONFIG_RT_GROUP_SCHED=n
> +CONFIG_CPU_ISOLATION=y
>  # <= 4.19
>  CONFIG_PREEMPT_RT_FULL=y
>  

Thanks, applied.

Jan
diff mbox series

Patch

diff --git a/recipes-kernel/linux/files/preempt-rt.cfg b/recipes-kernel/linux/files/preempt-rt.cfg
index ea37556..afbf53d 100644
--- a/recipes-kernel/linux/files/preempt-rt.cfg
+++ b/recipes-kernel/linux/files/preempt-rt.cfg
@@ -2,6 +2,7 @@ 
 CONFIG_EXPERT=y
 CONFIG_PREEMPT_RT=y
 CONFIG_RT_GROUP_SCHED=n
+CONFIG_CPU_ISOLATION=y
 # <= 4.19
 CONFIG_PREEMPT_RT_FULL=y