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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A531AC433EF for ; Mon, 8 Nov 2021 08:58:52 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D2E0861029 for ; Mon, 8 Nov 2021 08:58:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D2E0861029 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78E2F83602; Mon, 8 Nov 2021 09:58:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=walle.cc header.i=@walle.cc header.b="Ye8IrQS2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A666683602; Mon, 8 Nov 2021 09:58:46 +0100 (CET) Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7F18F835C0 for ; Mon, 8 Nov 2021 09:58:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id EBEC322246; Mon, 8 Nov 2021 09:58:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1636361921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=StyhuZGmZUuoeX0lJyR58RD6XAaUJH1x5IU87Xa1Lf8=; b=Ye8IrQS2doFxNXYfIhzCYI8inSPidsyOmevyEjv4nRo3QunEOIJZ7YE5jmA60ebPa1ZfXG H//jEQfpm1bv/zmIeVDdNoTvmPtZbEAgztLV3wE9QneLMcOR4vSY9Cfr/s43DwOcd9uCne Wpi/fzdFha0aHrzlONKuhDzfukVbbP0= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 08 Nov 2021 09:58:39 +0100 From: Michael Walle To: ZHIZHIKIN Andrey Cc: Gaurav Jain , Adam Ford , U-Boot Mailing List , Stefano Babic , Fabio Estevam , Peng Fan , Simon Glass , Priyanka Jain , Ye Li , Horia Geanta , Ji Luo , Franck Lenormand , Silvano Di Ninno , Sahil Malhotra , Pankaj Gupta , Varun Sethi , dl-uboot-imx , Shengzhou Liu , Mingkai Hu , Rajesh Bhagat , Meenakshi Aggarwal , Wasim Khan , Alison Wang , Pramod Kumar , Andy Tang , Adrian Alonso , Vladimir Oltean Subject: Re: [EXT] Re: [PATCH v4 03/16] i.MX8M: crypto: updated device tree for supporting DM in SPL In-Reply-To: References: <20211026065554.29009-1-gaurav.jain@nxp.com> <20211026065554.29009-4-gaurav.jain@nxp.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: michael@walle.cc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Am 2021-11-08 09:48, schrieb ZHIZHIKIN Andrey: .. >> > Disabling the JR0 node in the kernel makes this error go away, and >> > decreases the JR count to 2 which can be observed in the NXP vendor kernel. >> > >> > I suggest you to extract the node disabling from this patch and send it to Kernel. >> > Once accepted in upstream - this change would be picked up by the >> > U-Boot at next DTB re-sync. No. Please don't disable the node in the kernel device tree. IMHO TF-A (or whoever is using the job ring) is optional. So either u-boot should disable it, either statically by -u-boot.dtsi (but please _per_ board) or at runtime by fixing up the device tree. Another way would be for linux to skip probing if its not available. Though I don't know whether this is "the ususal way". But as Andrey mentioned, any job ring could be taken away. So the -u-boot.dtsi method doesn't seem to be that good. -michael