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=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 A5F62C432BE for ; Sun, 29 Aug 2021 17:54:05 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EAFE460E97 for ; Sun, 29 Aug 2021 17:54:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EAFE460E97 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B54A68332E; Sun, 29 Aug 2021 19:53:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1630259633; bh=z/DwpOzN+E0vintUVMXwKGSF9lynhdz8zrCQwDSOdxY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=YhWm7dy5A9OKtUhjB8OSkhpjpyZA+kwstDFhiFVwVmauR+vsRCTIEmm1WpYbtvHQx Nt6jhV85LyycyY8jc+0F2d7SBePskdUGrkYlLbUVZ4YJ0Wb8yBzsIJ7tsUciJwNQsL yeTG0KxaavcCwmHQyzgw8ltIAeTa/X1PPDYqjbw2jyvQDz8hsTByIbvMUxNW/ssv6t UclebMe2GEliUgdX+wP0ze6lOetDw8DBB2rqDuYyB/XPsgdiTP9eU2MglsvsrlqmB9 7SQwAYWmVs+GX6GS9DdYaQff2cWsINaroKdS9yKIqPgvs9wCDuD4adThtHTM5aN5vE 0kjoKzal3Z+hg== Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 325E282E08; Sun, 29 Aug 2021 19:53:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1630259622; bh=z/DwpOzN+E0vintUVMXwKGSF9lynhdz8zrCQwDSOdxY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=C5Z23AfdNDjhON7Cc0VQXfQxseiyKdNoXvyzdsFtDnA+cSIg/yzPEbNEv7hbtpCSn LbaDrObDiHQssoslcGs5Q27yG5NO9le3mH21gl2tLDx991XuGoqnxnugPlY/c0gzvG aAmXtLkvAmSxSJl3l5FVPg7lvZ7GF8ej0eYEPdBe+qfZixujYO8iQiwwP9CyYZQ52p M73V8wrz2JaQLdb7JMW3416KDg3Qzq4acclYNX3MPVY3YAwhNB73XdAQ5TAD0LoYPs rQq/L5Ghx15tX9HZecbrY8NrNTR14Bn9L2CbIXm1fNwLGYiHM4EVlIyTkVV1/CB2gw Mq1F2OtzCrI3w== Subject: Re: [PATCH 13/14] lmb: Mark arch_lmb_reserve() as weak symbol To: Tom Rini Cc: u-boot@lists.denx.de, Alexey Brodkin , Angelo Dureghello , Daniel Schwierzeck , Eugeniy Paltsev , Hai Pham , Michal Simek , Simon Goldschmidt , Wolfgang Denk References: <20210815181314.132330-1-marek.vasut+renesas@gmail.com> <20210815181314.132330-13-marek.vasut+renesas@gmail.com> <20210815195055.GR858@bill-the-cat> From: Marek Vasut Message-ID: <043d8fc8-4162-bb86-918a-a28538c22d54@denx.de> Date: Sun, 29 Aug 2021 18:46:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210815195055.GR858@bill-the-cat> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 8/15/21 9:50 PM, Tom Rini wrote: > On Sun, Aug 15, 2021 at 08:13:13PM +0200, Marek Vasut wrote: > >> Mark arch_lmb_reserve() weak on architecture level, so it can be >> overridden if necessary. This might be necessary if there is some >> sort of architectural exception where e.g. more LMB areas have to >> be reserved. >> >> Note that sandbox now needs an empty implementation of >> arch_lmb_reserve(). > > I'm not sure we need this. We have the arch and board call-outs, and > I've already addressed the imx example. I really want to see how this > works on the I believe you've said rcar example. Since they disable relocation in the bsp too, gd->ram_top would be replaced by fixed value there. I can skip this patch for now.