Re: [PATCH 5/30] ACPI / hotplug / PCI: Unified notify handler for hotplug events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 17, 2013 at 4:18 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Using the hotplug context objects introduced previously rework the
> ACPI-based PCI hotplug (ACPIPHP) core code so that all notifications
> for ACPI device objects corresponding to the hotplug PCI devices are
> handled by one function, handle_hotplug_event(), which recognizes
> whether it has to handle a bridge or a function.
>
> In addition to code size reduction it allows some ugly pieces of code
> where notify handlers have to be uninstalled and installed again to
> go away.  Moreover, it fixes a theoretically possible race between
> handle_hotplug_event() and free_bridge() tearing down data structures
> for the same handle.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
>  drivers/pci/hotplug/acpiphp.h      |    1
>  drivers/pci/hotplug/acpiphp_glue.c |  132 ++++++++++++++-----------------------
>  2 files changed, 53 insertions(+), 80 deletions(-)

Can you put this patches in one temp branch ?

Like to check final bits.

Thanks

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux