[PATCH v12 11/24] virt: geniezone: Add ioeventfd support
Simon Horman
horms at kernel.org
Wed Jul 31 01:57:39 PDT 2024
On Tue, Jul 30, 2024 at 04:24:23PM +0800, Liju-clr Chen wrote:
> From: Yingshiuan Pan <yingshiuan.pan at mediatek.com>
>
> 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 at mediatek.com>
> Signed-off-by: Yi-De Wu <yi-de.wu at mediatek.com>
> Signed-off-by: Liju Chen <liju-clr.chen at mediatek.com>
...
> 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
> + */
...
More information about the linux-arm-kernel
mailing list