On 11/08/2025 18:28, Julien Grall wrote:
Hi Mykola,

On 11/08/2025 09:45, Mykola Kvach wrote:
From: Mykola Kvach <mykola_kv...@epam.com>

If init_one_irq_desc() fails, init_local_irq_data() returns without
releasing local_irqs_type_lock, leading to a possible deadlock.

Release the lock before returning to ensure proper cleanup.

Fixes: 2bb32b809250 ("xen/irq: Propagate the error from init_one_desc_irq() in init_*_irq_data()")
Signed-off-by: Mykola Kvach <mykola_kv...@epam.com>
Reviewed-by: Denis Mukhin <dmuk...@ford.com>

Acked-by: Julien Grall <jgr...@amazon.com>

I will commit the patch soon.

This is now merged.

Cheers,

--
Julien Grall


Reply via email to