All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xen/arm32: Follow-up XSA-93
@ 2014-04-24 22:45 Julien Grall
  2014-04-24 22:45 ` [PATCH 1/4] xen/arm: Add missing newline after commit 60f7376 Julien Grall
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Julien Grall @ 2014-04-24 22:45 UTC (permalink / raw)
  To: xen-devel; +Cc: stefano.stabellini, Julien Grall, tim, ian.campbell

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2014-06-14 17:16 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 22:45 [PATCH 0/4] xen/arm32: Follow-up XSA-93 Julien Grall
2014-04-24 22:45 ` [PATCH 1/4] xen/arm: Add missing newline after commit 60f7376 Julien Grall
2014-05-02 12:58   ` Ian Campbell
2014-05-02 12:59     ` Julien Grall
2014-04-24 22:45 ` [PATCH 2/4] xen/arm: Implement a dummy Performance Monitor for ARM32 Julien Grall
2014-05-02 11:01   ` Ian Campbell
2014-05-02 12:41     ` Julien Grall
2014-06-13 12:02       ` Ian Campbell
2014-04-24 22:45 ` [PATCH 3/4] xen/arm: Implement a dummy debug monitor " Julien Grall
2014-05-02 11:09   ` Ian Campbell
2014-05-02 12:53     ` Julien Grall
2014-05-02 13:14       ` Ian Campbell
2014-05-02 13:29         ` Julien Grall
2014-06-13 12:02           ` Ian Campbell
2014-06-14 17:16             ` Julien Grall
2014-05-02 13:26       ` Ian Campbell
2014-05-02 13:39         ` Julien Grall
2014-05-02 14:18           ` Ian Campbell
2014-05-02 14:22             ` Julien Grall
2014-05-02 15:17               ` Ian Campbell
2014-04-24 22:45 ` [PATCH 4/4] xen/arm: Add some useful debug in coprocessor trapping Julien Grall
2014-05-02 11:12   ` Ian Campbell
2014-05-02 12:58     ` Julien Grall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.