From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LT09K-0005X8-JT for qemu-devel@nongnu.org; Fri, 30 Jan 2009 15:39:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LT09H-0005W5-By for qemu-devel@nongnu.org; Fri, 30 Jan 2009 15:39:35 -0500 Received: from [199.232.76.173] (port=35944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LT09H-0005W2-5k for qemu-devel@nongnu.org; Fri, 30 Jan 2009 15:39:35 -0500 Received: from hall.aurel32.net ([88.191.82.174]:46157) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LT09G-000565-FL for qemu-devel@nongnu.org; Fri, 30 Jan 2009 15:39:34 -0500 Date: Fri, 30 Jan 2009 21:39:32 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 0/2] mac-io IDE DB-DMA support Message-ID: <20090130203932.GB8917@volta.aurel32.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: laurent@vivier.eu On Thu, Jan 29, 2009 at 09:25:18PM +0100, Laurent Vivier wrote: > This series of patch allows to use powermac mac-io IDE interface by > implementing > DB-DMA. Linux 2.6.18 seems to not be able to use correctly mac-io IDE > interface > without DMA. > > [PATCH 1/2] mac-io DB-DMA support > [PATCH 2/2] IDE DB-DMA support Thanks a lot for your work. I have tried it, but I have a few problems with it. I tried with OpenBIOS revision 431. With a 2.6.18 kernel (Debian Etch), it works without problem, I get a about 13MB/s, compared to 1.5MB/s without DMA and about 21MB/s with the CMD646. With the 2.6.26 kernel (Debian Lenny), I get 1.2MB/S only. Moreover, trying an installation with a CD-ROM, the VM freeze while loading udeb packages. Note that the DMA is correctly detected and actived. Given that those patches really improve the support for the mac-io IDE, I have merged them with one minor change to the first one (s/conditionnal/conditional/g). -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net