projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a5ddf
)
x86/MSI: fix dump_msi() after c/s 24068:6928172f7ded
author
Jan Beulich
<jbeulich@suse.com>
Wed, 9 Nov 2011 09:36:20 +0000
(10:36 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 9 Nov 2011 09:36:20 +0000
(10:36 +0100)
The function must not blindly take the lock on IRQ descriptors.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/msi.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/msi.c
b/xen/arch/x86/msi.c
index bbed64a47ca82dd12f642a132ff18bfb67bd081e..2d860069c8211d7c88f1f6f63ccb56592a202c76 100644
(file)
--- 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;