From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Design doc of adding ACPI support for arm64 on Xen Date: Tue, 11 Aug 2015 16:43:56 -0400 Message-ID: <20150811204356.GG7765@l.oracle.com> References: <55C0C17F.5040208@huawei.com> <55C1D783.3020908@huawei.com> <55C1F840.9060002@linaro.org> <55C20600.9070104@citrix.com> <55C2098A.6070300@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <55C2098A.6070300@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Shannon Zhao Cc: Hangaohuai , Ian Campbell , Stefano Stabellini , "Huangpeng (Peter)" , xen-devel , Julien Grall , Stefano Stabellini , Jan Beulich , Shannon Zhao , parth.dixit@linaro.org, Christoffer Dall List-Id: xen-devel@lists.xenproject.org On Wed, Aug 05, 2015 at 09:03:06PM +0800, Shannon Zhao wrote: > > > On 2015/8/5 20:48, Julien Grall wrote: > >On 05/08/15 12:49, Shannon Zhao wrote: > >>>>>That's great! > >>>>>Keep in mind that many ARM platforms have non-PCI busses, so I think > >>>>>we'll need an amba and a platform bus_notifier too, in addition to the > >>>>>existing pci bus notifier. > >>>>> > >>> > >>>Thanks for your reminding. I thought about amba. Since ACPI of current > >>>linux kernel doesn't support probe amba bus devices, so this > >>>bus_notifier will not be used at the moment. But there are some voice > >>>that we need to make ACPI support amba on the linux arm kernel mail > >>>list. And to me it doesn't matter to add the amba bus_notifier. > >This comment raised one question. What happen if the hardware has MMIO > >region not described in the ACPI? > > > This sounds weird. If a device is described in ACPI table, it will not > describe the MMIO region which the driver will use? Does this situation > exist? > > If the hardware has mmio region not described in the ACPI, how does the > driver know the region and use it? On the x86 world we would query the PCI configuration registers and read the device BAR registers. Those would contain the MMIO regions the device uses. But x86 is funny and you do say 'many .. ARM .. have non-PCI buses' - which would imply you have not hit this yet. Are PCI devices interrogated differently on ARM? No configuration registers? > > >Does the driver would have to call a specific xen function to register > >the missing I/O? > > -- > Shannon > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel