[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A034F0E.6010603@gmail.com>
Date: Thu, 07 May 2009 17:13:50 -0400
From: Gregory Haskins <gregory.haskins@...il.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Chris Wright <chrisw@...s-sol.org>,
Gregory Haskins <ghaskins@...ell.com>,
Avi Kivity <avi@...hat.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, Anthony Liguori <anthony@...emonkey.ws>
Subject: Re: [RFC PATCH 0/3] generic hypercall support
Arnd Bergmann wrote:
> On Thursday 07 May 2009, Gregory Haskins wrote:
>
>> What I am not clear on is how you would know to flag the address to
>> begin with.
>>
>
> pci_iomap could look at the bus device that the PCI function sits on.
> If it detects a PCI bridge that has a certain property (config space
> setting, vendor/device ID, ...), it assumes that the device itself
> will be emulated and it should set the address flag for IO_COND.
>
> This implies that all pass-through devices need to be on a different
> PCI bridge from the emulated devices, which should be fairly
> straightforward to enforce.
>
Thats actually a pretty good idea.
Chris, is that issue with the non ioread/iowrite access of a mangled
pointer still an issue here? I would think so, but I am a bit fuzzy on
whether there is still an issue of non-wrapped MMIO ever occuring.
-Greg
Download attachment "signature.asc" of type "application/pgp-signature" (267 bytes)
Powered by blists - more mailing lists