From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 2/9] xen: arm: Factor out psr_mode_is_user Date: Tue, 09 Sep 2014 16:08:44 -0700 Message-ID: <540F887C.1070609@linaro.org> References: <1410279730.8217.238.camel@kazak.uk.xensource.com> <1410279788-27167-2-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: <1410279788-27167-2-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, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi Ian, On 09/09/14 09:23, Ian Campbell wrote: > This embodies the logic on arm64 that userspace can be either 32-bit > or 64-bit. It will be used in other places shortly. > > Note that the logic differs slightly because the original (in > inject_abt64_exception) knew that the kernel was 64-bit and could > therefore assume that any 32-bit mode was userspace. Instead the > refactored code explicitly checks for usr mode. > > Signed-off-by: Ian Campbell Reviewed-by: Julien Grall Regards, -- Julien Grall