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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 DB1C9C53210 for ; Wed, 4 Jan 2023 23:46:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.471536.731418 (Exim 4.92) (envelope-from ) id 1pDDSl-0006yJ-U9; Wed, 04 Jan 2023 23:46:27 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 471536.731418; Wed, 04 Jan 2023 23:46:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pDDSl-0006yC-R7; Wed, 04 Jan 2023 23:46:27 +0000 Received: by outflank-mailman (input) for mailman id 471536; Wed, 04 Jan 2023 23:46:26 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pDDSk-0006y6-KQ for xen-devel@lists.xenproject.org; Wed, 04 Jan 2023 23:46:26 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pDDSi-0004aK-ND; Wed, 04 Jan 2023 23:46:24 +0000 Received: from gw1.octic.net ([88.97.20.152] helo=[10.0.1.102]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pDDSi-0007lI-9M; Wed, 04 Jan 2023 23:46:24 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=gmGTuusN/Cw77oybOwaLhW7XmTlkAMPzqinnHBSTdxg=; b=tYnmNNAk9EcGInkeuV7IWS/4yf xgx4FW5Jy8IZm7kO7iBuuv15RxiMUO+aR+2xzncu8Cche+m0nXKjhcQBlcoxWoRRrQkGB6EEV3247 EgNUa72ObOt25KWLqzjnIjEGIw/9TGYuHmSvrhZKyVGn29oR6VbrrH/0hZCvIIlgUsI0=; Message-ID: <2a343532-d324-e1ac-418c-5b34967d8de2@xen.org> Date: Wed, 4 Jan 2023 23:46:22 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] xen/arm: Print memory size in decimal in construct_domU To: Stefano Stabellini , Michal Orzel Cc: xen-devel@lists.xenproject.org, Bertrand Marquis , Volodymyr Babchuk References: <20230102144904.17619-1-michal.orzel@amd.com> From: Julien Grall In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Stefano, On 04/01/2023 23:41, Stefano Stabellini wrote: > On Mon, 2 Jan 2023, Michal Orzel wrote: >> Printing domain's memory size in hex without even prepending it >> with 0x is not very useful and can be misleading. Switch to decimal >> notation. >> >> Signed-off-by: Michal Orzel > > Acked-by: Stefano Stabellini Was this intended for v2 rather than v1? Cheers, > > >> --- >> xen/arch/arm/domain_build.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c >> index 829cea8de84f..7e204372368c 100644 >> --- a/xen/arch/arm/domain_build.c >> +++ b/xen/arch/arm/domain_build.c >> @@ -3774,7 +3774,7 @@ static int __init construct_domU(struct domain *d, >> if ( rc != 0 ) >> return rc; >> >> - printk("*** LOADING DOMU cpus=%u memory=%"PRIx64"KB ***\n", d->max_vcpus, mem); >> + printk("*** LOADING DOMU cpus=%u memory=%"PRIu64"KB ***\n", d->max_vcpus, mem); >> >> kinfo.vpl011 = dt_property_read_bool(node, "vpl011"); >> >> -- >> 2.25.1 >> -- Julien Grall