From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/2] Fix wide ioport access cracking Date: Thu, 11 Aug 2011 10:40:24 +0300 Message-ID: <1313048426-17273-1-git-send-email-avi@redhat.com> Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Anthony Liguori , Gerhard Wiesinger Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39783 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751853Ab1HKHkd (ORCPT ); Thu, 11 Aug 2011 03:40:33 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 1.7.5.3 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrPsY-0008D6-Ba for qemu-devel@nongnu.org; Thu, 11 Aug 2011 03:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrPsX-0005hY-35 for qemu-devel@nongnu.org; Thu, 11 Aug 2011 03:40:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrPsW-0005hG-PP for qemu-devel@nongnu.org; Thu, 11 Aug 2011 03:40:33 -0400 From: Avi Kivity Date: Thu, 11 Aug 2011 10:40:24 +0300 Message-Id: <1313048426-17273-1-git-send-email-avi@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , Gerhard Wiesinger Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org 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(-) -- 1.7.5.3