Re: [PATCH v5 00/20] KVM RISC-V Support
From: Paolo Bonzini
Date: Fri Aug 23 2019 - 08:10:57 EST
On 23/08/19 13:44, Graf (AWS), Alexander wrote:
>> Overall, I'm quite happy with the code. It's a very clean implementation
>> of a KVM target.
Yup, I said the same even for v1 (I prefer recursive implementation of
page table walking but that's all I can say).
>> I will send v6 next week. I will try my best to implement unpriv
>> trap handling in v6 itself.
> Are you sure unpriv is the only exception that can hit there? What
> about NMIs? Do you have #MCs yet (ECC errors)? Do you have something
> like ARM's #SError which can asynchronously hit at any time because
> of external bus (PCI) errors?
As far as I know, all interrupts on RISC-V are disabled by
local_irq_disable()/local_irq_enable().
Paolo