Re: [PATCH -mm 2/8] AHCI: Speed-up resume
From: Pavel Machek
Date: Thu Jul 10 2008 - 11:04:17 EST
On Thu 2008-07-10 01:58:48, Rafael J. Wysocki wrote:
> From: Zhang Rui <rui.zhang@xxxxxxxxx>
> Subject: AHCI: Speed-up resume
>
> During resume, sleep 1 second to wait for the HBA reset
> to finish is a waste of time.
>
> According to the AHCI 1.2 spec,
> We should poll the HOST_CTL register,
> and return error if the host reset is not
> finished within 1 second.
>
> Test results show that the HBA reset can be done quickly(in usecs).
> And this patch may save nearly 1 second during resume.
>
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
> Acked-by: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
ACK.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/