Re: [Qemu-devel] [PATCH] Ignore writes of perf reg (cp15 with crm == 12)

2010-07-30 Thread Aurelien Jarno
On Wed, Jul 28, 2010 at 04:23:05PM +0200, Loïc Minier wrote: > I found out Matt Waddel has written a better looking patch, but I > didn't test it; reviews welcome -- attached > > -- > Loïc Minier Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on pig.zood.org X-Spam-Level

Re: [Qemu-devel] [PATCH] Ignore writes of perf reg (cp15 with crm == 12)

2010-07-28 Thread Loïc Minier
I found out Matt Waddel has written a better looking patch, but I didn't test it; reviews welcome -- attached -- Loïc Minier --- Begin Message --- diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 7440163..b5d8a6c 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -130,6 +130,7 @@ ty

[Qemu-devel] [PATCH] Ignore writes of perf reg (cp15 with crm == 12)

2010-07-25 Thread Loïc Minier
On ARMv7, ignore writes to cp15 with crm == 12; these are to setup perf counters which we don't have. --- target-arm/helper.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 2dd64d9..865829f 100644 --- a/target-arm/helper.c