Skip to content

arm: Add support for firmware booting

Julien Thierry kvm kvmarm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v16 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rtc: Initialize the Register D for MC146818 RTChw/rtc.c+8 -00 replies
2/6arm: Move firmware functionarm/fdt.c arm/kvm.c+10 -100 replies
3/6builtin-run: Do not look for default kernel when firmware is providedbuiltin-run.c+16 -80 replies
4/6arm: Support firmware loadingarm/fdt.c arm/include/arm-common/kvm-config-arch.h arm/kvm.c+77 -32 replies
5/6kvm: Add arch specific resetarm/kvm.c include/kvm/kvm.h kvm.c +3 more+19 -00 replies
6/6arm: Support non-volatile memoryarm/fdt.c arm/include/arm-common/kvm-arch.h arm/include/arm-common/kvm-config-arch.h +1 more+189 -20 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchAndre Przywara
1/6R-b
2/6R-b
3/6R-b
4/6
5/6
6/6

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 kvmtool v2 0/6] arm: Add support for firmware booting

Hi,

This series is based on the virtio reset series[1] posted earlier.

We would like to be able to load firmwares like UEFI in kvmtool.

The series contains:
A way to load the firmware into RAM and an option to be able to create non-volatile memory zones and load data into them.

Those non-volatile memory are presented throught the DT with a node:

	<flash>@<addr> {
		compatible = "kvmtool,flash";
		reg = < <addr> <size> >;
		label = <name>;
	}

These are expected to be dealt with by specific kvmtool driver and not to be picked up by existing drivers (although technically it is just plain memory, mapped in the guest).

Changes since v1[2]:
* Added Andre's Reviewed-by tags.
* Changed the DT binding for nvmem.
* removed the requirement to provide firmware load address (defaults to the start of RAM).

[1] https://marc.info/?l=kvm&m=154712959125764&w=2
[2] https://marc.info/?l=kvm&m=154392208726108&w=2

Cheers,

Julien

-->

Julien Thierry (5):
arm: Move firmware function
builtin-run: Do not look for default kernel when firmware is provided
arm: Support firmware loading
kvm: Add arch specific reset
arm: Support non-volatile memory

Sami Mujawar (1):
rtc: Initialize the Register D for MC146818 RTC

 arm/fdt.c                                |  58 +++++++--
 arm/include/arm-common/kvm-arch.h        |   5 +-
 arm/include/arm-common/kvm-config-arch.h |  21 +++-
 arm/kvm.c                                | 207 +++++++++++++++++++++++++++++++
 builtin-run.c                            |  24 ++--
 hw/rtc.c                                 |   8 ++
 include/kvm/kvm.h                        |   1 +
 kvm.c                                    |   2 +
 mips/kvm.c                               |   4 +
 powerpc/kvm.c                            |   4 +
 x86/kvm.c                                |   4 +
 11 files changed, 317 insertions(+), 21 deletions(-)

--
1.9.1