From: Ian Campbell Subject: Re: [PATCH] xen/arm64: disable alignment check Date: Tue, 29 Apr 2014 09:58:46 +0100 Message-ID: <1398761926.4457.14.camel@kazak.uk.xensource.com> References: <1398589848-14731-1-git-send-email-murzin.v@gmail.com> <1398678492.29700.24.camel@kazak.uk.xensource.com> <535E2C50.6090602@citrix.com> <1398681362.29700.50.camel@kazak.uk.xensource.com> <535E2F83.8030901@citrix.com> <1398681836.29700.57.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wf3sJ-000566-18 for xen-devel@lists.xenproject.org; Tue, 29 Apr 2014 08:58:51 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Vladimir Murzin Cc: "xen-devel@lists.xenproject.org" , David Vrabel , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-29 at 08:38 +0100, Vladimir Murzin wrote: > On Mon, Apr 28, 2014 at 11:43 AM, Ian Campbell wrote: > > But I also wanted confirmation that the problematic instruction was > > generated by gcc and not by some handcoded asm somewhere which we hadn't > > properly fixed. > I believe it comes form test_bit (xen/include/asm-arm/bitops.h). Ah, then I think this code needs fixing too. Probably switching to unsigned int * throughout would work, what do you think? Ian.