qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Giancarlo ASNAGHI <giancarlo.asnaghi@st.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Cédric VINCENT" <cedric.vincent@st.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] ARM Cortex-R4 support ?
Date: Fri, 21 Sep 2012 19:05:29 +0200	[thread overview]
Message-ID: <505C9E59.2040308@suse.de> (raw)
In-Reply-To: <1E246B94828451478EA407380232FEBCC14C90B44B@SAFEX1MAIL3.st.com>

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édric has worked on the FPU before, cc'ing.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2012-09-21 17:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 15:15 [Qemu-devel] ARM Cortex-R4 support ? Giancarlo ASNAGHI
2012-09-21 17:05 ` Andreas Färber [this message]
2012-09-22 11:45   ` [Qemu-devel] [RFC v2 1/2] target-arm: Prepare support for Cortex-R4 Andreas Färber
2012-09-22 11:45     ` [Qemu-devel] [RFC v2 2/2] target-arm: Add support for Cortex-R4F Andreas Färber
2012-09-22 14:43       ` Blue Swirl
2012-09-22 14:54       ` Peter Maydell
2012-09-22 13:05     ` [Qemu-devel] [RFC v2 1/2] target-arm: Prepare support for Cortex-R4 Peter Maydell
2012-09-22 13:56       ` Andreas Färber
2012-09-22 14:30         ` Peter Maydell
2012-09-24  7:48   ` [Qemu-devel] ARM Cortex-R4 support ? Giancarlo ASNAGHI
2012-09-25  9:20   ` Giancarlo ASNAGHI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505C9E59.2040308@suse.de \
    --to=afaerber@suse.de \
    --cc=cedric.vincent@st.com \
    --cc=giancarlo.asnaghi@st.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).