Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1537013ybj; Fri, 20 Sep 2019 12:06:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyleXZ1SP/8QWRnhNIGoQPAn2bdDATQXW9rOIVxsBZbtd5DHur9WGyy5pbHcao90v5MSB80 X-Received: by 2002:a17:906:4d0f:: with SMTP id r15mr20726083eju.147.1569006365373; Fri, 20 Sep 2019 12:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569006365; cv=none; d=google.com; s=arc-20160816; b=pcmh999ma/DO+NnL/1VtevhGE0IA5oDFZgq4pcJpBQ3CmIUEsewyO4cCfGvPPnO1jI maJ6JpEeAyldn3uR5v4apRCiGPIRcUY3aA574urN5AXNcwXkzk8sK6EQ33GY9C8vszqb FaZLwf1WNaVXV8eP5SMMoRJLUyT4eltdU2Rm9ZOTfH+JnC8HSgbMLleYZBHCbhL/oJyI 1L81isu2O4ls2A2cg/FRplPSjQ7UE2Rc8Ol1pPWISFcGD47DL+VCYUaThjHNh3l1AsOI bDcnITxSW3vtQXgRXJISRPcec8rYX9H5YsJBGtJB8kvhOl6q9aaFFGkUyGLNCbH8d/Q/ 1ClA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=NrUm6zOy/EJ9ibCviGBB/bXjF+HcDw0sqxAwwkPU5YQ=; b=bXjyDenRbDAX3QV24e/2sTcXxANsyEaZ1TPqzeycUNIrE6QbTVVzoKUjfH447xhl0+ FvIFw4PZz0EU7pk+gV6RNqdOyELVxJPixnhL2znzP0XqOoWIG+FG6q05dYqU1hQBrF3B 5vJgHLyM72QVM34N1fSdv2N/q/aesyrlOAt8RQOLDSeDKg6U2f8VXspRWXvM1wSOImHS DlrU0ILrI6U2Dre+r34SKdG3FsV54xG3eFuyiaHTVgiwgIXlFHhizM7A3kcZDKmjCf7u cYY01cUUqim7AZFaOr5R0j+7g+6R/qCfBlaSesW+7PdusaQxmmQT80VBu6ZoFzbjNR9O 45ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E8x50LQQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si1902225edi.326.2019.09.20.12.05.41; Fri, 20 Sep 2019 12:06:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E8x50LQQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405853AbfITJdV (ORCPT + 99 others); Fri, 20 Sep 2019 05:33:21 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51575 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393257AbfITJdV (ORCPT ); Fri, 20 Sep 2019 05:33:21 -0400 Received: by mail-wm1-f65.google.com with SMTP id 7so1677497wme.1; Fri, 20 Sep 2019 02:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NrUm6zOy/EJ9ibCviGBB/bXjF+HcDw0sqxAwwkPU5YQ=; b=E8x50LQQARW0bDW+w5d63gBizCAHESZUz/7+xvVDGBONbjH2uZkaBWSPPRoSqXsIyY SBKd0OnR0uH1PUHLA9rpkBHS9g+/IX0YamCrah/BSfYOXhQREI0LW2T91fPie7uZ7D2u Te4Oe7Ankb/cMBcHU1u+iBxIMsC3p6Ubec5hTBn3HlKTFPd8bKWjlCQYCPBx+Hxp458+ 5LBax+bpp+cO1fuocLfVvvSwHfpwRIv955J5Zv3sni/f2kn+eJrFx5uP5F0qQuHBf6kv fpSqyNXq9EMKlufxR9Qr4byxA+Sf18NM3z+PD60GQxCvom2nkx7T02qVDfApj+/hlAOE zwKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NrUm6zOy/EJ9ibCviGBB/bXjF+HcDw0sqxAwwkPU5YQ=; b=sV591coUXDZELvErYj4BM4YuhEyxugw7EBn+t8x8cnWmLEOkGcvLcFg8lSMv3t6oya W0Td/TxGHBuEKHnyuDxMVO1tT1vwhC6diIEuw/RFijxQvDeXsKZMpO1QO5TJEixXSx4X 9GAhhiQVwb5wGDDe9ziKebcuZalUM3Oc7x0U5GQwc+qmKcLolP7wXMsTQ+WY36JgvWfs pE511PiHtJP+MhqPxYIE7J8CIESw/Autnu0phnENKrsVOS+dnqtvbXI/JT97Qh+n4O3+ 1heMI7Chy8uXdR7OJUCHwoEI0/VW3ynP7+/U3fNY9/n4gey91XxQGppxPmXumcdAUZds RHEw== X-Gm-Message-State: APjAAAWpNsGkmALumFwTgZvzMmRWQPFhfzIIFOzxapFfu7Ojx5dU3ocX EebULCShFm0Cv7q3bsK0i4cIagjcJ9I= X-Received: by 2002:a05:600c:114e:: with SMTP id z14mr2470460wmz.134.1568971998305; Fri, 20 Sep 2019 02:33:18 -0700 (PDT) Received: from linux-code.mgc.mentorg.com (nat-sch.mentorg.com. [139.181.36.34]) by smtp.gmail.com with ESMTPSA id h63sm1760268wmf.15.2019.09.20.02.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2019 02:33:17 -0700 (PDT) From: Srikanth Krishnakar X-Google-Original-From: Srikanth Krishnakar To: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, dvhart@infradead.org, andy@infradead.org, jan.kiszka@siemens.com Cc: Cedric_Hombourger@mentor.com, volker.edenhofer@siemens.com, Srikanth_Krishnakar@mentor.com Subject: [PATCH v2] platform/x86: pmc_atom: Add Siemens SIMATIC IPC277E to critclk_systems DMI table Date: Fri, 20 Sep 2019 15:01:56 +0530 Message-Id: <20190920093156.18885-1-Srikanth_Krishnakar@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <972f063e-e1da-7248-90ab-e9b12481641d@siemens.com> References: <972f063e-e1da-7248-90ab-e9b12481641d@siemens.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Cedric Hombourger Signed-off-by: Srikanth Krishnakar --- Suggested for linux-stable v4.14.x and above. Depends on ad0d315b4d4e ("platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table") drivers/platform/x86/pmc_atom.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index 9aca5e7ce6d0..07d1b911e72f 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -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*/ } }; -- 2.17.1