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 X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham 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 CAB34C433F5 for ; Wed, 8 Sep 2021 13:40:19 +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 513BF61167 for ; Wed, 8 Sep 2021 13:40:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 513BF61167 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org 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 972968346A; Wed, 8 Sep 2021 15:36:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="RlHAu42V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B8EDD83370; Wed, 8 Sep 2021 15:35:24 +0200 (CEST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4ACE1833ED for ; Wed, 8 Sep 2021 15:34:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-wr1-x431.google.com with SMTP id v10so3362489wrd.4 for ; Wed, 08 Sep 2021 06:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XBbKrENhKhmvUs0cdJx2dgR8JBCyd2U7lbXROFktLxw=; b=RlHAu42VJsUuW4X90ZeMQ0Kr/Enj6ByDh+xpbtL5g3U22F3N5pGRAYxvI4iOuE8Kb9 UZELdf6qv3TZO+pbb+FL6GyuVllYHDEVZOM9JCg7Y5HxPIookMms/A+FJAJHCqMiUKNz gZAWEOhrJeEMFwUHPV0P1DeA0kuDy6vGnybsI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XBbKrENhKhmvUs0cdJx2dgR8JBCyd2U7lbXROFktLxw=; b=yepx4ZCbnKI5pCb1CzYqCh/G+QdP1kyV2FG99+zbCY6S+El3WOOSsOGJkt1CkY8n0y V31nrOOgQUCopsu8i280HoRxGcbV106z/IzeSwUwYxrmlxf+evi8dJyKKfBMblJMUCsa H/hMZeaNUmXChlguNTNUKtpO8FseRGwdwlOsJiTYqcr2N+kXmrg+iwksHBIVDW5xtky7 fFGgMx8cvVTetEiffaSy2RfH6mPXBYcNkOIv8vJsSXWov39JQSgeNkgGcAUj86sbXk4/ 8X6NcQKaX+Vox+q1FzuCJRos8MWVqQdetwrwtZVRWjSjnsxXKUwwuOVqEc/IkUN8dry+ O9ZQ== X-Gm-Message-State: AOAM533ITIOQX5IeatBHPu/nMTJpx7FsqUtp09xGfNziA1KjVLE9b3Nq rL/r3ZaVZhPsSDSsLPXMOw1MykjeaWUXLM+J X-Google-Smtp-Source: ABdhPJzBW94SFyeLF8p+I4VZau4daW875PaeMUCfH804saokUwZ4+OntHIeVLc5hCqIPs0jwqaWAsg== X-Received: by 2002:adf:ea4d:: with SMTP id j13mr4166817wrn.86.1631108098516; Wed, 08 Sep 2021 06:34:58 -0700 (PDT) Received: from sjg1.roam.corp.google.com (82-69-54-180.dsl.in-addr.zen.co.uk. [82.69.54.180]) by smtp.gmail.com with ESMTPSA id l2sm2209065wmi.1.2021.09.08.06.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 06:34:58 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Heinrich Schuchardt , Bin Meng , Tom Rini , Christian Melki , Simon Glass , Alexander Graf Subject: [PATCH 34/35] efi: Show when allocated pages are used Date: Wed, 8 Sep 2021 07:34:04 -0600 Message-Id: <20210908073355.34.I2eff1cd4f12753d0d86e9751fa350458ef5789e0@changeid> X-Mailer: git-send-email 2.33.0.153.gba50c8fa24-goog In-Reply-To: <20210908133405.696481-1-sjg@chromium.org> References: <20210908133405.696481-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add a message here so that both paths of memory allocation are reported. Signed-off-by: Simon Glass --- lib/efi/efi_app.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi/efi_app.c b/lib/efi/efi_app.c index e0666d1fae2..c8f4784eb7d 100644 --- a/lib/efi/efi_app.c +++ b/lib/efi/efi_app.c @@ -97,6 +97,7 @@ static efi_status_t setup_memory(struct efi_priv *priv) return ret; priv->use_pool_for_malloc = true; } else { + printf("(using allocated RAM address %lx) ", (ulong)addr); priv->ram_base = addr; } gd->ram_size = pages << 12; -- 2.33.0.153.gba50c8fa24-goog