linux/drivers/acpi
Mario Limonciello 8b356e536e ACPI: CPPC: Don't require _OSC if X86_FEATURE_CPPC is supported
commit 72f2ecb7ec ("ACPI: bus: Set CPPC _OSC bits for all and
when CPPC_LIB is supported") added support for claiming to
support CPPC in _OSC on non-Intel platforms.

This unfortunately caused a regression on a vartiety of AMD
platforms in the field because a number of AMD platforms don't set
the `_OSC` bit 5 or 6 to indicate CPPC or CPPC v2 support.

As these AMD platforms already claim CPPC support via a dedicated
MSR from `X86_FEATURE_CPPC`, use this enable this feature rather
than requiring the `_OSC` on platforms with a dedicated MSR.

If there is additional breakage on the shared memory designs also
missing this _OSC, additional follow up changes may be needed.

Fixes: 72f2ecb7ec ("Set CPPC _OSC bits for all and when CPPC_LIB is supported")
Reported-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-07-05 20:36:11 +02:00
..
acpica Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms" 2022-05-21 18:02:26 +02:00
apei ACPI, APEI, EINJ: Refuse to inject into the zero page 2022-04-22 16:52:27 +02:00
arm64 ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init() 2022-05-06 20:35:44 +02:00
dptf ACPI: DPTF: Support Meteor Lake 2022-05-25 15:37:07 +02:00
nfit cxl for 5.19 2022-05-27 21:24:19 -07:00
numa cxl for 5.17 2022-01-12 15:57:59 -08:00
pmic
x86 platform-drivers-x86 for v5.18-1 2022-03-25 12:14:39 -07:00
ac.c ACPI: clean up white space in a few places for consistency 2022-05-12 16:54:49 +02:00
acpi_adxl.c
acpi_amba.c
acpi_apd.c i2c: designware: Add AMD PSP I2C bus support 2022-02-11 15:38:23 +01:00
acpi_cmos_rtc.c
acpi_configfs.c
acpi_dbg.c
acpi_extlog.c
acpi_fpdt.c
acpi_ipmi.c ACPI: IPMI: replace usage of found with dedicated list iterator variable 2022-03-25 18:01:40 +01:00
acpi_lpat.c
acpi_lpit.c
acpi_lpss.c ACPI: LPSS: Provide an SSP type to the driver 2022-03-01 20:36:34 +01:00
acpi_memhotplug.c
acpi_pad.c ACPI: Add perf low power callback 2022-04-05 10:24:38 +02:00
acpi_pcc.c ACPI: PCC: pcc_ctx can be static 2022-01-12 19:40:31 +01:00
acpi_platform.c ACPI: platform: Constify properties parameter in acpi_create_platform_device() 2022-03-01 20:36:34 +01:00
acpi_pnp.c
acpi_processor.c
acpi_tad.c
acpi_video.c ACPI: video: Change how we determine if brightness key-presses are handled 2022-06-28 21:53:30 +02:00
acpi_watchdog.c
battery.c ACPI: battery: Make "not-charging" the default on no charging or full info 2022-05-06 20:37:51 +02:00
bgrt.c ACPI: BGRT: use static for BGRT_SHOW kobj_attribute defines 2022-04-22 16:55:33 +02:00
blacklist.c
bus.c ACPI: CPPC: Only probe for _CPC if CPPC v2 is acked 2022-07-05 20:36:11 +02:00
button.c
container.c
cppc_acpi.c ACPI: CPPC: Don't require _OSC if X86_FEATURE_CPPC is supported 2022-07-05 20:36:11 +02:00
custom_method.c
debugfs.c
device_pm.c Merge branches 'acpi-pm', 'acpi-pci', 'acpi-sysfs' and 'acpi-tables' 2022-05-23 18:29:20 +02:00
device_sysfs.c ACPI: sysfs: use default_groups in kobj_type 2021-12-28 19:15:41 +01:00
dock.c
ec.c ACPI: EC: Rearrange code in acpi_ec_submit_event() 2022-02-14 20:14:40 +01:00
ec_sys.c
event.c
evged.c
fan.h ACPI: DPTF: Support Meteor Lake 2022-05-25 15:37:07 +02:00
fan_attr.c ACPI: fan: Add additional attributes for fine grain control 2022-02-25 20:49:30 +01:00
fan_core.c ACPI: fan: Add additional attributes for fine grain control 2022-02-25 20:49:30 +01:00
glue.c ACPI: glue: Rearrange find_child_checks() 2022-05-12 16:52:32 +02:00
hed.c
internal.h ACPI: scan: Use ida_alloc() instead of ida_simple_get() 2022-02-18 20:16:34 +01:00
ioapic.c
irq.c
Kconfig ACPI: clean up double words in two comments 2022-02-21 20:09:52 +01:00
Makefile ACPI: fan: Separate file for attributes creation 2022-02-25 20:49:29 +01:00
nvs.c
osi.c
osl.c ACPI: OSL: Remove the helper for deactivating memory region 2022-04-27 20:44:55 +02:00
pci_irq.c
pci_link.c ACPI: clean up double words in two comments 2022-02-21 20:09:52 +01:00
pci_mcfg.c
pci_root.c cxl for 5.19 2022-05-27 21:24:19 -07:00
pci_slot.c
pfr_telemetry.c ACPI: pfr_telemetry: Fix info leak in pfrt_log_ioctl() 2022-01-10 16:36:45 +01:00
pfr_update.c ACPI: pfr_update: Fix return value check in pfru_write() 2022-01-06 18:53:31 +01:00
platform_profile.c
power.c Merge branches 'acpi-scan', 'acpi-pm', 'acpi-power' and 'acpi-pci' 2022-01-10 16:48:27 +01:00
pptt.c
prmt.c
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
processor_core.c
processor_driver.c
processor_idle.c Merge branches 'acpi-glue', 'acpi-osl', 'acpi-processor' and 'acpi-cppc' 2022-05-30 18:04:57 +02:00
processor_pdc.c
processor_perflib.c
processor_thermal.c ACPI: processor: thermal: avoid cpufreq_get_policy() 2021-12-30 19:39:34 +01:00
processor_throttling.c
property.c ACPI: property: Release subnode properties with data nodes 2022-04-13 19:54:47 +02:00
reboot.c
resource.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI: bus: Eliminate acpi_bus_get_device() 2022-04-05 19:49:26 +02:00
sleep.c Merge back reboot/poweroff notifiers rework for 5.19-rc1. 2022-05-25 14:38:29 +02:00
sleep.h
spcr.c ACPI: SPCR: Add support for NVIDIA 16550-compatible port subtype 2022-04-13 20:37:29 +02:00
sysfs.c ACPI: sysfs: Fix BERT error region memory mapping 2022-04-13 19:58:14 +02:00
tables.c ACPI: tables: Make LAPIC_ADDR_OVR address readable in message 2022-03-25 18:11:42 +01:00
thermal.c Merge branches 'acpi-tables', 'acpi-numa', 'acpi-sysfs', 'acpi-cppc', 'acpi-thermal' and 'acpi-battery' 2022-01-10 17:22:15 +01:00
tiny-power-button.c
utils.c ACPI: utils: include UUID in _DSM evaluation warning 2022-05-19 20:06:26 +02:00
video_detect.c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU 2022-03-17 14:29:07 +01:00
viot.c
wakeup.c