Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1725358pxm; Thu, 24 Feb 2022 08:15:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJylNCNPTWmxfrc+M3PGre0gXupA3q1sbqaX65CZhwDNrfRbOHMyWqhT3TYZx/P6iGiCHi6h X-Received: by 2002:a63:3fc3:0:b0:373:d98:51b0 with SMTP id m186-20020a633fc3000000b003730d9851b0mr2817013pga.356.1645719347461; Thu, 24 Feb 2022 08:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645719347; cv=none; d=google.com; s=arc-20160816; b=hZ+XoEEQ1qPmpFKyuKhctPGbtAmut3INe8U78NCbabkPq8RcD9N+8AyH94WaD63PyW xjAJrjTA+1QPhSGfijxvy4IM5mXAl0cciadN8VFlfezCZUm+KZsONufiD38aeJz61qMI pwSzL5e9zs3Zmb6r7+nido2NmgemCxLG1uSKoLDpoKUI18zB2Cn8RdZ8UzT1cALn0jG5 UC/eEvvPe7/pODNN9NTYqda6jEBn8jdm16e0Cp66BsgpiiSeNyOox9HXPVEuyNkTDD/s p7Q93kFaiKowyCoT0YUUiMKJ21L4M27jSa3bq2znWm+RxPK1TyEiQvPzKZw3L51Law+9 FVGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=8RvP46cf0tSf0LRWl1nb2DRSrfTXbMYmsJX2CqmEKM8=; b=wEUUGs5boM32wuu7DD7CFezTyKLwo01/XZeCEPRh71Z96ukkeJexNLyf+8EGmjc8SV Fj1lhvVjUIsEkFJzm2AkAT5yua/b2ccKjXXcTki0DmFD1HDI61oYOj5WlYc6P1sETYeW kO+pWdnaw8VLotgB5ncRLIkMzs0ytWN0zKc6DJn7HfqWP4mhkS11k9gU06ZMpQmjVEjD qoALlXzAq8GC1Dstxjm+gU3fiRL0ZqYadftnVl9kypMRoGpl3FD+NXIMAL6bU/8TkiXv i5aVqbHFdXgeNcUtGKKIWEHvbFS20mYXY+2d1Rcnw0k5miRC1zyXQaesUEUGFlVVTC9u 0Dlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=dtP4m30T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q4si3122627pgu.205.2022.02.24.08.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:15:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=dtP4m30T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D1E37190C37; Thu, 24 Feb 2022 08:07:57 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236502AbiBXPrl (ORCPT + 99 others); Thu, 24 Feb 2022 10:47:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233589AbiBXPri (ORCPT ); Thu, 24 Feb 2022 10:47:38 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADAE633890; Thu, 24 Feb 2022 07:47:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645717628; x=1677253628; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ll3MqrDoeIh8KqQDetcgoJwBbe/DS1Rty18ugHPoHU8=; b=dtP4m30T8XpsZQQCgxbbzWixID4SoKRSPLk3R2FkCrxKsRmcc0idrGkB mAHamC/Du+Cba3lgCs7O1Tikb8sHiNg9RMnAhqFFlXyE7lRsy+c22ZbZx j2hGRASKnycfUQfszPUGHqyu9SjxGXKQNPiVYTuNEUiMqSUYENNBeOmW9 gurehmbYblI4BE695NAf9N3lonQ+E18AEMBGc7ISpetnDLUKrn/9Whm7u ZEpaGR0ICIcOvBnqzEVyITd28DJKwF8oUyl7jYLdCy5wKhxSRpRqWeglp E89Dd9Y9qolztYYrxfAbCyKi6+1H3NFMKR34cTgFVXDfkcibJ7R4aHgC+ w==; X-IronPort-AV: E=Sophos;i="5.90,134,1643698800"; d="scan'208";a="154774578" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Feb 2022 08:47:06 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 24 Feb 2022 08:47:06 -0700 Received: from [10.12.73.51] (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 24 Feb 2022 08:47:04 -0700 Message-ID: <9858f8e2-619c-2c3b-f771-114bb5379876@microchip.com> Date: Thu, 24 Feb 2022 16:47:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] 1/3] ARM: dts: at91: sama7g5: Restrict ns_sram Content-Language: en-US To: Alexandre Belloni , Hari Prasath CC: , , , , , , , References: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/02/2022 at 21:46, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On 22/02/2022 17:09:22+0530, Hari Prasath wrote: >> Limit the size of SRAM available for the rest of kernel via genalloc API's to >> 13k. The rest of the SRAM is used by CAN controllers and hence this restriction. >> > > Certainly not, if the can controller need the SRAM, they have to > allocate it properly. I'm not sure that bosh mcan driver can be used with dynamic allocation of SRAM. Is it what you're thinking about? In the meantime, I'm taking the CAN patches of this series as they match what we currently do for other users of mcan driver on other SoCs. Regards, Nicolas >> Signed-off-by: Hari Prasath >> --- >> arch/arm/boot/dts/sama7g5.dtsi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi >> index eddcfbf4d223..6c7012f74b10 100644 >> --- a/arch/arm/boot/dts/sama7g5.dtsi >> +++ b/arch/arm/boot/dts/sama7g5.dtsi >> @@ -65,7 +65,7 @@ >> compatible = "mmio-sram"; >> #address-cells = <1>; >> #size-cells = <1>; >> - reg = <0x100000 0x20000>; >> + reg = <0x100000 0x3400>; >> ranges; >> }; >> >> -- >> 2.17.1 >> > > -- > Alexandre Belloni, co-owner and COO, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com -- Nicolas Ferre