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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 26419C77B7F for ; Fri, 5 May 2023 07:50:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10C428473F; Fri, 5 May 2023 09:50:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="swdDYzzA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0D4CC8474A; Fri, 5 May 2023 09:50:23 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D1F348473B for ; Fri, 5 May 2023 09:50:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-jain1@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3457oHXa125986; Fri, 5 May 2023 02:50:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683273017; bh=lgIY0B8gIcHw/Eq2X128QotSf7uCxRZKzLLxwhth8OQ=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=swdDYzzA5cy67GVkUqeHX7u+Ma7tTJXmjy8sugMeXesOBdEcGAaNo0B9FxD7nTIdU dSPN9qVR4Rhy8ph/410diapQOEFBtSfQD7T3lIAdu4uPoARjNFC4wq+Oj/eWYaDBYu LBKXHqvWwCrwTlXaSVNeEXuiegQMd3tkW/7Zk9ds= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3457oHML012384 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 May 2023 02:50:17 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 5 May 2023 02:50:16 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 5 May 2023 02:50:16 -0500 Received: from [10.24.69.45] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3457oE0o019019; Fri, 5 May 2023 02:50:15 -0500 Message-ID: Date: Fri, 5 May 2023 13:20:14 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [EXTERNAL] [PATCH v3 19/43] Show the malloc base with the bdinfo command Content-Language: en-US To: Simon Glass , U-Boot Mailing List CC: Heinrich Schuchardt , Bin Meng References: <20230504225829.2537050-1-sjg@chromium.org> <20230504165823.v3.19.Ifeceb389ca067768037fa89ba27000a62fe8c64d@changeid> From: Nikhil M Jain In-Reply-To: <20230504165823.v3.19.Ifeceb389ca067768037fa89ba27000a62fe8c64d@changeid> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean On 05/05/23 04:28, Simon Glass wrote: > It is useful to see the base of the malloc region. This is visible when > debugging but not in normal usage. > > Add it to the global data so that it can be shown. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > cmd/bdinfo.c | 1 + > common/board_r.c | 7 ++++--- > include/asm-generic/global_data.h | 11 +++++++++++ > 3 files changed, 16 insertions(+), 3 deletions(-) Reviewed-by: Nikhil M Jain Tested-by: Nikhil M Jain