Re: [PATCH 1/2] xen/evtchn: avoid WARN() when unbinding an event channel

2024-03-17 Thread Oleksandr Tyshchenko
On 13.03.24 09:14, Juergen Gross wrote: Hello Juergen > When unbinding a user event channel, the related handler might be > called a last time in case the kernel was built with > CONFIG_DEBUG_SHIRQ. This might cause a WARN() in the handler. > > Avoid that by adding an "unbinding" flag to

[PATCH 1/2] xen/evtchn: avoid WARN() when unbinding an event channel

2024-03-13 Thread Juergen Gross
When unbinding a user event channel, the related handler might be called a last time in case the kernel was built with CONFIG_DEBUG_SHIRQ. This might cause a WARN() in the handler. Avoid that by adding an "unbinding" flag to struct user_event which will short circuit the handler. Fixes: