lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 Dec 2011 11:21:31 -0800
From:	Tejun Heo <tj@...nel.org>
To:	Lin Ming <ming.m.lin@...el.com>
Cc:	Jeff Garzik <jgarzik@...ox.com>,
	Alan Stern <stern@...land.harvard.edu>,
	linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
	linux-pm@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
	kay.sievers@...y.org
Subject: Re: [RFC][PATCH 4/4] ahci: support hot plug when port/controller
 is runtime suspended

Hello,

On Thu, Dec 15, 2011 at 09:12:49PM +0800, Lin Ming wrote:
> I use eSATA to test disk hot plug.
> With previous 3 patches applied, disk hot plug does not wok
> when ahci port/controller is runtime suspended.
> 
> There are 2 cases we need to handle for hot plug:
> 
> 1. port suspended, controller active
>    Is IRQ need to be enabled for port to detect hot plug? 
> 
> 2. port suspended, controller suspended
>    Will controller get a PME when hot plug happens?
> 
> I'm still investigating hot plug support.
> 
> Anyone has comment?

SATA link detection requires hot wire and keeping wire hot takes
power.  I think it's fair tradeoff to not support hotplug while
powersaving is on.  We have warm plug mechanism (the SCSI rescan
trigger via sysfs) after all.  It would be nice if things like that is
somehow exported to userland in easy way tho (cc'ing Kay), but I
frankly don't have much idea where that would fit.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ