On Thu, 2012-04-12 at 14:04 -0400, Jeff Garzik wrote:
> On 04/12/2012 01:56 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.
> >
> > Reported-and-tested-by: Jiri Slaby<jslaby@xxxxxxx>
> > Reported-and-tested-by: cwillu@xxxxxxxxxx
> > Reported-and-tested-by: jackdachef@xxxxxxxxx
> > Signed-off-by: Lin Ming<ming.m.lin@xxxxxxxxx>
> > ---
> > 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(-)
>
> The fundamental problem with this patch is that all SATA ports are
> hotpluggable... even the ones the firmware/silicon failed to mark as
> hotpluggable via AHCI's PORT_CMD_MPSP | PORT_CMD_HPCP
So the acceptable solution is to add runtime pm support for hotpluggable
port.
I'll send new patches.
Thanks,
Lin Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Filesystems]
[Linux SCSI]
[Linux RAID]
[Git]
[Kernel Newbies]
[Linux Newbie]
[Share Photos]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]