Hi Samuel,

On 7/12/25 8:21 PM, Samuel Thibault wrote:
> This is the locking for the management of ndisabled and calling
> mask/unmask only.

Yes, correct, however inside the ioapic_irq_eoi() function we are 
masking/unmasking again,
so I think we need to protect the mask per irq as well wrapped around 
this function
to prevent the mask from being in the wrong state at any given time when 
__{enable/disable}_irq is called.

I will send a new patch, see if you agree with it.

Damien




Reply via email to