platform/x86/amd/pmc: Add 1Ah family series to STB support list
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 28 Dec 2023 10:21:03 +0000 (15:51 +0530)
committerHans de Goede <hdegoede@redhat.com>
Tue, 2 Jan 2024 12:40:29 +0000 (13:40 +0100)
AMD newer platforms, (AMDI000A or family 1Ah series) also supports the STB
functionality. Add this to amd_pmc_is_stb_supported().

Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231228102104.1785383-6-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmc/pmc.c

index ceb2b5677f7891355c2fddae4192ad4d83f6fab7..3845cbd17f714557b05f2b1ca3acb2ecfcaa46b7 100644 (file)
@@ -627,6 +627,7 @@ static bool amd_pmc_is_stb_supported(struct amd_pmc_dev *dev)
        case AMD_CPU_ID_YC:
        case AMD_CPU_ID_CB:
        case AMD_CPU_ID_PS:
+       case PCI_DEVICE_ID_AMD_1AH_M20H_ROOT:
                return true;
        default:
                return false;