Files
Linux/include/linux
Rafael J. Wysocki c42fa24b44 ACPI: bus: Avoid using CPPC if not supported by firmware
If the platform firmware indicates that it does not support CPPC by
clearing the OSC_SB_CPC_SUPPORT and OSC_SB_CPCV2_SUPPORT bits in the
platform _OSC capabilities mask, avoid attempting to evaluate _CPC
which may fail in that case.

Because the OSC_SB_CPC_SUPPORT and OSC_SB_CPCV2_SUPPORT bits are only
added to the supported platform capabilities mask on x86, when
X86_FEATURE_HWP is supported, allow _CPC to be evaluated regardless
in the other cases.

Link: https://lore.kernel.org/linux-acpi/CAJZ5v0i=ecAksq0TV+iLVObm-=fUfdqPABzzkgm9K6KxO1ZCcg@mail.gmail.com
Signed-off-by: Rafael J. Wysocki <[email protected]>
Tested-by: Mario Limonciello <[email protected]>
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
2022-03-17 14:51:53 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:34 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-15 08:47:31 -08:00
…
…
2022-01-09 10:36:51 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-11-17 10:36:15 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-12-10 17:10:55 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-12-10 12:51:28 +01:00
…
…
…
…
…
2021-12-01 00:06:43 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-15 08:47:31 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-20 08:52:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-04 13:15:33 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-12-17 09:06:15 +01:00
…
…
…
2021-12-20 09:03:05 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-12-16 22:22:20 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2022-02-09 09:24:40 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-12 10:14:09 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:37 +02:00
…
2022-01-08 12:43:57 -06:00
…
…
…
…
…
…
…
…
…
2021-11-18 09:36:39 +01:00
…
2022-01-24 14:45:02 +01:00
…
…
…
…
…
2021-11-30 17:25:20 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:37 +02:00
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-11-25 18:35:23 +01:00
…
…
…
…
…
…
…
…
…
…
2021-12-30 12:13:04 +01:00
…
…
…
…
…
…
…
…
…
2022-01-14 18:50:52 -05:00
…
…
…
…
…
…
…
…
…
2021-12-09 10:49:56 -08:00
…
…
2022-01-08 00:28:41 -05:00
…
…
…
…
…
…
…
…
…
…