public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] kernel: enable CONFIG_VMAP_STACK on i586 and armv5tel
@ 2020-06-09 17:26 Peter Müller
  2020-06-10  7:02 ` Arne Fitzenreiter
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Müller @ 2020-06-09 17:26 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

Fixes: #12368

Cc: Arne Fitzenreiter <arne.fitzenreiter(a)ipfire.org>
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
 config/kernel/kernel.config.armv5tel-ipfire-multi | 3 ++-
 config/kernel/kernel.config.i586-ipfire           | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi b/config/kernel/kernel.config.armv5tel-ipfire-multi
index 15183300f..5687574ca 100644
--- a/config/kernel/kernel.config.armv5tel-ipfire-multi
+++ b/config/kernel/kernel.config.armv5tel-ipfire-multi
@@ -279,7 +279,8 @@ CONFIG_CLONE_BACKWARDS=y
 CONFIG_OLD_SIGSUSPEND3=y
 CONFIG_OLD_SIGACTION=y
 # CONFIG_CPU_NO_EFFICIENT_FFS is not set
-# CONFIG_HAVE_ARCH_VMAP_STACK is not set
+CONFIG_HAVE_ARCH_VMAP_STACK=y
+CONFIG_VMAP_STACK=y
 CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
 CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
 CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
index 578931497..9326d086b 100644
--- a/config/kernel/kernel.config.i586-ipfire
+++ b/config/kernel/kernel.config.i586-ipfire
@@ -309,7 +309,8 @@ CONFIG_CLONE_BACKWARDS=y
 CONFIG_OLD_SIGSUSPEND3=y
 CONFIG_OLD_SIGACTION=y
 # CONFIG_CPU_NO_EFFICIENT_FFS is not set
-# CONFIG_HAVE_ARCH_VMAP_STACK is not set
+CONFIG_HAVE_ARCH_VMAP_STACK=y
+CONFIG_VMAP_STACK=y
 # CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
 # CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
 CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
-- 
2.26.2

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

* Re: [PATCH] kernel: enable CONFIG_VMAP_STACK on i586 and armv5tel
  2020-06-09 17:26 [PATCH] kernel: enable CONFIG_VMAP_STACK on i586 and armv5tel Peter Müller
@ 2020-06-10  7:02 ` Arne Fitzenreiter
  0 siblings, 0 replies; 2+ messages in thread
From: Arne Fitzenreiter @ 2020-06-10  7:02 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1797 bytes --]

32bit arches does not support VMAP_STACK

CONFIG_HAVE_ARCH_xxxx are not editable and reset at make.
It looks like you have not validated the changes by the make scripts.

Arne


Am 2020-06-09 19:26, schrieb Peter Müller:
> Fixes: #12368
> 
> Cc: Arne Fitzenreiter <arne.fitzenreiter(a)ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> ---
>  config/kernel/kernel.config.armv5tel-ipfire-multi | 3 ++-
>  config/kernel/kernel.config.i586-ipfire           | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi
> b/config/kernel/kernel.config.armv5tel-ipfire-multi
> index 15183300f..5687574ca 100644
> --- a/config/kernel/kernel.config.armv5tel-ipfire-multi
> +++ b/config/kernel/kernel.config.armv5tel-ipfire-multi
> @@ -279,7 +279,8 @@ CONFIG_CLONE_BACKWARDS=y
>  CONFIG_OLD_SIGSUSPEND3=y
>  CONFIG_OLD_SIGACTION=y
>  # CONFIG_CPU_NO_EFFICIENT_FFS is not set
> -# CONFIG_HAVE_ARCH_VMAP_STACK is not set
> +CONFIG_HAVE_ARCH_VMAP_STACK=y
> +CONFIG_VMAP_STACK=y
>  CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
>  CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
>  CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
> diff --git a/config/kernel/kernel.config.i586-ipfire
> b/config/kernel/kernel.config.i586-ipfire
> index 578931497..9326d086b 100644
> --- a/config/kernel/kernel.config.i586-ipfire
> +++ b/config/kernel/kernel.config.i586-ipfire
> @@ -309,7 +309,8 @@ CONFIG_CLONE_BACKWARDS=y
>  CONFIG_OLD_SIGSUSPEND3=y
>  CONFIG_OLD_SIGACTION=y
>  # CONFIG_CPU_NO_EFFICIENT_FFS is not set
> -# CONFIG_HAVE_ARCH_VMAP_STACK is not set
> +CONFIG_HAVE_ARCH_VMAP_STACK=y
> +CONFIG_VMAP_STACK=y
>  # CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
>  # CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
>  CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y

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

end of thread, other threads:[~2020-06-10  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 17:26 [PATCH] kernel: enable CONFIG_VMAP_STACK on i586 and armv5tel Peter Müller
2020-06-10  7:02 ` Arne Fitzenreiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox