mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding
@ 2022-03-08 15:35 Qian Cai
  2022-03-08 16:10 ` Daniel Thompson
  2022-03-10  1:10 ` Andrew Morton
  0 siblings, 2 replies; 3+ messages in thread
From: Qian Cai @ 2022-03-08 15:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Qian Cai, Daniel Thompson

Previously, I failed to realize that Kees' patch [1] has not been merged
into the mainline yet, and dropped DEBUG_INFO=y too eagerly from the
mainline. As the results, "make debug.config" won't be able to flip
DEBUG_INFO=n from the existing .config. This should close the gaps of a
few weeks before Kees' patch is there, and work regardless of their
merging status anyway.

[1] https://lore.kernel.org/all/20220125075126.891825-1-keescook@chromium.org/

Reported-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Qian Cai <quic_qiancai@quicinc.com>
---
 kernel/configs/debug.config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/configs/debug.config b/kernel/configs/debug.config
index 07df6d93c4df..e8db8d938661 100644
--- a/kernel/configs/debug.config
+++ b/kernel/configs/debug.config
@@ -16,6 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y
 #
 # Compile-time checks and compiler options
 #
+CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
 CONFIG_DEBUG_SECTION_MISMATCH=y
 CONFIG_FRAME_WARN=2048
-- 
2.30.2


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

* Re: [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding
  2022-03-08 15:35 [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding Qian Cai
@ 2022-03-08 16:10 ` Daniel Thompson
  2022-03-10  1:10 ` Andrew Morton
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Thompson @ 2022-03-08 16:10 UTC (permalink / raw)
  To: Qian Cai; +Cc: Andrew Morton, linux-kernel

On Tue, Mar 08, 2022 at 10:35:24AM -0500, Qian Cai wrote:
> Previously, I failed to realize that Kees' patch [1] has not been merged
> into the mainline yet, and dropped DEBUG_INFO=y too eagerly from the
> mainline. As the results, "make debug.config" won't be able to flip
> DEBUG_INFO=n from the existing .config. This should close the gaps of a
> few weeks before Kees' patch is there, and work regardless of their
> merging status anyway.
> 
> [1] https://lore.kernel.org/all/20220125075126.891825-1-keescook@chromium.org/
> 
> Reported-by: Daniel Thompson <daniel.thompson@linaro.org>
> Signed-off-by: Qian Cai <quic_qiancai@quicinc.com>

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>


Daniel.


> ---
>  kernel/configs/debug.config | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/configs/debug.config b/kernel/configs/debug.config
> index 07df6d93c4df..e8db8d938661 100644
> --- a/kernel/configs/debug.config
> +++ b/kernel/configs/debug.config
> @@ -16,6 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y
>  #
>  # Compile-time checks and compiler options
>  #
> +CONFIG_DEBUG_INFO=y
>  CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
>  CONFIG_DEBUG_SECTION_MISMATCH=y
>  CONFIG_FRAME_WARN=2048
> -- 
> 2.30.2
> 

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

* Re: [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding
  2022-03-08 15:35 [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding Qian Cai
  2022-03-08 16:10 ` Daniel Thompson
@ 2022-03-10  1:10 ` Andrew Morton
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2022-03-10  1:10 UTC (permalink / raw)
  To: Qian Cai; +Cc: linux-kernel, Daniel Thompson, Kees Cook

On Tue, 8 Mar 2022 10:35:24 -0500 Qian Cai <quic_qiancai@quicinc.com> wrote:

> Previously, I failed to realize that Kees' patch [1] has not been merged
> into the mainline yet, and dropped DEBUG_INFO=y too eagerly from the
> mainline. As the results, "make debug.config" won't be able to flip
> DEBUG_INFO=n from the existing .config. This should close the gaps of a
> few weeks before Kees' patch is there, and work regardless of their
> merging status anyway.
> 
> [1] https://lore.kernel.org/all/20220125075126.891825-1-keescook@chromium.org/
> 
> ...
>
> --- a/kernel/configs/debug.config
> +++ b/kernel/configs/debug.config
> @@ -16,6 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y
>  #
>  # Compile-time checks and compiler options
>  #
> +CONFIG_DEBUG_INFO=y
>  CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
>  CONFIG_DEBUG_SECTION_MISMATCH=y
>  CONFIG_FRAME_WARN=2048

Thanks, I queued this for 5.17,

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

end of thread, other threads:[~2022-03-10  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08 15:35 [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding Qian Cai
2022-03-08 16:10 ` Daniel Thompson
2022-03-10  1:10 ` Andrew Morton

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

all inboxes | Powered by JetHome®