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

Bug#445987: OOPS in xen domU due to unitialised pci_dma structure.



The upstream Xen tree has a patch more like the attached. 

However I suspect there is no practical difference between the two so
I'd suggest applying Göran Weinholt's patch since it has actually been
tested. I will check it in shortly unless I hear screaming...

Ian.

-- 
Ian Campbell

The only person who always got his work done by Friday was Robinson Crusoe.
--- a/arch/i386/kernel/pci-dma-xen.c
+++ b/arch/i386/kernel/pci-dma-xen.c
@@ -70,6 +70,15 @@
 {
     return 1;
 }
+
+static int __init pci_iommu_init(void)
+{
+	no_iommu_init();
+	return 0;
+}
+
+/* Must execute after PCI subsystem */
+fs_initcall(pci_iommu_init);
 #endif
 
 struct dma_coherent_mem {

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: