From: Stefano Stabellini Subject: Re: PCI Passthrough ARM Design : Draft1 Date: Tue, 16 Jun 2015 17:17:50 +0100 Message-ID: References: <557549D7.5090407@caviumnetworks.com> <1433940302.30003.75.camel@citrix.com> <55788E1C.6080307@citrix.com> <55794F4F.5070000@citrix.com> <1434024280.30003.161.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-1764551890-1434471442=:21829" Return-path: In-Reply-To: <1434024280.30003.161.camel@citrix.com> Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Vijay Kilari , Manish Jaggi , Prasun Kapoor , "Kumar, Vijaya" , "xen-devel@lists.xen.org" , Julien Grall , Stefano Stabellini , "Kulkarni, Ganapatrao" , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= List-Id: xen-devel@lists.xenproject.org --1342847746-1764551890-1434471442=:21829 Content-Type: text/plain; charset="UTF-8" Content-Length: 1247 Content-Transfer-Encoding: quoted-printable Content-ID: On Thu, 11 Jun 2015, Ian Campbell wrote: > On Thu, 2015-06-11 at 11:05 +0200, Roger Pau Monn=C3=A9 wrote: > > El 10/06/15 a les 21.21, Julien Grall ha escrit: > > >> If there is a reason for this restriction/trade off then it should be > > >> spelled out as part of the design document, as should other such design > > >> decisions (which would include explaining where this differs from how > > >> things work for x86 why they must differ). > > > > > > On x86, for HVM the MMIO mapping is done by QEMU. I know that Roger is > > > working on PCI passthrough for PVH. PVH is very similar to ARM guest and > > > I expect to see a similar needs for MMIO mapping. It would be good if we > > > can come up with a common interface. > > > > I've kind of left that apart in favour of the new boot ABI that we are > > currently discussing, but IIRC the plan was to use > > XENMEM_add_to_physmap_range by adding a new phys_map_space and the > > physical MMIO pages would be specified in the idxs field. > > This sounds ok, and preferable to an entirely new hypercall. Indeed. What would be the advantage of using XENMEM_add_to_physmap_range over XEN_DOMCTL_memory_mapping=3F Would it be called by libxl or by the guest kernel=3F --1342847746-1764551890-1434471442=:21829 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1342847746-1764551890-1434471442=:21829--