Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp324704ybe; Tue, 3 Sep 2019 23:43:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQAF3bcEmvbTEMqXlTF1EiHpTPpqHzFpablGL4xbDR+dzzrQ8GqA1AAvaSc9IEBh3wyUdG X-Received: by 2002:a17:902:6b07:: with SMTP id o7mr25487326plk.180.1567579420172; Tue, 03 Sep 2019 23:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567579420; cv=none; d=google.com; s=arc-20160816; b=iEs7pYmS1tKOEFor6+Q7QDi88yAUU8U3DOVY9b41u6TbV7iGl+XxlDvKvV4f+CMu/c aPrA5TdayRzBVImMd3uGNndqdGMyMOCIMQSE7eInfbgSK53MMZgfmdzb3qm6yWscvmFk m0BYGpiGLgcIPEzFmUTPJLuMdSdLNWHmBmirklcZTnvqjC+qPzoezCQItuHGj3bIWG6M gr49+LgZbYERMDunQm5N5WxKyo/qu4hCqiUPQWk1wJI4JE8VYBsIDbCRN66e50q2o6gT BCWtTPbFX2VsxeaDuTvSh6kyfAAxeV1Mk14TkxOraQrl+JjarmPdT0M6AzcztcOWRbi/ fltA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from; bh=Qjf71ZVgCQorE7LkuOLXNHl0UQfSoA4zp76UIMG1VtQ=; b=MV6VwbRnAEj0lqzuMU8Kmv9OYcTOaBA3igC59T2FxouvhRuBOKENmFYiHFxQl0ijcZ KjE4b1KUCvJI/OwtXOuUu47PvsRxnIhKzY9KA60+puwxL0+5DLvrDWLZ+Bn23osTLPDa ALvHWdsfK118e3gk/S9+WRv3ie3282C53K/+9Fv4d4FUg1Jqudp71+M+oDcSGD+Jc1hi wK5JKEggsLN+MhoofmhEXRZ6GgeJyFp/AW5OK9nAVHIjoZKk0j0wwVZrtL2SyvcSM+pJ uT1snyBd84u94liwl4OJ8quNTWNO4gm2i6CqEAedPygPIP8OFV0nLz7+JJOTzxMRSXYD hzFw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o35si1582319pje.106.2019.09.03.23.43.24; Tue, 03 Sep 2019 23:43:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728745AbfIDGmj (ORCPT + 99 others); Wed, 4 Sep 2019 02:42:39 -0400 Received: from lizzard.sbs.de ([194.138.37.39]:34391 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbfIDGmi (ORCPT ); Wed, 4 Sep 2019 02:42:38 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id x846gWAq028106 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Sep 2019 08:42:32 +0200 Received: from [167.87.42.80] ([167.87.42.80]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x846gVpF006197; Wed, 4 Sep 2019 08:42:31 +0200 From: Jan Kiszka Subject: [PATCH v2] platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table To: Darren Hart , Andy Shevchenko , platform-driver-x86@vger.kernel.org Cc: Linux Kernel Mailing List Message-ID: Date: Wed, 4 Sep 2019 08:42:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka The SIMATIC IPC227E 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. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Jan Kiszka --- Changes in v2: - fixed cut-off subject line (local tooling bug...) Should go into stable as well, down to 4.19. 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 aa53648a2214..9aca5e7ce6d0 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -415,6 +415,13 @@ static const struct dmi_system_id critclk_systems[] = { DMI_MATCH(DMI_BOARD_NAME, "CB6363"), }, }, + { + .ident = "SIMATIC IPC227E", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"), + DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"), + }, + }, { /*sentinel*/ } }; -- 2.16.4 -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux