Received: from eggs.gnu.org ([2001:4830:134:3::10]:36576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGVIH-0001gI-M7 for qemu-devel@nongnu.org; Mon, 02 Sep 2013 10:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGVIB-0001mt-Nl for qemu-devel@nongnu.org; Mon, 02 Sep 2013 10:39:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGVIB-0001mn-ER for qemu-devel@nongnu.org; Mon, 02 Sep 2013 10:39:47 -0400 Message-ID: <1378132788.2640.21.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Mon, 02 Sep 2013 17:39:48 +0300 In-Reply-To: References: <1378131189-25538-1-git-send-email-marcel.a@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 0/3] pci: complete master abort protocol List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Anthony Liguori , QEMU Developers , Andreas =?ISO-8859-1?Q?F=E4rber?= , "Michael S. Tsirkin" On Mon, 2013-09-02 at 15:30 +0100, Peter Maydell wrote: > On 2 September 2013 15:13, Marcel Apfelbaum wrote: > > Note: The series is incomplete, for review only > > > > PCI spec requires that a transaction that has not been claimed > > by any PCI bus devices will be terminated by the initiator > > with "master abort". For read transactions -1(FFFFFFFF) is returned and > > writes are silently dropped. (already implemented in quemu) > > ...but only erroneously and by breaking a pile of other boards. :( Let's find a way to fix it... Please suggest > > > Note: > > For the moment the code assumes that all the reads/writes on > > pci address space are done by the cpu. > > This is a bogus assumption in the presence of bus mastering > PCI devices, which aren't exactly uncommon. As I said, the series is work in progress. Tracking down the real initiator of a read/write to the pci address space seems to be difficult. I am looking into it and opened to suggestions. Marcel > > -- PMM >