Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp758129pxu; Thu, 3 Dec 2020 11:51:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyatWKlwQp0B3Q9XntDlQjylArK7eN8f/VntRts/iqKqbnnHtLpjkD/jkj5cPat8POkBJh5 X-Received: by 2002:a50:d5c4:: with SMTP id g4mr4210883edj.334.1607025113032; Thu, 03 Dec 2020 11:51:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607025113; cv=none; d=google.com; s=arc-20160816; b=BPF9Hp5uGhJC1MhlGLdyKqE3lI3GrE6Rp9ZK12FzsKLuurKHtis9IHyN3Ko2fKiyS2 4qkBXXfDFtIhyTPVEtQveLxUcxIphE39f0hCtM272i5tR5rrU8+WrjKtfeh/osJFU0iE 5f6ePAumzK8sTCk6poJJuRZQUScpZhYFCVqCpt8PxIvUAOLekBKTDncgSBBlZLpyp4h1 s35luPYx9pCv8rrLi2bTf6uGBxZKjWrvDDXHCz5YmsVaonPwYhWAR2P4p5ghntROgp2w T7mrwROkT+GR9a+2DOfYqYa5OzW8IDZCQaS85k8ZE1rfQlufUb4iXBFpapy9gWTitf1u vPFA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8XfU0CesaDkxye/MfJZ48LrvdSMvNPboBHcrcvzbts4=; b=m1fQBwk77q6rUENJ4fwrIY7X68Ankkq362Pcwn+t8xfXKvVJABIyLTI0JiPHU9Rj4a R6LmuKxBmnZHEzYkHgRKNoz0YpmUTI01riO8lfEA30xSD5vJTRCBFcUiaEcGiqxUwEfQ bJ4tk7jjsMOG+0SBo7LSYvzYWDRlbEk6Gk3ewd4jErtzSQeldCIkAb+yOPuF44ODHaJa qTJQ8wXD4V/x6/Qa5ZFC8lhk7gbtFbAgHAvPvaw/wtVSW9anYoszRna3SGziV4KDVkSu kohkH0u1oFBbVIBgfdx/xomZKYaUMd2wF/au6NlHyi084/8xq4a8n6SitHUnb7aNZOZh szdA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 30si1544456edv.385.2020.12.03.11.51.06; Thu, 03 Dec 2020 11:51:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727023AbgLCTsh (ORCPT + 99 others); Thu, 3 Dec 2020 14:48:37 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38907 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgLCTsh (ORCPT ); Thu, 3 Dec 2020 14:48:37 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 1AF5F240002; Thu, 3 Dec 2020 19:47:55 +0000 (UTC) From: Alexandre Belloni To: "nicolas.ferre@microchip.com" , Ludovic Desroches Cc: Alexandre Belloni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dan Sneddon , stable@vger.kernel.org, Cristian Birsan , devicetree@vger.kernel.org Subject: Re: [PATCH] ARM: dts: at91: sama5d2: fix CAN message ram offset and size Date: Thu, 3 Dec 2020 20:47:53 +0100 Message-Id: <160702486441.80366.4433626293403799322.b4-ty@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201203091949.9015-1-nicolas.ferre@microchip.com> References: <20201203091949.9015-1-nicolas.ferre@microchip.com> 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 On Thu, 3 Dec 2020 10:19:49 +0100, nicolas.ferre@microchip.com wrote: > CAN0 and CAN1 instances share the same message ram configured > at 0x210000 on sama5d2 Linux systems. > According to current configuration of CAN0, we need 0x1c00 bytes > so that the CAN1 don't overlap its message ram: > 64 x RX FIFO0 elements => 64 x 72 bytes > 32 x TXE (TX Event FIFO) elements => 32 x 8 bytes > 32 x TXB (TX Buffer) elements => 32 x 72 bytes > So a total of 7168 bytes (0x1C00). > > [...] Applied, thanks! [1/1] ARM: dts: at91: sama5d2: fix CAN message ram offset and size commit: bee3d7266dc3658d40c3d36074873b1299591f11 Best regards, -- Alexandre Belloni