projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28beef4
)
x86/microcode: Add explicit CPU vendor dependency
author
Borislav Petkov
<bp@suse.de>
Thu, 19 May 2022 14:59:13 +0000
(16:59 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:39 +0000
(10:22 +0200)
[ Upstream commit
9c55d99e099bd7aa6b91fce8718505c35d5dfc65
]
Add an explicit dependency to the respective CPU vendor so that the
respective microcode support for it gets built only when that support is
enabled.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link:
https://lore.kernel.org/r/8ead0da9-9545-b10d-e3db-7df1a1f219e4@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/Kconfig
patch
|
blob
|
history
diff --git
a/arch/x86/Kconfig
b/arch/x86/Kconfig
index d02b04d3009668b45aa050484e346d900097f4bf..1d0f16b53393758f37d7dd7bb3ed3569983ff9e8 100644
(file)
--- a/
arch/x86/Kconfig
+++ b/
arch/x86/Kconfig
@@
-1323,7
+1323,7
@@
config MICROCODE
config MICROCODE_INTEL
bool "Intel microcode loading support"
- depends on MICROCODE
+ depends on
CPU_SUP_INTEL &&
MICROCODE
default MICROCODE
help
This options enables microcode patch loading support for Intel
@@
-1335,7
+1335,7
@@
config MICROCODE_INTEL
config MICROCODE_AMD
bool "AMD microcode loading support"
- depends on MICROCODE
+ depends on
CPU_SUP_AMD &&
MICROCODE
help
If you select this option, microcode patch loading support for AMD
processors will be enabled.