x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
PATCH 1/1 x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
Without this, dump_irqs() may try to acquire the lock the caller is currently holding.
xen/arch/x86/irq.c +1 -0
@@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct c {if (unlikely (!test_bit (vector, desc->arch.used_vectors)) ) { +spin_unlock (&desc->lock); bitmap_scnlistprintf(keyhandler_scratch, sizeof(keyhandler_scratch), desc->arch.used_vectors->_bits,
x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
Without this, dump_irqs() may try to acquire the lock the caller is currently holding.
xen/arch/x86/irq.c +1 -0
@@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct c {if (unlikely (!test_bit (vector, desc->arch.used_vectors)) ) { +spin_unlock (&desc->lock); bitmap_scnlistprintf(keyhandler_scratch, sizeof(keyhandler_scratch), desc->arch.used_vectors->_bits,
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines · Jan Beulich
Without this,
dump_irqs()may try to acquire the lock the caller is currently holding.Signed-off-by Jan Beulich <[email protected]>
With the proviso that this is patch will disappear when all (3 so far) of these debugging patches disappear.
Quoted 14 lines
xen/arch/x86/irq.c +1
-0@@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct c {if (unlikely (!test_bit (vector, desc->arch.used_vectors)) ) { +spin_unlock (&desc->lock); bitmap_scnlistprintf(keyhandler_scratch, sizeof(keyhandler_scratch), desc->arch.used_vectors->_bits,
Signature · 2 lines
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Andrew Cooper
Quoted 4 lines · Jan Beulich
Without this,
dump_irqs()may try to acquire the lock the caller is currently holding.Signed-off-by Jan Beulich <[email protected]>With the proviso that this is patch will disappear when all (3 so far) of these debugging patches disappear.
That must be the goal, sure.
Jan