Re: [RFC PATCH v2 06/19] RISC-V: KVM: Implement VCPU interrupts and requests handling

From: Anup Patel
Date: Mon Aug 05 2019 - 08:27:37 EST


On Fri, Aug 2, 2019 at 1:47 PM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> On 02/08/19 09:47, Anup Patel wrote:
> > + /* VCPU interrupts */
> > + unsigned long irqs_pending;
> > + unsigned long irqs_pending_mask;
> > +
>
> This deserves a comment on the locking policy (none for producer,
> vcpu_lock for consumers).

Yes, I will certainly add comments about our approach in
asm/kvm_host.h

Regards,
Anup