* [PATCH] x86: tinyconfig: fix warning for 'make ARCH=x86_64 tinyconfig'
@ 2024-03-20 15:43 Masahiro Yamada
2024-03-21 9:22 ` [tip: x86/urgent] x86/config: Fix " tip-bot2 for Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2024-03-20 15:43 UTC (permalink / raw)
To: x86, Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen
Cc: linux-kbuild, linux-kernel, H . Peter Anvin, Josh Poimboeuf,
Masahiro Yamada
Kconfig emits a warning for the following command:
$ make ARCH=x86_64 tinyconfig
[ snip ]
.config:1380:warning: override: UNWINDER_GUESS changes choice state
When X86_64=y, the unwinder is exclusively selected from the following
three options:
- UNWINDER_ORC
- UNWINDER_FRAME_POINTER
- UNWINDER_GUESS
However, arch/x86/configs/tiny.config only specifies the values of the
last two. UNWINDER_ORC must be explicitly disabled.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/x86/configs/tiny.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config
index 66c9e2aab16c..be3ee4294903 100644
--- a/arch/x86/configs/tiny.config
+++ b/arch/x86/configs/tiny.config
@@ -1,5 +1,6 @@
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
+# CONFIG_UNWINDER_ORC is not set
CONFIG_UNWINDER_GUESS=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip: x86/urgent] x86/config: Fix warning for 'make ARCH=x86_64 tinyconfig'
2024-03-20 15:43 [PATCH] x86: tinyconfig: fix warning for 'make ARCH=x86_64 tinyconfig' Masahiro Yamada
@ 2024-03-21 9:22 ` tip-bot2 for Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Masahiro Yamada @ 2024-03-21 9:22 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Masahiro Yamada, Ingo Molnar, x86, linux-kernel
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: b0f269728ccd1d3cabcb6f3a5b610147d98a5dd6
Gitweb: https://git.kernel.org/tip/b0f269728ccd1d3cabcb6f3a5b610147d98a5dd6
Author: Masahiro Yamada <masahiroy@kernel.org>
AuthorDate: Thu, 21 Mar 2024 00:43:12 +09:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 21 Mar 2024 10:09:41 +01:00
x86/config: Fix warning for 'make ARCH=x86_64 tinyconfig'
Kconfig emits a warning for the following command:
$ make ARCH=x86_64 tinyconfig
...
.config:1380:warning: override: UNWINDER_GUESS changes choice state
When X86_64=y, the unwinder is exclusively selected from the following
three options:
- UNWINDER_ORC
- UNWINDER_FRAME_POINTER
- UNWINDER_GUESS
However, arch/x86/configs/tiny.config only specifies the values of the
last two. UNWINDER_ORC must be explicitly disabled.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240320154313.612342-1-masahiroy@kernel.org
---
arch/x86/configs/tiny.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config
index 66c9e2a..be3ee42 100644
--- a/arch/x86/configs/tiny.config
+++ b/arch/x86/configs/tiny.config
@@ -1,5 +1,6 @@
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
+# CONFIG_UNWINDER_ORC is not set
CONFIG_UNWINDER_GUESS=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-21 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 15:43 [PATCH] x86: tinyconfig: fix warning for 'make ARCH=x86_64 tinyconfig' Masahiro Yamada
2024-03-21 9:22 ` [tip: x86/urgent] x86/config: Fix " tip-bot2 for Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox