From: Ian Campbell Subject: Re: [PATCH v2] xen: arm: handle traps of conditional instructions. Date: Fri, 2 Aug 2013 17:06:08 +0100 Message-ID: <1375459568.10660.155.camel@kazak.uk.xensource.com> References: <1375114137-20534-1-git-send-email-ian.campbell@citrix.com> <1375115506.11701.34.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2013-07-30 at 11:37 +0100, Julien Grall wrote: > On 29 July 2013 17:31, Ian Campbell wrote: > > On Mon, 2013-07-29 at 17:08 +0100, Ian Campbell wrote: > >> This means handling the HSR.ccvalid field as well as correctly processing the > >> Thumb If-Then state block in the CPSR correctly which is rather tricky. KVM > >> provided a useful reference for all this.- > >> > >> I suspect we aren't actually hitting these paths very often since the sorts of > >> traps we take will not often be conditional so my limited testing may not > >> actually be exercising these paths very much. > >> > >> Signed-off-by: Ian Campbell > >> --- > >> v2: Fixup typos and coding style violations spotted by Julien. > > > > Julien, you said "I'm able to hit this path only once on the Arndale". > > Does that mean you can't easily reproduce at will? Wuld be nice to give > > it a workout but in the absence of that I think this is better than > > nothing? The clever bits come mostly as is from Linux so it's probably > > OK. (famous last words...) > > As you said, it's hard to reproduce it on both Versatile Express and > the Arndale. When I tried the logic by hand I didn't see any specific issue. > > Acked-by: Julien Grall Thanks, applied.