public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Fiona Ebner" <f.ebner@proxmox.com>
To: devel@edk2.groups.io, kraxel@redhat.com
Cc: Jordan Justen <jordan.l.justen@intel.com>,
	Pawel Polawski <ppolawsk@redhat.com>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Oliver Steffen <osteffen@redhat.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Thomas Lamprecht <t.lamprecht@proxmox.com>
Subject: Re: [edk2-devel] [PATCH v2 2/4] OvmfPkg/PlatformInitLib: detect physical address space
Date: Fri, 17 Mar 2023 12:34:37 +0100	[thread overview]
Message-ID: <d5e3f5e2-b7dc-290b-e927-46b3f56be854@proxmox.com> (raw)
In-Reply-To: <20230316143750.ymxeidxae3jhwtrj@sirius.home.kraxel.org>

Am 16.03.23 um 15:37 schrieb Gerd Hoffmann:
> On Thu, Mar 16, 2023 at 02:58:07PM +0100, Fiona Ebner wrote:
>> Hi,
>> after upgrading to edk2-stable202211 recently, we got user reports[0]
>> about QEMU virtual machines with '-cpu host' on AMD Ryzen hosts not
>> booting correctly anymore. A workaround seems to be assigning more
>> memory to the VM.
> 
> Most likely this one:
>   https://bugzilla.tianocore.org/show_bug.cgi?id=4251
> 
> Either upgrade to 202302 or backport a107ad0f6236..015a001b03db
> to fix that.
> 

Thank you for the suggestion! Unfortunately, the behavior is the same
with 202302 (and with current master, i.e. 410ca0ff94). The bug report
talks about TCG, but this is with KVM.

Is there anything like page tables or the MMIO window which simply
requires more memory when PhysMemAddressWidth is larger? Please note
that the issue here occurs with and without ecb778d0ac
("OvmfPkg/PlatformInitLib: dynamic mmio window size"), the first bad
commit is one earlier.

P.S. I would've tested 202302 already yesterday, but we base the edk2
package off Debian and building the 202302 release didn't work. The QEMU
instance spawned by debian/edk2-vars-generator.py script would hang. I
had to find and cherry-pick QEMU commit dab30fbef3 ("acpi: cpuhp: fix
guest-visible maximum access size to the legacy reg block") first to
make it work.

Best Regards,
Fiona


  reply	other threads:[~2023-03-17 11:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 13:47 [PATCH v2 0/4] OvmfPkg: make better use of physical address space Gerd Hoffmann
2022-10-04 13:47 ` [PATCH v2 1/4] OvmfPkg/PlatformInitLib: qemu cpuid physbits detection Gerd Hoffmann
2022-10-04 13:47 ` [PATCH v2 2/4] OvmfPkg/PlatformInitLib: detect physical address space Gerd Hoffmann
2023-03-16 13:58   ` f.ebner
2023-03-16 14:37     ` Gerd Hoffmann
2023-03-17 11:34       ` Fiona Ebner [this message]
2023-03-17 14:01     ` Gerd Hoffmann
2023-03-20 14:20       ` Fiona Ebner
2023-03-20 15:58         ` Gerd Hoffmann
2022-10-04 13:47 ` [PATCH v2 3/4] OvmfPkg/PlatformInitLib: dynamic mmio window size Gerd Hoffmann
2023-03-15  8:54   ` [edk2-devel] " joeyli
2023-03-15  9:28     ` Gerd Hoffmann
2023-05-16 14:00   ` Fiona Ebner
2023-05-17  5:59     ` [edk2-devel] " Gerd Hoffmann
2023-05-17 13:38       ` Fiona Ebner
2023-05-22 11:12         ` Gerd Hoffmann
2023-05-22 13:36           ` Fiona Ebner
2022-10-04 13:47 ` [PATCH v2 4/4] OvmfPkg/PciHotPlugInitDxe: reserve more mmio space Gerd Hoffmann
2022-10-04 15:57   ` Laszlo Ersek
2022-10-05  5:01     ` Gerd Hoffmann
2022-10-06  8:50       ` Laszlo Ersek
2022-10-07 21:49 ` [edk2-devel] [PATCH v2 0/4] OvmfPkg: make better use of physical address space Ard Biesheuvel

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=d5e3f5e2-b7dc-290b-e927-46b3f56be854@proxmox.com \
    --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