platform/x86/amd/pmc: Only run IRQ1 firmware version check on Cezanne
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 12 Dec 2023 04:50:04 +0000 (22:50 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 18 Dec 2023 13:08:16 +0000 (15:08 +0200)
commit2d53c0ab61e62302d7b62d660fe76de2bff6bf45
tree2e7b47e12e1e5844f14b7303a277b7705c431948
parent85980669a863514dd47761efd6c1bc4677a2ae08
platform/x86/amd/pmc: Only run IRQ1 firmware version check on Cezanne

amd_pmc_wa_czn_irq1() only runs on Cezanne platforms currently but
may be extended to other platforms in the future.  Rename the function
and only check platform firmware version when it's called for a Cezanne
based platform.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20231212045006.97581-3-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.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/pmc/pmc.c