[edk2-devel] [PATCH 1/1] Maintainers.txt: Update my email address

2024-04-29 Thread Anthony PERARD via groups.io
From: Anthony PERARD Signed-off-by: Anthony PERARD --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index 7d9cdca611fc..07fa50d65991 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -567,7 +567,7 @@ F:

Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-25 Thread Anthony PERARD via groups.io
On Thu, Apr 25, 2024 at 11:42:01AM +0100, Alejandro Vallejo wrote: > Hi, > > On 25/04/2024 08:31, Gerd Hoffmann wrote: > > On Wed, Apr 24, 2024 at 02:36:32PM +0100, Alejandro Vallejo wrote: > >> Bump the compile-time constant for maximum processor count from 64 to 128 > >> in order to allow that

Re: [edk2-devel] [PATCH] OvmfPkg/OvmfXen: Fix S3

2023-09-11 Thread Anthony PERARD via groups.io
Hi Xenia, On Thu, Jul 13, 2023 at 01:47:12PM +0300, Xenia Ragiadakou wrote: > Currently, resuming an S3 suspended guest results in the following > assertion failure: > ASSERT > MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c(41): > MemoryLength > 0 > This happens because

Re: [edk2-devel] [PATCH 3/4] OvmfPkg: Remove applicationProcessorEntryPoint

2023-07-24 Thread Anthony PERARD via groups.io
On Mon, Jul 10, 2023 at 11:17:05AM +0800, Zhiguang Liu wrote: > diff --git a/OvmfPkg/XenResetVector/Ia16/ResetVectorVtf0.asm > b/OvmfPkg/XenResetVector/Ia16/ResetVectorVtf0.asm > index 56749bdbc9..67156d8252 100644 > --- a/OvmfPkg/XenResetVector/Ia16/ResetVectorVtf0.asm > +++

Re: [edk2-devel] [PATCH v2 11/12] OvmfPkg/Xen: Replace the OVMF-specific SataControllerDxe

2023-05-12 Thread Anthony PERARD via groups.io
On Tue, May 09, 2023 at 05:32:11PM +0100, Pedro Falcato wrote: > Replace the OVMF-specific SataControllerDxe (to be later removed) with > the generic, MdeModulePkg one, for the OvmfXen platform. > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Cc: Anthony

Re: [edk2-devel] [PATCH v5 2/3] OvmfPkg/Xen: export AcpiTable installation into AcpiPlatformLib

2023-05-11 Thread Anthony PERARD via groups.io
On Thu, May 11, 2023 at 02:02:38PM +0200, Corvin Köhne wrote: > This makes the function reuseable by bhyve. > > Signed-off-by: Corvin Köhne > Acked-by: Gerd Hoffmann Reviewed-by: Anthony PERARD Thanks, -- Anthony PERARD -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages

Re: [edk2-devel] [PATCH v5 1/3] OvmfPkg/Xen: export search of RSDP into a library function

2023-05-11 Thread Anthony PERARD via groups.io
On Thu, May 11, 2023 at 02:02:37PM +0200, Corvin Köhne wrote: > diff --git a/OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c > b/OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c > new file mode 100644 > index ..ce52ad31cf25 > --- /dev/null > +++

Re: [edk2-devel] [PATCH v2 3/3] OvmfPkg/PlatformInitLib: simplify mtrr setup

2023-03-27 Thread Anthony PERARD via groups.io
On Tue, Mar 07, 2023 at 07:54:54AM +0100, Gerd Hoffmann wrote: > With the new mmconfig location at 0xe000 above the 32-bit PCI MMIO > window we don't have to special-case the mmconfig xbar any more. We'll > just add a mtrr uncachable entry starting at MMIO window base and ending > at 4GB. >

Re: [edk2-devel] [PATCH v2 2/3] OvmfPkg/PlatformInitLib: move mmconfig to 0xe0000000

2023-03-27 Thread Anthony PERARD via groups.io
On Tue, Mar 07, 2023 at 07:54:53AM +0100, Gerd Hoffmann wrote: > Also swap the ordering of 32bit PCI MMIO window on q35, i.e. use the > room between end of low memory and the start of the mmconfig bar. > > With a typical configuration on modern qemu with gigabyte-aligned memory > the MMIO window

Re: [edk2-devel] [PATCH v2 1/3] OvmfPkg/PlatformInitLib: update address space layout comment

2023-03-27 Thread Anthony PERARD via groups.io
On Tue, Mar 07, 2023 at 07:54:52AM +0100, Gerd Hoffmann wrote: > Move the commment up so it is placed just before the address space > calculations start. Also add q35 memory layout. > > Signed-off-by: Gerd Hoffmann Reviewed-by: Anthony PERARD Thanks, -- Anthony PERARD

[edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info HOB in XenPlatformPei

2022-12-19 Thread Anthony PERARD via groups.io
From: Anthony PERARD Copy the function BuildPlatformInfoHob() from OvmfPkg/PlatformPei. QemuFwCfgLib expect this HOB to be present, or fails to do anything. InternalQemuFwCfgIsAvailable() from QemuFwCfgPeiLib module will not check if the HOB is actually present for example and try to use a NULL

Re: [edk2-devel] [PATCH] Maintainers.txt: Change Anthony's github id

2022-12-13 Thread Anthony PERARD via groups.io
On Mon, Sep 19, 2022 at 05:01:48PM +, Kinney, Michael D wrote: > Reviewed-by: Michael D Kinney Hi, Could this patch be merged, or is something missing? Cheers, -- Anthony PERARD -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online

[edk2-devel] [PATCH 3/3] OvmfPkg/OvmfXen: Introduce Xen's ResetSystemLib, to use xen hypercall

2022-11-11 Thread Anthony PERARD via groups.io
From: Anthony PERARD When booting OvmfXen, the ACPI interface for shutdown/reset might not be available, instead use the hypercall interface. While it's probably possible to use the hypercall in all cases, we keep using the same interface while it still possible. That is ACPI on HVM guest, and

[edk2-devel] [PATCH 2/3] OvmfPkg/XenHypercallLib: Add SchedOp hypercall

2022-11-11 Thread Anthony PERARD via groups.io
From: Anthony PERARD Add a new function to allow to make an hypercall to shutdown the machine. This import "sched.h" public header from Xen Project's repo. Some changes have been made to be closer to EDK2's coding style. Signed-off-by: Anthony PERARD ---

[edk2-devel] [PATCH 1/3] OvmfPkg: Introduce runtime XenHypercallLib

2022-11-11 Thread Anthony PERARD via groups.io
From: Anthony PERARD We need a way to execute instruction "generated" at runtime from the runtime library. This patch introduce XenHypercallRuntimeLib, which is mostly a copy of XenHypercallLib with a few changes. We reserved some code space with "XenHypercallPage", which we will overwrite to

[edk2-devel] [PATCH 0/3] OvmfXen: Fix machine shutdown in PVH guest

2022-11-11 Thread Anthony PERARD via groups.io
From: Anthony PERARD Patch series available in this git branch: https://xenbits.xen.org/git-http/people/aperard/ovmf.git br.fix-pvh-shutdown-v2-v1 From: Anthony PERARD Hi, This series instroduce a XenHypercallLib that can be used at runtime by a EFI service. And then it introduce a modified

[edk2-devel] [PATCH] MdePkg/SecPeiDxeTimerLibCpu: Better support for dynamic PcdFSBClock

2022-11-08 Thread Anthony PERARD via groups.io
From: Anthony PERARD The PcdFSBClock can be a dynamic PCD. This can be an issue when InternalX86GetTimerFrequency() tries to get the value while been called with TPL been set to TPL_HIGH_LEVEL. When the PCD is dynamic, PcdGet*() calls a function that try to grab a lock which set TPL to

[edk2-devel] [PATCH] Maintainers.txt: Change Anthony's github id

2022-09-16 Thread Anthony PERARD via groups.io
From: Anthony PERARD Signed-off-by: Anthony PERARD --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index c641414109ad..c2b30b5dd13b 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -524,7 +524,7 @@ F:

Re: [edk2-devel] [Patch 1/3] Maintainers.txt: Remove OvmfPkg/XenTimerDxe reference

2022-07-21 Thread Anthony PERARD via groups.io
On Wed, Jul 20, 2022 at 02:58:26PM -0700, Michael D Kinney wrote: > XenTimerDxe has been removed from the OvmfPkg. Remove > file pattern for XenTimerDxe reviews from Maintainers.txt. > > Cc: Anthony Perard > Cc: Julien Grall > Cc: Andrew Fish > Cc: Leif Lindholm > Signed-off-by: Michael D

[edk2-devel] [PATCH 1/1] OvmfPkg/XenHypercallLib: Fix naming of AArch64

2022-07-20 Thread Anthony PERARD via groups.io
From: Anthony PERARD Fix path to follow naming convention of "AArch64", and allow the path in "Maintainers.txt" to work as expected. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3982 Signed-off-by: Anthony PERARD --- Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd

[edk2-devel] [PATCH 1/1] OvmfPkg/XenPvBlkDxe: Fix memory barrier macro

2022-07-19 Thread Anthony PERARD via groups.io
From: Anthony PERARD The macro "xen_mb()" needs to be a full memory barrier, that is it needs to also prevent stores from been reorder after loads which an x86 CPU can do (as I understand from reading [1]). So this patch makes use of "mfence" instruction. Currently, there's a good chance that

Re: 回复: [edk2-devel] [PATCH v2 2/7] MdePkg: Allow PcdFSBClock to by Dynamic

2022-07-08 Thread Anthony PERARD via groups.io
On Fri, Jul 08, 2022 at 10:14:35AM +0800, gaoliming wrote: > Ray: > The problem is that PcdFSBClock is configured as Dynamic on OVMF. > Anthony: > Have you any suggestion for this problem? > > Liming > > 发件人: devel@edk2.groups.io 代表 ray_l...@hotmail.com > 发送时间: 2022年7月7日 12:13 > 收件人:

Re: [edk2-devel] [PATCH V3 3/3] OvmfPkg: Move LocalApicTimerDxe to UefiCpuPkg

2021-11-11 Thread Anthony PERARD via groups.io
On Mon, Nov 08, 2021 at 02:08:00PM +0800, Min Xu wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3711 > > OvmfPkg.dec is removed from [Packages] because it doesn't depend > on OvmfPkg. LocalApicTimerDxe is moved to UefiCpuPkg. > > Cc: Jiewen Yao > Cc: Gerd Hoffmann > Cc: Anthony

Re: [edk2-devel] [PATCH V3 1/3] OvmfPkg: Rename XenTimerDxe to LocalApicTimerDxe

2021-11-11 Thread Anthony PERARD via groups.io
On Mon, Nov 08, 2021 at 02:07:58PM +0800, Min Xu wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3711 > > XenTimerDxe is a local Apic timer driver and it has nothing to do > with Xen. So rename it to LocalApicTimerDxe. > > Cc: Ard Biesheuvel > Cc: Jordan Justen > Cc: Brijesh Singh

[edk2-devel] [PATCH] OvmfPkg/OvmfXen: Fix build with QemuKernelLoaderFsDxe

2021-09-06 Thread Anthony PERARD via groups.io
From: Anthony PERARD VerifyBlob() has been added recently to QemuKernelLoaderFsDxe, also QemuKernelLoaderFsDxe has also been added recently to OvmfXen but without an implementation of VerifyBlob(). Fix this by adding the same runes that has been addde to OvmfPkgX64.dsc. Fixes: 9f3eda177a4b

Re: [edk2-devel] [PATCH v3 1/4] OvmfPkg/OvmfXen: set PcdAcpiS3Enable at initialization

2021-08-23 Thread Anthony PERARD via groups.io
On Mon, Aug 23, 2021 at 03:09:22PM +0800, Gary Lin wrote: > https://bugzilla.tianocore.org/show_bug.cgi?id=3573 > > There are several functions in OvmfPkg/Library using > QemuFwCfgS3Enabled() to detect the S3 support status. However, in > MdeModulePkg, PcdAcpiS3Enable is used to check S3 support.

Re: [edk2-devel] [PATCH v2 2/5] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe

2021-08-19 Thread Anthony PERARD via groups.io
On Fri, Aug 13, 2021 at 02:13:02PM +0800, Gary Lin wrote: > Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download > the kernel, initrd, and kernel command line from QEMU's fw_cfg. Acked-by: Anthony PERARD Thanks, -- Anthony PERARD -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links:

Re: [edk2-devel] [PATCH v2 1/5] OvmfPkg/OvmfXen: set PcdAcpiS3Enable at initialization

2021-08-19 Thread Anthony PERARD via groups.io
On Fri, Aug 13, 2021 at 02:13:01PM +0800, Gary Lin wrote: > There are several functions in OvmfPkg/Library using > QemuFwCfgS3Enabled() to detect the S3 support status. However, in > MdeModulePkg, PcdAcpiS3Enable is used to check S3 support. Since > InitializeXenPlatform() didn't set

Re: [edk2-devel] [RFC PATCH] OvmfPkg/OvmfXen: set PcdAcpiS3Enable at initialization

2021-07-27 Thread Anthony PERARD via groups.io
On Wed, Jul 21, 2021 at 02:56:46PM +0800, Gary Lin wrote: > BTW, it seems to me that QEMU fwcfg is only used for Xen Direct Kernel > Boot. However, per xl.cfg manpage, it's possible to turn on or off S3 > support by setting "acpi_s3" in xl.cfg, but PcdAcpiS3Enable wasn't set > in the current

Re: [edk2-devel] [RFC PATCH] OvmfPkg/OvmfXen: set PcdAcpiS3Enable at initialization

2021-07-19 Thread Anthony PERARD via groups.io
It would have been nice to have this patch in a patch series with "OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe", mostly to make it simpler to understand the problem needed to be fixed. On Thu, Jul 08, 2021 at 12:05:49PM +0800, Gary Lin wrote: > There are several functions in OvmfPkg/Library using

Re: [edk2-devel] [PATCH] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe

2021-07-19 Thread Anthony PERARD via groups.io
On Fri, Jul 09, 2021 at 11:24:23AM +0800, Gary Lin wrote: > Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download > the kernel, initrd, and kernel command line from QEMU's fw_cfg. > > Cc: Ard Biesheuvel > cc: Jordan Justen > Cc: Anthony Perard > Cc: Julien Grall > Cc: Jim

Re: [edk2-devel] [RFC PATCH] OvmfPkg/OvmfXen: set PcdAcpiS3Enable at initialization

2021-07-19 Thread Anthony PERARD via groups.io
On Thu, Jul 08, 2021 at 12:05:49PM +0800, Gary Lin wrote: > There are several functions in OvmfPkg/Library using > QemuFwCfgS3Enabled() to detect the S3 support status. However, in > MdeModulePkg, PcdAcpiS3Enable is used to check S3 support. Since > InitializeXenPlatform() didn't set

[edk2-devel] [PATCH] OvmfPkg/XenPlatformPei: Relocate shared_info page mapping

2021-06-28 Thread Anthony PERARD via groups.io
From: Anthony PERARD Unfortunately, Xen isn't ready to deal with mapping at the top of the physical address space, so we relocate the mapping after the LAPIC location. See this thread about the issue with the mapping: -

Re: [edk2-devel] [PATCH 00/43] OvmfPkg: remove Xen support from OvmfPkg*.dsc, in favor of OvmfXen.dsc

2021-06-04 Thread Anthony PERARD via groups.io
On Wed, Jun 02, 2021 at 10:36:49AM +0200, Laszlo Ersek wrote: > Anthony, Julien, > > (or anyone else subscribed to xen-devel -- CC'd now), > > On 05/26/21 22:14, Laszlo Ersek wrote: > > Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 > > Repo: https://pagure.io/lersek/edk2.git

[edk2-devel] [PATCH v3 2/7] MdePkg: Allow PcdFSBClock to by Dynamic

2021-04-12 Thread Anthony PERARD via groups.io
We are going to want to change the value of PcdFSBClock at run time in OvmfXen, so move it to the PcdsDynamic section. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- Notes: CC: Michael D Kinney

[edk2-devel] [PATCH v3 0/7] OvmfXen: Set PcdFSBClock at runtime

2021-04-12 Thread Anthony PERARD via groups.io
Patch series available in this git branch: git://xenbits.xen.org/people/aperard/ovmf.git br.apic-timer-freq-v3 Changes in v3: - typos and codying style Changes in v2: - main change is to allow mapping of Xen pages outside of the RAM see patch: "OvmfPkg/XenPlatformPei: Map extra physical

[edk2-devel] [PATCH v3 5/7] OvmfPkg/XenPlatformPei: Map extra physical address

2021-04-12 Thread Anthony PERARD via groups.io
Some information available in a Xen guest can be mapped anywhere in the physical address space and they don't need to be backed by RAM. For example, the shared info page. While it's easier to put those pages anywhere, it is better to avoid mapping it where the RAM is. It might split a nice 1G

[edk2-devel] [PATCH v3 7/7] OvmfPkg/OvmfXen: Set PcdFSBClock

2021-04-12 Thread Anthony PERARD via groups.io
Update gEfiMdePkgTokenSpaceGuid.PcdFSBClock so it can have the correct value when SecPeiDxeTimerLibCpu start to use it for the APIC timer. Currently, nothing appear to use the value in PcdFSBClock before XenPlatformPei had a chance to set it even though TimerLib is included in modules run before

[edk2-devel] [PATCH v3 6/7] OvmfPkg/XenPlatformPei: Calibrate APIC timer frequency

2021-04-12 Thread Anthony PERARD via groups.io
Calculate the frequency of the APIC timer that Xen provides. Even though the frequency is currently hard-coded, it isn't part of the public ABI that Xen provides and thus may change at any time. OVMF needs to determine the frequency by an other mean. Fortunately, Xen provides a way to determines

[edk2-devel] [PATCH v3 3/7] OvmfPkg/IndustryStandard/Xen: Apply EDK2 coding style to XEN_VCPU_TIME_INFO

2021-04-12 Thread Anthony PERARD via groups.io
We are going to use new fields from the Xen headers. Apply the EDK2 coding style so that the code that is going to use it doesn't look out of place. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek --- Notes: v2: - fix

[edk2-devel] [PATCH v3 1/7] OvmfPkg/XenResetVector: Silent a warning from nasm

2021-04-12 Thread Anthony PERARD via groups.io
To avoid nasm generating a warning, replace the macro by the value expected to be stored in eax. Ia32/XenPVHMain.asm:76: warning: dword data exceeds bounds Reported-by: Laszlo Ersek Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek --- OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 2 +-

[edk2-devel] [PATCH v3 4/7] OvmfPkg/IndustryStandard: Introduce PageTable.h

2021-04-12 Thread Anthony PERARD via groups.io
We are going to use the page table structure in yet another place, collect the types and macro that can be used from another module rather than making yet another copy. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Acked-by: Tom Lendacky --- Notes:

[edk2-devel] [PATCH v2 5/7] OvmfPkg/XenPlatformPei: Map extra physical address

2021-03-25 Thread Anthony PERARD via groups.io
Some information available in a Xen guest can be mapped anywhere in the physical address space and they don't need to be backed by RAM. For example, the shared info page. While it's easier to put those pages anywhere, it is better to avoid mapping it where the RAM is. It might split a nice 1G

[edk2-devel] [PATCH v2 6/7] OvmfPkg/XenPlatformPei: Calibrate APIC timer frequency

2021-03-25 Thread Anthony PERARD via groups.io
Calculate the frequency of the APIC timer that Xen provides. Even though the frequency is currently hard-coded, it isn't part of the public ABI that Xen provides and thus may change at any time. OVMF needs to determine the frequency by an other mean. Fortunately, Xen provides a way to determines

[edk2-devel] [PATCH v2 7/7] OvmfPkg/OvmfXen: Set PcdFSBClock

2021-03-25 Thread Anthony PERARD via groups.io
Update gEfiMdePkgTokenSpaceGuid.PcdFSBClock so it can have the correct value when SecPeiDxeTimerLibCpu start to use it for the APIC timer. Currently, nothing appear to use the value in PcdFSBClock before XenPlatformPei had a chance to set it even though TimerLib is included in modules runned

[edk2-devel] [PATCH v2 4/7] OvmfPkg/IndustryStandard: Introduce PageTable.h

2021-03-25 Thread Anthony PERARD via groups.io
We are going to use the page table structure in yet another place, collect the types and macro that can be used from another module rather that making yet another copy. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD --- CC: Tom Lendacky CC: Brijesh Singh

[edk2-devel] [PATCH v2 1/7] OvmfPkg/XenResetVector: Silent a warning from nasm

2021-03-25 Thread Anthony PERARD via groups.io
To avoid nasm generating a warning, replace the macro by the value expected to be stored in eax. Ia32/XenPVHMain.asm:76: warning: dword data exceeds bounds Reported-by: Laszlo Ersek Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek --- OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 2 +-

[edk2-devel] [PATCH v2 3/7] OvmfPkg/IndustryStandard/Xen: Apply EDK2 coding style to XEN_VCPU_TIME_INFO

2021-03-25 Thread Anthony PERARD via groups.io
We are going to use new fields from the Xen headers. Apply the EDK2 coding style so that the code that is going to use it doesn't look out of place. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek --- Notes: v2: - fix

[edk2-devel] [PATCH v2 2/7] MdePkg: Allow PcdFSBClock to by Dynamic

2021-03-25 Thread Anthony PERARD via groups.io
We are going to want to change the value of PcdFSBClock at run time in OvmfXen, so move it to the PcdsDynamic section. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- CC: Bob Feng CC: Michael D Kinney

[edk2-devel] [PATCH v2 0/7] OvmfXen: Set PcdFSBClock at runtime

2021-03-25 Thread Anthony PERARD via groups.io
Patch series available in this git branch: git://xenbits.xen.org/people/aperard/ovmf.git br.apic-timer-freq-v2 Changes in v2: - main change is to allow mapping of Xen pages outside of the RAM see patch: "OvmfPkg/XenPlatformPei: Map extra physical address" - that new function allows to map the

Re: [edk2-devel] [PATCH] OvmfPkg/XenPlatformPei: Use CPUID to get physical address width on Xen

2021-01-19 Thread Anthony PERARD via groups.io
On Tue, Jan 19, 2021 at 03:49:34PM +0100, Laszlo Ersek wrote: > On 01/19/21 10:37, Julien Grall wrote: > > Hi Igor, > > > > On 13/01/2021 03:42, Igor Druzhinin wrote: > >> We faced a problem with passing through a PCI device with 64GB BAR to > >> UEFI guest. The BAR is expectedly programmed into

Re: [edk2-devel] [PATCH] OvmfPkg/XenPlatformPei: Grab 64-bit PCI MMIO hole size from OVMF info table

2021-01-19 Thread Anthony PERARD via groups.io
On Mon, Jan 11, 2021 at 03:45:18AM +, Igor Druzhinin wrote: > diff --git a/OvmfPkg/XenPlatformPei/MemDetect.c > b/OvmfPkg/XenPlatformPei/MemDetect.c > index 1f81eee..4175a2f 100644 > --- a/OvmfPkg/XenPlatformPei/MemDetect.c > +++ b/OvmfPkg/XenPlatformPei/MemDetect.c > @@ -227,6 +227,7 @@