]> git.ipfire.org Git - people/arne_f/kernel.git/commit
acpi-cpufreq: Honor _PSD table setting on new AMD CPUs
authorWei Huang <wei.huang2@amd.com>
Mon, 19 Oct 2020 03:57:41 +0000 (22:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 09:22:15 +0000 (10:22 +0100)
commitaec3d9d432d9aac82e3dab4cdd5cc7314601f2a8
tree3c84ae7ab04c07a5917fc1238593bcd64961edeb
parentfa0562e23c438f2616aed8174ae05bcdc255389a
acpi-cpufreq: Honor _PSD table setting on new AMD CPUs

commit 5368512abe08a28525d9b24abbfc2a72493e8dba upstream.

acpi-cpufreq has a old quirk that overrides the _PSD table supplied by
BIOS on AMD CPUs. However the _PSD table of new AMD CPUs (Family 19h+)
now accurately reports the P-state dependency of CPU cores. Hence this
quirk needs to be fixed in order to support new CPUs' frequency control.

Fixes: acd316248205 ("acpi-cpufreq: Add quirk to disable _PSD usage on all AMD CPUs")
Signed-off-by: Wei Huang <wei.huang2@amd.com>
[ rjw: Subject edit ]
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/acpi-cpufreq.c