Re: [PATCH V4 3/5] dt-bindings: gpio: Add bindings for gpio-virtio
From: Rob Herring
Date: Tue Aug 03 2021 - 11:47:59 EST
n Mon, Aug 2, 2021 at 10:30 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 02-08-21, 13:40, Rob Herring wrote:
> > Humm, how does one implement interrupts without a parent interrupt? It
> > uses the parent virtio,mmio interrupt?
>
> Kind of, yeah, but not necessarily.
>
> The interrupt information is passed over buffers shared between host and guest.
> Now the guest may process the buffers when it receives a notification from the
> host, that will be at downpath of an interrupt for virtio,mmio. Or the guest may
> poll on the virtqueue and process any buffers as soon as they are made
> available, no interrupts then.
Okay, thanks for the explanation.
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Rob