From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 08/12] xen: arm: Handle CP14 32-bit register accesses from userspace Date: Wed, 25 Mar 2015 19:05:22 +0000 Message-ID: <551306F2.1030503@linaro.org> References: <1427293339.10784.83.camel@citrix.com> <1427293356-5714-8-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427293356-5714-8-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 25/03/15 14:22, Ian Campbell wrote: > Accesses to these from 32-bit userspace would cause a hypervisor > exception (host crash) when running a 64-bit kernel, which is worked > around by the fix to XSA-102. On 32-bit kernels they would be > implemented as RAZ/WI which is incorrect but harmless. > > Update as follows: > - DBGDSCRINT should be R/O. > - DBGDSCREXT should be EL1 only. > - DBGOSLAR is RO and EL1 only. This register is WO. Actually the implementation is right, just the commit message. Other than that: Reviewed-by: Julien Grall Regards, -- Julien Grall