From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Baozi Subject: Re: [RFC 00/22] xen/arm: Add support for GICv2 on GICv3 Date: Wed, 13 May 2015 20:41:14 +0800 Message-ID: <20150513124114.GA16942@cbz-thinkpad> References: <1431091783-29090-1-git-send-email-julien.grall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YsVyK-0005f1-2E for xen-devel@lists.xenproject.org; Wed, 13 May 2015 12:41:12 +0000 Content-Disposition: inline In-Reply-To: <1431091783-29090-1-git-send-email-julien.grall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org Hi Julien, On Fri, May 08, 2015 at 02:29:21PM +0100, Julien Grall wrote: > Hi all, > > This patch series adds support for GICv2 on GICv3. This feature is available > only when the GICv3 hardware is compatible with GICv2. > > When it's the case, the same interface is provided in order to use a virtualize > GIC v2 (i.e GICC and GICV). That will allow us to re-use same vGIC drivers. > > Currently GIC and vGIC drivers are tight because of the domain initialization > splitted between GIC and vGIC. This patch series intends to remove this > dependency in order to make the vGIC driver agnostic of the GIC driver. > > The series is divided as follow: > - #1...#2: vGIC clean up > - #3...#5: GICv3 clean up > - #6..#10: GICv2 clean up > - #11.#15: Hip04 clean up. Based on the GICv2 patches #6..#10 > - #16.#20: Dissociate vGIC and GIC drivers. The vGIC could be use > with any drivers now. > - #21 : Allow the user to choose the GIC version emulated for the > guest > - #22 : Add support of GICv2 on GICv3 > > It has been tested on the ARMv8 Foundation Model with GICv2 and GICv3 > and changing the vGIC version emulated for the guest (only for GICv3 host). > > A branch with all the patches can be found here: > > git://xenbits.xen.org/people/julieng/xen-unstable.git branch gicv2-on-gicv3 > > Note that there is one patch more due to dependency on another series [1]. > > Comments, suggestion, testing are welcomed. > I have just tested these patches on my board with GICv3. It looks good for me. (I have created a domU with "gic_version='v2'" and one with "gic_version='v3'". Both of them can be successfully booted.) I think you can add 'Tested-and-Acked-by: Chen Baozi ' to those patches related to GICv3 or common codes. (I haven't test it on my OMAP5 board and have no gic-hip04 device.) Cheers, Baozi.