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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 593FDC433EF for ; Tue, 22 Feb 2022 20:46:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235586AbiBVUrL (ORCPT ); Tue, 22 Feb 2022 15:47:11 -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> 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 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3892C433F5 for ; Tue, 22 Feb 2022 20:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x8N7du4BMWTXi31EKyZ8++HewkALPDtOM8BjAHaSM84=; b=tfQ/oqSjO/O8rP 8DJSCbkKbK+JT1PiQ39HWTc4MewxRHQl2darH2259EIc4m2UyV3c4TrNCXEhNgqNfBdHpF8iNS+gj bhq2jdaeBsIedey9ph1EQq7bJRQKUVlOU5lR4/kfbHGKstLdCPjHSASTHwxVeA+4V1wRA9hPezHfr iWi7ZZVjLCoCG0FHZpPiVTGWm4fHtdTQ92XbnlBsyxk+1X3BtY5ZGW9B+JWqOajYXybJ3mfLYEmTm Sxyu59I9+GAhnU2xz7wQ2C+42OxTjInFjTF4wLM05xRhLhZPFnPe/x7d/HILectVe7/PcZvt25pMm VP2+6IvJut99vGfqwmbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMc3V-00BZKr-Ht; Tue, 22 Feb 2022 20:46:41 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMc3R-00BZJN-88 for linux-arm-kernel@lists.infradead.org; Tue, 22 Feb 2022 20:46:39 +0000 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 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-Disposition: inline In-Reply-To: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220222_124637_482941_84A5F2D6 X-CRM114-Status: GOOD ( 16.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, claudiu.beznea@microchip.com, ludovic.desroches@microchip.com, robh+dt@kernel.org, linux@armlinux.org.uk, davem@davemloft.net, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel