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.)
Changes v1->v2: * fixed nits spotted by Andreas: missing blank line, missing arm_ prefix for globally visible functions 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 | 268 ++++++++++++++++++++++++++++++++++++++++++++++-- target-arm/machine.c | 8 +- target-arm/translate.c | 16 ++- 7 files changed, 338 insertions(+), 14 deletions(-) -- 1.7.9.5