From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 04/19] xen: arm: provide and use a handle_raz_wi helper Date: Thu, 2 Apr 2015 16:14:08 +0100 Message-ID: <551D5CC0.9030709@citrix.com> References: <1427796446.2115.34.camel@citrix.com> <1427796462-24376-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: <1427796462-24376-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: julien.grall@linaro.org, tim@xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi Ian, On 31/03/2015 11:07, Ian Campbell wrote: > Reduces the use of goto in the trap handlers to none. > > Some explcitily 32-bit types become register_t here, but that's OK, on s/explcitily/explicitly/ > 32-bit they are 32-bit already and on 64-bit it is fine/harmless to > set the larger register, a 32-bit guest won't see the top half in any > case. What about 32-bit userspace on 64-bit kernel? Are we sure that a guest kernel won't only save the bottom half of the register? Regards, -- Julien Grall