Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4677504pxj; Wed, 12 May 2021 10:40:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAY5upsUdmQa6AqQKA9QFBldXEWRAW53o+Idq/fmCXcbGAvHcjjhtFYJfD7dtFUzfCY5EB X-Received: by 2002:a1c:7c10:: with SMTP id x16mr3454010wmc.121.1620841222581; Wed, 12 May 2021 10:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620841222; cv=none; d=google.com; s=arc-20160816; b=VJCspx7HLxkAtD8u4fHu404FRG+U+28U5rhsVPSMPbn85CrMrAu1UCkysopNdTJUDN 1mI1sK6W1TuZiEphT/rvACFOObGPHwZPQkZxd4c1vlV+1iQVhDWiXTQD7h2lZlrSywzT rWHLRn4Ogv0k+gN/iCsBSxd60thlySIpal0rJNiaiPpq4KtlUScGGA59YDlxK2V0DILa Zg80cgDLHi7XktrI5jbff5kT5xyMcljgAsWk9C/90PRTBj6lCZ0LWtvJQj9OAIIwzG9k 93Dk6GsIy2xBW2yMsYau9TsAGYRHV7rriifbu34DmiDmOJpRinaB8PwaYJXQ/rutdZYt cxog== 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=oWFfGhPL0MuDCY9erlx7g4ikOUg+dyZsoUvgDVWWSgnHuqmNu+g3R+h4atHHC+kntL FIMTKzwEug0fjLwhoa8K2DktPjKDmdptsv/fDgHP6AnmGZyvoD05wgTm8Ru88StnCi5S Hivoka9vMCcBCq8fjenGg5h4S9ajathzOGlmuDKsUSl24/k8NeQqzp2Pyubu9cbBlW7O twpS6uK16hEr3wfkIwoy76QDTFs0nm3/NrSn/5qmp7Rb3osiA9P06mMwhWYmHBcIF5v3 Z+n0ZdNrDRexsA38QYsU9jsR+aScP2k6+a/k0zp06aqUFZ2gGpkUnY8xb8R9KGgbmRzV 8ZcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=niiuP+q4; 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 c10si579381wrn.424.2021.05.12.10.39.58; Wed, 12 May 2021 10:40:22 -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=niiuP+q4; 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 S240493AbhELR0I (ORCPT + 99 others); Wed, 12 May 2021 13:26:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:33626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239160AbhELQHa (ORCPT ); Wed, 12 May 2021 12:07:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0A82D61C39; Wed, 12 May 2021 15:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620833791; bh=mGtGRLu9zYiUchtFsqOmdAAM+20y7/LdYOEmBnVFKUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=niiuP+q4HILGE7Gx9VMvbaCyjkwXbsKlAyOEzsJxQ5lKuR5kES7FqRoNvXGM3NpBl 4ZA+GiDkYOBRCJBqE8kK/bVlJ2fXWaTr8/FVD84gLBKwSZaB7gcwrMPYmXfV1iRgzQ iyqYf4m1LU8CstO8P8whAOv7NF7BqgkETbz29NFI= 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.11 289/601] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table Date: Wed, 12 May 2021 16:46:06 +0200 Message-Id: <20210512144837.319117658@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144827.811958675@linuxfoundation.org> References: <20210512144827.811958675@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