Re: ahci: sata hotplug doesn't work after suspend

From: Jiri Slaby
Date: Mon Feb 27 2012 - 03:48:47 EST


On 02/27/2012 02:05 AM, Lin Ming wrote:
Could you please try below patch?

And please also show the debug info.
dmesg |grep "DEBUG: port"

Hi Jiri,

Will you get a chance to test this patch?

Yes, yesterday I booted a kernel with that patch, today I resumed from suspend. It works fine.

[ 3.544423] DEBUG: port 0, PORT_CMD=0x40006
[ 3.544445] DEBUG: port 1, PORT_CMD=0x40006
[ 3.544467] DEBUG: port 2, PORT_CMD=0x40006
[ 3.544489] DEBUG: port 3, PORT_CMD=0x40006
[ 3.544511] DEBUG: port 4, PORT_CMD=0x6
[ 3.544532] DEBUG: port 5, PORT_CMD=0x6
[ 1724.132173] DEBUG: port 0, PORT_CMD=0x40006
[ 1724.132184] DEBUG: port 1, PORT_CMD=0x40006
[ 1724.132194] DEBUG: port 2, PORT_CMD=0x40006
[ 1724.132204] DEBUG: port 3, PORT_CMD=0x40006
[ 1724.132214] DEBUG: port 4, PORT_CMD=0x6
[ 1724.132222] DEBUG: port 5, PORT_CMD=0x6

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