|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86/MSI: fix dump_msi() after c/s 24068:6928172f7ded
The function must not blindly take the lock on IRQ descriptors.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
--- a/xen/arch/x86/msi.c
+++ b/xen/arch/x86/msi.c
@@ -1076,6 +1076,9 @@ static void dump_msi(unsigned char key)
unsigned long flags;
char type;
+ if ( !irq_desc_initialized(desc) )
+ continue;
+
spin_lock_irqsave(&desc->lock, flags);
entry = desc->msi_desc;
x86-dump_msi-locking.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86/MSI: fix dump_msi() after c/s 24068:6928172f7ded,
Jan Beulich <=
|
|
|
|
|