From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id DB715AC0858 for ; Thu, 25 Apr 2024 01:26:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=FbbxC3UUimnSXpdvrcJOe2k8So+Zd4hlXrGm63Ra14U=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1714008369; v=1; b=ze5vcvfSSFf8GCxGljFsqM/lyiseThH890a8Bp0X8JmZKvQNYRn6siLfYDxIt1O45j2u7d0x 2jm2TwE5CL8R3P/S0b6kIkYDTE2Zi/JF+tfZv3XhoJkPOedw0GIvy1XI0jxC3z8cu28NYM4W7M3 wAhgaCE1LiRvRx5fEhOrlty+ES8hSwjq1wL/L2wlWAgfrv0+n5MozfZDERXY7uPVO5UbDRN4eKk LYyP2MuOoWtZHpD6EbsizMPHTMBiCV6FovxmfQpZpAPEW7mBPETnm7RgHlt1PiczAupDf+Tf5dm DEqcKXouqzaMZDPY4XbzirPooEX6pWBH8SpnsNdDtApgw== X-Received: by 127.0.0.2 with SMTP id GBynYY7687511xsxVIIqHoam; Wed, 24 Apr 2024 18:26:09 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web11.6683.1714008366114014321 for ; Wed, 24 Apr 2024 18:26:08 -0700 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8BxFvAqsSlmgkcCAA--.12208S3; Thu, 25 Apr 2024 09:26:02 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxPN4msSlmkgwEAA--.16723S3; Thu, 25 Apr 2024 09:25:58 +0800 (CST) Message-ID: Date: Thu, 25 Apr 2024 09:25:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v1 0/4] Adjust the QemuFwCfgLibMmio and add PEI stage To: devel@edk2.groups.io, ardb@kernel.org, kraxel@redhat.com Cc: Ard Biesheuvel , Jiewen Yao , Leif Lindholm , Sami Mujawar , Sunil V L , Andrei Warkentin References: <20240417081256.3125187-1-lichao@loongson.cn> <17C70907D38C479B.20815@groups.io> <17C88FBD6FF53AEF.31749@groups.io> <8ce013e7-766c-4ca1-ba90-8d8fe0f4b947@loongson.cn> From: "Chao Li" In-Reply-To: X-CM-TRANSID: AQAAf8BxPN4msSlmkgwEAA--.16723S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQASCGYocxMS9gAAsR X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 24 Apr 2024 18:26:08 -0700 Resent-From: lichao@loongson.cn Reply-To: devel@edk2.groups.io,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: slrXowIzwdP3SvFt8TWenH1hx7686176AA= Content-Type: multipart/alternative; boundary="------------9RA1OUlXJ0WsrtrJTezpWrQf" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=ze5vcvfS; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --------------9RA1OUlXJ0WsrtrJTezpWrQf Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Ard, OK, let's go with HOBs and today I'm going to send the V2. :) Thanks, Chao On 2024/4/25 00:23, Ard Biesheuvel wrote: > On Wed, 24 Apr 2024 at 13:19, Gerd Hoffmann wrote: >> On Wed, Apr 24, 2024 at 09:57:50AM +0800, Chao Li wrote: >>> Hi Gerd and Ard, >>> >>> Can I submit the V2 this week? I want all OvmfPkg changes to be meged b= efore >>> the 202405 feature freeze. >> Yea, go ahead, lets stick to the PCD approach, given that Ard seems to >> not have objections to that ;) >> > Apologies for my late response. > > As I have mentioned before (I think?) I strongly prefer HOBs over > dynamic PCDs for values that are determined during PEI and not updated > later. > > For other cases, I actually prefer protocols over PCDs because you can > depex on protocols, and not on PCDs so you never know if the dispatch > order is correct, i.e., whether PCD producers are dispatched before > PCD consumers. > > >=20 > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118252): https://edk2.groups.io/g/devel/message/118252 Mute This Topic: https://groups.io/mt/105573103/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --------------9RA1OUlXJ0WsrtrJTezpWrQf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Ard,

OK, let's go with HOBs and today I'm going to send the V2. :)


=
Thanks,
Chao
On 2024/4/25 00:23, Ard Biesheuvel wrote:
On Wed, 24 Apr 2024 at 13:19, =
Gerd Hoffmann <kraxel@redhat.com> wrote:
On Wed, Apr 24, 2024 at 09:57:50AM +0800, Chao Li wrote:
Hi Gerd and Ard,

Can I submit the V2 this week? I want all OvmfPkg changes to be meged befor=
e
the 202405 feature freeze.
Yea, go ahead, lets stick to the PCD approach, given that Ard seems to
not have objections to that ;)

Apologies for my late response.

As I have mentioned before (I think?) I strongly prefer HOBs over
dynamic PCDs for values that are determined during PEI and not updated
later.

For other cases, I actually prefer protocols over PCDs because you can
depex on protocols, and not on PCDs so you never know if the dispatch
order is correct, i.e., whether PCD producers are dispatched before
PCD consumers.




_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#118252) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--------------9RA1OUlXJ0WsrtrJTezpWrQf--