Thread (29 messages) 29 messages, 4 authors, 2024-10-22

Re: [PATCH v12 11/24] virt: geniezone: Add ioeventfd support

From: Simon Horman <horms@kernel.org>
Date: 2024-07-31 08:57:46
Also in: linux-devicetree, linux-doc, linux-mediatek, linux-trace-kernel, lkml, netdev

On Tue, Jul 30, 2024 at 04:24:23PM +0800, Liju-clr Chen wrote:
From: Yingshiuan Pan <redacted>

Ioeventfd leverages eventfd to provide asynchronous notification
mechanism for VMM. VMM can register a mmio address and bind with an
eventfd. Once a mmio trap occurs on this registered region, its
corresponding eventfd will be notified.

Signed-off-by: Yingshiuan Pan <redacted>
Signed-off-by: Yi-De Wu <redacted>
Signed-off-by: Liju Chen <redacted>
...
quoted hunk ↗ jump to hunk
diff --git a/drivers/virt/geniezone/gzvm_ioeventfd.c b/drivers/virt/geniezone/gzvm_ioeventfd.c
...
+/**
+ * ioeventfd_check_collision() - Check collison assumes gzvm->ioevent_lock held.
nit: collision

     Likewise elsewhere in this patch.

     Flagged by checkpatch.pl --codespell
+ * @gzvm: Pointer to gzvm.
+ * @p: Pointer to gzvm_ioevent.
+ *
+ * Return:
+ * * true			- collison found
+ * * false			- no collison
+ */
...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help