Skip to content

RFC fw_cfg dma interface

Marc Marí qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7fw_cfg: document fw_cfg_modify_iXX() update functionsdocs/specs/fw_cfg.txt+11 -01 reply
2/7fw_cfg dma interfacedocs/specs/fw_cfg.txt hw/arm/virt.c hw/nvram/fw_cfg.c +1 more+194 -714 replies
3/7fw_cfg dma: adapt to vmstate changeshw/nvram/fw_cfg.c+11 -141 reply
4/7enable fw_cfg dma for arm virtdocs/specs/fw_cfg.txt hw/arm/virt.c+14 -33 replies
5/7fw_cfg file sorthw/nvram/fw_cfg.c+24 -63 replies
6/7Add offset register to fw_cfg DMA interfacehw/nvram/fw_cfg.c+16 -37 replies
7/7fw_cfg DMA for x86hw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+66 -72 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchLaszlo Ersek
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v1 thread

Cover letter [Qemu-devel] [RFC 0/7] fw_cfg dma interface

Work done by Gerd Hoffmann for ARM. Extended to be used in x86 platforms

These patches, with the support in SeaBIOS (patches in the SeaBIOS mailing list) make the Linux kernel setup and boot approximately 10x faster.

TODO:
* Optimizations. For example, use memcpy instead of a loop if the transaction is big
* Is 0xfef00000 a good address? Is there any better address? Is it possible to not make it hardcoded (and can be read by the BIOS)?
* Maybe have both DMA and IO interfaces enabled, to improve compatibility?

Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions

Gerd Hoffmann (4):
fw_cfg dma interface
fw_cfg dma: adapt to vmstate changes
enable fw_cfg dma for arm virt
fw_cfg file sort

Marc Marí (2):
Add offset register to fw_cfg DMA interface
fw_cfg DMA for x86

 docs/specs/fw_cfg.txt     |  52 ++++++++++++
 hw/arm/virt.c             |  11 ++-
 hw/i386/pc.c              |  21 ++++-
 hw/i386/pc_piix.c         |  25 +++++-
 hw/i386/pc_q35.c          |  26 +++++-
 hw/nvram/fw_cfg.c         | 199 +++++++++++++++++++++++++++++++++++++++++++---
 include/hw/i386/pc.h      |   1 +
 include/hw/nvram/fw_cfg.h |   5 +-
 8 files changed, 318 insertions(+), 22 deletions(-)
Signature · 1 line
2.4.3