From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 4/6] xen: arm: make sure pagetable mask macros have appropriate size Date: Mon, 21 Oct 2013 16:53:44 +0100 Message-ID: <52654E08.8090905@linaro.org> References: <1381416204.17758.36.camel@kazak.uk.xensource.com> <1381416225-31043-4-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1381416225-31043-4-git-send-email-ian.campbell@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: Ian Campbell , xen-devel@lists.xen.org Cc: tim@xen.org, Pranavkumar Sawargaonkar , Anup Patel , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 10/10/2013 03:43 PM, Ian Campbell wrote: > {ZEROETH,FIRST,SECOND,THIRD}_MASK are used with physical addresses which may > be larger than 32 bits. Therefore ensure that they are wide enough by casting > to paddr_t otherwise we may truncate addresses on 32-bit. > > Signed-off-by: Ian Campbell Acked-by: Julien Grall -- Julien Grall