On 18/05/2017 18:02, Alex Bennée wrote: > 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 > Queuing 1 and 2. Paolo