Re: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO accesses


Yao, Jiewen
 

-----Original Message-----
From: Boeuf, Sebastien <sebastien.boeuf@...>
Sent: Thursday, June 2, 2022 5:29 PM
To: Yao, Jiewen <jiewen.yao@...>; devel@edk2.groups.io
Cc: kraxel@...; Justen, Jordan L <jordan.l.justen@...>
Subject: Re: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO accesses

On Thu, 2022-06-02 at 11:04 +0200, Sebastien Boeuf wrote:
On Thu, 2022-06-02 at 08:57 +0000, Yao, Jiewen wrote:
Acked-by: Jiewen Yao <Jiewen.yao@...>

I notice the PR failed -
https://github.com/tianocore/edk2/pull/2875

I just want to double confirm, do you have a success PR for this
patch set?
Let me repush the PR once rebased on latest master. I think the
failures were only related to the Windows CI issues.
Ok the CI is passing fine after I rebased on latest master. See
https://github.com/tianocore/edk2/pull/2875

Thanks,
Sebastien


Thanks,
Sebastien


Thank you
Yao Jiewen

-----Original Message-----
From: Boeuf, Sebastien <sebastien.boeuf@...>
Sent: Tuesday, May 10, 2022 8:51 PM
To: devel@edk2.groups.io
Cc: Yao, Jiewen <jiewen.yao@...>; Justen, Jordan L
<jordan.l.justen@...>; kraxel@...; Boeuf, Sebastien
<sebastien.boeuf@...>
Subject: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO
accesses

From: Sebastien Boeuf <sebastien.boeuf@...>

The goal of this series is to reduce the amount of inappropriate
PIO
and MMIO accesses generated by the firmware when running on Cloud
Hypervisor.

For MMIO accesses, it is about providing the right base address
where
the firmware will be loaded by the VMM in order to avoid
unexpected
accesses to some address ranges.

For PIO accesses, it is about preventing some read/write to be
performed
in the first place, as we know the underlying device is not
emulated by
Cloud Hypervisor.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@...>

Sebastien Boeuf (4):
  OvmfPkg: CloudHv: Fix FW_BASE_ADDRESS
  OvmfPkg: Check for QemuFwCfg availability before accessing it
  OvmfPkg: CloudHv: Rely on QemuFwCfgLibNull implementation
  OvmfPkg: Don't access A20 gate register on Cloud Hypervisor

 OvmfPkg/CloudHv/CloudHvDefines.fdf.inc        | 65
+++++++++++++++++++
 OvmfPkg/CloudHv/CloudHvX64.dsc                |  4 +-
 OvmfPkg/CloudHv/CloudHvX64.fdf                |  2 +-
 OvmfPkg/Library/PlatformInitLib/Platform.c    | 13 ++--
 .../QemuBootOrderLib/QemuBootOrderLib.c       |  8 ++-
 5 files changed, 82 insertions(+), 10 deletions(-)
 create mode 100644 OvmfPkg/CloudHv/CloudHvDefines.fdf.inc

--
2.32.0

Join {devel@edk2.groups.io to automatically receive all group messages.