Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3007906ybi; Mon, 17 Jun 2019 14:33:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx91hELWLnwEgKlKvGOnZHrrUDmq+K4ZCUx0jSHh8m285kJTsxPQMIJaXSxRWcQJJNeWqOb X-Received: by 2002:a17:902:e40f:: with SMTP id ci15mr31988993plb.103.1560807229606; Mon, 17 Jun 2019 14:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807229; cv=none; d=google.com; s=arc-20160816; b=gegsouZgKghMxcjdgV4/KEFRzKeTD8lng878/W3dagTqe9OAWG7jGlpgfuQQ8VL9dh znbFtP/O14DsjLICe/GuIRdC6qRdPCxMrrUj6cjiKgVaRoR8NBV37fs4GPbf9vdeDiM7 0tSWZ2sj3jdgeBLLshZMKHjH6pOBaEDx2eqwCTW1Z1y5B3/8OPu7jzo30Os6fsTTrUqk 9hp19/x7OTAc7BsvE9AQYkdqDhV+jVDMS2gLT/tV6FWebO8+GX0OziGqk4WO1Hh7yGyO fFt1Ae2ixefsjp1YnmubUnegKE4QrjPZD3zMf1wwmKOCK5ccE8c89a7ghQlHddXILSGI unyA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5ZY+UVVR9KeIXa/LByT3zC33eA1GXThdYMa4AgrKbfw=; b=egIBli/ByA4LaWidFAxCSno5cGPFfBps9AncuG61oVrATs4+QApx3W+CTqLHUyS72n al5d4MmnMPcSkGK3l/5ko9CqeywIlTwIQndjCxoRQkmc0eWLtaIRtpgBjb6LveREU9Me FBoigLnpOqpJdojKQqB0plRhyZh5SMCuC3y31dkYYGAiUDOvOG2ltaysyiN3XWFSLKT2 MvgnUTaiNDBtrD8y46g1qGOQGQZEDEelQmOLUih1ymeTks+Oab6S/s3JOQ3G9Pw2/YDW 057Po3Jk03a1o4odODHHd1gUVKXSvFoaTDsbEKZPUgvL1sUVHZhiJI2MYpM9ZfPy6v7/ K4yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PDbeTRD3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25si11832603pfk.201.2019.06.17.14.33.34; Mon, 17 Jun 2019 14:33:49 -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=@kernel.org header.s=default header.b=PDbeTRD3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730147AbfFQVZ6 (ORCPT + 99 others); Mon, 17 Jun 2019 17:25:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:52280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730132AbfFQVZy (ORCPT ); Mon, 17 Jun 2019 17:25:54 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A776C2166E; Mon, 17 Jun 2019 21:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806753; bh=RWS4ypcpewR1dccRFjGV9Y/7aVml2BDNYi2XHtLitoo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PDbeTRD3xX/6TapbzGkmPk8mDDhjrZFZ5uNWUQ8xofg/1SYnect56v1Bk/lTHbA6J Xs4D0C2YYaRWLNoITWZ/X6YdJ31oqwpchJ5V4XG2XFpvtzGeBGx4WV4DsNUi/9mVut NEy3N0knQgTVEXFSQf2yew1dh3y6wEwk1etsnLQQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Steffen Dirkwinkel , Andy Shevchenko , Sasha Levin Subject: [PATCH 4.19 45/75] platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table Date: Mon, 17 Jun 2019 23:09:56 +0200 Message-Id: <20190617210754.500430741@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210752.799453599@linuxfoundation.org> References: <20190617210752.799453599@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit d6423bd03031c020121da26c41a26bd5cc6d0da3 ] There are several Beckhoff Automation industrial PC boards which use pmc_plt_clk* clocks for ethernet controllers. This adds affected boards to critclk_systems DMI table so the clocks are marked as CLK_CRITICAL and not turned off. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Steffen Dirkwinkel Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin --- drivers/platform/x86/pmc_atom.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index a311f48ce7c9..b1d804376237 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -413,6 +413,30 @@ static const struct dmi_system_id critclk_systems[] = { DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), }, }, + { + /* pmc_plt_clk* - are used for ethernet controllers */ + .ident = "Beckhoff CB3163", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), + DMI_MATCH(DMI_BOARD_NAME, "CB3163"), + }, + }, + { + /* 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"), + }, + }, { /*sentinel*/ } }; -- 2.20.1