From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2qmB-00073Z-AX for qemu-devel@nongnu.org; Sun, 11 Sep 2011 16:37:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2qmA-0007nu-5t for qemu-devel@nongnu.org; Sun, 11 Sep 2011 16:37:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43233 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2qm9-0007m7-W9 for qemu-devel@nongnu.org; Sun, 11 Sep 2011 16:37:14 -0400 References: <4E6CC92F.30407@FreeBSD.org> In-Reply-To: <4E6CC92F.30407@FreeBSD.org> Mime-Version: 1.0 (iPhone Mail 8G4) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: From: Alexander Graf Date: Sun, 11 Sep 2011 22:37:00 +0200 Subject: Re: [Qemu-devel] AHCI Port Interrupt Enable register cleaning on soft reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Motin Cc: Kevin Wolf , "qemu-devel@nongnu.org" Am 11.09.2011 um 16:43 schrieb Alexander Motin : > Hi. >=20 > I've found that FreeBSD AHCI driver doesn't work with AHCI hardware > emulation of QEMU 0.15.0. I believe the problem is on QEMU's side. As I > see, it clears port's Interrupt Enable register each time when reset of > any level happens. Is is reasonable for the global controller reset. It > is probably not good, but acceptable for FreeBSD driver for the port > hard reset. But it is IMO wrong for the device soft reset. None of real > hardware I know behaves that way. >=20 > This patch fixes the problem for me: > http://people.freebsd.org/~mav/qemu.ahci.patch Ah, cool! So FreeBSD works with AHCI using this patch? Please send it again a= s an inline patch (if really really hard not 100% important) and add a signe= d-off-by line (very important) to the patch. Alex