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.133.124]) by mx.groups.io with SMTP id smtpd.web10.67454.1629365306470473673 for ; Thu, 19 Aug 2021 02:28:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eEI+7Mw/; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629365305; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RTeTRbJr9E5eHqx9zpvRAPpA3bFrQHZilabe1mVtSjc=; b=eEI+7Mw/SrR1R7ysrYN7IJDim/v9XYeo2h5Kg9MKjB7S7sDvr7ubcZdNJSIFhehNKNcIy1 j/yLxndkxxNSQ7HbnazMc0SXZUCdSdPsaJPiy+82Cl2H+UGHZdqWYv4KGxrYUIr/6cIRW7 bBLFk8ru26+1v7vc6UHbqlxXRI6UBks= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-374-XgHQ7O3TMKCfeGjJsmraCQ-1; Thu, 19 Aug 2021 05:28:24 -0400 X-MC-Unique: XgHQ7O3TMKCfeGjJsmraCQ-1 Received: by mail-wr1-f72.google.com with SMTP id p10-20020a5d68ca000000b001552bf8b9daso1481934wrw.22 for ; Thu, 19 Aug 2021 02:28:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RTeTRbJr9E5eHqx9zpvRAPpA3bFrQHZilabe1mVtSjc=; b=dEUmb4YE5spiWSaY0WXxPBXVQhGoqH5ei0tB3keVsJOfIuHV9zjK7R+CO+YkC/KKsK ESbM9KRJZw2NoCzcmj7tR437moV7cYjzQf1dImRuR3Kk/pu/xBgVv9/VL1n9VoKfg0CZ usXAvuOnva3L5bBebZODJM1PPEisDKJzX3n9Xh37vuL48OqP8D4QkjpXM1XMziN0FMb0 EV2I11+uMw9CUdVmnli1k8XxyVscEGAvtUq0KdlZepGMc7F0Y0NOGhZVjyqkkLueWEmO xlFHV2voIqbwQGcITPl2vBUbuKr8nkFRx1cT+GPrnD1k3OR+dFmJdc2REvM2yfrcrw/A D2kA== X-Gm-Message-State: AOAM531fmliZ0J2zauy9S7cLla4qblYgnQOwH4JwfwJZ5anCM+P5O+ij kd8IN3VwLAoyIv46V46xl3RD0vAl6H1FnCm5atIj8xmsLd24CRAcglaqf47qqI74STnKOFWszgT XvmIxZ10pYcNt0A== X-Received: by 2002:adf:e746:: with SMTP id c6mr2529839wrn.276.1629365303120; Thu, 19 Aug 2021 02:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL1uj4sjZsv9samc9EDf1tB6+xSCaGjYvRzlVEeonuzkTfnGNRwQRWr35a36iWUzEuaPQXCg== X-Received: by 2002:adf:e746:: with SMTP id c6mr2529823wrn.276.1629365302978; Thu, 19 Aug 2021 02:28:22 -0700 (PDT) Return-Path: Received: from [192.168.1.36] (163.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.163]) by smtp.gmail.com with ESMTPSA id o17sm6883828wmp.13.2021.08.19.02.28.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Aug 2021 02:28:22 -0700 (PDT) Subject: Re: [edk2-devel] [PATCH 2/2] OvmfPkg/PlatformPei: prefer etc/e820 for memory detection To: devel@edk2.groups.io, kraxel@redhat.com References: <20210819081110.1612205-1-kraxel@redhat.com> <20210819081110.1612205-3-kraxel@redhat.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Message-ID: <22fa75f8-2247-b21b-c669-3b92d526a46d@redhat.com> Date: Thu, 19 Aug 2021 11:28:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210819081110.1612205-3-kraxel@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 8/19/21 10:11 AM, Gerd Hoffmann wrote: > Prefer the e820 map provided via qemu firmware config interface > for memory detection. Use rtc cmos only as fallback, which should > be rarely needed these days as qemu supports etc/e820 since 2013. > > Signed-off-by: Gerd Hoffmann > --- > OvmfPkg/PlatformPei/MemDetect.c | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) Reviewed-by: Philippe Mathieu-Daude