Re: [PATCH] xen/events: reset active flag for lateeoi events later

From: Juergen Gross
Date: Mon Jul 05 2021 - 05:16:46 EST

On 05.07.21 11:00, Ross Lagerwall wrote:
On 2021-06-23 14:09, Juergen Gross wrote:
In order to avoid a race condition for user events when changing
cpu affinity reset the active flag only when EOI-ing the event.

This is working fine as all user events are lateeoi events. Note that
lateeoi_ack_mask_dynirq() is not modified as there is no explicit call
to xen_irq_lateeoi() expected later.

Reported-by: Julien Grall <julien@xxxxxxx>
Fixes: b6622798bc50b62 ("xen/events: avoid handling the same event on two cpus at the same time")
Tested-by: Julien Grall <julien@xxxxxxx>
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Hi Juergen,

Are you planning on backporting this fix to releases <= 5.10?

It is on my todo list. :-)


Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature