mirror_ubuntu-kernels/drivers/platform/x86/amd
Mario Limonciello 9217bd1d76 platform/x86/amd: pmc: Move idlemask check into amd_pmc_idlemask_read
The version check requirement for idle mask support actually only
applies to RN/CZN/BRC platforms.

So far no issues have happened because the PMFW version string is
bigger on other supported systems.  This can be reset for any new platform
so move the check to only RN/CZN/BRC case.

Fixes: f6045de1f5 ("platform/x86: amd-pmc: Export Idlemask values based on the APU")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230409185348.556161-5-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-04-11 10:37:23 +02:00
..
pmf platform/x86/amd/pmf: Move out of BIOS SMN pair for driver probe 2023-04-11 10:37:12 +02:00
hsmp.c platform/x86: amd: hsmp: Convert to platform remove callback returning void 2023-03-07 12:19:29 +01:00
Kconfig platform/x86/amd: pmc: add CONFIG_SERIO dependency 2023-01-30 14:37:22 +01:00
Makefile platform/x86/amd/pmf: Add support for PMF core layer 2022-08-15 13:23:37 +02:00
pmc.c platform/x86/amd: pmc: Move idlemask check into amd_pmc_idlemask_read 2023-04-11 10:37:23 +02:00