Skip to content

Tags: olafhering/seabios

Tags

rel-1.16.3

Toggle rel-1.16.3's commit message
limit address space used for pci devices.

For better compatibility with old linux kernels,
see source code comment.

Also rename some variables to make the code more
readable, following suggestions by Kevin.

Related (same problem in ovmf):
tianocore/edk2@c1e853769046

Cc: Kevin O'Connor <[email protected]>
Reported-by: Claudio Fontana <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>

rel-1.16.2

Toggle rel-1.16.2's commit message
xen: require Xen info structure at 0x1000 to detect Xen

When running under Xen, hvmloader places a table at 0x1000 with the e820
information and BIOS tables. If this isn't present, SeaBIOS will
currently panic.

We now have support for running Xen guests natively in QEMU/KVM, which
boots SeaBIOS directly instead of via hvmloader, and does not provide
the same structure.

As it happens, this doesn't matter on first boot. because although we
set PlatformRunningOn to PF_QEMU|PF_XEN, reading it back again still
gives zero. Presumably because in true Xen, this is all already RAM. But
in QEMU with a faithfully-emulated PAM config in the host bridge, it's
still in ROM mode at this point so we don't see what we've just written.

On reboot, however, the region *is* set to RAM mode and we do see the
updated value of PlatformRunningOn, do manage to remember that we've
detected Xen in CPUID, and hit the panic.

It's not trivial to detect QEMU vs. real Xen at the time xen_preinit()
runs, because it's so early. We can't even make a XENVER_extraversion
hypercall to look for hints, because we haven't set up the hypercall
page (and don't have an allocator to give us a page in which to do so).

So just make Xen detection contingent on the info structure being
present. If it wasn't, we were going to panic anyway. That leaves us
taking the standard QEMU init path for Xen guests in native QEMU,
which is just fine.

Untested on actual Xen but ObviouslyCorrect™.

Signed-off-by: David Woodhouse <[email protected]>

rel-1.16.1

Toggle rel-1.16.1's commit message
virtio: finalize features before using device

Under the standard of Virtio 1.0, the initialization process of the
device must first write sub-features back to device before
using device, such as finding vqs.

There are four places using vp_find_vq().

1. virtio-blk.pci:    put the code of finalizing features in front of using device
2. virtio-blk.mmio:   put the code of finalizing features in front of using device
3. virtio-scsi.pci:   is ok
4. virtio-scsi.mmio:  add the code of finalizing features before vp_find_vq()

Link: https://www.mail-archive.com/[email protected]/msg920776.html
Signed-off-by: Xuan Zhuo <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>

rel-1.16.0

Toggle rel-1.16.0's commit message
docs: Note v1.16.0 release

Signed-off-by: Kevin O'Connor <[email protected]>

rel-1.15.0

Toggle rel-1.15.0's commit message
docs: Note v1.15.0 release

Signed-off-by: Kevin O'Connor <[email protected]>

rel-1.14.0

Toggle rel-1.14.0's commit message
docs: Note v1.14.0 release

Signed-off-by: Kevin O'Connor <[email protected]>

rel-1.13.0

Toggle rel-1.13.0's commit message
docs: Note v1.13.0 release

Signed-off-by: Kevin O'Connor <[email protected]>

rel-1.12.1

Toggle rel-1.12.1's commit message
usb-ehci: Clear pipe token on pipe reallocate

Make sure to clear the token before reuse as it may otherwise have an
incorrect toggle setting.

Signed-off-by: Kevin O'Connor <[email protected]>
(cherry picked from commit 996d3c0)

rel-1.12.0

Toggle rel-1.12.0's commit message
docs: Note v1.12.0 release

Signed-off-by: Kevin O'Connor <[email protected]>

rel-1.11.2

Toggle rel-1.11.2's commit message
cbvga_set_mode: refine clear display logic

There is no need to skip text mode clearing.
Clearing the framebuffer should be safe on legacy calls too.

Signed-off-by: Gerd Hoffmann <[email protected]>
(cherry picked from commit 69ea6da)