diff options
author | 2023-01-11 11:26:10 +0530 | |
---|---|---|
committer | 2023-04-21 18:10:27 +0530 | |
commit | 2f4d58f7635aec014428e73ef6120c4d0377c430 (patch) | |
tree | 1b7ebc96658063067c58e7bdf88053d11a41017d /arch/riscv/kvm/vcpu.c | |
parent | RISC-V: KVM: Use bitmap for irqs_pending and irqs_pending_mask (diff) | |
download | linux-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