[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/4] xen/arm32: Follow-up XSA-93



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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.