From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.12066.1639407723603223177 for ; Mon, 13 Dec 2021 07:02:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ifSEfGcd; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 95C67B81136 for ; Mon, 13 Dec 2021 15:02:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F998C34604 for ; Mon, 13 Dec 2021 15:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639407720; bh=0ezT/5uajaecH9+c+r+YtT3/kY6L6BjyS3Aw1vr5jA0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ifSEfGcd9QlAsX2WYKYiOSrNYGQWiLYp/qO6IKD8jPi/9IIUiBsis5Fy2j4aJFfYM LNxK4gAhJ0WE8IFt+lFRzjc7kEix6DuB4Tql0Kg0BpiqZ3zbF+Rgt2JlxjfxBTqQFX THlVQIYfieee/sg1Ou57Kj9hlioWRRWKdEin1TF/l4Dos4Xi/mt4p3NfUhYp4iNhFZ ZD/iVo1KasXhzky5Ib4Ul+GlIRtJaJa/mO+pmWL1dSus1ko/WHcv4nBj028rkkzJ91 ijnfX1HOVxYoOp7ltCC0wpmx8ZoZvkwHpzb5oTQgWxm4u8vhdfdT48vfMkAUV+ZUVH 05y3KB4XUA0Kw== Received: by mail-oi1-f174.google.com with SMTP id o4so23479217oia.10 for ; Mon, 13 Dec 2021 07:02:00 -0800 (PST) X-Gm-Message-State: AOAM533WKlg/AuqGVdRSnfr1X7SJIxEchthM0/07n1lQL6iNKUBZL3Os QydqFpqB9XyCZk9tvXEEso+2RS1V7HCAfaQFQyI= X-Google-Smtp-Source: ABdhPJwPSVjyJemYUjgHTLLNKMh9zY97c4IyyDFP6Ry7sPMS9z1daHOqrK56YU25YVJJg1G2CMkIJCPIgk3fcbiXHq0= X-Received: by 2002:a05:6808:12:: with SMTP id u18mr28076729oic.174.1639407719375; Mon, 13 Dec 2021 07:01:59 -0800 (PST) MIME-Version: 1.0 References: <20211208070146.1239368-1-kraxel@redhat.com> In-Reply-To: <20211208070146.1239368-1-kraxel@redhat.com> From: "Ard Biesheuvel" Date: Mon, 13 Dec 2021 16:01:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 0/3] OvmfPkg/PlatformPei: prefer etc/e820 for memory detection To: Gerd Hoffmann Cc: edk2-devel-groups-io , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Ard Biesheuvel , Pawel Polawski , Jordan Justen , Jiewen Yao Content-Type: text/plain; charset="UTF-8" On Wed, 8 Dec 2021 at 08:02, Gerd Hoffmann wrote: > > Don't use cmos for memory detection if possible. > qemu provides the etc/e820 firmware config file > as alternative since 2013. > > v4: > - uncrustify & rebase to latest master. > > v3: > - fix CI failure. > > v2: > - fix lowmem detection. > - pick up review tags. > - add rfc patch to completely drop cmos support. > > Gerd Hoffmann (3): > OvmfPkg/PlatformPei: ScanOrAdd64BitE820Ram improvements > OvmfPkg/PlatformPei: prefer etc/e820 for memory detection > RFC: OvmfPkg/PlatformPei: stop using cmos for memory detection > Merged as #2297 Thanks, > OvmfPkg/PlatformPei/MemDetect.c | 88 ++++++++++++--------------------- > 1 file changed, 31 insertions(+), 57 deletions(-) > > -- > 2.33.1 >