[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] msi: Avoid uninitialized msi descriptors



Hi,
When __pci_enable_msix() returns early, output parameter (struct msi_desc 
**desc) will not be initialized.  On my machine, a Broadcom BCM5709 nic has 
both MSI and MSIX capability blocks and when guest tries to enable msix 
interrupts but __pci_enable_msix() returns early for encountering a msi 
block,  the whole system will crash for fatal page fault immediately.

Thanks, 
Wei

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
-- 
AMD GmbH, Germany
Operating System Research Center

Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München
Registergericht München, HRB Nr. 43632

Attachment: fix_msi.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.