linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/configs: update configs in x86_debug.config
@ 2022-07-22 12:18 Lukas Bulwahn
  2022-07-22 14:54 ` Borislav Petkov
  2022-07-28 10:36 ` [tip: x86/urgent] x86/configs: Update " tip-bot2 for Lukas Bulwahn
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas Bulwahn @ 2022-07-22 12:18 UTC (permalink / raw)
  To: Borislav Petkov, Dave Hansen, x86
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

Commit 4675ff05de2d ("kmemcheck: rip it out") removes kmemcheck and its
corresponding build config KMEMCHECK.

Commit 0f620cefd775 ("objtool: Rename "VMLINUX_VALIDATION" ->
"NOINSTR_VALIDATION"") renamed the debug config option.

Adjust x86_debug.config to those changes in debug configs.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 kernel/configs/x86_debug.config | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/configs/x86_debug.config b/kernel/configs/x86_debug.config
index dcd86f32f4ed..6fac5b405334 100644
--- a/kernel/configs/x86_debug.config
+++ b/kernel/configs/x86_debug.config
@@ -7,12 +7,11 @@ CONFIG_DEBUG_SLAB=y
 CONFIG_DEBUG_KMEMLEAK=y
 CONFIG_DEBUG_PAGEALLOC=y
 CONFIG_SLUB_DEBUG_ON=y
-CONFIG_KMEMCHECK=y
 CONFIG_DEBUG_OBJECTS=y
 CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
 CONFIG_GCOV_KERNEL=y
 CONFIG_LOCKDEP=y
 CONFIG_PROVE_LOCKING=y
 CONFIG_SCHEDSTATS=y
-CONFIG_VMLINUX_VALIDATION=y
+CONFIG_NOINSTR_VALIDATION=y
 CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
-- 
2.17.1


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

* Re: [PATCH] x86/configs: update configs in x86_debug.config
  2022-07-22 12:18 [PATCH] x86/configs: update configs in x86_debug.config Lukas Bulwahn
@ 2022-07-22 14:54 ` Borislav Petkov
  2022-07-27  4:50   ` Lukas Bulwahn
  2022-07-28 10:36 ` [tip: x86/urgent] x86/configs: Update " tip-bot2 for Lukas Bulwahn
  1 sibling, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2022-07-22 14:54 UTC (permalink / raw)
  To: Lukas Bulwahn; +Cc: Dave Hansen, x86, kernel-janitors, linux-kernel

On Fri, Jul 22, 2022 at 02:18:15PM +0200, Lukas Bulwahn wrote:
> Commit 4675ff05de2d ("kmemcheck: rip it out") removes kmemcheck and its
> corresponding build config KMEMCHECK.
> 
> Commit 0f620cefd775 ("objtool: Rename "VMLINUX_VALIDATION" ->
> "NOINSTR_VALIDATION"") renamed the debug config option.
> 
> Adjust x86_debug.config to those changes in debug configs.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  kernel/configs/x86_debug.config | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/kernel/configs/x86_debug.config b/kernel/configs/x86_debug.config
> index dcd86f32f4ed..6fac5b405334 100644
> --- a/kernel/configs/x86_debug.config
> +++ b/kernel/configs/x86_debug.config
> @@ -7,12 +7,11 @@ CONFIG_DEBUG_SLAB=y
>  CONFIG_DEBUG_KMEMLEAK=y
>  CONFIG_DEBUG_PAGEALLOC=y
>  CONFIG_SLUB_DEBUG_ON=y
> -CONFIG_KMEMCHECK=y

While at it, you might also whack the last mention of KMEMCHECK:

$ git grep KMEMCHECK
kernel/configs/x86_debug.config:10:CONFIG_KMEMCHECK=y
tools/testing/selftests/wireguard/qemu/debug.config:21:CONFIG_HAVE_ARCH_KMEMCHECK=y

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

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

* Re: [PATCH] x86/configs: update configs in x86_debug.config
  2022-07-22 14:54 ` Borislav Petkov
@ 2022-07-27  4:50   ` Lukas Bulwahn
  0 siblings, 0 replies; 4+ messages in thread
From: Lukas Bulwahn @ 2022-07-27  4:50 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Dave Hansen, X86 ML, kernel-janitors, Linux Kernel Mailing List

On Fri, Jul 22, 2022 at 4:54 PM Borislav Petkov <bp@alien8.de> wrote:
>
> On Fri, Jul 22, 2022 at 02:18:15PM +0200, Lukas Bulwahn wrote:
> > Commit 4675ff05de2d ("kmemcheck: rip it out") removes kmemcheck and its
> > corresponding build config KMEMCHECK.
> >
> > Commit 0f620cefd775 ("objtool: Rename "VMLINUX_VALIDATION" ->
> > "NOINSTR_VALIDATION"") renamed the debug config option.
> >
> > Adjust x86_debug.config to those changes in debug configs.
> >
> > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> > ---
> >  kernel/configs/x86_debug.config | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/kernel/configs/x86_debug.config b/kernel/configs/x86_debug.config
> > index dcd86f32f4ed..6fac5b405334 100644
> > --- a/kernel/configs/x86_debug.config
> > +++ b/kernel/configs/x86_debug.config
> > @@ -7,12 +7,11 @@ CONFIG_DEBUG_SLAB=y
> >  CONFIG_DEBUG_KMEMLEAK=y
> >  CONFIG_DEBUG_PAGEALLOC=y
> >  CONFIG_SLUB_DEBUG_ON=y
> > -CONFIG_KMEMCHECK=y
>
> While at it, you might also whack the last mention of KMEMCHECK:
>
> $ git grep KMEMCHECK
> kernel/configs/x86_debug.config:10:CONFIG_KMEMCHECK=y
> tools/testing/selftests/wireguard/qemu/debug.config:21:CONFIG_HAVE_ARCH_KMEMCHECK=y
>

Boris, I did so and sent out a patch for wireguard selftests:

https://lore.kernel.org/all/20220726130058.21833-1-lukas.bulwahn@gmail.com/

I hope you can pick this patch for the x86 config.

Thanks for the pointer.

Lukas

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

* [tip: x86/urgent] x86/configs: Update configs in x86_debug.config
  2022-07-22 12:18 [PATCH] x86/configs: update configs in x86_debug.config Lukas Bulwahn
  2022-07-22 14:54 ` Borislav Petkov
@ 2022-07-28 10:36 ` tip-bot2 for Lukas Bulwahn
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot2 for Lukas Bulwahn @ 2022-07-28 10:36 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Lukas Bulwahn, Borislav Petkov, x86, linux-kernel

The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     871808fd6981bcc6bb48f71032f983ca77748e96
Gitweb:        https://git.kernel.org/tip/871808fd6981bcc6bb48f71032f983ca77748e96
Author:        Lukas Bulwahn <lukas.bulwahn@gmail.com>
AuthorDate:    Fri, 22 Jul 2022 14:18:15 +02:00
Committer:     Borislav Petkov <bp@suse.de>
CommitterDate: Wed, 27 Jul 2022 18:09:11 +02:00

x86/configs: Update configs in x86_debug.config

Commit

  4675ff05de2d ("kmemcheck: rip it out")

removed kmemcheck and its corresponding build config KMEMCHECK.

Commit

  0f620cefd775 ("objtool: Rename "VMLINUX_VALIDATION" -> "NOINSTR_VALIDATION"")

renamed the debug config option.

Adjust x86_debug.config to those changes in debug configs.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220722121815.27535-1-lukas.bulwahn@gmail.com
---
 kernel/configs/x86_debug.config | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/configs/x86_debug.config b/kernel/configs/x86_debug.config
index dcd86f3..6fac5b4 100644
--- a/kernel/configs/x86_debug.config
+++ b/kernel/configs/x86_debug.config
@@ -7,12 +7,11 @@ CONFIG_DEBUG_SLAB=y
 CONFIG_DEBUG_KMEMLEAK=y
 CONFIG_DEBUG_PAGEALLOC=y
 CONFIG_SLUB_DEBUG_ON=y
-CONFIG_KMEMCHECK=y
 CONFIG_DEBUG_OBJECTS=y
 CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
 CONFIG_GCOV_KERNEL=y
 CONFIG_LOCKDEP=y
 CONFIG_PROVE_LOCKING=y
 CONFIG_SCHEDSTATS=y
-CONFIG_VMLINUX_VALIDATION=y
+CONFIG_NOINSTR_VALIDATION=y
 CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y

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

end of thread, other threads:[~2022-07-28 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 12:18 [PATCH] x86/configs: update configs in x86_debug.config Lukas Bulwahn
2022-07-22 14:54 ` Borislav Petkov
2022-07-27  4:50   ` Lukas Bulwahn
2022-07-28 10:36 ` [tip: x86/urgent] x86/configs: Update " tip-bot2 for Lukas Bulwahn

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).