Hi, On Tue, Jul 30, 2013 at 7:55 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > This patch series implements support for the 'generic timers', > which are a set of timers defined in the ARM Architecture Reference > Manual and implemented by the Cortex-A15. We've got away without > these up til now because Linux will generally fall back on whatever > random timer is present on the devboard if it can't find the > on-CPU timers, but this is less than ideal. (Among other things, > the proposed mach-virt should just use the generic timers so it > doesn't have to provide an sp804 timer.) > > Peter Maydell (4): > target-arm: Allow raw_read() and raw_write() to handle 64 bit regs > target-arm: Support coprocessor registers which do I/O > target-arm: Implement the generic timer > hw/cpu/a15mpcore: Wire generic timer outputs to GIC inputs > > hw/cpu/a15mpcore.c | 18 ++++ > target-arm/cpu-qom.h | 9 ++ > target-arm/cpu.c | 9 ++ > target-arm/cpu.h | 24 ++++- > target-arm/helper.c | 267 > ++++++++++++++++++++++++++++++++++++++++++++++-- > target-arm/machine.c | 8 +- > target-arm/translate.c | 16 ++- > 7 files changed, 337 insertions(+), 14 deletions(-)
I tested this patch series with a 3.9 kernel for Vexpress with Cortex-A15. It works fine with the generic timer correctly detected and used. Note the 4th patch doesn't apply as is any more. Tested-by: Laurent Desnogues <laurent.desnog...@gmail.com> Thanks, Laurent