From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZpn-00075p-A6 for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:50:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYZpm-0005sM-45 for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:50:31 -0500 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:36608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZpl-0005s8-Mp for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:50:30 -0500 Received: by mail-lf0-x22c.google.com with SMTP id 78so12057582lfy.3 for ; Wed, 24 Feb 2016 05:50:29 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 24 Feb 2016 19:20:28 +0530 Message-ID: From: Deepak kumar Raju Content-Type: multipart/alternative; boundary=001a11401970417337052c8459f5 Subject: Re: [Qemu-devel] Regarding Cortex-A7 CPU definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers --001a11401970417337052c8459f5 Content-Type: text/plain; charset=UTF-8 Hi Peter, We are emulating the A7 hardware board in QEMU. Currently I have started with A15 CPU config. I need to enable GIC and generic timer. Can you please point me to how GIC & generic timer should be enabled considering vexpress.c emulation board?. Thanks in advance for the help, Best Regards, -Deepak On Wed, Feb 10, 2016 at 3:43 PM, Peter Maydell wrote: > On 10 February 2016 at 05:25, Deepak kumar Raju > wrote: > > Regarding the questions, we have hw board which has Cortex-A7, so we > thought > > we have to go with A7 emulation. we were not very sure A15 emulation > will be > > almost equivalent to A7 emulation. > > All we want to do is A7 emulation but now I am understanding that A15 > > emulation should similar to A7 emulation. please correct me. > > If you want to emulate the whole hardware board in QEMU, > then adding the A7 CPU emulation is the right thing (and > not very hard compared to doing the whole hardware model). > If you don't care about emulating the hardware because you're > going to run (say) a Linux kernel on one of QEMU's existing > models and you mostly care about userspace, then using the > A15 will be fine -- the two CPUs are basically identical > for that purpose, and Linux supports both. > > If you're running QEMU to use KVM on the ARM hardware, > then you want "-cpu host", which means "use the best CPU > type that the kernel can provide" and works on A7 and A15 > hosts. > > thanks > -- PMM > --001a11401970417337052c8459f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Peter,

We are emulating t= he A7 hardware board in QEMU. Currently I have started with A15 CPU config.= I need to enable GIC and generic timer. Can you please point me to how GIC= & generic timer=C2=A0should be=C2=A0enabled considering vexpress.c emu= lation board?.
Thanks in advance for the help,

Best Regards,
-Deepak

On Wed, Feb 10, 2016 at 3:43 PM, Peter Ma= ydell <peter.maydell@linaro.org> wrote:
On 10 February 2016 at 05:25, Deepak kumar Raju
<raju.deepakkumar@gm= ail.com> wrote:
> Regarding the questions, we have hw board which has Cortex-A7, so we t= hought
> we have to go with A7 emulation. we were not very sure A15 emulation w= ill be
> almost equivalent to A7 emulation.
> All we want to do is A7 emulation but now I am understanding that A15<= br> > emulation should similar to A7 emulation. please correct me.

If you want to emulate the whole hardware board in QEMU,
then adding the A7 CPU emulation is the right thing (and
not very hard compared to doing the whole hardware model).
If you don't care about emulating the hardware because you're
going to run (say) a Linux kernel on one of QEMU's existing
models and you mostly care about userspace, then using the
A15 will be fine -- the two CPUs are basically identical
for that purpose, and Linux supports both.

If you're running QEMU to use KVM on the ARM hardware,
then you want "-cpu host", which means "use the best CPU
type that the kernel can provide" and works on A7 and A15
hosts.

thanks
-- PMM

--001a11401970417337052c8459f5--