platform/x86: thinkpad-acpi: Enable AMT by default on supported systems
authorMark Pearson <markpearson@lenovo.com>
Fri, 3 Jun 2022 17:02:12 +0000 (13:02 -0400)
committerHans de Goede <hdegoede@redhat.com>
Wed, 22 Jun 2022 09:49:48 +0000 (11:49 +0200)
commit755b249250df1b612d982f3b702c831b26ecdf73
treeff87f0dac372aa6f7ae6c0bd17ed30b4b3968a2c
parent867eb713180c73335447a9bceb6c4c4c3e9d47c4
platform/x86: thinkpad-acpi: Enable AMT by default on supported systems

By default the ACPI platform profile starts in balanced mode.
On supported systems AMT is supposed to be enabled in balanced
mode by default.

When checking the capabilities during initialization, set up AMT to be
enabled if it's supported.

Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220603170212.164963-4-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