[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKXUXMxtJPmEe4o8qs4PejJzhu+pBmhUJWUpVQJy5q8y1=Qr0g@mail.gmail.com>
Date: Wed, 27 Jul 2022 06:50:31 +0200
From: Lukas Bulwahn <lukas.bulwahn@...il.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>, X86 ML <x86@...nel.org>,
kernel-janitors <kernel-janitors@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86/configs: update configs in x86_debug.config
On Fri, Jul 22, 2022 at 4:54 PM Borislav Petkov <bp@...en8.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@...il.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
Powered by blists - more mailing lists