From: Julien Grall Subject: [PATCH 0/4] xen/arm32: Follow-up XSA-93 Date: Thu, 24 Apr 2014 23:45:52 +0100 Message-ID: <1398379556-1132-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WdSP5-0003L0-KP for xen-devel@lists.xenproject.org; Thu, 24 Apr 2014 22:46:04 +0000 Received: by mail-ee0-f45.google.com with SMTP id d17so2267691eek.18 for ; Thu, 24 Apr 2014 15:46:01 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hello all, This patch series is a follow-up of XSA-93. We have disabled performance monitors and hardware debug on ARM32 because we don't context switch this registers. The chosen solution was to inject undefined instruction when the guest is trying to access to this registers. Unfortunately when I did my test, I used a tiny config file which doesn't reflect real distribution. The image provided by Linaro (based on Ubuntu) enable CONFIG_PERF_EVENTS on every board. This will result to dom0 crash during the boot. This can also happen with other distributions if they try to have a generic configuration. Therefore it might be interesting to backport patch #2-#3 (also #1 for message clarity) on Xen 4.4. Otherwise people may not be able to try to boot Xen with a non-modifed Linux image. This series implement a dummy performance monitors and HW debug. Linux is able to boot without crash and HW debug is disabled. I've tested this series on Midway with CONFIG_PERF_EVENTS=y. Comments and questions are welcomed. Sincerely yours, Julien Grall (4): xen/arm: Add missing newline after commit 60f7376 xen/arm: Implement a dummy Performance Monitor for ARM32 xen/arm: Implement a dummy debug monitor for ARM32 xen/arm: Add some useful debug in coprocessor trapping xen/arch/arm/traps.c | 129 +++++++++++++++++++++++++++++++++++++-- xen/include/asm-arm/cpregs.h | 31 +++++++++- xen/include/asm-arm/processor.h | 15 ++++- 3 files changed, 167 insertions(+), 8 deletions(-) -- 1.7.10.4