]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/intc/meson.build
hw/intc: Add RISC-V AIA IMSIC device emulation
authorAnup Patel <anup.patel@wdc.com>
Sun, 20 Feb 2022 08:55:23 +0000 (14:25 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 3 Mar 2022 03:14:50 +0000 (13:14 +1000)
commit9746e583fe6ca67d9645448989535bc19adb6150
tree1226b4e683e1e3f1a0c205d3077e3d3dc3c5b57f
parente6faee65855bf6d2ee480c5515f6d157c3229a38
hw/intc: Add RISC-V AIA IMSIC device emulation

The RISC-V AIA (Advanced Interrupt Architecture) defines a new
interrupt controller for MSIs (message signal interrupts) called
IMSIC (Incoming Message Signal Interrupt Controller). The IMSIC
is per-HART device and also suppport virtualizaiton of MSIs using
dedicated VS-level guest interrupt files.

This patch adds device emulation for RISC-V AIA IMSIC which
supports M-level, S-level, and VS-level MSIs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-Id: <20220220085526.808674-3-anup@brainfault.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/intc/Kconfig
hw/intc/meson.build
hw/intc/riscv_imsic.c [new file with mode: 0644]
include/hw/intc/riscv_imsic.h [new file with mode: 0644]