]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
platform/x86: pmc_atom: Add Siemens SIMATIC IPC277E to critclk_systems DMI table
authorSrikanth Krishnakar <skrishnakar@gmail.com>
Fri, 20 Sep 2019 09:31:56 +0000 (15:01 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Sep 2019 14:56:24 +0000 (17:56 +0300)
The SIMATIC IPC277E uses the PMC clock for on-board components
and gets stuck during boot if the clock is disabled. Therefore,
add this device to the critical systems list.

Tested on SIMATIC IPC277E.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Cedric Hombourger <Cedric_Hombourger@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/pmc_atom.c

index 9aca5e7ce6d05605e1502ca41c73ef1db7093249..07d1b911e72f8eca67d4a1d1b4487e9c64f3dfa4 100644 (file)
@@ -422,6 +422,13 @@ static const struct dmi_system_id critclk_systems[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"),
                },
        },
+       {
+               .ident = "SIMATIC IPC277E",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "6AV7882-0"),
+               },
+       },
        { /*sentinel*/ }
 };