From patchwork Mon Jun 20 04:32:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathew McBride X-Patchwork-Id: 12886989 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12D7EC43334 for ; Mon, 20 Jun 2022 04:34:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=A+7VC/1zKz1fwDMOgzILgrGgwAnm5ZsooNzKn8slxxI=; b=wA+RVDTBvb+Dbd +ux6O/SlO54vgZpvKC0GB5IlUYm671M82S704G6GYlxMaWQbSIfCj9HBcQKTPTmcg3lXyuFdqCXzY zPev48j12Z2gRLvl/zjuluiAVRcl7msgRkVi4uz2vSXzZrY49CH6fk04roktD6SRRdMoSHrN4nmZv /YUTkDNjvCu5+BxZY04UUmfLLqxovjevQEF9dDmMEn76WYWwSDuy9BLIwyuUylEGaXBxYoTtjxdlx V3DwiXwDyPyXMNUiW/NIOlREn5AGN//VGncUjU0qZW0aKGIo4s7fBt+hsICqdFoAKSlFhCV5jBtFN UDRhX9FtH3Hs7VDJgGwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3969-00G9Tq-4U; Mon, 20 Jun 2022 04:33:13 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3965-00G9SY-Vb for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2022 04:33:11 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B76C45C00EA; Mon, 20 Jun 2022 00:33:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Jun 2022 00:33:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1655699583; x=1655785983; bh=+AI340Wird kCNj2daU0dhzcNsCD3h4uVmVS2Tv0hb9s=; b=EdEE421SMaNmEO4D/AdwaLjP7Z EKz/olBcsjFjGI2bjhKCodGShwOVwIY41js2tkJvkI9SWv65EzDRAVJ6WU5KBakz P7ySKKVOsO5QPss5buWI7xeD99fOuayD8KQY3sTfUvY2GHIpuG8bs12JeeJZs141 ArjvK4yy6TrWUtFPo7I3FDX011kfnMAnSBm/CzrGr0qvoUB27/4WaRjcil1HYfo5 Q3yXjIlv1wqTujCIjeGkMhLEOx8XfbSjPT5NgHNN3DHlxWEGfP4h7sbweJU9IwSe cw0Cg3qntRut2cr0Sb/lg2FFQt0WvlZwIwC/mz9VeI3SIucij22YSgMRylcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1655699583; x=1655785983; bh=+AI340WirdkCNj2daU0dhzcNsCD3h4uVmVS 2Tv0hb9s=; b=oIwDd5g67Mg95NtSVXZHJqX+Pva8w8DRFev5h+f5md5vhjhkztw hcWiSLbzwunwxgqDE1xswKunR05WNRM2qhtX20QJwVZFof0cmn+4IyywlcvUFyJQ TaDIC0lDp4MTyrFDfPvLmSFZaXzGby2DGivl8Yxnvc9npO9/GWy52SE8yZUNoqRp FMB2tXKPRdlMdFpERPRYULFT0l0MCfM7D4sErgPgk/VhNYXU+2qYy/RBqsCKLaYp kEOPMdd59TJsTlEDELQ/Mxp4v11hsSmOo4u8iFR7zNPQy8BjH60fQJZ9tPObXuWs 45/64yFqGhNU+v9dAJB61qnRsUfg4GBaZQQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeftddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepofgrthhhvgif ucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtf frrghtthgvrhhnpefgkeetgedufffgtdevvdejjefftdfghfetfefgueehhfeljeffgfef ueeujeelffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruh X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 00:33:01 -0400 (EDT) From: Mathew McBride To: Ioana Ciornei , Li Yang , linux-arm-kernel@lists.infradead.org Cc: Mathew McBride , stable@vger.kernel.org Subject: [PATCH] soc: fsl: select FSL_GUTS driver for DPIO Date: Mon, 20 Jun 2022 04:32:43 +0000 Message-Id: <20220620043243.32235-1-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220619_213310_496893_A3271F8E X-CRM114-Status: UNSURE ( 7.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The soc/fsl/dpio driver will perform a soc_device_match() to determine the optimal cache settings for a given CPU core. If FSL_GUTS is not enabled, this search will fail and the driver will not configure cache stashing for the given DPIO, and a string of "unknown SoC" messages will appear: fsl_mc_dpio dpio.7: unknown SoC version fsl_mc_dpio dpio.6: unknown SoC version fsl_mc_dpio dpio.5: unknown SoC version Signed-off-by: Mathew McBride Fixes: 51da14e96e9b ("soc: fsl: dpio: configure cache stashing destination") Cc: stable@vger.kernel.org Reviewed-by: Ioana Ciornei --- drivers/soc/fsl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig index 07d52cafbb31..fcec6ed83d5e 100644 --- a/drivers/soc/fsl/Kconfig +++ b/drivers/soc/fsl/Kconfig @@ -24,6 +24,7 @@ config FSL_MC_DPIO tristate "QorIQ DPAA2 DPIO driver" depends on FSL_MC_BUS select SOC_BUS + select FSL_GUTS select DIMLIB help Driver for the DPAA2 DPIO object. A DPIO provides queue and