|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86/MSI: fix dump_msi() after c/s 24068:6
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1320831380 -3600
# Node ID 33215c3868a181c17dda1d0629d767d5b9c8a0f0
# Parent fb1b32c9d03dfa5af4014688556a97805b118ac9
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>
---
diff -r fb1b32c9d03d -r 33215c3868a1 xen/arch/x86/msi.c
--- a/xen/arch/x86/msi.c Tue Nov 08 19:41:47 2011 +0000
+++ b/xen/arch/x86/msi.c Wed Nov 09 10:36:20 2011 +0100
@@ -1076,6 +1076,9 @@
unsigned long flags;
char type;
+ if ( !irq_desc_initialized(desc) )
+ continue;
+
spin_lock_irqsave(&desc->lock, flags);
entry = desc->msi_desc;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86/MSI: fix dump_msi() after c/s 24068:6928172f7ded,
Xen patchbot-unstable <=
|
|
|
|
|