From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWsG9-0001k7-Oh for qemu-devel@nongnu.org; Fri, 19 Feb 2016 16:06:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWsG6-0005aq-Ic for qemu-devel@nongnu.org; Fri, 19 Feb 2016 16:06:41 -0500 Received: from zose-mta05.web4all.fr ([185.49.20.50]:53917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWsG6-0005aU-7D for qemu-devel@nongnu.org; Fri, 19 Feb 2016 16:06:38 -0500 References: <4499d69ec1326c07481e9d8178e64b63f9748706.1454967766.git.jcd@tribudubois.net> <56C38B52.7080904@tribudubois.net> <56C398FA.8010204@tribudubois.net> <56C62EDA.3010307@tribudubois.net> <56C6B707.8040001@tribudubois.net> From: Jean-Christophe DUBOIS Message-ID: <56C783D8.9040409@tribudubois.net> Date: Fri, 19 Feb 2016 22:06:32 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------030007090400000707070801" Subject: Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Peter Crosthwaite This is a multi-part message in MIME format. --------------030007090400000707070801 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Le 19/02/2016 10:32, Peter Maydell a =C3=A9crit : > On 19 February 2016 at 06:32, Jean-Christophe DUBOIS > wrote: >> Le 18/02/2016 22:46, Peter Maydell a =C3=A9crit : >>> Does SMP work with EL3 not enabled, or is this a different bug? >> >> If I set has_el3 to false, I can boot the 4 cores without problem. Wit= h >> has_el3 set to true (default value) I am getting the above behavior (b= oot OK >> in uniprocessor mode, and misbehaving if -smp >=3D 2). > Odd. If you can point me to a test image I can use to investigate > (preferably with System.map and commit hash of kernel used to build it) > I'll see if I can find time to have a look at what's going on there. I put my test image at the following address: http://dl.free.fr/rADch1Xnx You will get a tgz file with the following files in it: * imx6q-sabrelite.dtb * README * rootfs.cpio.gz * System.map * zImage Instruction to run the image are in the README file. The kernel is compiled using the imx_v6_v7_defconfig file (without=20 modification) in the linux source tree Thanks JC > > -- PMM > --------------030007090400000707070801 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Le 19/02/2016 10:32, Peter Maydell a =C3=A9crit=C2=A0:
On 19 February 2016 at 06:32, Jean-Christophe DUBOIS
&l=
t;jcd@tribudubois.net> wrote:
Le 18/02/2016 22:46, Peter Maydell a =C3=A9crit :
Does SMP work with EL3 not enabled, or is this a=
 different bug?

If I set has_el3 to false, I can boot the 4 cores without problem. With
has_el3 set to true (default value) I am getting the above behavior (boot=
 OK
in uniprocessor mode, and misbehaving if -smp >=3D 2).
Odd. If you can point me to a test image I can use to investigate
(preferably with System.map and commit hash of kernel used to build it)
I'll see if I can find time to have a look at what's going on there.
    

I put my test image at the following address:

http://dl.free.fr/rADch1Xnx

You will get a tgz file with the following files in it:
  • imx6q-sabrelite.dtb
  • README
  • rootfs.cpio.gz
  • System.map=C2=A0
  • zImage
Instruction to run the image are in the README file.

The kernel is compiled using the imx_v6_v7_defconfig file (without modification) in the linux source tree

Thanks

JC


-- PMM


--------------030007090400000707070801--