From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF6fb-000805-RG for qemu-devel@nongnu.org; Fri, 21 Sep 2012 13:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF6fW-00005t-4e for qemu-devel@nongnu.org; Fri, 21 Sep 2012 13:05:39 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42455 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF6fV-00005I-Ud for qemu-devel@nongnu.org; Fri, 21 Sep 2012 13:05:34 -0400 Message-ID: <505C9E59.2040308@suse.de> Date: Fri, 21 Sep 2012 19:05:29 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1E246B94828451478EA407380232FEBCC14C90B44B@SAFEX1MAIL3.st.com> In-Reply-To: <1E246B94828451478EA407380232FEBCC14C90B44B@SAFEX1MAIL3.st.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] ARM Cortex-R4 support ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Giancarlo ASNAGHI Cc: Peter Maydell , =?ISO-8859-1?Q?C=E9dric_VINCENT?= , "qemu-devel@nongnu.org" Hello Giancarlo, Am 21.09.2012 17:15, schrieb Giancarlo ASNAGHI: > Do you know which is the status of the support for Cortex-R4 support? I= 've seen an initial set of patches from Andreas Farber one years ago, but= into the qemu-system-arm the Cortex-R4 ins't available yet. That's true. As a consequence of my patches we redesigned several parts of ARM CPU modelling to facilitate this. My patches were not yet rebased onto that. A new QOM type derived from TYPE_ARM_CPU would need to be created now, to initialize the registers imperatively rather than declaratively. I might manage that quickly. Note that my published patches only took care of CPUID, FPU and a few others to instantiate the -cpu cortex-r4 at all. Where I got stuck was reading through the ARMv7 TRM differences between VMSA and PMSA (chapters B3 and B4 respectively) to implement PMSA, pointed out by Peter. And there were also some floating point width differences to ARMv7-A (VFPv3-D16 vs. VFPv3-S32 or so). Neither is a small patch that I can supply short-term, maybe your colleagues can help with those parts once I've refreshed my patches? C=E9dric has worked on the FPU before, cc'ing. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg