Skip to content

target/riscv: add 'sha' support

Daniel Henrique Barboza qemu-devel qemu-riscv 2 versions – Applied

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

  1. v2 Latest9 patches 1 replyApplied
  2. v19 patches 13 repliesApplied

Changes in v2 from the cover letter

- patches 3,4,5,6,7,8: change bios-tables-test to match the changes in
riscv,isa
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9target/riscv/tcg: hide warn for named feats when disabling via priv_vertarget/riscv/tcg/tcg-cpu.c+10 -30 replies
2/9target/riscv: add ssstateentarget/riscv/cpu.c target/riscv/cpu_cfg.h target/riscv/tcg/tcg-cpu.c+11 -10 replies
3/9target/riscv: add shcounterenwtarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
4/9target/riscv: add shvstvalatarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
5/9target/riscv: add shtvalatarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
6/9target/riscv: add shvstvecdtarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
7/9target/riscv: add shvsatpatarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
8/9target/riscv: add shgatpatarget/riscv/cpu.c tests/data/acpi/riscv64/virt/RHCT+1 -00 replies
9/9target/riscv/tcg: add shatarget/riscv/cpu.c target/riscv/cpu_cfg.h target/riscv/tcg/tcg-cpu.c+11 -00 replies

Reviews trailers per patch

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

PatchAlistair FrancisAndrew Jones
1/9R-b
2/9A-b R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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 v2 0/9] target/riscv: add 'sha' support

Hi,

In this version the errors with 'bios-tables-test' qtest are fixed in each patch that ended up breaking it. The test will break every time we're changing the default riscv,isa DT from the 'rv64' CPU.

This doesn't happen that often so for now I think we'll bite the bullet, but if this becomes annoying we'll have to consider another solution, e.g. use a more stable CPU for bios-tables-test.

Alistair, I'm resending all patches, including patches 1 and 2 that are already applied in riscv-to-apply.next. Feel free to keep the tree as is and apply just 3-9.

All patches acked/reviewed.

Changes from v1:
- patches 3,4,5,6,7,8: change bios-tables-test to match the changes in
riscv,isa
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (9):
target/riscv/tcg: hide warn for named feats when disabling via
priv_ver
target/riscv: add ssstateen
target/riscv: add shcounterenw
target/riscv: add shvstvala
target/riscv: add shtvala
target/riscv: add shvstvecd
target/riscv: add shvsatpa
target/riscv: add shgatpa
target/riscv/tcg: add sha

 target/riscv/cpu.c                |  10 ++++++++++
 target/riscv/cpu_cfg.h            |   2 ++
 target/riscv/tcg/tcg-cpu.c        |  30 ++++++++++++++++++++++++++----
 tests/data/acpi/riscv64/virt/RHCT | Bin 332 -> 390 bytes
 4 files changed, 38 insertions(+), 4 deletions(-)
Signature · 1 line
2.47.1