Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1853671pxm; Thu, 24 Feb 2022 10:35:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwtIDPMdeoifSWfQ7Gg7rF63taZdwAZhEzcsAYLAZPaF07Cyltq6dYfekn0zFmEa+egYgq X-Received: by 2002:a17:902:f711:b0:14d:61ba:8baf with SMTP id h17-20020a170902f71100b0014d61ba8bafmr3771934plo.39.1645727713464; Thu, 24 Feb 2022 10:35:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645727713; cv=none; d=google.com; s=arc-20160816; b=j3Z3vpydXl0gjRs/k4scr7VIVMFDj9crHU53jSHGUR3Vz8esTy9m0r2ibvQS4XQHg/ zu1FemuYqrzy2pFmNGWxCiNzJ/UukHV3rOkFBxlhVlvvpAzTpi7mLwVooCxbtsUHVU8D XhHut7hEe1P/o33tvHCado9biqmeLH6seMFkFy5g/jJk4dAVLSSl7kz1G9l5VaCMNxhm BTZpfUSUmkQRFxMwVr2mGTLT27ZY3fF2TY5B4eS9cZCwjh5i6SmYz8Dg6wf2WLa8Rfme wXeBx43NBZ9N6oSy4lmD5H25FGhZFl6vMyauuaDhJTGkzuJJtZiA6Oi3fY2Yu7yWbnqr x03w== 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=F0YXRcE4sbpeB05G5f6AzNSVgrO8xl3ZmRPiwRuZ2ug=; b=soENlSuYLhc3ZWVyN0tnKOsMtiL2str73HBIb0JJJbPPBMCcx6TDGro/bko+C4paxw 71hgQh5+w6KzbXC3OLabCdc6B1eDA2shALHOuvSxiRbdp9sDTrMlOnC0NLRFfAhkyvm0 w+gCHIHxf0Jcv6x37H9G9thgSfwvU5x0veMkjGSGF5leT91la9Q5uDcyI4qOr0mRUELY RVtvqOEkqZeDeINOfi1woW/3/Fv1mE6Q71K7JTsRYOsH1S2r7ciWYo95RCu+TvnvIpzK b3Pl9tSLrjDUcGWGd3qi+xAGBbVg7+SQDlKXOuuq5XXci+7zlVQQaTcEY3puqISqntZa D4QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=X7qeBK22; 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 w1si3363535plg.262.2022.02.24.10.34.56; Thu, 24 Feb 2022 10:35:13 -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=X7qeBK22; 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 S232330AbiBXRu7 (ORCPT + 99 others); Thu, 24 Feb 2022 12:50:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiBXRu6 (ORCPT ); Thu, 24 Feb 2022 12:50:58 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8392E1C6670; Thu, 24 Feb 2022 09:50:27 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 071931BF20B; Thu, 24 Feb 2022 17:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1645725026; 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=F0YXRcE4sbpeB05G5f6AzNSVgrO8xl3ZmRPiwRuZ2ug=; b=X7qeBK22ai2Xi9AYqOOywCxngjJ+BuJNeFDTms/fYF33iHuTnvbiUO3QJviy7CweBQ+qRm CrbGJI2nIgGatBph2CsmKLAlv192zlRonMsIpWJ/XEOraKT5mHFCF06JzxVh2G36w0hQkS mAr4/6px555ZfyXsGfBXMyGge8BZk4y1WonDNS2KSl+raa0tVIrSkk3c5ugLAhEe30SblT nb+aN/1dAen6oifuHqQ70W5Kt/NQTRUWvXw4gBX2v6Dd2gNvf6vIcxhCVnrYC0ZCU1vsqi dPkArPCMyWFacJtxeSeTiLPLQ7A1NF+PbhYIs58v/As2lfqjAQd5upjcx/1fRw== Date: Thu, 24 Feb 2022 18:50:22 +0100 From: Alexandre Belloni To: Nicolas Ferre Cc: Hari Prasath , 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> <9858f8e2-619c-2c3b-f771-114bb5379876@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9858f8e2-619c-2c3b-f771-114bb5379876@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_H3,RCVD_IN_MSPIKE_WL,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 24/02/2022 16:47:03+0100, Nicolas Ferre wrote: > 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? > Yes, simply add a new compatible and do the allocation where necessary. IT would be just like how we have different compatible strings for every different macb integrations. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com