From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.198308.1673967006368953910 for ; Tue, 17 Jan 2023 06:50:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FVGyiBy3; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673967005; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jJfoQ+3u540q5TszOIvfyGEeyTQPHZrU5OBcPsXDOEM=; b=FVGyiBy3I6V7A+r9LCBcHkV+EL38RvTUvX8hhH2c5PDrVnAnzMpZHyAUhjBis+FF5DTW0p K9CSNmDGN8S4opwsh96Z53EigOolStsKvyvvwJqN1o4hiNGpc7VF8dXbri368enpHz4phe 2XvOXu0PTM6yPxGE5cb7VHfjI3+GMJA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-1iJMAOKDPNSbAaSWLwEUVA-1; Tue, 17 Jan 2023 09:49:47 -0500 X-MC-Unique: 1iJMAOKDPNSbAaSWLwEUVA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 83DBF885628; Tue, 17 Jan 2023 14:49:21 +0000 (UTC) Received: from [10.39.194.135] (unknown [10.39.194.135]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4D7FF492B10; Tue, 17 Jan 2023 14:49:20 +0000 (UTC) Message-ID: <78af4ee7-04d8-e7a1-cb44-851468752fad@redhat.com> Date: Tue, 17 Jan 2023 15:49:18 +0100 MIME-Version: 1.0 Subject: Re: [PATCH v4 5/5] OvmfPkg/PlatformInitLib: reorder PlatformQemuUc32BaseInitialization To: Gerd Hoffmann , devel@edk2.groups.io Cc: Jiewen Yao , Oliver Steffen , Ard Biesheuvel , Pawel Polawski , Jordan Justen References: <20230117121629.2149112-1-kraxel@redhat.com> <20230117121629.2149112-6-kraxel@redhat.com> From: "Laszlo Ersek" In-Reply-To: <20230117121629.2149112-6-kraxel@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/17/23 13:16, Gerd Hoffmann wrote: > First handle the cases which do not need know the value of > PlatformInfoHob->LowMemory (microvm and cloudhv). Then call > PlatformGetSystemMemorySizeBelow4gb() to get LowMemory. Finally handle > the cases (q35 and pc) which need to look at LowMemory, > > Signed-off-by: Gerd Hoffmann > --- > OvmfPkg/Library/PlatformInitLib/MemDetect.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) Reviewed-by: Laszlo Ersek