From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvVha-0002Lr-Db for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvVhZ-00038e-29 for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:10 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:36327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvVhY-000389-S2 for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:08 -0400 Received: by yxt3 with SMTP id 3so4199033yxt.4 for ; Mon, 22 Aug 2011 07:42:08 -0700 (PDT) Message-ID: <4E526ABE.6060402@codemonkey.ws> Date: Mon, 22 Aug 2011 09:42:06 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1313048426-17273-1-git-send-email-avi@redhat.com> In-Reply-To: <1313048426-17273-1-git-send-email-avi@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Gerhard Wiesinger , qemu-devel@nongnu.org, kvm@vger.kernel.org On 08/11/2011 02:40 AM, Avi Kivity wrote: > The memory API automatically cracks wide memory accesses into narrower > (usually byte) accesses when needed. Unfortunately this wasn't implemented > for ioports, leading to an lsi53c895a failure. > > This series implements cracking for ioports as well. > > Note that the dual implementation is due to the fact the memory API is layered > on top of the original qemu API; eventually the same code will be used for > both ioports and mmio. > > Avi Kivity (2): > memory: abstract cracking of write access ops into a function > memory: crack wide ioport accesses into smaller ones when needed > > memory.c | 120 +++++++++++++++++++++++++++++++++++++++---------------------- > 1 files changed, 77 insertions(+), 43 deletions(-) Applied. Thanks. Regards, Anthony Liguori