SeaBIOS

SeaBIOS Git Change Log

Age Message
2 days 5 hours virtio-pci: use high memory for rings

That way we should be able to manage *alot* more devices.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2 days 5 hours virtio-ring: 32bit cleanup

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2 days 5 hours virtio-scsi: 32bit cleanup

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2 days 6 hours virtio-blk: 32bit cleanup

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
3 days 10 hours virtio: legacy cleanup

Now that all code is switched over to use vp_read/write we can
drop the ioaddr field from vp_device and the offset #defines.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 10 hours virtio: also probe version 1.0 pci ids

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 11 hours virtio: use version 1.0 if available (flip the big switch)

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 8 hours virtio-blk: fix initialization for version 1.0

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 10 hours virtio-scsi: fix initialization for version 1.0

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 11 hours virtio: add version 1.0 support to vp_find_vq

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 11 hours virtio: remove unused vp_del_vq

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 12 hours virtio: add version 1.0 support to vp_notify

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 3 hours virtio: add version 1.0 support to vp_reset

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 3 hours virtio: add version 1.0 support to vp_get_isr

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 3 hours virtio: add version 1.0 support to vp_{get,set}_status

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 8 hours virtio: make features 64bit, support version 1.0 features

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 8 hours virtio: add read/write functions and macros

Add macros to read/write virtio registers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
3 days 11 hours virtio: create vp_cap struct for legacy bar

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 4 hours virtio: find version 1.0 virtio capabilities

virtio 1.0 specifies the location of the various virtio regions
using pci capabilities. Look them up and store the results.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
3 days 11 hours virtio: add version 0.9.5 struct

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 4 hours virtio: add version 1.0 structs and #defines

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 10 hours virtio: pass struct pci_device to vp_init_simple

... instead of the bdf only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 11 hours virtio: add struct vp_device

For virtio 1.0 support we will need more state than just the (legacy
mode) ioaddr for each virtio-pci device. Prepare for that by adding
a new struct for it. For now it carries the ioaddr only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
7 days 10 hours virtio: run drivers in 32bit mode

virtio version 1.0 registers can (and actually do in the qemu
implementation) live in mmio space. So we must run the blk and
scsi virtio drivers in 32bit mode, otherwise we can't access them.

This also allows to drop a bunch of GET_LOWFLAT calls from the virtio
code in the following patches.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 days 9 hours pci: allow to loop over capabilities

Add a parameter to pci_find_capability, to specify the start point.
This allows to find multiple capabilities of the same type, by calling
pci_find_capability again with the offset of the last capability found.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>