From: Ian Campbell Subject: Re: [RFC PATCH] xen/arm: GICv3 support for domU Date: Mon, 22 Sep 2014 15:02:25 +0100 Message-ID: <1411394545.18331.117.camel@kazak.uk.xensource.com> References: <1408529366-21176-1-git-send-email-vijay.kilari@gmail.com> <54136F2B.8010501@linaro.org> <542019A1.1010009@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: Vijay Kilari Cc: Stefano Stabellini , Prasun Kapoor , Vijaya Kumar K , Julien Grall , Tim Deegan , "xen-devel@lists.xen.org" , Stefano Stabellini , Jan Beulich , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-22 at 18:45 +0530, Vijay Kilari wrote: > > Why do you need to get those information? You should define yourself the > > regions of the GICv3 in the guest layout and not relying on the host DT. > > In make_intc_node() in llibxl_arm.c the compatibility and mmio regions are > hardcoded to GICv2. So to make it GICv3 I think of two options > > 1) Generate GIC node for domU that host DT supports. > With this approach I thought of using the hypercalls that you have created. > 2) Parse domU config file and generate GIC accordingly? You should do 2, but with the default (v2 vs v3) set based on what the host supports (i.e. it's two or three-ness, not the actual properties/addresses which should be made up for the virtual platform not the host). Ian.