Skip to content

multiboot: Use DMA instead port-based transfer

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/i386: move linuxboot_dma_enabled to X86MachineStatehw/i386/microvm.c hw/i386/pc.c hw/i386/pc_piix.c +4 more+16 -131 reply
2/3optionrom: add a DMA-enabled multiboot ROMpc-bios/meson.build pc-bios/multiboot_dma.bin pc-bios/optionrom/Makefile +3 more+72 -51 reply
3/3target/i386: use DMA-enabled multiboot ROM for new-enough QEMU machine typeshw/i386/multiboot.c hw/i386/multiboot.h hw/i386/pc.c +1 more+14 -51 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéStefano Garzarella
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] multiboot: Use DMA instead port-based transfer

An updated version of the patch at
https://patchew.org/QEMU/[email protected]/,
which includes the necessary glue for compatibility with older machine types. When fw_cfg DMA is disabled, the existing ROM is used instead.

Marcus Hähnel (1):
optionrom: add a DMA-enabled multiboot ROM

Paolo Bonzini (2):
target/i386: move linuxboot_dma_enabled to X86MachineState target/i386: use DMA-enabled multiboot ROM for new-enough QEMU machine
types

 hw/i386/microvm.c                 |   5 ++-
 hw/i386/multiboot.c               |  10 ++++-
 hw/i386/multiboot.h               |   4 +-
 hw/i386/pc.c                      |   8 ++--
 hw/i386/pc_piix.c                 |   3 +-
 hw/i386/pc_q35.c                  |   3 +-
 hw/i386/x86.c                     |   7 ++--
 include/hw/i386/pc.h              |   3 --
 include/hw/i386/x86.h             |   5 ++-
 pc-bios/meson.build               |   1 +
 pc-bios/multiboot_dma.bin         | Bin 0 -> 1024 bytes
 pc-bios/optionrom/Makefile        |   4 +-
 pc-bios/optionrom/multiboot.S     |   4 +-
 pc-bios/optionrom/multiboot_dma.S |   2 +
 pc-bios/optionrom/optionrom.h     |  66 ++++++++++++++++++++++++++++++
 15 files changed, 102 insertions(+), 23 deletions(-)
 create mode 100644 pc-bios/multiboot_dma.bin
 create mode 100644 pc-bios/optionrom/multiboot_dma.S
Signature · 1 line
2.31.1