From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJiU-0001y9-Jh for qemu-devel@nongnu.org; Mon, 19 May 2014 05:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmJiO-0003JS-Bl for qemu-devel@nongnu.org; Mon, 19 May 2014 05:18:42 -0400 Message-ID: <5379CC6A.1050703@suse.de> Date: Mon, 19 May 2014 11:18:34 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1400415655-8066-1-git-send-email-mark.cave-ayland@ilande.co.uk> In-Reply-To: <1400415655-8066-1-git-send-email-mark.cave-ayland@ilande.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] macio: handle non-block ATAPI DMA transfers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland , qemu-devel@nongnu.org, qemu-ppc@nongnu.org On 18.05.14 14:20, Mark Cave-Ayland wrote: > Currently the macio DMA routines assume that all DMA requests are for read/write > block transfers. This is not always the case for ATAPI, for example when > requesting a TOC where the response is generated directly in the IDE buffer. > > Detect these non-block ATAPI DMA transfers (where no lba is specified in the > command) and copy the results directly into RAM as indicated by the DBDMA > descriptor. This fixes CDROM access under MorphOS. > > Signed-off-by: Mark Cave-Ayland Thanks, applied to ppc-next. Alex