Re: [PATCH v12 11/24] virt: geniezone: Add ioeventfd support
From: Simon Horman
Date: Wed Jul 31 2024 - 04:58:16 EST
On Tue, Jul 30, 2024 at 04:24:23PM +0800, Liju-clr Chen wrote:
> From: Yingshiuan Pan <yingshiuan.pan@xxxxxxxxxxxx>
>
> 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 <yingshiuan.pan@xxxxxxxxxxxx>
> Signed-off-by: Yi-De Wu <yi-de.wu@xxxxxxxxxxxx>
> Signed-off-by: Liju Chen <liju-clr.chen@xxxxxxxxxxxx>
...
> 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
> + */
...