Messages in this thread Patch in this message | | | Date | Mon, 27 Oct 2014 21:03:11 -0700 | Subject | Re: Machine crashes right *after* ~successful resume | From | Yinghai Lu <> |
| |
On Mon, Oct 27, 2014 at 6:12 PM, Yinghai Lu <yinghai@kernel.org> wrote: > On Mon, Oct 27, 2014 at 5:03 PM, Wilmer van der Gaast <wilmer@gaast.net> wrote: >> I was curious about that already, did that with a 3.16.6 that I think just >> had your revert applied (and using lspci -xxxx to get the dump which I >> assumed would be the same): No changes to 04:00 at all. >> >> Confirmed that this is the case with 3.17 + those patches as well, it's >> showing this at all times: > > can you post > lspci -vvxxxx -s 00:1c.3 > lspci -vvxxxx -s 04:00.0 > before reverting enable bridge early patch > and after reverting on 3.17+?
Please check if attached patch could fix the problem on your setup.
Thanks
Yinghai --- drivers/pci/quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
Index: linux-2.6/drivers/pci/quirks.c =================================================================== --- linux-2.6.orig/drivers/pci/quirks.c +++ linux-2.6/drivers/pci/quirks.c @@ -3098,6 +3098,12 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x8c02, quirk_remove_d3_delay); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x8c22, quirk_remove_d3_delay); +static void enable_pci_bridge_d0(struct pci_dev *dev) +{ + pci_set_power_state(dev, PCI_D0); +} +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ITE, 0x8892, enable_pci_bridge_d0); + /* * Some devices may pass our check in pci_intx_mask_supported if * PCI_COMMAND_INTX_DISABLE works though they actually do not properly | |