From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C79D3C33CA2 for ; Sun, 12 Jan 2020 19:58:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC83421744 for ; Sun, 12 Jan 2020 19:58:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733277AbgALT6N (ORCPT ); Sun, 12 Jan 2020 14:58:13 -0500 Received: from hall.aurel32.net ([195.154.113.88]:34770 "EHLO hall.aurel32.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728659AbgALT6M (ORCPT ); Sun, 12 Jan 2020 14:58:12 -0500 Received: from aurel32 by hall.aurel32.net with local (Exim 4.92) (envelope-from ) id 1iqjMu-000503-4O; Sun, 12 Jan 2020 20:57:52 +0100 Date: Sun, 12 Jan 2020 20:57:52 +0100 From: Aurelien Jarno To: Jun Sun Cc: 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 Message-ID: <20200112195752.GA18154@aurel32.net> Mail-Followup-To: Jun Sun , qemu-discuss@nongnu.org, debian-mips@lists.debian.org, linux-mips@vger.kernel.org, lixing <13699171092@139.com> References: <20200109212404.GA1750666@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 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. > 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. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net