[Top] [All Lists]

Re: [PATCH] MIPS: SMTC: Correct saving of CP0_STATUS

To: Ralf Baechle <>
Subject: Re: [PATCH] MIPS: SMTC: Correct saving of CP0_STATUS
From: "Edgar E. Iglesias" <>
Date: Sat, 17 Sep 2011 04:08:49 +0200
Cc: David Daney <>,, "Kevin D. Kissell" <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=H3aBQ+Y2MrIo5o0m849mo+Y8YqJoXd3U49YF7Tf+M4o=; b=rjpKUoEjmQvgb2Tk11NReBmgFdvgSpkbTXIzMUjIUI3ULd4DHtfjkIHT4Fbw+Gs5TD hArk4B1oxCYzleRF9nFUh14X4YxaiM/WX6A42Kfh950TzqvinhFQMDoChXQYsOuPlt4a PcOinBU77d2j99LhGPTTLpWkqPjfPouj1k+Z4=
In-reply-to: <>
References: <20110829232029.GA15763@zapo> <> <> <20110917012315.GG20455@zapo> <>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Sep 17, 2011 at 04:00:32AM +0200, Ralf Baechle wrote:
> On Sat, Sep 17, 2011 at 03:23:15AM +0200, Edgar E. Iglesias wrote:
> > I agree, thanks!
> You're welcome.
> > BTW, in case anyone is intersted, it is now possible to boot malta
> > boards with SMP with the latest QEMU. The neat thing is that if you
> > debug the kernel with GDB, you'll see the different cores execution
> > contexts as differten threads and can singletep them individually.
> Very interesting.  What type of SMP system does it emulate?

I'm not all familiar with the terminology, but it works with the kind
where you've got multiple VPEs with one TC per VPE, vSMP IIUC.

You need to pass these options to QEMU, -cpu 34Kf -smp 2, where 2 maybe
anything up to 16.

We've (AXIS) got models for the GIC aswell, but I need to check with MTI 
before publishing those.  IMO these models would help everybody cause
it's, to say the leaast, a huge pain to setup the GIC without having QEMU
or any emulator to check the interrupt routing.


<Prev in Thread] Current Thread [Next in Thread>