Received: by 2002:ac2:5a04:0:0:0:0:0 with SMTP id q4csp193759lfn; Tue, 22 Feb 2022 14:52:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1WRFovDc8n9ZCM5kouuziSP7LiZ0BK9etIfMZxMWH9pWm07uwv3f53Pfv8Ej8zCWz6I1Z X-Received: by 2002:a17:906:70c2:b0:6cf:e1cc:4d8c with SMTP id g2-20020a17090670c200b006cfe1cc4d8cmr21364241ejk.696.1645570377186; Tue, 22 Feb 2022 14:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645570377; cv=none; d=google.com; s=arc-20160816; b=RLgwaYC+mpsNcJGuQ1HR83l5l+F/jbyggM+gamlS0kpMe6K5nj9cEfyCWpIsjnH/Kd gV63WwugWft2FXP4oDxIbLfWgL8TOc08Mc5/Kpa7nd+InAJkYgWDwsYKyRwPpyDxUUFO plN1pbKz5msvccPDMVYBAbbVS3ziTTWbgT6/XnO0Az8YJLVSfF1srF8c5non2mgMVHwK gM7ZUNA0eyLv9Hd1urM9YohZwgYAqgHW4rPiV70nwTa2uQbqsbxXtgGTsWoW/T//3323 z1ChLd+1c+C5F1Pp/zLs7N4omvWbO1N3snF1nr3qOw8F027B9jZK0bCuRVQreJaxWpIq 2jSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U+URZgxj9nzytd/RWgKSb1xmxxLoF8F2uzNEWDYieyE=; b=WxiLcrQ0qHENAKzEBRulDQXau89yQmly1Q978NUgcIDxRJiJvtylbAhu1/6ykgcRgm q1wGkHIn7wtDTJ8L5sbryQX90xun5756X+3Dc7r6oOVlQoCNx3MBQMi9+IUSiqfEQFK1 0AY8wvjc3tb0NH0bXHrrYkvzPgW73snZQy+OHprK6VulodUoCVLN4RegkniRO07Zqnyv 1bmUZ99GFWF18Eut95kLTRo7BuEyQiY9Rq1D/jBoT6ves3aKROQcOveOIAqN2rAFPRz8 MJFhq2+LYYpv0CQkwsMFZTBdJP/wMCRFM6MdHghO3i6fWzAfn4FRoRtjZxbSJkzKu3PA qkFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gio0QLnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6si11615053ejl.34.2022.02.22.14.52.33; Tue, 22 Feb 2022 14:52:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gio0QLnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbiBVUrJ (ORCPT + 99 others); Tue, 22 Feb 2022 15:47:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235520AbiBVUrB (ORCPT ); Tue, 22 Feb 2022 15:47:01 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341B9E8 for ; Tue, 22 Feb 2022 12:46:34 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 98B04FF807; Tue, 22 Feb 2022 20:46:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1645562792; 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: in-reply-to:in-reply-to:references:references; bh=U+URZgxj9nzytd/RWgKSb1xmxxLoF8F2uzNEWDYieyE=; b=gio0QLnASurQ4A/a73tVkPgJfzoAlaWqc6Djwbs1yQ7uhkJRDq/NrTjENaLA5wG1C0FH8x pbgrOjJyw06rddJwn+1mOyJ/hQWsVe3lKvKgrP0Hcnlz+/CTyI7SjDcfORZUZZtsg2AQF0 yjtc3o40jZBQICxa5xgKLwpvPFdDGIB9Sncv4DVDQKVdidwuezxPf8TBfYkJM28qr1nv/3 u+61JxLlDYDaU7u9x+AAPNgu0FKr9BZcnIfgpk27A8bgJwKw7osaOvo+vz6fDsufyQ+zOM 23y+rDrZ7JdEQ0TrU4Xa7F9KX3UmIHUTrF8b9IstKPb/NKmM/B8rWXMxXQUKbw== Date: Tue, 22 Feb 2022 21:46:30 +0100 From: Alexandre Belloni To: Hari Prasath Cc: nicolas.ferre@microchip.com, claudiu.beznea@microchip.com, davem@davemloft.net, ludovic.desroches@microchip.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk Subject: Re: [PATCH] 1/3] ARM: dts: at91: sama7g5: Restrict ns_sram Message-ID: References: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. > 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