Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134AbaBQIxY (ORCPT ); Mon, 17 Feb 2014 03:53:24 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:62566 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbaBQIxW (ORCPT ); Mon, 17 Feb 2014 03:53:22 -0500 Message-ID: <5301CDD8.5020808@huawei.com> Date: Mon, 17 Feb 2014 16:52:40 +0800 From: Yijing Wang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Bjorn Helgaas CC: Yijing Wang , , , Hanjun Guo Subject: Re: [PATCH part1 v6 0/7] Introduce PCIe Device Serial Number capability support References: <1392173573-59844-1-git-send-email-wangyijing@huawei.com> In-Reply-To: <1392173573-59844-1-git-send-email-wangyijing@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.27.212] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Sorry to bother you, any comment about this series? Thanks! Yijing. On 2014/2/12 10:52, Yijing Wang wrote: > v5->v6: Add is_frozen flag to protect pci bus from double frozen. > > This series is based on Bjorn's pci-next branch. > Currently, more and more PCIe devices support PCIe DSN(Device Serial Number) > capability, we can use this cap to identify device. In some platform, > when we hotplug PCIe device, no interrupts will be received in system. > So we can not identify the device whether is changed during suspend. > PCIe DSN can help to identify this. > > Legacy PCI device can achieve it by PCI Vital Product Data capability. > We can use its SN keyword to report the unique number. > But in my platform, PCI devices which support VPD SN cap report the > meaningless same string "0123456789". > Rework PCI VPD code to support device identification is not an easy work. > Plan to do it in part2. > > Yijing Wang (7): > PCI: rework pci_find_next_ext_capability() > PCI: introduce pci_bus_find_ext_capability() > PCI: Add support for Device Serial Number capability > PCI: Introduce pci_serial_number_changed() > PCI: Add pci_dummy_ops to isolate pci device temporarily > PCI: Check pci device serial number when scan device > PCI: pciehp: Don't enable/disable slot on resume unless status > changed > > drivers/pci/hotplug/pciehp_core.c | 10 ++- > drivers/pci/pci.c | 169 +++++++++++++++++++++++++++++++++++-- > drivers/pci/pci.h | 2 +- > drivers/pci/probe.c | 15 +++- > include/linux/pci.h | 10 ++- > 5 files changed, 192 insertions(+), 14 deletions(-) > > > > . > -- Thanks! Yijing -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/