platform/x86/amd/pmf: Add support for notifying Smart PC Solution updates
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mon, 12 Aug 2024 13:18:39 +0000 (18:48 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Aug 2024 10:17:06 +0000 (12:17 +0200)
commit023a25b071a2d28f8eb8ba46da14f275c92d38d1
treef3830b1fbb58320f82d75429b6ce130dc4eae904
parente35ee8ee498d68de24e6a831ff5d33665b41a802
platform/x86/amd/pmf: Add support for notifying Smart PC Solution updates

The APMF function 14 (Notify Smart PC Solution Updates) allows the BIOS
(AMD/OEM) to be informed about the outputs of custom Smart PC policies.
Enhance the PMF driver to invoke APMF function 14 when these custom policy
outputs are triggered.

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>
Link: https://lore.kernel.org/r/20240812131839.308768-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/acpi.c
drivers/platform/x86/amd/pmf/pmf.h
drivers/platform/x86/amd/pmf/tee-if.c