Skip to content

RFC ahci_platform: unbind/rmmod power down sequence

Brian Norris linux-ide linux-pm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest3 patches 4 repliesIn review
  2. v1 RFC3 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ahci_platform: enable hotplug unbindingdrivers/ata/ahci_platform.c+3 -20 replies
2/3ahci_platform: convert to module_platform_driverdrivers/ata/ahci_platform.c+1 -120 replies
3/3ahci_platform: perform platform exit in host_stop() hookdrivers/ata/ahci_platform.c+22 -63 replies

Reviews trailers per patch

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

PatchTejun Heo
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC v2 0/3] ahci_platform: unbind/rmmod power down sequence

Hello,

This is a follow up on a previous questions and RFC series I sent. See here for some context:

    http://article.gmane.org/gmane.linux.ide/53143
    http://article.gmane.org/gmane.linux.ide/52951

This series:

(1) Allows ahci_platform to unbind a device from the driver. This is useful for allowing total power-off of the device, for instance.
(2) Adds ahci_platform ata_port_operations.host_stop() hook, so that platform-device exit() can power down the device at the appropriate point in the removal sequence.

Thanks to Tejun for the comments, which suggested that ahci_platform (not libata-core) was broken.

Brian

Brian Norris (3):
ahci_platform: enable hotplug unbinding
ahci_platform: convert to module_platform_driver
ahci_platform: perform platform exit in host_stop() hook

 drivers/ata/ahci_platform.c | 44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.11.3