Thread (17 messages) flat view 17 messages, 4 authors, 2021-08-31

Re: [PATCH V4 3/5] dt-bindings: gpio: Add bindings for gpio-virtio

From: Rob Herring <robh@kernel.org>
Date: 2021-08-03 15:47:59
Also in: linux-gpio, lkml, virtualization

n Mon, Aug 2, 2021 at 10:30 PM Viresh Kumar [off-list ref] wrote:
On 02-08-21, 13:40, Rob Herring wrote:
quoted
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@kernel.org>

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help