aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/vcpu.c
diff options
context:
space:
mode:
authorGravatar Anup Patel <apatel@ventanamicro.com> 2023-01-11 11:26:10 +0530
committerGravatar Anup Patel <anup@brainfault.org> 2023-04-21 18:10:27 +0530
commit2f4d58f7635aec014428e73ef6120c4d0377c430 (patch)
tree1b7ebc96658063067c58e7bdf88053d11a41017d /arch/riscv/kvm/vcpu.c
parentRISC-V: KVM: Use bitmap for irqs_pending and irqs_pending_mask (diff)
downloadlinux-2f4d58f7635aec014428e73ef6120c4d0377c430.tar.gz
linux-2f4d58f7635aec014428e73ef6120c4d0377c430.tar.bz2
linux-2f4d58f7635aec014428e73ef6120c4d0377c430.zip
RISC-V: KVM: Virtualize per-HART AIA CSRs
The AIA specification introduce per-HART AIA CSRs which primarily support: * 64 local interrupts on both RV64 and RV32 * priority for each of the 64 local interrupts * interrupt filtering for local interrupts This patch virtualize above mentioned AIA CSRs and also extend ONE_REG interface to allow user-space save/restore Guest/VM view of these CSRs. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/riscv/kvm/vcpu.c')
0 files changed, 0 insertions, 0 deletions