From: Ian Campbell Subject: Re: [PATCH v4 2/2] xen/arm: errata 766422: decode thumb store during data abort Date: Thu, 8 Aug 2013 13:12:42 +0100 Message-ID: <1375963962.970.92.camel@kazak.uk.xensource.com> References: <1375813878-21435-1-git-send-email-julien.grall@linaro.org> <1375813878-21435-3-git-send-email-julien.grall@linaro.org> <1375960179.970.69.camel@kazak.uk.xensource.com> <52038948.20104@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52038948.20104@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-08-08 at 13:04 +0100, Julien Grall wrote: > On 08/08/2013 12:09 PM, Ian Campbell wrote: > > On Tue, 2013-08-06 at 19:31 +0100, Julien Grall wrote: > >> + /* > >> + * Errata 766422: Thumb store translation fault to Hypervisor may > >> + * not have correct HSR Rt value. > >> + */ > >> + if ( cpu_has_errata_766422() && (regs->cpsr & PSR_THUMB) && dabt.write ) > >> + { > >> + rc = decode_instruction(regs, &info.dabt); > >> + if ( rc ) > >> + goto bad_data_abort; > > > > Consider logging here so we know which caller of decode_instruction > > failed? > > I will add a printk. gdprintk ;-) > > > Either way: > > > > Acked-by: Ian Campbell > > > > Ian. > > > >