From: Ian Campbell Subject: Re: [PATCH v8 10/10] xen/arm: make accesses to desc->status flags atomic Date: Thu, 17 Jul 2014 13:52:39 +0100 Message-ID: <1405601559.31127.14.camel@kazak.uk.xensource.com> References: <1405016003-19131-10-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: <1405016003-19131-10-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 Thu, 2014-07-10 at 19:13 +0100, Stefano Stabellini wrote: > Using *_bit manipulation functions on desc->status is safe on arm64: > status is an unsigned int but is the first field of a struct that > contains pointers, therefore the alignement of the struct is at least 8 > bytes. > > Signed-off-by: Stefano Stabellini Acked-by: Ian Campbell