x86/cpu/AMD: Fix erratum 1076 (CPB bit)
authorBorislav Petkov <bp@suse.de>
Thu, 7 Sep 2017 17:08:21 +0000 (19:08 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Sep 2017 09:30:53 +0000 (11:30 +0200)
commitf7f3dc00f61261cdc9ccd8b886f21bc4dffd6fd9
tree7891c49328f3ca3eb3fad5f7334535da980e55be
parent711aab1dbb324d321e3d84368a435a78908c7bce
x86/cpu/AMD: Fix erratum 1076 (CPB bit)

CPUID Fn8000_0007_EDX[CPB] is wrongly 0 on models up to B1. But they do
support CPB (AMD's Core Performance Boosting cpufreq CPU feature), so fix that.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sherry Hurwitz <sherry.hurwitz@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170907170821.16021-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/amd.c