Skip to content

ACPI: Device objects for all namespace nodes and PCI root hotplug integration

Rafael J. Wysocki linux-acpi linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ACPICA: Delete all attached data objects on node deletiondrivers/acpi/acpica/nsalloc.c+5 -10 replies
2/10ACPI / scan: Define non-empty device removal handlerdrivers/acpi/internal.h drivers/acpi/osl.c drivers/acpi/scan.c +1 more+102 -210 replies
3/10ACPI / scan: Add acpi_device objects for all device nodes in the namespaceDocumentation/acpi/namespace.txt drivers/acpi/device_pm.c drivers/acpi/dock.c +7 more+98 -840 replies
4/10ACPI / hotplug: Do not fail bus and device checks for disabled hotplugdrivers/acpi/scan.c+7 -330 replies
5/10ACPI / hotplug: Introduce common hotplug function acpi_device_hotplug()drivers/acpi/internal.h drivers/acpi/pci_root.c drivers/acpi/scan.c+68 -790 replies
6/10ACPI / hotplug: Make ACPI PCI root hotplug use common hotplug codedrivers/acpi/internal.h drivers/acpi/pci_root.c drivers/acpi/scan.c +1 more+38 -1310 replies
7/10ACPI / hotplug: Move container-specific code out of the coredrivers/acpi/container.c drivers/acpi/scan.c include/acpi/acpi_bus.h+9 -1730 replies
8/10ACPI / hotplug: Rework generic code to handle suprise removalsdrivers/acpi/scan.c+59 -260 replies
9/10ACPI / hotplug: Drop unfinished global notification handling routinesdrivers/acpi/bus.c+2 -620 replies
10/10ACPI: Introduce acpi_set_device_status()drivers/acpi/bus.c drivers/acpi/scan.c include/acpi/acpi_bus.h+10 -110 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchMika WesterbergYasuaki IshimatsuGreg Kroah-Hartman
SeriesT-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10T-b A-b
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/10] ACPI: Device objects for all namespace nodes and PCI root hotplug integration

Hi,

This is 3.14 material, but I'm posting it today to let you know it is coming. Of course, if you see any immediate problems with the following patches, please let me know.

Patch [1/10] is a place holder until we get an equivalent from ACPICA upstream, which should happen early after 3.13-rc1. The remaining patches are:

[2/10] ACPI / scan: Define non-empty removal handler to passed to
acpi_attach_data() for struct acpi_device objects.

[3/10] ACPI / scan: Create struct acpi_device objects for all device nodes in
the namespace regardless of the current result of _STA (the reasons are explained in the changelog).

[4/10] ACPI / hotplug: Do not fail bus check and device check notifications
if hotplug is not enabled for the given group of devices via sysfs (failing those notifications only skips device enumeration, but doesn't
prevent devices from being physically added to the system).

[5/10] ACPI / hotplug: Introduce common device hotplug function
acpi_device_hotplug() and reduce some code duplication.

[6/10] ACPI / hotplug: Make PCI host bridge hotplug use common code (instead
of defining its own notify handler).

[7/10] ACPI / hotplug: Move container-specific code out of the common code.

[8/10] ACPI / hotplug: Rework the common device hotplug code to cover surprise
removals of devices.

[9/10] ACPI / hotplug: Drop unfinished global hotplug notification handling
routines.

[10/10] ACPI: Clean up some revoltingly ugly stuff.

Thanks!

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.