Received: from eggs.gnu.org ([2001:4830:134:3::10]:45570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7pOH-0002xa-Ji for qemu-devel@nongnu.org; Fri, 09 Aug 2013 12:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7pOD-0001Y2-7W for qemu-devel@nongnu.org; Fri, 09 Aug 2013 12:18:13 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:59159 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7pOD-0001VR-1z for qemu-devel@nongnu.org; Fri, 09 Aug 2013 12:18:09 -0400 From: Peter Maydell Date: Fri, 9 Aug 2013 17:17:56 +0100 Message-Id: <1376065080-26661-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/4] target-arm: Implement support for generic timers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org 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