linux-stable/drivers/platform/x86
Mark Pearson 836f35f791 platform/x86: thinkpad_acpi: Fix incorrect use of platform profile on AMD platforms
Lenovo AMD based platforms have been offering platform_profiles but they
are not working correctly. This is because the mode we are using on the
Intel platforms (MMC) is not available on the AMD platforms.

This commit adds checking of the functional capabilities returned by the
BIOS to confirm if MMC is supported or not. Profiles will not be
available if the platform is not MMC capable.

I'm investigating and working on an alternative for AMD platforms but
that is still work-in-progress.

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220127190358.4078-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-02-01 15:37:00 +01:00
..
dell platform/x86: dell-wmi-descriptor: disable by default 2021-11-16 10:56:53 +01:00
intel platform/x86: ISST: Fix possible circular locking dependency detected 2022-01-24 10:41:46 +01:00
acer-wireless.c
acer-wmi.c platform/x86: acer-wmi: use __packed instead of __attribute__((packed)) 2021-09-14 12:27:15 +02:00
acerhdf.c
adv_swbutton.c
amd-pmc.c platform/x86: amd-pmc: Correct usage of SMU version 2022-01-24 11:14:49 +01:00
amilo-rfkill.c
apple-gmux.c platform/x86: apple-gmux: use resource_size() with res 2021-12-21 19:35:33 +01:00
asus-laptop.c
asus-nb-wmi.c
asus-tf103c-dock.c platform/x86: asus-tf103c-dock: Make 2 global structs static 2022-01-24 10:41:47 +01:00
asus-wireless.c
asus-wmi.c platform/x86: asus-wmi: Reshuffle headers for better maintenance 2021-12-21 19:40:56 +01:00
asus-wmi.h
barco-p50-gpio.c platform/x86: barco-p50-gpio: use KEY_VENDOR for button instead of KEY_RESTART 2021-10-24 10:17:46 +02:00
classmate-laptop.c
compal-laptop.c
dual_accel_detect.h
eeepc-laptop.c
eeepc-wmi.c
firmware_attributes_class.c
firmware_attributes_class.h
fujitsu-laptop.c
fujitsu-tablet.c
gigabyte-wmi.c platform/x86: gigabyte-wmi: add support for B550 AORUS ELITE AX V2 2021-10-11 15:54:38 +02:00
gpd-pocket-fan.c
hdaps.c
hp-wmi.c platform/x86: hp-wmi: rename platform_profile_* function symbols 2021-10-27 16:07:31 +02:00
hp_accel.c platform/x86: hp_accel: Use SIMPLE_DEV_PM_OPS() for PM ops 2021-12-07 12:21:01 +01:00
huawei-wmi.c
i2c-multi-instantiate.c Revert "platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes" 2021-10-20 19:31:13 +02:00
ibm_rtl.c
ideapad-laptop.c platform: x86: ideapad-laptop: Use ACPI_COMPANION() directly 2021-10-19 16:55:56 +02:00
intel_ips.c
intel_ips.h
intel_scu_ipc.c platform/x86: intel_scu_ipc: Update timeout value in comment 2021-10-11 15:34:51 +02:00
intel_scu_ipcutil.c
intel_scu_pcidrv.c
intel_scu_pltdrv.c
intel_scu_wdt.c
Kconfig platform-drivers-x86 for v5.17-1 2022-01-11 11:26:57 -08:00
lenovo-yogabook-wmi.c platform/x86: lenovo-yogabook-wmi: Add support for hall sensor on the back 2021-12-07 12:21:01 +01:00
lg-laptop.c platform/x86: lg-laptop: Recognize more models 2021-12-02 12:58:26 +01:00
Makefile platform/x86: Add Asus TF103C dock driver 2022-01-05 12:06:19 +01:00
meraki-mx100.c
mlx-platform.c platform/x86: mlx-platform: Add support for new system SGN2410 2021-10-27 16:29:03 +02:00
msi-laptop.c
msi-wmi.c
mxm-wmi.c
nvidia-wmi-ec-backlight.c platform/x86: Rename wmaa-backlight-wmi to nvidia-wmi-ec-backlight 2021-10-11 14:59:45 +02:00
panasonic-laptop.c platform/x86: panasonic-laptop: Replace snprintf in show functions with sysfs_emit 2021-10-19 16:59:44 +02:00
pcengines-apuv2.c
peaq-wmi.c
pmc_atom.c platform/x86: pmc_atom: improve critclk_systems matching for Siemens PCs 2021-12-23 18:09:41 +01:00
samsung-laptop.c platform/x86: samsung-laptop: Fix typo in a comment 2021-11-16 10:56:53 +01:00
samsung-q10.c
simatic-ipc.c platform/x86: simatic-ipc: add main driver for Siemens devices 2021-12-23 18:09:06 +01:00
sony-laptop.c platform/x86: sony-laptop: replace snprintf in show functions with sysfs_emit 2021-10-22 11:13:25 +02:00
system76_acpi.c platform/x86: system76_acpi: Guard System76 EC specific functionality 2021-12-23 17:26:28 +01:00
tc1100-wmi.c
think-lmi.c platform/x86: think-lmi: Prevent underflow in index_store() 2021-12-21 18:57:14 +01:00
think-lmi.h platform/x86: think-lmi: Opcode support 2021-11-18 12:29:30 +01:00
thinkpad_acpi.c platform/x86: thinkpad_acpi: Fix incorrect use of platform profile on AMD platforms 2022-02-01 15:37:00 +01:00
topstar-laptop.c
toshiba-wmi.c
toshiba_acpi.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
toshiba_bluetooth.c
toshiba_haps.c
touchscreen_dmi.c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1 2022-01-24 10:41:45 +01:00
uv_sysfs.c x86/platform/uv: use default_groups in kobj_type 2021-12-30 19:32:23 +01:00
wireless-hotkey.c
wmi-bmof.c
wmi.c platform/x86: wmi: Add no_notify_data flag to struct wmi_driver 2021-12-06 22:33:39 +01:00
x86-android-tablets.c platform/x86: x86-android-tablets: Trivial typo fix for MODULE_AUTHOR 2022-01-24 10:41:45 +01:00
xiaomi-wmi.c
xo1-rfkill.c
xo15-ebook.c