arch/risc-v: qemu: add AIA support

Implement AIA support for qemu rv-virt.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
This commit is contained in:
Inochi Amaoto
2024-05-12 20:16:37 +08:00
committed by Alan Carvalho de Assis
parent 5f70307111
commit b35f7aed48
7 changed files with 248 additions and 40 deletions
@@ -34,7 +34,21 @@ Build and install ``qemu``::
$ make
$ sudo make install
QEMU 7.2.9 or later and OpenSBI v1.1 or later (usually shipped with QEMU) is required, to support RISC-V "Sstc" Extension. It is also recommended to use the latest QEMU and OpenSBI.
Minimum Requirement
===================
The table below lists all the minimum versions for QEMU and OpenSBI.
For stability, it is also recommended to use the latest QEMU and OpenSBI.
+----------------------------+--------------+-----------------+
| Extension | QEMU Version | OpenSBI Version |
+============================+==============+=================+
| No extension | 6.2.0 | v1.0 |
+----------------------------+--------------+-----------------+
| SSTC | 7.2.9 | v1.1 |
+----------------------------+--------------+-----------------+
| AIA | 8.2.0 | v1.2 |
+----------------------------+--------------+-----------------+
For users who wish to use their own OpenSBI, please refer to `OpenSBI repository <https://github.com/riscv-software-src/opensbi>`_.