On Thu, Feb 7, 2013 at 3:24 AM, Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx> wrote: > Dear Thierry Reding, > > On Tue, 29 Jan 2013 10:20:06 +0100, Thierry Reding wrote: > >> > I didn't test recently, but with my first version of the patch set, >> > having an initialization as late as module_init() was too late. Some >> > PCI fixup code was being executed *before* we get the opportunity of >> > initializing the PCI driver, and it was crashing the kernel. I can >> > provide more details if you want. >> >> Does this patch perhaps fix this crash? >> >> http://patchwork.ozlabs.org/patch/210870/ > > I investigated a bit more, and managed to reproduce my crash even with > your patch applied. And indeed, my crash is really unrelated to the > pcibios function disappearing. Here is the kernel panic (and a short > analysis afterwards) : Hi Thomas, Can you post the entire dmesg log, ideally with CONFIG_PCI_DEBUG=y? That should have more information about the enumeration process, including what we think the XHCI BARs are and the apertures leading to them. The PCI core assumes that we know the host bridge apertures up front, and I'm not sure that is true on your platform, so maybe we'll need some changes to accommodate that. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html