From: "joeyli" <jlee@suse.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Lee, Chun-Yi" <joeyli.kernel@gmail.com>,
devel@edk2.groups.io, Ard Biesheuvel <ardb+tianocore@kernel.org>,
Jiewen Yao <jiewen.yao@intel.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Min Xu <min.m.xu@intel.com>,
Brijesh Singh <brijesh.singh@amd.com>,
Erdem Aktas <erdemaktas@google.com>,
James Bottomley <jejb@linux.ibm.com>
Subject: Re: [PATCH] OvmfPkg/IncompatiblePciDeviceSupportDxe: Ignore OptionRom in Sev guest
Date: Fri, 26 Aug 2022 18:56:20 +0800 [thread overview]
Message-ID: <20220826105620.GO5247@linux-l9pv.suse> (raw)
In-Reply-To: <20220826052717.gqbympdx7a367vqo@sirius.home.kraxel.org>
Hi Gerd,
On Fri, Aug 26, 2022 at 07:27:17AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > - if (TdIsEnabled ()) {
> > + if (TdIsEnabled () || MemEncryptSevIsEnabled()) {
>
> I think you can just use CcProbeLib and CcProbe() function to cover both
> tdx and sev.
>
Thanks for your review and suggestion! It works to me.
I will send version 2 patch.
Joey Lee
prev parent reply other threads:[~2022-08-26 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 13:39 [PATCH] OvmfPkg/IncompatiblePciDeviceSupportDxe: Ignore OptionRom in Sev guest Lee, Chun-Yi
2022-08-26 5:27 ` Gerd Hoffmann
2022-08-26 10:56 ` joeyli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220826105620.GO5247@linux-l9pv.suse \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox