From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWxiQ-0008Av-4x for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:56:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWxiL-00082H-EK for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:56:45 -0500 Received: from [199.232.76.173] (port=45551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWxiL-00081z-AD for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:56:41 -0500 Received: from mail-pz0-f190.google.com ([209.85.222.190]:65183) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWxiK-0002Hs-SA for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:56:41 -0500 Received: by pzk28 with SMTP id 28so1818344pzk.4 for ; Mon, 18 Jan 2010 11:56:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20100118194147.GB15430@redhat.com> References: <20100118105615.GA8277@redhat.com> <20100118175325.GA15430@redhat.com> <20100118194147.GB15430@redhat.com> From: Blue Swirl Date: Mon, 18 Jan 2010 19:56:19 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [PATCHv2 0/3] rwhandler: introduce and switch pci_host to it List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Isaku Yamahata , paul@codesourcery.com, qemu-devel@nongnu.org, Aurelien Jarno , agraf@suse.de On Mon, Jan 18, 2010 at 7:41 PM, Michael S. Tsirkin wrote: > On Mon, Jan 18, 2010 at 07:53:25PM +0200, Michael S. Tsirkin wrote: >> On Mon, Jan 18, 2010 at 05:50:35PM +0000, Blue Swirl wrote: >> > On Mon, Jan 18, 2010 at 10:56 AM, Michael S. Tsirkin = wrote: >> > > Alexander, so I assume the following patchset should be enough for y= ou >> > > to implement u3 support, simply by creating your own rwhandler, and >> > > using pci_data_read/write directly there. I have pushed it to a >> > > temporary branch in my tree: >> > > git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu.git rwhandler >> > > >> > > Paul, any comments on this approach? >> > > >> > > I'll push this to my pci tree if this turns out to be helpful. >> > > Hope this helps, and sorry about the churn. >> > >> > I proposed earlier something similar for MMIO. The thread could be int= eresting: >> > http://lists.gnu.org/archive/html/qemu-devel/2009-05/msg00095.html >> >> IIUC that patch seems to do much more, and also seems to involve all io? >> This one is just a library that devices can use. Intended users are not >> performance-critical like pci config. > > To put it in other words: could you please be more explicit please? =C2= =A0I > failed to see the relevance ... Well, I thought the stuff I proposed earlier may be useful for comparison. It was also opt-in like yours, by the way. Also the end result that Paul wasn't interested in my patch may (or may not) be relevant with yours too.