Skip to content

fw_cfg, bootorder, and UEFI+'-kernel' on arm/virt

Laszlo Ersek qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 7 repliesIn review
  2. v48 patches 28 repliesSuperseded
  3. v37 patches 14 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11fw_cfg: hard separation between the MMIO and I/O port mappingshw/nvram/fw_cfg.c include/hw/nvram/fw_cfg.h include/qemu/typedefs.h+134 -533 replies
2/11fw_cfg: move boards to fw_cfg_init_io() / fw_cfg_init_mem()hw/i386/pc.c hw/nvram/fw_cfg.c hw/ppc/mac_newworld.c +4 more+6 -221 reply
3/11fw_cfg_mem: max access size and region size are the same for data registerhw/nvram/fw_cfg.c+2 -20 replies
4/11fw_cfg_mem: flip ctl_mem_ops and data_mem_ops to DEVICE_BIG_ENDIANhw/nvram/fw_cfg.c+2 -20 replies
5/11exec: allows 8-byte accesses in subpage_opsexec.c+11 -20 replies
6/11fw_cfg_mem: introduce the "data_width" propertyhw/nvram/fw_cfg.c+68 -50 replies
7/11fw_cfg_mem: expose the "data_width" property with fw_cfg_init_mem_wide()hw/nvram/fw_cfg.c include/hw/nvram/fw_cfg.h+11 -30 replies
8/11arm: add fw_cfg to "virt" boardhw/arm/virt.c+21 -00 replies
9/11hw/loader: split out load_image_gzipped_buffer()hw/core/loader.c include/hw/loader.h+30 -90 replies
10/11hw/arm: pass pristine kernel image to guest firmware over fw_cfghw/arm/boot.c include/hw/arm/arm.h+88 -50 replies
11/11hw/arm/virt: enable passing of EFI-stubbed kernel to guest UEFI firmwarehw/arm/virt.c+1 -00 replies

Reviews trailers per patch

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

PatchPeter MaydellPaolo Bonzini
SeriesR-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11R-b
9/11R-b
10/11
11/11R-b

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

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 00/11] fw_cfg, bootorder, and UEFI+'-kernel' on arm/virt

Addressing review comments received for v4 (with many thanks).

Deeper changes in v5 include (see also the notes per patch):

- The I/O port mapping and the MMIO mapping have been split into separate QOM subclasses. This is new territory for me (what is not, heh), so bear with me.

I've done this because a wide data I/O port didn't seem overly useful, but marrying it with the overlapped selector/data case was certainly a huge mess. This is just so much cleaner. (Assuming I got it right.)

- The memory mapped selector and data registers are explicitly big endian now.

- The memory mapped data register performs its own value (de)composition, the memory subsystem is left out from that role.

Thanks,
Laszlo

Laszlo Ersek (10):
fw_cfg: hard separation between the MMIO and I/O port mappings
fw_cfg: move boards to fw_cfg_init_io() / fw_cfg_init_mem()
fw_cfg_mem: max access size and region size are the same for data
register
fw_cfg_mem: flip ctl_mem_ops and data_mem_ops to DEVICE_BIG_ENDIAN
fw_cfg_mem: introduce the "data_width" property
fw_cfg_mem: expose the "data_width" property with

    fw_cfg_init_mem_wide()

arm: add fw_cfg to "virt" board
hw/loader: split out load_image_gzipped_buffer() hw/arm: pass pristine kernel image to guest firmware over fw_cfg hw/arm/virt: enable passing of EFI-stubbed kernel to guest UEFI
firmware

Paolo Bonzini (1):
exec: allows 8-byte accesses in subpage_ops

 include/hw/arm/arm.h      |   5 +
 include/hw/loader.h       |   9 ++
 include/hw/nvram/fw_cfg.h |   6 +-
 include/qemu/typedefs.h   |   2 +
 exec.c                    |  13 ++-
 hw/arm/boot.c             |  88 +++++++++++++++-
 hw/arm/virt.c             |  22 ++++
 hw/core/loader.c          |  30 ++++--
 hw/i386/pc.c              |   4 +-
 hw/nvram/fw_cfg.c         | 250 +++++++++++++++++++++++++++++++++++-----------
 hw/ppc/mac_newworld.c     |   2 +-
 hw/ppc/mac_oldworld.c     |   2 +-
 hw/sparc/sun4m.c          |   2 +-
 hw/sparc64/sun4u.c        |   2 +-
 14 files changed, 354 insertions(+), 83 deletions(-)
Signature · 1 line
1.8.3.1