]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
platform/x86/amd: pmf: Add infrastructure for quirking supported funcs
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 10 Apr 2024 14:09:55 +0000 (09:09 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 16 Apr 2024 12:17:31 +0000 (15:17 +0300)
commited13f622bcd594d6cefd6239b1722ed8b84ba98f
treef12a575c1e6f521249a1de2d8f7764fa4509acd1
parent03cea821b82cbf0ee4a285f9dca6cc1d660dbef3
platform/x86/amd: pmf: Add infrastructure for quirking supported funcs

In the event of a BIOS bug add infrastructure that will be utilized
to override the return value for supported_funcs to avoid enabling
features.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240410140956.385-2-mario.limonciello@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmf/Makefile
drivers/platform/x86/amd/pmf/acpi.c
drivers/platform/x86/amd/pmf/core.c
drivers/platform/x86/amd/pmf/pmf-quirks.c [new file with mode: 0644]
drivers/platform/x86/amd/pmf/pmf.h