From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking Date: Mon, 22 Aug 2011 09:42:06 -0500 Message-ID: <4E526ABE.6060402@codemonkey.ws> References: <1313048426-17273-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gerhard Wiesinger , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mail-yi0-f46.google.com ([209.85.218.46]:37969 "EHLO mail-yi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751048Ab1HVOmI (ORCPT ); Mon, 22 Aug 2011 10:42:08 -0400 Received: by yie30 with SMTP id 30so3610940yie.19 for ; Mon, 22 Aug 2011 07:42:08 -0700 (PDT) In-Reply-To: <1313048426-17273-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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