From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH V6 01/10] xen/arm: gic-v3: Increase the size of GICR in address space for guest Date: Fri, 5 Jun 2015 16:49:23 +0100 Message-ID: <1433519363.7108.322.camel@citrix.com> References: <1433163388-16970-1-git-send-email-cbz@baozis.org> <1433163388-16970-2-git-send-email-cbz@baozis.org> 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 1Z0tsF-0000B6-Q9 for xen-devel@lists.xenproject.org; Fri, 05 Jun 2015 15:49:35 +0000 In-Reply-To: <1433163388-16970-2-git-send-email-cbz@baozis.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: Chen Baozi Cc: Julien Grall , xen-devel@lists.xenproject.org, Chen Baozi List-Id: xen-devel@lists.xenproject.org On Mon, 2015-06-01 at 20:56 +0800, Chen Baozi wrote: > From: Chen Baozi > > Currently it only supports up to 8 vCPUs. Increase the region to hold > up to 128 vCPUs, which is the maximum number that GIC-500 supports. > > Signed-off-by: Chen Baozi > Reviewed-by: Julien Grall Acked-by: Ian Campbell I did briefly wonder if we should shoot for the stars here and reserve space for some enormous set of processors, but I suppose there's no need. > --- > xen/include/public/arch-arm.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h > index c029e0f..ec0c261 100644 > --- a/xen/include/public/arch-arm.h > +++ b/xen/include/public/arch-arm.h > @@ -388,8 +388,8 @@ struct xen_arch_domainconfig { > #define GUEST_GICV3_RDIST_STRIDE 0x20000ULL > #define GUEST_GICV3_RDIST_REGIONS 1 > > -#define GUEST_GICV3_GICR0_BASE 0x03020000ULL /* vCPU0 - vCPU7 */ > -#define GUEST_GICV3_GICR0_SIZE 0x00100000ULL > +#define GUEST_GICV3_GICR0_BASE 0x03020000ULL /* vCPU0 - vCPU127 */ > +#define GUEST_GICV3_GICR0_SIZE 0x01000000ULL > > /* > * 16MB == 4096 pages reserved for guest to use as a region to map its