Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4607476pxj; Wed, 12 May 2021 09:08:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqtpMAOp53J1DTdp4ND4lG5HPofMM/olqc/3uIIrrcnqvPkgENJHlO7qPw5yWuEfc/pM5B X-Received: by 2002:aa7:cc11:: with SMTP id q17mr11922275edt.240.1620835719398; Wed, 12 May 2021 09:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620835719; cv=none; d=google.com; s=arc-20160816; b=A7Rgb0LVrAxhI2c1M42iy2vSQZKk+DhhK2pkgcmB158qX6JWsbts7vg9j6Pe+pYba6 gYKHfj0dkzPg/0+Sx9Hw/4g8KxuD0qtobL+xfRaYyhAqHzu8tLt0ey82CiS4NzU3XIqB CuhK2c8LBUt5GW5mo9f3xTvaf3k15si6y7sViVfEEMMm2SB055VNNgId+s1bLU+TpHCm GRxNTJs1Fcv1U1XRuQmkpZ0wWYvx19LghDtYyxvWkhv3ObYc8lfP05UotN6mDpQqF0Ws yrNJV+7lp83QxzZ7jxN2B4tBbONGdC4jMP9CN0r0wEOGpOkyQJL/Jez4KXqlAq5Yr32e WPIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dsVvEHWE+yGeAKy0qpS9IlGd4WhG21UfaomZ3HUdzYA=; b=zij+Qd4GDzJzxvGPTaaZ3wXkwCBINGt882Gm1Psn9pDGMJNuGLAoqNB4iZbjbAJaTK TTJPInxT2GMoxZyi3H9+wjdpjPsktjvCuw+sPuq7s8erYGgiJzjV1uw5OlG1/zGd1org 60EUYvTw7b+nlrOW8O3Ph+ZKD8Bn4jqbnhJdAcJIxBoYo6WbkKCVSLWCDIdv91GUzHkU nhAzwdj/unPlTv4VVH5Gn+c90gNYZueMRU7pTuuI58j3Vzz40k400z7AhXm+mSoU4B4H h/bpgbNJEut8NiFjSja0WCYYsP1eUCupkLS6Opfpg5R+Hv8gfAe4F+yah+J/wpuxWusB jzXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yf0MBNr2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si438438ejo.341.2021.05.12.09.08.15; Wed, 12 May 2021 09:08:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yf0MBNr2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239074AbhELQHP (ORCPT + 99 others); Wed, 12 May 2021 12:07:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:40396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235655AbhELP2p (ORCPT ); Wed, 12 May 2021 11:28:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9B9EB61453; Wed, 12 May 2021 15:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832474; bh=mGtGRLu9zYiUchtFsqOmdAAM+20y7/LdYOEmBnVFKUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yf0MBNr2UeNp7uO1Oqxcjo18AgnqzBFJCStJoH4Gs+XPFoBgNoY7IYEd3Doq1a/SW Ut6ocfeOvalkrQDYk2YN8rxUqPaJzQgmsbklbwngp3N8CKtcu5Lcl/iNNoDfxe8qJK 3SSmE1oD2doo8YJ8UD7LiJKrZvZA0+/PmH3blnQg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andy Shevchenko , Steffen Dirkwinkel , Hans de Goede , Sasha Levin Subject: [PATCH 5.10 259/530] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table Date: Wed, 12 May 2021 16:46:09 +0200 Message-Id: <20210512144828.345629167@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steffen Dirkwinkel [ Upstream commit d21e5abd3a005253eb033090aab2e43bce090d89 ] pmc_plt_clk* clocks are used for ethernet controllers, so need to stay turned on. This adds the affected board family to critclk_systems DMI table, so the clocks are marked as CLK_CRITICAL and not turned off. This replaces the previously listed boards with a match for the whole device family CBxx63. CBxx63 matches only baytrail devices. There are new affected boards that would otherwise need to be listed. There are unaffected boards in the family, but having the clocks turned on is not an issue. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Reviewed-by: Andy Shevchenko Signed-off-by: Steffen Dirkwinkel Link: https://lore.kernel.org/r/20210412133006.397679-1-linux-kernel-dev@beckhoff.com Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/pmc_atom.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index ca684ed760d1..a9d2a4b98e57 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -393,34 +393,10 @@ static const struct dmi_system_id critclk_systems[] = { }, { /* pmc_plt_clk* - are used for ethernet controllers */ - .ident = "Beckhoff CB3163", + .ident = "Beckhoff Baytrail", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), - DMI_MATCH(DMI_BOARD_NAME, "CB3163"), - }, - }, - { - /* pmc_plt_clk* - are used for ethernet controllers */ - .ident = "Beckhoff CB4063", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), - DMI_MATCH(DMI_BOARD_NAME, "CB4063"), - }, - }, - { - /* pmc_plt_clk* - are used for ethernet controllers */ - .ident = "Beckhoff CB6263", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), - DMI_MATCH(DMI_BOARD_NAME, "CB6263"), - }, - }, - { - /* pmc_plt_clk* - are used for ethernet controllers */ - .ident = "Beckhoff CB6363", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), - DMI_MATCH(DMI_BOARD_NAME, "CB6363"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "CBxx63"), }, }, { -- 2.30.2