]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: do not use PSC mode on Intel platforms
authorMark Pearson <markpearson@lenovo.com>
Mon, 27 Jun 2022 18:14:49 +0000 (14:14 -0400)
committerHans de Goede <hdegoede@redhat.com>
Tue, 28 Jun 2022 20:20:04 +0000 (22:20 +0200)
commit7493721b9a785fcd3ed7286c65a53ebc709bfb7d
tree75133e9c02f09d83e6ff2ac63b9440177025b59a
parent9a2ec13c4e3bb062713477cc5cf42ca4cff037d9
platform/x86: thinkpad_acpi: do not use PSC mode on Intel platforms

PSC platform profile mode is only supported on Linux for AMD platforms.

Some older Intel platforms (e.g T490) are advertising it's capability
as Windows uses it - but on Linux we should only be using MMC profile
for Intel systems.

Add a check to prevent it being enabled incorrectly.

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220627181449.3537-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c