Re: [PATCH] xen: simplify evtchn_do_upcall() call maze

From: Thomas Gleixner
Date: Fri Aug 25 2023 - 04:16:47 EST


On Thu, Aug 24 2023 at 17:41, Juergen Gross wrote:
> There are several functions involved for performing the functionality
> of evtchn_do_upcall():
>
> - __xen_evtchn_do_upcall() doing the real work
> - xen_hvm_evtchn_do_upcall() just being a wrapper for
> __xen_evtchn_do_upcall(), exposed for external callers
> - xen_evtchn_do_upcall() calling __xen_evtchn_do_upcall(), too, but
> without any user
>
> Simplify this maze by:
>
> - removing the unused xen_evtchn_do_upcall()
> - removing xen_hvm_evtchn_do_upcall() as the only left caller of
> __xen_evtchn_do_upcall(), while renaming __xen_evtchn_do_upcall() to
> xen_evtchn_do_upcall()
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>