Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp632178ybe; Thu, 19 Sep 2019 00:59:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYeBpCjqBrmeclHCCs1NzHMbf40xkTc2EbQYWZMpZOkCehWRnWozNWUUtWofjSmm/ZCOGB X-Received: by 2002:a05:6402:3066:: with SMTP id bs6mr14521225edb.127.1568879980965; Thu, 19 Sep 2019 00:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568879980; cv=none; d=google.com; s=arc-20160816; b=zsySZfUTnBUlqa5henY1L1xnZz0YJVgtPJFGTlWxIcy5CF/jw1PjPWHUE21VnqKZfN YHSKOBxQiAFzi18LGS7QRSaz7t8vaum8foEIuM7RmRk2rO6V34l1ZxW8edrpaDOnW8li NRL5OtrNfbP2LG5J8XSy6wR75OZdvB28sY0BqdkamF3SY3uCMDCQ4mCESR/w0JxPsxrP eB4rCJm9dRXnG5VkQ5ePOVT5UNL+Nbqs8Yb+WiFlvqwdaZRkZWoa3qWzAsFkmurjJMn+ 2pEbcM5fdpwRbni7v9i6z2ZUXUFp+8cRsgkSGDUYGR8R+5yov2XlF+1jibHqiPTvS7rh WkDA== 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:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ceVf8EgxN3bgy6N3BhpUO5HS4V938UzAJ+g4on/IO+E=; b=y86UiFvvVWInsLK+S9IFIou4WQFNGGjWIXLcLmPUh18LGGpLy65KPZQoW+KCsvdaLh aYmGDmmOq45OVVccT6oiZgc5PFNHmvZb9mWsXJ5hHePDgwPSHO9t/baeB6kXHAC0X6Cc rX2ZU1LFD0yqfL8QgO+tVfVuTf2MciNN/6OijoOMSs4xSj1ObsMfqXe6nIfgAYgRoRWK TxVeBPyWU4toJeT9JAQ6Ga2/zuvLZn63bxXcFLyFxjZU4x/yQA/LC78z7cRiDltRbZ+5 ZUlBJCB7sEcopJ2L99Nk0lOvtoFfTzcKAvRCk1ZAr7DIhe3nJsQXUodoEaSrc/j+dped oxcw== 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 i12si4701658edb.133.2019.09.19.00.59.17; Thu, 19 Sep 2019 00:59: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 S2387750AbfISH4i (ORCPT + 99 others); Thu, 19 Sep 2019 03:56:38 -0400 Received: from david.siemens.de ([192.35.17.14]:51090 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387406AbfISH4i (ORCPT ); Thu, 19 Sep 2019 03:56:38 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x8J7uAXm003815 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Sep 2019 09:56:11 +0200 Received: from [167.87.3.151] ([167.87.3.151]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x8J7u9wC019552; Thu, 19 Sep 2019 09:56:09 +0200 Subject: Re: [PATCH] platform/x86: pmc_atom: Add Siemens SIMATIC IPC2x7E to critclk_systems DMI table To: Srikanth Krishnakar , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, dvhart@infradead.org, andy@infradead.org Cc: Cedric_Hombourger@mentor.com, Srikanth_Krishnakar@mentor.com References: <20190919074556.25691-1-Srikanth_Krishnakar@mentor.com> From: Jan Kiszka Message-ID: <0e511b90-314d-1724-a046-d2efe26b3b96@siemens.com> Date: Thu, 19 Sep 2019 09:56:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190919074556.25691-1-Srikanth_Krishnakar@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed 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 On 19.09.19 09:45, Srikanth Krishnakar wrote: > The SIMATIC IPC227E and 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. > > The Board revision does vary in some instances and hence use PRODUCT_NAME > to allow the boards to boot with identical names. > > Tested on SIMATIC IPC227E and IPC277E. > > Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") > CC: Jan Kiszka > CC: Cedric Hombourger > Signed-off-by: Srikanth Krishnakar > --- > drivers/platform/x86/pmc_atom.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c > index 9aca5e7ce6d0..1e48c2ec684e 100644 > --- a/drivers/platform/x86/pmc_atom.c > +++ b/drivers/platform/x86/pmc_atom.c > @@ -419,7 +419,14 @@ static const struct dmi_system_id critclk_systems[] = { > .ident = "SIMATIC IPC227E", > .matches = { > DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"), > - DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"), > + DMI_MATCH(DMI_PRODUCT_NAME, "SIMATIC IPC227E"), NACK, this is breaking platform variant detection. > + }, > + }, > + { > + .ident = "SIMATIC IPC277E", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"), > + DMI_MATCH(DMI_PRODUCT_NAME, "SIMATIC IPC277E"), Let us clarify internally if we need to match on the same substring length as for the 227E. Jan > }, > }, > { /*sentinel*/ } > -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux