Messages in this thread | | | Date | Fri, 12 Jul 2013 09:52:16 +0800 | From | Yijing Wang <> | Subject | Re: [PATCH -v2 0/3] Use PCIe DSN to improve pciehp_resume |
| |
On 2013/7/11 22:19, Paul Bolle wrote: > On Thu, 2013-07-11 at 17:43 +0800, Yijing Wang wrote: >> v1->v2: Modify pci_get_dsn to pci_device_serial_number, >> power off slot before remove the old device during resume to avoid >> old .remove() method to touch new hardware. >> Fix other typo and fail check problems. >> Split the list_empty() guard into new patch. >> >> >> Yijing Wang (3): >> PCI: introduce PCIe Device Serial Number Capability support >> PCI,pciehp: avoid add a device already exist before suspend during >> resume >> PCI,pciehp: use PCIe DSN to identify device change during suspend >> >> drivers/pci/hotplug/pciehp_core.c | 54 ++++++++++++++++++++++++++++++++++-- >> drivers/pci/pci.c | 27 ++++++++++++++++++ >> drivers/pci/probe.c | 2 + >> include/linux/pci.h | 3 ++ >> 4 files changed, 83 insertions(+), 3 deletions(-) > > Series applies cleanly to v3.10 (but there was a small problem with 3/3, > which I'll mention in a reply to that patch). Compiles without warning. > Those two errors on every resume are now gone!
I will check patch 3/3, Paul, Do you wireless card support Device Serial Number ? You can confirm it by lspci -vvv.
> > Thanks. > > > Paul Bolle > > > . >
-- Thanks! Yijing
| |