linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] libata/ahci unbinding, power down sequence
@ 2012-10-25 16:55 Brian Norris
  2012-10-25 16:55 ` [RFC 1/3] ahci_platform: enable hotplug unbinding Brian Norris
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Brian Norris @ 2012-10-25 16:55 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: linux-ide, linux-pm, Linux Kernel, Brian Norris, Kevin Cernekee,
	Tejun Heo

Hello,

I sent out a few questions/suggestions earlier, regarding some trouble I was
having in supporting my SoC SATA controller under the libata / ahci_platform
driver:

    http://article.gmane.org/gmane.linux.ide/52951/match=unbind+rmmod

I think I have identified a problem in libata's handling of hardware activity
at device removal/exit (relevant to my use-case of unbind or rmmod). This patch 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) Modifies libata-core so that ata_host_stop() is not called as a devres
    cleanup function (after all driver-specific functions, including power-off)

The first two patches are relatively harmless and correct, I believe, where the
third patch is more significant and could use good review. I am sending code
because I hear no response to my standalone suggestions :) Please see my
previous email (URL above) and/or patch 3/3 for a more detailed description.

Thanks,
Brian

Brian Norris (3):
  ahci_platform: enable hotplug unbinding
  ahci_platform: convert to module_platform_driver
  libata: don't perform HW activity in devres

 drivers/ata/ahci_platform.c | 16 +++-------------
 drivers/ata/libata-core.c   | 18 +++---------------
 2 files changed, 6 insertions(+), 28 deletions(-)

-- 
1.7.11.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-25 17:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 16:55 [RFC 0/3] libata/ahci unbinding, power down sequence Brian Norris
2012-10-25 16:55 ` [RFC 1/3] ahci_platform: enable hotplug unbinding Brian Norris
2012-10-25 16:56 ` [RFC 2/3] ahci_platform: convert to module_platform_driver Brian Norris
2012-10-25 16:56 ` [RFC 3/3] libata: don't perform HW activity in devres Brian Norris
2012-10-25 17:25   ` Tejun Heo
2012-10-25 17:41     ` Brian Norris
2012-10-25 17:43       ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).