From: Ian Campbell Subject: Re: [PATCH v7 05/12] xen/arm: nr_lrs should be uint8_t Date: Wed, 23 Apr 2014 13:47:22 +0100 Message-ID: <1398257242.18537.84.camel@kazak.uk.xensource.com> References: <1396969969-18973-5-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1396969969-18973-5-git-send-email-stefano.stabellini@eu.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: Stefano Stabellini Cc: julien.grall@citrix.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-08 at 16:12 +0100, Stefano Stabellini wrote: > A later patch is going to use uint8_t to keep track of LRs. > Both GICv3 and GICv2 don't need any more than an uint8_t to keep track > of the number of LRs. Did you confirm that this doesn't lead to inefficient loading and masking stuff on access? > Signed-off-by: Stefano Stabellini > Acked-by: Julien Grall If yes then: Acked-by: Ian Campbell Although TBH I'm not sure why unsigned int was so harmful here. Ian.