From: "Jan Beulich" Subject: Re: RFC: [PATCH 1/3] Enhance platform support for PCI Date: Fri, 20 Feb 2015 14:39:27 +0000 Message-ID: <54E7552F020000780006215A@mail.emea.novell.com> References: <54E71BDE.5020106@caviumnetworks.com> <54E7229C.7000301@linaro.org> <54E72452.3090801@caviumnetworks.com> <54E72688.9010005@linaro.org> <54E729F1.6000804@caviumnetworks.com> <54E73010.2050902@caviumnetworks.com> <1424439941.30924.243.camel@citrix.com> <54E74EA802000078000620B7@mail.emea.novell.com> <1424442385.30924.265.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424442385.30924.265.camel@citrix.com> Content-Disposition: inline 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: Prasun.kapoor@cavium.com, Manish Jaggi , Vijaya Kumar , Julien Grall , xen-devel@lists.xen.org, "StefanoStabellini(Stefano.Stabellini@citrix.com)" List-Id: xen-devel@lists.xenproject.org >>> On 20.02.15 at 15:26, wrote: > On Fri, 2015-02-20 at 14:11 +0000, Jan Beulich wrote: >> Otherwise, >> just sequentially assign segment numbers as you discover them or >> get them reported by Dom0. You could even have Dom0 tell you >> the segment numbers (just like we do on x86), > > Aha, how does this work on x86 then? I've been looking for a hypercall > which dom0 uses to tell Xen about PCI segments to no avail (I just find > ones for registering actual devices). But that's the one, plus the MMCFG reporting one (PHYSDEVOP_pci_mmcfg_reserved). Without ACPI, how do you know on ARM how to access config space for a particular segment? Jan