From mboxrd@z Thu Jan 1 00:00:00 1970 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 8DA00C43334 for ; Sun, 19 Jun 2022 06:08:23 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+tGMDplo/cRqrNhgZsjDNYPIj7jfNpOPfM2mN7uPlNM=; b=c4/6QVx4EBlfJI Fywfqe//GMSrGFiyn/kis/YAeaaelaTatKYIVdT0WM1rPkNc0mF70xPjtXn2JSq3Ud3F3MhJeDoDq MD1siPMbg2K0JE/iM+vCNg4rplnqc1Ovk/Os5y7MWPS7Sn7NUFzGZR7ZxvvJjB9jm/Xi6Q+V9C3pc g/yhe+h1o+GZzqcjVfprRqg8botZbn7YNCVT4lxAsjkfL5o8L4h4LfQK4c6EvGudd4CfWZEkb9ZP6 EFhdmuyg/EaIgcUBpp/nchZ7O5pwHcbZ9ry43khmyLULziJcA6S6s4K+PV6wtuLUoR88lEYwjRklU PFBa/7jP9Hw3K/O7JsoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2o5V-00DJvw-3U; Sun, 19 Jun 2022 06:07:09 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2o5R-00DJvI-PX for linux-arm-kernel@lists.infradead.org; Sun, 19 Jun 2022 06:07:07 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1EEFFB80B34; Sun, 19 Jun 2022 06:07:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB1F5C34114; Sun, 19 Jun 2022 06:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655618820; bh=DHgCawX0wk3uEpWZj+8dwCevxS/kLe6lGOjo3UMy33U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GYDiq6PA61zCUMdiCnGcRJpXshkifujxQq8L2FdQ6eGD1MuySXT5I+tz0s+XAe0iG OLa/C3Pv5lAxXgucriCNfAftJ797YRoFDs/jI8c0i4cYBRUmkIMB3Lg5qphot1DUHP RqE9HNONAaoKzMclHNoUhmqSZYLoPBowsPf4pozZNdGatmHwdGIHpkHrWa25uAx+zv 9HGYW8hmlVFAwFOjm+vG9ehyMYDQOVa8Z5Ke4T6WxdvWI7TNOjEiKjoFJKjwQ4Gvt3 JnyO/zDLyED/qE9hCFUNX6oGREfdRAQLSVvRw2Azz6Emr36SvRQGuA0UMLf9lMWKeK o1RfjJ3etl4Xw== Date: Sun, 19 Jun 2022 14:06:55 +0800 From: Shawn Guo To: Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org, andrey.zhizhikin@leica-geosystems.com, linux-imx@nxp.com, kernel@pengutronix.de, gaurav.jain@nxp.com Subject: Re: [PATCH] arm64: dts: imx8m: Disable job ring 0 nodes Message-ID: <20220619060655.GF254723@dragon> References: <20220608170223.1536594-1-festevam@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220608170223.1536594-1-festevam@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220618_230706_176221_BEDFE0C9 X-CRM114-Status: GOOD ( 16.70 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 08, 2022 at 02:02:23PM -0300, Fabio Estevam wrote: > Now that the JR0 reservation is done in both upstream (v2.7) and > downstream (NXP lf_v2.4) TF-A versions, the kernel fails to initialize > the job ring 0: > > # dmesg | grep jr > caam_jr 30901000.jr: failed to flush job ring 0 > caam_jr: probe of 30901000.jr failed with error -5 > > Disable the sec_jr0 nodes by default to avoid the caam_jr probe error. Shouldn't caam_jr driver be fixed to cooperate with the new TF-A? Shawn > > Suggested-by: Andrey Zhizhikin > Signed-off-by: Fabio Estevam > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 + > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 + > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + > 4 files changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index 1bf070473829..8049a16d6027 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -911,6 +911,7 @@ sec_jr0: jr@1000 { > compatible = "fsl,sec-v4.0-job-ring"; > reg = <0x1000 0x1000>; > interrupts = ; > + status = "disabled"; > }; > > sec_jr1: jr@2000 { > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > index e41e1d56f980..fdfcc75a80e8 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > @@ -857,6 +857,7 @@ sec_jr0: jr@1000 { > compatible = "fsl,sec-v4.0-job-ring"; > reg = <0x1000 0x1000>; > interrupts = ; > + status = "disabled"; > }; > > sec_jr1: jr@2000 { > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index d9542dfff83f..c560d867fb6e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -791,6 +791,7 @@ sec_jr0: jr@1000 { > compatible = "fsl,sec-v4.0-job-ring"; > reg = <0x1000 0x1000>; > interrupts = ; > + status = "disabled"; > }; > > sec_jr1: jr@2000 { > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 49eadb081b19..4338d82a28de 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -1018,6 +1018,7 @@ sec_jr0: jr@1000 { > compatible = "fsl,sec-v4.0-job-ring"; > reg = <0x1000 0x1000>; > interrupts = ; > + status = "disabled"; > }; > > sec_jr1: jr@2000 { > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel