All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Claudio Fontana <cfontana@suse.de>
Cc: qemu-devel@nongnu.org, Kevin Wolf <kwolf@redhat.com>,
	 Stefan Hajnoczi <stefanha@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	 Igor Mammedov <imammedo@redhat.com>,
	Ani Sinha <anisinha@redhat.com>,
	 Dario Faggioli <dfaggioli@suse.com>,
	Jim Fehlig <jfehlig@suse.com>
Subject: Re: [PULL 4/6] seabios: update binaries to git snapshot
Date: Tue, 7 Nov 2023 12:49:09 +0100	[thread overview]
Message-ID: <rdyjajgmgmk3kfbmnufqkws662xhsitcg6yx74qlczclx3i3pz@ftfqmcm7jtp4> (raw)
In-Reply-To: <8aa3d259-6dd5-ebf7-8989-66b967434773@suse.de>

> Hi, thanks for the response,
> 
> just to be sure, this is a regression (it worked fine prior to the seabios update).

Yes.

> Address sizes:                      43 bits physical, 48 bits virtual

OK.

> [    0.881472] pci 0000:00:01.0: PCI bridge to [bus 01]
> [    0.882262] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
> [    0.886991] pci 0000:00:01.0:   bridge window [mem 0xfe800000-0xfe9fffff]
> [    0.890308] pci 0000:00:01.0:   bridge window [mem 0xe1a000000000-0xe1bfffffffff 64bit pref]

This is the change btw, the 64-bit mmio window is moved.
Apparently we got 48 bits guest physical address space.

> [    8.331290] vmap allocation for size 211106232541184 failed: use vmalloc=<size> to increase size.
> [    8.332666] virtio-pci 0000:01:00.0: virtio_pci: unable to map virtio 56@0 on bar 4
> [    8.334166] virtio-pci: probe of 0000:01:00.0 failed with error -22

And here things go wrong.  The size is /way/ off (bar 4 is 16k).

Can you try to reduce the guest physical address space?
Try 46 instead of 48 first, if that doesn't help try
smaller values.

qemu command line:
  -cpu host,host-phys-bits-limit=46

libvirt xml:
  <cpu ...>
    <maxphysaddr mode='emulate' bits='46'/>
  </cpu>

take care,
  Gerd



  reply	other threads:[~2023-11-07 11:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10 11:26 [PULL 0/6] Firmware/seabios 20231010 patches Gerd Hoffmann
2023-10-10 11:26 ` [PULL 1/6] tests/bios-tables-test: tcg-emulate opteron for mmio64 test Gerd Hoffmann
2023-10-10 11:26 ` [PULL 2/6] tests/acpi: enable tests/data/acpi/q35/DSDT.mmio64 updates Gerd Hoffmann
2023-10-10 11:26 ` [PULL 3/6] seabios: update submodule to git snapshot Gerd Hoffmann
2023-10-10 11:26 ` [PULL 4/6] seabios: update binaries " Gerd Hoffmann
2023-11-07  9:45   ` Claudio Fontana
2023-11-07 10:35     ` Gerd Hoffmann
2023-11-07 10:48       ` Claudio Fontana
2023-11-07 11:49         ` Gerd Hoffmann [this message]
2023-11-07 14:12           ` Claudio Fontana
2023-11-07 14:34             ` Gerd Hoffmann
2023-10-10 11:26 ` [PULL 5/6] tests/acpi: update expected data files Gerd Hoffmann
2023-10-10 11:26 ` [PULL 6/6] tests/acpi: disable tests/data/acpi/q35/DSDT.mmio64 updates Gerd Hoffmann
2023-10-10 16:32 ` [PULL 0/6] Firmware/seabios 20231010 patches Stefan Hajnoczi

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-all 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=rdyjajgmgmk3kfbmnufqkws662xhsitcg6yx74qlczclx3i3pz@ftfqmcm7jtp4 \
    --to=kraxel@redhat.com \
    --cc=anisinha@redhat.com \
    --cc=cfontana@suse.de \
    --cc=dfaggioli@suse.com \
    --cc=imammedo@redhat.com \
    --cc=jfehlig@suse.com \
    --cc=kwolf@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.