| Submitter | Kenji Kaneshige |
|---|---|
| Date | 2009-11-06 02:25:13 |
| Message ID | <4AF38909.3040904@jp.fujitsu.com> |
| Download | mbox | patch |
| Permalink | /patch/57991/ |
| State | New |
| Headers | show |
Comments
* Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>: > Alex Chiang wrote: > > Hello Kenji-san, > > > > I'm hitting a BUG_ON() in pcie_update_aspm_capable(), introduced > > in 07d92760d2ee542fe932f4e8b5807dd98481d1fd during a PCI logical > > hotplug operation. > > > > Hi Alex-san, > > Could you try the patch attached below? Hi Kenji-san, Thank you for the quick turnaround. Your patch fixes the issue. You can add my: Reported-and-tested-by: Alex Chiang <achiang@hp.com> I believe this is .32 material. Thanks, /ac -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Alex Chiang wrote: > * Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>: >> Alex Chiang wrote: >>> Hello Kenji-san, >>> >>> I'm hitting a BUG_ON() in pcie_update_aspm_capable(), introduced >>> in 07d92760d2ee542fe932f4e8b5807dd98481d1fd during a PCI logical >>> hotplug operation. >>> >> Hi Alex-san, >> >> Could you try the patch attached below? > > Hi Kenji-san, > > Thank you for the quick turnaround. > > Your patch fixes the issue. > > You can add my: > > Reported-and-tested-by: Alex Chiang <achiang@hp.com> > > I believe this is .32 material. > Thank you very much for testing. I'll post the patch again with your Reported-and-tested-by soon. Thanks, Kenji Kaneshige -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
Index: 20091105/drivers/pci/pcie/aspm.c =================================================================== --- 20091105.orig/drivers/pci/pcie/aspm.c +++ 20091105/drivers/pci/pcie/aspm.c @@ -656,8 +656,10 @@ void pcie_aspm_exit_link_state(struct pc free_link_state(link); /* Recheck latencies and configure upstream links */ - pcie_update_aspm_capable(root); - pcie_config_aspm_path(parent_link); + if (parent_link) { + pcie_update_aspm_capable(root); + pcie_config_aspm_path(parent_link); + } out: mutex_unlock(&aspm_lock); up_read(&pci_bus_sem);