From: Stefano Stabellini Subject: Re: [PATCH v2 00/21] xen/arm: Add support for non-pci passthrough Date: Wed, 10 Sep 2014 23:03:22 +0100 Message-ID: References: <1406818852-31856-1-git-send-email-julien.grall@linaro.org> <1410273261.8217.212.camel@kazak.uk.xensource.com> <540F563D.5080202@linaro.org> <1410346278.8217.320.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XRq0n-0003rY-H2 for xen-devel@lists.xenproject.org; Wed, 10 Sep 2014 22:05:13 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Christoffer Dall Cc: xen-devel@lists.xenproject.org, Julien Grall , tim@xen.org, Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 10 Sep 2014, Christoffer Dall wrote: > >> How does a user > >> know which physical address in Xen's physical address space needs to > >> be remapped based on the hardware description language for Dom0? > > > > This is an interesting question. The short answer for platform device > > type things is "they just know" (they presumably have datasheets etc). > > But I think the underlying question here is whether they are given in PA > > space or dom0 IPA space, right? > > > > re. the underlying question, yes. > > For platform devices, I think the "they just know" doesn't really > work. "Who" should "just know"? We are talking about users, specifically embedded engineers trying to put together their systems. Certainly not a server use case. A server sysadmin cannot be expected to "just know". If we wanted to export this feature to end users we would have to provide a simpler way to do it. > There must be a way for user space to determine the IO > addresses and IRQ numbers for a platform device, I just think it > should be completely decoupled from ACPI and DT. I don't follow you here. How would a user find the info she needs on a device without using an ACPI/DT identifier to reference it?