lkml.org 
[lkml]   [2013]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v8 06/22] PCI: split registration of PCI bus devices into two stages
    From
    On Sun, Jan 13, 2013 at 7:25 AM, Jiang Liu <liuj97@gmail.com> wrote:
    > On 01/13/2013 06:34 AM, Rafael J. Wysocki wrote:
    >> On Friday, January 11, 2013 02:40:33 PM Yinghai Lu wrote:
    >>> From: Jiang Liu <jiang.liu@huawei.com>
    >>>
    >>> When handling BUS_NOTIFY_ADD_DEVICE event for a PCI bridge device,
    >>> the notification handler can't hold reference count to the new PCI bus
    >>> because the device object for the new bus (pci_dev->subordinate->dev)
    >>> hasn't been initialized yet.
    >>
    >> It doesn't look like BUS_NOTIFY_ADD_DEVICE is used by the PCI bus type
    >> in the mainline.
    >>
    >> Is it in linux-next?
    >>
    >> If not, then I don't see why we need this patch.
    > Hi Rafael,
    > Originally it's a preparation patch for pci_slot/acpiphp/pci_bind
    > related fixups. With recent work from you to remove bind/unbind from struct
    > acpi_bus_type, we have no dependency on this patch anymore.

    ok, will drop this one.

    Yinghai


    \
     
     \ /
      Last update: 2013-01-15 08:21    [W:3.359 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site