ACPI: CPPC: Don't require flexible address space if X86_FEATURE_CPPC is supported
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 15 Jul 2022 17:33:25 +0000 (12:33 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Jul 2022 18:40:05 +0000 (20:40 +0200)
commit09073396ea62d0a10b03f5661dcabfd8eca3f098
tree5a44dbb0a0a016d0c1106c868b6958eb86bb223a
parentff6992735ade75aae3e35d16b17da1008d753d28
ACPI: CPPC: Don't require flexible address space if X86_FEATURE_CPPC is supported

Commit 0651ab90e4ad ("ACPI: CPPC: Check _OSC for flexible address space")
changed _CPC probing to require flexible address space to be negotiated
for CPPC to work.

However it was observed that this caused a regression for Arek's ROG
Zephyrus G15 GA503QM which previously CPPC worked, but now it stopped
working.

To avoid causing a regression waive this failure when the CPU is known
to support CPPC.

Cc: Pierre Gondois <pierre.gondois@arm.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216248
Fixes: 0651ab90e4ad ("ACPI: CPPC: Check _OSC for flexible address space")
Reported-and-tested-by: Arek Ruśniak <arek.rusi@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/cppc_acpi.c