All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, microcode: Correct kconfig dependencies
@ 2013-10-13 16:36 Borislav Petkov
  2013-10-14  9:34 ` [tip:x86/urgent] x86/microcode: Correct Kconfig dependencies tip-bot for Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2013-10-13 16:36 UTC (permalink / raw)
  To: X86 ML; +Cc: LKML, Borislav Petkov

From: Borislav Petkov <bp@suse.de>

I have a randconfig here which has enabled only

 CONFIG_MICROCODE=y
 CONFIG_MICROCODE_OLD_INTERFACE=y

with both

 # CONFIG_MICROCODE_INTEL is not set
 # CONFIG_MICROCODE_AMD is not set

off. Which makes building the microcode functionality a little
pointless. Don't do that in such cases then.

Signed-off-by: Borislav Petkov <bp@suse.de>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8076f1d9e4e7..945492c9b285 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1071,6 +1071,7 @@ config X86_REBOOTFIXUPS
 
 config MICROCODE
 	tristate "CPU microcode loading support"
+	depends on CPU_SUP_AMD || CPU_SUP_INTEL
 	select FW_LOADER
 	---help---
 
-- 
1.8.4


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

* [tip:x86/urgent] x86/microcode: Correct Kconfig dependencies
  2013-10-13 16:36 [PATCH] x86, microcode: Correct kconfig dependencies Borislav Petkov
@ 2013-10-14  9:34 ` tip-bot for Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Borislav Petkov @ 2013-10-14  9:34 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, bp

Commit-ID:  80030e3d8ec6414790a5ec67ae4c5eeee82aba98
Gitweb:     http://git.kernel.org/tip/80030e3d8ec6414790a5ec67ae4c5eeee82aba98
Author:     Borislav Petkov <bp@suse.de>
AuthorDate: Sun, 13 Oct 2013 18:36:29 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 14 Oct 2013 09:24:27 +0200

x86/microcode: Correct Kconfig dependencies

I have a randconfig here which has enabled only

  CONFIG_MICROCODE=y
  CONFIG_MICROCODE_OLD_INTERFACE=y

with both

  # CONFIG_MICROCODE_INTEL is not set
  # CONFIG_MICROCODE_AMD is not set

off. Which makes building the microcode functionality a little
pointless. Don't do that in such cases then.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1381682189-14470-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 145d703..f67e839 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1033,6 +1033,7 @@ config X86_REBOOTFIXUPS
 
 config MICROCODE
 	tristate "CPU microcode loading support"
+	depends on CPU_SUP_AMD || CPU_SUP_INTEL
 	select FW_LOADER
 	---help---
 

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

end of thread, other threads:[~2013-10-14  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-13 16:36 [PATCH] x86, microcode: Correct kconfig dependencies Borislav Petkov
2013-10-14  9:34 ` [tip:x86/urgent] x86/microcode: Correct Kconfig dependencies tip-bot for Borislav Petkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.