Re: [PATCH v3 1/2] Hard disk S3 resume time optimization

2014-01-15 Thread Todd E Brandt
On Wed, Jan 15, 2014 at 08:01:04AM -0500, Tejun Heo wrote: > Hello, > > On Tue, Jan 14, 2014 at 04:31:40PM -0800, Todd E Brandt wrote: > > > Signed-off-by: Todd Brandt > > Signed-off-by: Arjan van de Ven > > > > drivers/ata/libata-core.c | 32 +--- > > 1 file c

Re: [PATCH v3 1/2] Hard disk S3 resume time optimization

2014-01-15 Thread Tejun Heo
Hello, On Tue, Jan 14, 2014 at 04:31:40PM -0800, Todd E Brandt wrote: > Signed-off-by: Todd Brandt > Signed-off-by: Arjan van de Ven > > drivers/ata/libata-core.c | 32 +--- > 1 file changed, 17 insertions(+), 15 deletions(-) > > Signed-off-by: Todd Brandt >

[PATCH v3 1/2] Hard disk S3 resume time optimization

2014-01-14 Thread Todd E Brandt
On resume, the ATA port driver currently waits until the AHCI controller finishes executing the port wakeup command. This patch changes the ata_port_resume callback to issue the wakeup and then return immediately, thus allowing the next device in the pm queue to resume. Any commands issued to the A

[PATCH v3 1/2] Hard disk S3 resume time optimization

2013-08-27 Thread Brandt, Todd E
This is v3 of the non-blocking S3 resume patch. It's been broken into two pieces, this part is for the ata subsystem. I've addressed Oliver Neukum's comments in particular by removing any potential race conditions. In the previous version I used the ata_port_request_pm function to handle the ca