From: Ian Campbell Subject: Re: [PATCH v7 12/12] xen/arm: introduce GIC_PRI_TO_GUEST macro Date: Wed, 23 Apr 2014 14:32:27 +0100 Message-ID: <1398259947.18537.112.camel@kazak.uk.xensource.com> References: <1396969969-18973-12-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-12-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: > GICH_LR registers and GICH_VMCR only support 5 bits for guest irq > priorities. > Introduce a macro to reduce the 8-bit priority fields to 5 bits; use it > in gic.c. > > Signed-off-by: Stefano Stabellini Acked-by: Ian Campbell But my comments on #11 might change some of this... > + 5 bits for guest irq prority */ typo: priority also hard tabs. > > > #ifndef __ASSEMBLY__