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

From: Simon Horman <[email-masked]>
Date: Wed, 31 Jul 2024 09:57:39 +0100

On Tue, Jul 30, 2024 at 04:24:23PM +0800, Liju-clr Chen wrote:
> From: Yingshiuan Pan <[email-masked]>
> 
> 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 <[email-masked]>
> Signed-off-by: Yi-De Wu <[email-masked]>
> Signed-off-by: Liju Chen <[email-masked]>

...

> 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
> + */

...