diff options
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 082d7875cef8..38915fbfae73 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
@@ -543,7 +543,9 @@ static void bsp_init_amd(struct cpuinfo_x86 *c) | |||
543 | nodes_per_socket = ((value >> 3) & 7) + 1; | 543 | nodes_per_socket = ((value >> 3) & 7) + 1; |
544 | } | 544 | } |
545 | 545 | ||
546 | if (c->x86 >= 0x15 && c->x86 <= 0x17) { | 546 | if (!boot_cpu_has(X86_FEATURE_AMD_SSBD) && |
547 | !boot_cpu_has(X86_FEATURE_VIRT_SSBD) && | ||
548 | c->x86 >= 0x15 && c->x86 <= 0x17) { | ||
547 | unsigned int bit; | 549 | unsigned int bit; |
548 | 550 | ||
549 | switch (c->x86) { | 551 | switch (c->x86) { |