Consolidate all kernel init in load_kernel()
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest3 patches 7 repliesApplied
- v103 patches 10 repliesSuperseded
- v93 patches 5 repliesApplied
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v8 | 3 patches | 7 replies | Superseded | |
| v7 | 3 patches | 6 replies | Superseded | |
| v6 | 2 patches | 2 replies | Superseded |
Changes in v10 from the cover letter
- patch 1:
- extract the lower 32 bits of kernel_entry for all cases, not just the one from load_elf_ram_sym().
- v10 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg00529.html
Patches in v11 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/riscv: handle 32 bit CPUs kernel_entry in riscv_load_kernel()hw/ hw/ hw/ +5 more | +30 | 2 replies | |
| 2/3 | hw/riscv/boot.c: consolidate all kernel init in riscv_load_kernel()hw/ hw/ hw/ +5 more | +20 | 4 replies | |
| 3/3 | hw/riscv/boot.c: make riscv_load_initrd() statichw/ include/ | +40 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng | Alistair Francis | Philippe Mathieu-Daudé |
|---|---|---|---|
| 1/3 | R-b | R-b | |
| 2/3 | R-b | R-b | R-b |
| 3/3 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v11 0/3] Consolidate all kernel init in load_kernel()
Hi,
In this new version patch 1 was changed to extract the lower 32 bits of the 64 bit address when running 32 bit CPUs. The difference now, in comparison with what was being done in version 6, is that now we're doing that for all uses of kernel_entry, not just the one resulting from load_elf_ram_sym().
This will ensure that the current behavior, that is now based on the fact that load_initrd() uses the target_ulong returned by load_kernel(), that happens to be a 32 bit var when running in 32 bit targets, is preserved by doing a explicit 32 bit extract of the uint64_t kernel_entry for 32 bit CPUs.
Changes in v10:
- patch 1:
- extract the lower 32 bits of kernel_entry for all cases, not just the one from load_elf_ram_sym().
- v10 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg00529.html
Daniel Henrique Barboza (3):
hw/riscv: handle 32 bit CPUs kernel_entry in riscv_load_kernel() hw/riscv/boot.c: consolidate all kernel init in riscv_load_kernel() hw/riscv/boot.c: make riscv_load_initrd() static
hw/riscv/boot.c | 97 ++++++++++++++++++++++++-------------- hw/riscv/microchip_pfsoc.c | 12 +---- hw/riscv/opentitan.c | 4 +- hw/riscv/sifive_e.c | 4 +- hw/riscv/sifive_u.c | 12 +---- hw/riscv/spike.c | 14 ++---- hw/riscv/virt.c | 12 +---- include/hw/riscv/boot.h | 3 +- 8 files changed, 78 insertions(+), 80 deletions(-)
Signature · 1 line
2.39.1