linux/drivers/platform/x86/amd/pmf
Pedro Falcato 9ffed84a24
platform/x86/amd/pmf: fix build on !CONFIG_AMD_PMF_DEBUG
amd_pmf_get_ta_custom_bios_inputs() is used by non-debug features.

Fix the build on !CONFIG_AMD_PMF_DEBUG by moving
amd_pmf_get_ta_custom_bios_inputs() outside the ifdef CONFIG_AMD_PMF_DEBUG.

Fixes: 5bda82c797 ("platform/x86/amd/pmf: Implement util layer ioctl handler")
Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Link: https://lore.kernel.org/all/fS7s9V_xTaedaqEAaxwKnQ@natalenko.name/
Signed-off-by: Pedro Falcato <pfalcato@suse.de>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>> ---
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Link: https://patch.msgid.link/20260831114346.2041361-1-pfalcato@suse.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-08-31 21:18:54 +03:00
..
acpi.c platform/x86/amd/pmf: Use ring buffer to store custom BIOS input values 2025-12-23 11:44:58 +02:00
auto-mode.c platform/x86/amd/pmf: Use explicit SET_CMD/GET_CMD flags in amd_pmf_send_cmd() 2025-11-21 17:18:10 +02:00
cnqf.c platform/x86/amd/pmf: Use explicit SET_CMD/GET_CMD flags in amd_pmf_send_cmd() 2025-11-21 17:18:10 +02:00
core.c platform/x86/amd/pmf: Add 1AH_M80H metrics table and NPU metrics support 2026-07-27 21:43:59 +03:00
Kconfig platform/x86/amd/pmf: Add util layer and userspace character device interface 2026-07-10 15:13:42 +03:00
Makefile platform/x86/amd/pmf: Move metrics code to dedicated file 2026-07-27 21:43:52 +03:00
metrics.c platform/x86/amd/pmf: Add 1AH_M80H metrics table and NPU metrics support 2026-07-27 21:43:59 +03:00
pmf.h platform/x86/amd/pmf: Add 1AH_M80H metrics table and NPU metrics support 2026-07-27 21:43:59 +03:00
spc.c platform/x86/amd/pmf: fix build on !CONFIG_AMD_PMF_DEBUG 2026-08-31 21:18:54 +03:00
sps.c platform/x86/amd/pmf: Use explicit SET_CMD/GET_CMD flags in amd_pmf_send_cmd() 2025-11-21 17:18:10 +02:00
tee-if.c platform/x86/amd/pmf: store BIOS output values for user-space metrics via util IOCTL 2026-07-10 15:13:44 +03:00
util.c platform/x86/amd/pmf: Implement util layer ioctl handler 2026-07-10 15:15:38 +03:00