Skip to content
Commit a51ab63b authored by Perry Yuan's avatar Perry Yuan Committed by Rafael J. Wysocki
Browse files

ACPI: CPPC: enable AMD CPPC V2 support for family 17h processors



As there are some AMD processors which only support CPPC V2 firmware and
BIOS implementation, the amd_pstate driver will be failed to load when
system booting with below kernel warning message:

[    0.477523] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled

To make the amd_pstate driver can be loaded on those TR40 processors, it
needs to match x86_model from 0x30 to 0x7F for family 17H.
With the change, the system can load amd_pstate driver as expected.

Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Reported-by: default avatarGino Badouri <badouri.g@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218171


Fixes: fbd74d16 ("ACPI: CPPC: Fix enabling CPPC on AMD systems with shared memory")
Signed-off-by: default avatarPerry Yuan <perry.yuan@amd.com>
Reviewed-by: default avatarGautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 90d35da6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment