public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/3] ARM debug register test
@ 2017-05-18 16:02 Alex Bennée
  2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 1/3] sysregs: add __ACCESS_CP14 macro Alex Bennée
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Alex Bennée @ 2017-05-18 16:02 UTC (permalink / raw)
  To: pbonzini; +Cc: marc.zyngier, christoffer.dall, drjones, kvm, Alex Bennée

Hi,

The arm/run patch is something that should be applied now which I ran
into while running kvm-unit-tests on Cortex-A7 based board.

The sysregs patch gives access to CP14 registers much the same way as
the CP15 macro.

The test itself is fairly basic for now but it is enough to confirm
that debug registers are RAZ_WI in the latest ARMv7 debug patch I
sent which is due to be merged soon.

Alex Bennée (3):
  sysregs: add __ACCESS_CP14 macro
  arm/run: ensure we use processor=host for kvm
  arm/debugtest: test access to the debug registers for guest

 arm/Makefile.common  |   1 +
 arm/debugtest.c      | 671 +++++++++++++++++++++++++++++++++++++++++++++++++++
 arm/run              |   4 +-
 lib/arm/asm/sysreg.h |   5 +
 4 files changed, 679 insertions(+), 2 deletions(-)
 create mode 100644 arm/debugtest.c

-- 
2.13.0

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

end of thread, other threads:[~2017-05-25 15:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 16:02 [kvm-unit-tests PATCH v2 0/3] ARM debug register test Alex Bennée
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 1/3] sysregs: add __ACCESS_CP14 macro Alex Bennée
2017-05-22 17:27   ` Andrew Jones
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 2/3] arm/run: ensure we use processor=host for kvm Alex Bennée
2017-05-18 16:03   ` Paolo Bonzini
2017-05-19  6:29     ` Christoffer Dall
2017-05-19  8:11       ` Paolo Bonzini
2017-05-22 17:25   ` Andrew Jones
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 3/3] arm/debugtest: test access to the debug registers for guest Alex Bennée
2017-05-22 16:56   ` Radim Krčmář
2017-05-22 18:40     ` Alex Bennée
2017-05-22 17:22   ` Andrew Jones
2017-05-22 18:41     ` Alex Bennée
2017-05-23  9:41       ` Andrew Jones
2017-05-23  9:50         ` Andrew Jones
2017-05-25 15:32 ` [kvm-unit-tests PATCH v2 0/3] ARM debug register test Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox