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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3099EB64D9 for ; Tue, 27 Jun 2023 18:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230462AbjF0S6n (ORCPT ); Tue, 27 Jun 2023 14:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjF0S6m (ORCPT ); Tue, 27 Jun 2023 14:58:42 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2289619A9 for ; Tue, 27 Jun 2023 11:58:41 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-401f4408955so48721cf.1 for ; Tue, 27 Jun 2023 11:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687892320; x=1690484320; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qKmobhi2Nd95iIsQAIChf1bNKSbLWPmwBaNmrDGtsts=; b=I8+vYnp56biA2jptfbaCChDPwA5U10DQ4I9FvwYkNhUfKRepAkz2Mk/5JUHv1d5dmM lk2ktpVEHOWHcM3PuNxsYc3dPW4A9/8TXbN2uqb7m4FGyAydo1VI4kpXrLq3+XVbAIZM YmuJh7wySIlu+n4j5Xqm6P+sXmYblBomzcc9JWgILoGeyt3TKx8srrcXJTnqkAoeC8LV RvLpeIcVZVfSmCEqrP4BFFQ2filFJE2sqLEywSUlOEcov6u7yEn7xcYWnV4DZlkhnJaB jMq3r/jOkh3C9ZmuxW0/JoW9HpfbbcttU+RSN9dkHaoec8p+Wk669/7rvuJs6Nqkf5B+ k1xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687892320; x=1690484320; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qKmobhi2Nd95iIsQAIChf1bNKSbLWPmwBaNmrDGtsts=; b=Pd4MFXdlciKkNnWnGlBP/B6S0Oi+JWB/bosbH5Rwti5B0z5+pxW1fUxvZHQWdIT5i0 E+2AUvjistVJrn37HASbWRssTas+FeVQ/QI5N7VNYvEslCEaiOfYSLXn1Ah4JLsBAwvj RdcZCbxxisPVQYIHvvjRtdTWDiEg4M0W8tdEJRNGEfmdCfdcoVx2n6clQnEyzV0pZ4gu B2kzQsXqgRF8sTcqHcBCGLQb+XAA1jKtxWElPV80b9HtJHYRUfHVVR0i4edEAXN0yoSy iyuFBNDUz4J8kt7HIX8ajzKXUDTz/YHnz0gJZtewmIw83a7fk+iiQEkX5ojrWzTzQqwa no6g== X-Gm-Message-State: AC+VfDzxHEIe6ghrGhzvrc7Vl4CYBetHUs+gLf+dQZezfQ09vVuc+KEt wG0+i4ZDVysiz3ebaur8GEaAaE1W8hI+FC4mlItjeA== X-Google-Smtp-Source: ACHHUZ6J1/N78owDH/OSbtNas/Sl37COEcbqYw6ds8Zv0pHedAq0dIAIUM37R4vLnSFkdqc7ndFCoE3ckGd2t8yVZeA= X-Received: by 2002:a05:622a:181b:b0:3ed:86f6:6eab with SMTP id t27-20020a05622a181b00b003ed86f66eabmr26836qtc.14.1687892320136; Tue, 27 Jun 2023 11:58:40 -0700 (PDT) MIME-Version: 1.0 References: <1596005919-29365-5-git-send-email-chenhc@lemote.com> <20230616071831.1452507-1-yuzhao@google.com> <20230616082322.GA7323@alpha.franken.de> In-Reply-To: From: Yu Zhao Date: Tue, 27 Jun 2023 12:58:04 -0600 Message-ID: Subject: Re: [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers To: Huacai Chen Cc: Thomas Bogendoerfer , jiaxun.yang@flygoat.com, kvm@vger.kernel.org, linux-mips@vger.kernel.org, pbonzini@redhat.com, robh+dt@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Mon, Jun 26, 2023 at 2:00=E2=80=AFAM Huacai Chen = wrote: > > Hi, Zhao, > > On Sun, Jun 18, 2023 at 10:51=E2=80=AFAM Yu Zhao wrot= e: > > > > On Sat, Jun 17, 2023 at 8:13=E2=80=AFPM Huacai Chen wrote: > > > > > > On Sat, Jun 17, 2023 at 9:52=E2=80=AFAM Yu Zhao w= rote: > > > > > > > > On Fri, Jun 16, 2023 at 10:23:22AM +0200, Thomas Bogendoerfer wrote= : > > > > > On Fri, Jun 16, 2023 at 01:18:31AM -0600, Yu Zhao wrote: > > > > > > On Tue, Jul 28, 2020 at 23:58:20PM -0700, Huacai Chen wrote: > > > > > > > James Hogan has become inactive for a long time and leaves KV= M for MIPS > > > > > > > orphan. I'm working on KVM/Loongson and attempt to make it up= stream both > > > > > > > in kernel and QEMU, while Aleksandar Markovic is already a ma= intainer of > > > > > > > QEMU/MIPS. We are both interested in QEMU/KVM/MIPS, and we ha= ve already > > > > > > > made some contributions in kernel and QEMU. If possible, we w= ant to take > > > > > > > the KVM/MIPS maintainership. > > > > > > > > > > > > > > Reviewed-by: Jiaxun Yang > > > > > > > Reviewed-by: Aleksandar Markovic > > > > > > > Signed-off-by: Huacai Chen > > > > > > > --- > > > > > > > MAINTAINERS | 4 +++- > > > > > > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > > > > > > > > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > > > > > > index bddc79a..5f9c2fd 100644 > > > > > > > --- a/MAINTAINERS > > > > > > > +++ b/MAINTAINERS > > > > > > > @@ -9441,9 +9441,11 @@ F: arch/arm64/kvm/ > > > > > > > F: include/kvm/arm_* > > > > > > > > > > > > > > KERNEL VIRTUAL MACHINE FOR MIPS (KVM/mips) > > > > > > > +M: Huacai Chen > > > > > > > +M: Aleksandar Markovic > > > > > > > L: linux-mips@vger.kernel.org > > > > > > > L: kvm@vger.kernel.org > > > > > > > -S: Orphan > > > > > > > +S: Maintained > > > > > > > F: arch/mips/include/asm/kvm* > > > > > > > F: arch/mips/include/uapi/asm/kvm* > > > > > > > F: arch/mips/kvm/ > > > > > > > > > > > > Hi, > > > > > > > > > > > > Is kvm/mips still maintained? Thanks. > > > > > > > > > > > > I tried v6.4-rc6 and hit the following crash. It seems it has b= een broken since > > > > > > > > > > > > commit 45c7e8af4a5e3f0bea4ac209eea34118dd57ac64 > > > > > > Author: Thomas Bogendoerfer > > > > > > Date: Mon Mar 1 16:29:57 2021 +0100 > > > > > > > > > > > > MIPS: Remove KVM_TE support > > > > > > > > > > ok, I see what I missed when removing TE support, d'oh. Does the = patch > > > > > below fix the issue for you ? > > > > > > > > Thanks! > > > > > > > > It made some progress but somehow crashed the guest kernel. > > > > > > > > $ qemu-system-mips64el --version > > > > QEMU emulator version 7.2.2 (Debian 1:7.2+dfsg-7) > > > > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project develo= pers > > > > > > > > # w/o KVM > > > > > > > > # malta: working (but slow) > > > > > > > > $ qemu-system-mips64el -nographic -kernel lede-malta-le64-vmlin= ux-initramfs.elf > > > > [ 0.000000] Linux version 4.9.58 (buildbot@builds) (gcc vers= ion 5.5.0 (LEDE GCC 5.5.0 r5218-f90f94d) ) #0 SMP Wed Nov 1 21:08:14 2017 > > > > ... > > > > > > > > # loongson3-virt: hanged > > > > > > > > $ qemu-system-mips64el -M loongson3-virt -m 512m -nographic -ke= rnel vmlinuz-6.1.0-9-loongson-3 -initrd initrd.gz > > > > [ 0.000000] Linux version 6.1.0-9-loongson-3 (debian-kernel@= lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils f= or Debian) 2.40) #1 SMP PREEMPT Debian 6.1.27-1 (2023-05-08) > > > > ... > > > > [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0= 00000009fffffff] > > > > > > > > # w/ KVM > > > > > > > > # malta: qemu error > > > > > > > > $ sudo qemu-system-mips64el -M accel=3Dkvm -nographic -kernel l= ede-malta-le64-vmlinux-initramfs.elf > > > > qemu-system-mips64el: KVM guest kernels must be linked in useg.= Did you forget to enable CONFIG_KVM_GUEST? > > > > > > > > # loongson3-virt: qemu error > > > > > > > > $ sudo qemu-system-mips64el -M loongson3-virt,accel=3Dkvm -m 51= 2m -nographic -kernel vmlinuz-6.1.0-9-loongson-3 -initrd initrd.gz > > > > qemu-system-mips64el: ../../accel/kvm/kvm-all.c:2310: kvm_init:= Assertion `TARGET_PAGE_SIZE <=3D qemu_real_host_page_size()' failed. > > > > Aborted > > > > > > > > $ qemu-system-mips64el --version > > > > QEMU emulator version 8.0.2 (Debian 1:8.0.2+dfsg-1) > > > > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project develo= pers > > > > > > > > # w/o KVM > > > > > > > > # malta: no change > > > > # loongson3-virt: no change > > > > > > > > # w/ KVM > > > > > > > > # loongson3-virt: the same qemu error > > > > > > > > # malta: booted very fast but guest crashed: > > > > > > > > $ sudo qemu-system-mips64el -M accel=3Dkvm -nographic -kernel lede-= malta-le64-vmlinux-initramfs.elf > > > > [ 0.000000] Linux version 4.9.58 (buildbot@builds) (gcc version = 5.5.0 (LEDE GCC 5.5.0 r5218-f90f94d) ) #0 SMP Wed Nov 1 21:08:14 2017 > > > > ... > > > > > > [ 0.402570] Kernel panic - not syncing: Fatal exception > > > > [ 0.404311] Rebooting in 1 seconds.. > > > > [ 2.385408] Reboot failed -- System halted > > > > > > > > openwrt/malta: https://downloads.openwrt.org/snapshots/targets/malt= a/le64/ > > > > debian/loongson-3: https://deb.debian.org/debian/dists/sid/main/ins= taller-mips64el/current/images/ > > > > debian/malta: not working > > > > > > I have reproduced the problem, and I hope I can fix it in a few days, > > > > That's great. Thanks a lot! > I fixed the KVM problems on Loongson [1][2][3]. However, you have > tried [1] but still have problems, while [2] and [3] are specific to > Loongson, so maybe you are still unable to use KVM. > > [1] https://lore.kernel.org/linux-mips/20230626074919.1871944-1-chenhuaca= i@loongson.cn/T/#u > [2] https://lore.kernel.org/linux-mips/20230626075014.1872632-1-chenhuaca= i@loongson.cn/T/#u > [3] https://lore.kernel.org/linux-mips/20230626075047.1872818-1-chenhuaca= i@loongson.cn/T/#u Thanks for the update. I'll take a look if I get a chance.