1 Apr 2012 22:48
Re: [PATCH v2] libata: disable runtime pm for hotpluggable port
Jiri Slaby <jslaby <at> suse.cz>
2012-04-01 20:48:08 GMT
2012-04-01 20:48:08 GMT
On 03/13/2012 02:57 AM, Lin Ming wrote: > Currently, hotplug doesn't work if port is already runtime suspended. > For now, we simply disable runtime pm for hotpluggable port. > Later, we should add runtime pm support for hotpluggable port too. > > Bug report: > https://lkml.org/lkml/2012/2/19/70 > > v2: > - Use bit 2 and 3 for flags ATA_FLAG_EXTERNAL and ATA_FLAG_PLUGGABLE. > > TODO: add similar hotpluggable port check for controllers other than > AHCI. Any updates on this? The patches which introduced the bug are in -rc1 now. Unlike this patch. > Reported-and-tested-by: Jiri Slaby <jslaby <at> suse.cz> > Reported-and-tested-by: cwillu <at> cwillu.com > Reported-and-tested-by: jackdachef <at> gmail.com > Signed-off-by: Lin Ming <ming.m.lin <at> intel.com> > --- > drivers/ata/ahci.c | 3 +++ > drivers/ata/ahci.h | 3 +++ > drivers/ata/libahci.c | 20 ++++++++++++++++++++ > drivers/ata/libata-transport.c | 6 ++++-- > include/linux/libata.h | 2 ++ > 5 files changed, 32 insertions(+), 2 deletions(-) > > diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c(Continue reading)
RSS Feed