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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41A04C433FE for ; Thu, 3 Dec 2020 19:48:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D70A4221F2 for ; Thu, 3 Dec 2020 19:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727614AbgLCTsi (ORCPT ); Thu, 3 Dec 2020 14:48:38 -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