From: Ian Campbell Subject: Re: [PATCH] xen: arm: bitops take unsigned int (Was: Re: [PATCH] xen/arm64: disable alignment check) Date: Mon, 12 May 2014 09:36:23 +0100 Message-ID: <1399883783.561.73.camel@kazak.uk.xensource.com> References: <1398589848-14731-1-git-send-email-murzin.v@gmail.com> <1398761926.4457.14.camel@kazak.uk.xensource.com> <1399641896.561.9.camel@kazak.uk.xensource.com> <1399652387.561.58.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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wjliq-0001Cv-02 for xen-devel@lists.xenproject.org; Mon, 12 May 2014 08:36:32 +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: Stefano Stabellini Cc: Vladimir Murzin , Tim Deegan , Julien Grall , Stefano Stabellini , David Vrabel , Jan Beulich , "xen-devel@lists.xenproject.org" List-Id: xen-devel@lists.xenproject.org On Sun, 2014-05-11 at 19:34 +0100, Stefano Stabellini wrote: > On Fri, 9 May 2014, Ian Campbell wrote: > > (Just adding the other ARM guys...) > > > > On Fri, 2014-05-09 at 14:24 +0100, Ian Campbell wrote: > > > On Tue, 2014-04-29 at 09:58 +0100, Ian Campbell wrote: > > > > 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? > > > > > > I finally managed to upgrade to a new enough kernel to trigger this. > > > > > > This Works For Me(tm), along with the Linux patch "xen/events/fifo: > > > correctly align bitops" which is queued for 3.15 Linus (but not sent > > > yet?) > > The change looks good to me. Are you acking it?