lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 02 Feb 2014 01:52:26 +0100
From:	"Rafael J. Wysocki" <>
To:	ACPI Devel Maling List <>
Cc:	Bjorn Helgaas <>, Aaron Lu <>,
	Linux Kernel Mailing List <>,
	Linux PCI <>,
	Mika Westerberg <>
Subject: [PATCH v2 0/6] ACPI / hotplug / PCI: Consolidation of ACPIPHP with ACPI core device hotplug

On Wednesday, January 29, 2014 12:57:06 AM Rafael J. Wysocki wrote:
> On Tuesday, January 28, 2014 11:10:30 PM Rafael J. Wysocki wrote:
> > Hi All,
> > 
> > It looks like there's time for more adventurous stuff. :-)
> > 
> > The following series is on top of the one I sent on Sunday:
> > 
> >
> > 
> > The final outcome of the patches below is that all ACPI hotplug notifications
> > for PCI devices and for core system things like CPU, memory, PCI roots etc.,
> > will be dispatched from acpi_bus_notify() and it is not necessary to install a
> > separate hotplug notify handler for each device any more.
> > 
> > [1/5] Attach ACPIPHP hotplug contexts to struct acpi_device objects.
> > [2/5] Introduce wrappers for installing and removing hotplug notify handlers
> >       (those wrappers go away later on, but they are useful for separating
> >        changes).
> > [3/5] Consolidate ACPI hotplug signaling for PCI and ACPI core.
> > [4/5] Simplify notify handle registration wrapper.
> > [5/5] Dispatch ACPI hotplug notifications for "core" devices and PCI from acpi_bus_notify().
> Unfortunately, I realized that patches [3-5/5] were buggy.  The bugs were
> kind of subtle and might not be easy to reproduce, but they were bugs anyway. :-)
> A respin of the whole series follows.

After the Mika's testing it turned out that they were more buggy than I had
though.  Oh well.

The following patchset is a reworked version of the previous one.  Functionality-wise
the final result should be very similar, but not exactly the same.

[1/6] Fix a theoretical race condition in acpi_hotplug_notify_cb().
[2/6] Move the hotplug context lock definition to the ACPI core (from ACPIPHP).
[3/6] Consolidate ACPI hotplug signaling for PCI and ACPI core (this is a combination
      of patches [1-3/5] from the previous series).
[4/6] Rework the handling of eject requests in the ACPI core.
[5/6] Simplify a routine for installing hotplug notify handlers.
[6/6] Dispatch ACPI hotplug notifications for "core" devices and PCI from acpi_bus_notify().

This is on top of which in turn is on top of
the current mainline.

For the adventurous all this stuff is on the test-next branch of linux-pm.git.


I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists