Skip to content

riscv: support new isa extension detection devicetree properties

Conor Dooley qemu-devel qemu-riscv 4 versions – Applied

Status from this message: Applied to riscv-to-apply.next with some manual rebasing

Get series with b4
b4 am 20240124-squatting-getup-a16a8499ad73@spud

Versions newest first · linked by author and title

  1. v4 Latest2 patches 5 repliesApplied
  2. v32 patches 7 repliesSuperseded
  3. v21 patch 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Changes in v4 from the cover letter

- Other than a rebase, add a helper for the mxl_max to xlen conversion

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv: use misa_mxl_max to populate isa string rather than TARGET_LONG_BITStarget/riscv/cpu.c target/riscv/cpu.h target/riscv/gdbstub.c+10 -23 replies
2/2target/riscv: support new isa extension detection devicetree propertieshw/riscv/sifive_u.c hw/riscv/spike.c hw/riscv/virt.c +2 more+60 -131 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisAndrew JonesDaniel Henrique Barboza
1/2R-b R-b R-b
2/2R-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.

Read the v4 thread

Cover letter [PATCH v4 0/2] riscv: support new isa extension detection devicetree properties

From: Conor Dooley <[email protected]>

Making it a series to keep the standalone change to riscv_isa_string() that Drew reported separate.

Changes in v4:
- Other than a rebase, add a helper for the mxl_max to xlen conversion

Changes in v3:
- g_free() isa_extensions too
- use misa_mxl_max rather than the compile target for the base isa
- add a new patch changing riscv_isa_string() to do the same
- drop a null check that cannot be null
- rebased on top of Alistair's next branch

Changes in v2:
- use g_strdup() for multiletter extension string copying
- wrap stuff in #ifndef to prevent breaking the user mode build
- rename riscv_isa_set_props() -> riscv_isa_write_fdt()

CC Alistair Francis <[email protected]>
CC Bin Meng <[email protected]>
CC Palmer Dabbelt <[email protected]>
CC Weiwei Li <[email protected]>
CC Daniel Henrique Barboza <[email protected]>
CC Andrew Jones <[email protected]>
CC Liu Zhiwei <[email protected]>

Conor Dooley (2):
target/riscv: use misa_mxl_max to populate isa string rather than
TARGET_LONG_BITS
target/riscv: support new isa extension detection devicetree
properties

 hw/riscv/sifive_u.c    |  7 ++---
 hw/riscv/spike.c       |  6 ++--
 hw/riscv/virt.c        |  6 ++--
 target/riscv/cpu.c     | 62 +++++++++++++++++++++++++++++++++++++++++-
 target/riscv/cpu.h     |  2 ++
 target/riscv/gdbstub.c |  2 +-
 6 files changed, 70 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0