Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2406754yba; Mon, 6 May 2019 05:41:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+BpNU2wSHm4OOVpxY+8QK1F3S/5QWB9Pk1Lm9SZ6zMObC8jUuX9w72kCK279ylmT4TIqU X-Received: by 2002:a17:902:76c5:: with SMTP id j5mr32298255plt.337.1557146476342; Mon, 06 May 2019 05:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557146476; cv=none; d=google.com; s=arc-20160816; b=RA8ZDV0v1mLf5xRpTbN3EiexOK2WcC0mOu58w2DUgcvm5bwaMdHT4R0dJMJkax6p1X rNQxNeNmV1sr+5nWUEKUlr21d0g0UQ1yDDqdZMbu8JEx5uyeQPFCH5CBb4zSxMqMod6W U7iAXXvhCI7n/aon2WJNjTp7KBF9lnPgsJWL1hYSOqSBpLj5n1RMelu3WMSkSYcdhLp2 cDhsF6Y+pqVyS6En12DGPESjJJeG4SoyNnJsSXnfLwnRqgud+LQZ+oe7P1IoJhseziMr GTdRcz6js86F7qfGHA37oJ0YMcd9ChtKUh5N8REUea+U0wwnQzTURjSJPSvmIPxRvg2X CmOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Cb21//2yAhFXxGlr6DhehcS/WEyUpwWdeRGMN+DKJII=; b=y2p9+80wyE/kJ73rGo2jmeAyYz1rMnaDVbCJcrR1VzOvd86wkFf4JmZM9OmPahPowg wC+L00ZX+6AgcxUwdWK0fUan+y2IQO9sO/fvKWAQOpo+Ajr8DeYnoeebOxjwcm64UIhx b3fvu+5bqJWbY6w4fvF7yas6SNrNPjaM9Wz77NJ/m5dQORxLp/8gGJOih5AE7yjiolFR fGc9jvobLZI5+aRU46YntxaPcIzkt3SbUZHPs0GBhQZnkTkwKXi52ST2DL4G5se7w+xz +mwVq6JIXjwoMpNbhocO+IVBLtBp1VSp3LfnjD3eanEOif3laQRhqcgWCiG5tsY8sfs7 JgYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mfdBSUT9; 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 p6si14734705pfd.19.2019.05.06.05.41.00; Mon, 06 May 2019 05:41:16 -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=mfdBSUT9; 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 S1726294AbfEFMjC (ORCPT + 99 others); Mon, 6 May 2019 08:39:02 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:45992 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbfEFMjB (ORCPT ); Mon, 6 May 2019 08:39:01 -0400 Received: by mail-pf1-f194.google.com with SMTP id e24so6696536pfi.12; Mon, 06 May 2019 05:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cb21//2yAhFXxGlr6DhehcS/WEyUpwWdeRGMN+DKJII=; b=mfdBSUT9ap3nnzFaJafy7hAfSKKoZWK01VZThERQabpdIADSgemqDe+bOe/Owl5Hw+ Gv3hfCFPs9XBP47Zqb50Y1ODjqG1ikNKXuesH5w9QVtZM+lWEzJUr5Sgx+DAevwFIfXK 6BXAyFuU+zB6A6AFTzzU7IXWpUoLBpPkCcI5/vis0gYjTeVFiIlcIkfY77I3TZe0HqCJ 7ueNmdUQI5AJHLSqGvPJ5pNvkP/KyACyyiDPLlBrkoaxfV/oM/mmsuEY4BuG6zOHEeEe qLKXdY/qS9wnBYW77UJxbIm+w4RbpFpDq81DjoHn3XAvW/terIZIjeqIzcW9dxh27ZHw axsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cb21//2yAhFXxGlr6DhehcS/WEyUpwWdeRGMN+DKJII=; b=aEc+ua0+q/Sb4U2yPS/migJVg98AMuM/Pka7oLXUI8dCNC5UZBGjYt0KReLUIbl7OG 8F5OVhqaU+chGarJ42Jh+KyZKM0LQum2ofdQSAeFpRQSwPpJ8GYMt3BErWIYTuxexdcb esVootTJ2k5eLyTmTHfTLePUm7tCRq8jAJKaMNrGJetm2mJ2/hDJAGC7PABgJ6LCMS+9 GbMiRxdMeCtyc5FWrWa3j08eJmuECHJ2YxYS+g3pnrpgyBVRylddtDaFgyF8Zl+FfgGK V2bAPS/ZTcUphOkzKHfSwi1QPfI5bpwHugzeyLOp1w9HbvRNv35TMMHSp8s/vAn+WJMO E3yA== X-Gm-Message-State: APjAAAX1K999hJgg6lGRMbYeEXA79/WBvCHr99ZJxhCK9yu75H6PfzRq 7IBJm7Yw8wf3e4oT0Hab2W7v4ZWt1CPpgcbbAOc= X-Received: by 2002:a62:30c2:: with SMTP id w185mr33097351pfw.175.1557146341044; Mon, 06 May 2019 05:39:01 -0700 (PDT) MIME-Version: 1.0 References: <20190429150135.15070-1-hdegoede@redhat.com> In-Reply-To: <20190429150135.15070-1-hdegoede@redhat.com> From: Andy Shevchenko Date: Mon, 6 May 2019 15:38:50 +0300 Message-ID: Subject: Re: [PATCH] platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table To: Hans de Goede , Stephen Boyd Cc: Darren Hart , Andy Shevchenko , Kai Heng Feng , Platform Driver , Linux Kernel Mailing List , Semyon Verchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 6:01 PM Hans de Goede wrote: > > The Lex 3I380D industrial PC has 4 ethernet controllers on board > which need pmc_plt_clk0 - 3 to function, add it to the critclk_systems > DMI table, so that drivers/clk/x86/clk-pmc-atom.c will mark the clocks > as CLK_CRITICAL and they will not get turned off. > Acked-by: Andy Shevchenko supposedly to go via CLK tree. P.S. If you want it through PDx86, I need immutable branch / tag from CLK. > Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") > Reported-and-tested-by: Semyon Verchenko > Signed-off-by: Hans de Goede > --- > drivers/platform/x86/pmc_atom.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c > index 3a635ea09b8a..2910845b7cdd 100644 > --- a/drivers/platform/x86/pmc_atom.c > +++ b/drivers/platform/x86/pmc_atom.c > @@ -407,12 +407,21 @@ static int pmc_dbgfs_register(struct pmc_dev *pmc) > */ > static const struct dmi_system_id critclk_systems[] = { > { > + /* pmc_plt_clk0 is used for an external HSIC USB HUB */ > .ident = "MPL CEC1x", > .matches = { > DMI_MATCH(DMI_SYS_VENDOR, "MPL AG"), > DMI_MATCH(DMI_PRODUCT_NAME, "CEC10 Family"), > }, > }, > + { > + /* pmc_plt_clk0 - 3 are used for the 4 ethernet controllers */ > + .ident = "Lex 3I380D", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), > + DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), > + }, > + }, > { /*sentinel*/ } > }; > > -- > 2.21.0 > -- With Best Regards, Andy Shevchenko