platform/x86/amd/pmf: Add PMF acpi debug support
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Wed, 10 May 2023 14:47:50 +0000 (20:17 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 May 2023 13:17:31 +0000 (15:17 +0200)
commita82ebb3d800d7baf72122e82ab7c9b240d0a8a56
treea2452bfc3cd02b3ffdb7b89748fd94b02808568f
parent06ffe5b25eeded829d5b2dd93ba868f3c75720d6
platform/x86/amd/pmf: Add PMF acpi debug support

PMF driver maintains an internal config store for each PMF feature
after the feature init happens. Having a debug mechanism to triage
in-field issues w.r.t to mode switch not happening based on the OEM
fed values via the ACPI method to PMF driver is becoming the need of
the hour. Add support to get more ACPI debug spew guarded by a CONFIG.

Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230510144751.66601-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/Kconfig
drivers/platform/x86/amd/pmf/auto-mode.c
drivers/platform/x86/amd/pmf/cnqf.c
drivers/platform/x86/amd/pmf/sps.c