Skip to content

AIA draft v0.3.0 support for QEMU RISC-V

Anup Patel qemu-devel qemu-riscv 1 version Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv: Remove CSRs that set/clear an IMSIC interrupt file bitstarget/riscv/cpu_bits.h target/riscv/csr.c+6 -1681 reply
2/2target/riscv: Update default priority table for local interruptstarget/riscv/cpu_bits.h target/riscv/cpu_helper.c+66 -701 reply

Reviews trailers per patch

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

PatchAlistair Francis
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] AIA draft v0.3.0 support for QEMU RISC-V

The latest AIA draft v0.3.0 addresses comments from the architecture review committee.
(Refer, https://github.com/riscv/riscv-aia/releases/tag/0.3.0-draft.31)

There are primarily two changes:
1) Removing various [m|s|vs]seteienum, [m|s|vs]clreienum, [m|s|vs]seteipnum, and [m|s|vs]clrei;num CSRs because these CSRs were mostly for software convienence.
2) Simplifying the default priority assignment for local interrupts

These patches can also be found in riscv_aia_update_v1 branch at:
https://github.com/avpatel/qemu.git

Corresponding changes in OpenSBI and Linux were small and these can be found at:
riscv_aia_update_v1 branch of https://github.com/avpatel/opensbi.git
riscv_aia_v1 branch of https://github.com/avpatel/linux.git

Anup Patel (2):
target/riscv: Remove CSRs that set/clear an IMSIC interrupt file bits target/riscv: Update default priority table for local interrupts

 target/riscv/cpu_bits.h   |  26 +------
 target/riscv/cpu_helper.c | 134 +++++++++++++++++-----------------
 target/riscv/csr.c        | 150 +-------------------------------------
 3 files changed, 72 insertions(+), 238 deletions(-)
Signature · 1 line
2.34.1