linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jun Sun <jsun@junsun.net>
To: Jun Sun <jsun@junsun.net>,
	qemu-discuss@nongnu.org, debian-mips@lists.debian.org,
	linux-mips@vger.kernel.org, lixing <13699171092@139.com>
Subject: Re: debian bootup hangs on qemu-system-mips64el
Date: Sun, 12 Jan 2020 18:14:12 -0800	[thread overview]
Message-ID: <CAP5Nno5jXhgbryGqDX9j3TAUwXmsBnRnvNuh2MJpDHs-bSG1Cg@mail.gmail.com> (raw)
In-Reply-To: <20200112195752.GA18154@aurel32.net>

See below.

On Sun, Jan 12, 2020 at 11:58 AM Aurelien Jarno <aurelien@aurel32.net> wrote:
>
> Hi,
>
> On 2020-01-12 11:34, Jun Sun wrote:
> > Are you sure QEMU/MIPS does not support SMP?  Below link written in
> > 2016 clearly shows something was working then.
> >
> > https://www.mips.com/blog/how-to-run-smp-linux-in-qemu-on-a-mips64-release-6-cpu/
>
> It's not supported for the malta/mips64r2 combination you are trying to
> use. It's clearly possible that it is supported for mips64r6, but it's a
> different instruction set, so you can't run a standard Debian
> distribution on it.
>

How do I specify mips64r6 cpu to start qemu?  A simple cpu listing
below shows no such CPU.  If mips64r6 is indeed supported with SMP, I
would think mips64r2 userland should run fine.

$ qemu-system-mips64el -cpu ?
MIPS '4Kc'
MIPS '4Km'
MIPS '4KEcR1'
MIPS '4KEmR1'
MIPS '4KEc'
MIPS '4KEm'
MIPS '24Kc'
MIPS '24KEc'
MIPS '24Kf'
MIPS '34Kf'
MIPS '74Kf'
MIPS 'M14K'
MIPS 'M14Kc'
MIPS 'P5600'
MIPS 'mips32r6-generic'
MIPS 'R4000'
MIPS 'VR5432'
MIPS '5Kc'
MIPS '5Kf'
MIPS '20Kc'
MIPS 'MIPS64R2-generic'
MIPS '5KEc'
MIPS '5KEf'
MIPS 'I6400'
MIPS 'Loongson-2E'
MIPS 'Loongson-2F'
MIPS 'mips64dspr2'

> > Also, as Lixing mentioned in our private exchange, there is SMP
> > support for loongson.  Lixing, I assume loongson SMP support is
> > already merged in QEMU repo, right?  Can you point out the relevant
> > source code directories?
>
> Lixing mentioned virtualization. In that case it is indeed supported
> like on other mips64r5 CPUs. For that you need to use add the -enable-kvm
> option to the qemu command.

I'm not sure if loongson support has to be kvm.  Maybe Lixing can clarify.

  reply	other threads:[~2020-01-13  2:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAP5Nno5CPjV2mcf2ny8AtcC2ziqDkv6Kc7f4hCq1TF4DvKvJkw@mail.gmail.com>
2020-01-05  4:46 ` debian bootup hangs on qemu-system-mips64el Jun Sun
2020-01-09 21:24   ` Aurelien Jarno
2020-01-12 19:34     ` Jun Sun
2020-01-12 19:57       ` Aurelien Jarno
2020-01-13  2:14         ` Jun Sun [this message]
2020-01-13 19:08           ` Paul Burton
2020-01-13  1:17       ` Jiaxun Yang
2020-01-13  2:35         ` Jun Sun
2020-01-13  3:23           ` Huacai Chen
2020-01-13  3:29           ` Jiaxun Yang

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=CAP5Nno5jXhgbryGqDX9j3TAUwXmsBnRnvNuh2MJpDHs-bSG1Cg@mail.gmail.com \
    --to=jsun@junsun.net \
    --cc=13699171092@139.com \
    --cc=debian-mips@lists.debian.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=qemu-discuss@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).