From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV8Ab-0007AU-H3 for qemu-devel@nongnu.org; Mon, 28 Nov 2011 15:51:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV8Aa-0006Gd-MB for qemu-devel@nongnu.org; Mon, 28 Nov 2011 15:51:21 -0500 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:10201 helo=TX2EHSOBE009.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV8Aa-0006GT-Hg for qemu-devel@nongnu.org; Mon, 28 Nov 2011 15:51:20 -0500 Message-ID: <4ED3F441.10608@freescale.com> Date: Mon, 28 Nov 2011 14:51:13 -0600 From: Scott Wood MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Android-virt] plans for QEMU support for KVM on ARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Christoffer Dall , tech@virtualopensystems.com, qemu-devel@nongnu.org, android-virt@lists.cs.columbia.edu, linaro-toolchain@lists.linaro.org On 11/24/2011 03:27 PM, Peter Maydell wrote: > If it doesn't make sense to hand off cp15 accesses that's fine, > though -- I want to do this refactoring for the A15 system mode > implementation in qemu anyway, because I really don't think we > should try to shoehorn in yet another cpu implementation into the > current set of switch statements... > > It looks (from a brief glance at the code) like ppc kvm does > handoff-to-qemu with the DCRs, incidentally. Not for SPRs, though, which may be more analogous to ARM's cp15 (and are where timers are implemented). DCRs are more like the the PPC 4xx family's version of x86 I/O ports. -Scott