Skip to content

Fix max initrd size limit when put initrd to RAM

Hang Xu qemu-devel qemu-riscv 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 6 repliesIn review
  2. v21 patch 1 replySuperseded
  3. v11 patch 4 repliesSuperseded

Changes in v3 from the cover letter

* Declare 'max_initrd' at the start of the function
* Fix title typo

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1hw/riscv: Fix max size limit when put initrd to RAMhw/riscv/boot.c hw/riscv/microchip_pfsoc.c hw/riscv/opentitan.c +5 more+33 -126 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDaniel Henrique Barboza
1/1R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/1] Fix max initrd size limit when put initrd to RAM

Because the starting address of ram is not necessarily 0, the remaining free space in ram is
ram_size - (start - ram_base) instead of ram_size-start.

v3:
* Declare 'max_initrd' at the start of the function
* Fix title typo

v2:
* Rebase
* Considering that the ram block may be discontinuous

Hang Xu (1):
hw/riscv: Fix max size limit when put initrd to RAM

 hw/riscv/boot.c            | 19 +++++++++++++------
 hw/riscv/microchip_pfsoc.c |  5 ++++-
 hw/riscv/opentitan.c       |  2 +-
 hw/riscv/sifive_e.c        |  2 +-
 hw/riscv/sifive_u.c        |  5 ++++-
 hw/riscv/spike.c           |  5 ++++-
 hw/riscv/virt.c            |  5 ++++-
 include/hw/riscv/boot.h    |  2 ++
 8 files changed, 33 insertions(+), 12 deletions(-)
Signature · 1 line
2.17.1