AIA Virtualization in KVM RISC-V
summary
Implements RISC-V Advanced Interrupt Architecture virtualization inside KVM with a working proof‑of‑concept on QEMU, OpenSBI, Linux KVM and kvmtool. Key specifics: one INSEC per hart and 2047 MSIIDs per file, APPLIC domains handle up to 1023 sources and target up to 16384 harts, and wired interrupts convert to MSI in MSI mode. KVM supports emulation, hardware-accelerated and dynamic modes, handles vCPU moves with a fast/slow run‑loop path, and the demo runs successfully.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:37RISC-V AIA Specification
- 1:51AIA: Extended local interrupts
- 5:09AIA: IPIs as software injected MSIs
- 7:36AIA: Wired interrupts using APLIC direct mode
- 8:13AIA: Wired interrupts using APLIC MSI mode
- 8:58AIA Virtualization support
- 11:08AIA Support in KVM RISC-V
- 16:36KVM: Virtual IPIs using IMSIC VS-files
- 18:50KVM: Device MSIs using IMSIC VS-files
- 19:45KVM: WFI wake-up using IMSIC VS-files
- 20:33KVM: Updating IMSIC file in VCPU run-loop
- 23:03AIA Software Status
related talks
20mRISC-V irqbypass with KVM
21mRISC V Hypervisor Support
30mLook Ma’, No (Real) Interrupt Controller!
23mHyper-V's Virtual Secure Mode in KVM project update
25mThe Qemu/KVM ecosystem: Navigating the code!
31mKVM Nested Virtualization: Workings and Usecases
36mShared Virtual Addressing for High Performance Arm Infrastructure Platforms
26mMulti-KVM Abstract
