[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH] ahci: Fix FLUSH command
From: |
Fam Zheng |
Subject: |
Re: [Qemu-stable] [PATCH] ahci: Fix FLUSH command |
Date: |
Tue, 16 Jul 2013 14:50:24 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, 07/15 11:34, Kevin Wolf wrote:
> AHCI couldn't cope with asynchronous commands that aren't doing DMA, it
> simply wouldn't complete them. Due to the bug fixed in commit f68ec837,
> FLUSH commands would seem to have completed immediately even if they
> were still running on the host. After the commit, they would simply hang
> and never unset the BSY bit, rendering AHCI unusable on any OS sending
> flushes.
>
> This patch adds another callback for the completion of asynchronous
> commands. This is what AHCI really wants to use for its command
> completion logic rather than an DMA completion callback.
>
> Cc: address@hidden
> Signed-off-by: Kevin Wolf <address@hidden>
Works for me, thanks.
Tested-by: Fam Zheng <address@hidden>