linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yu Zhao <yuzhao@google.com>
To: chenhuacai@kernel.org, aleksandar.qemu.devel@gmail.com,
	tsbogend@alpha.franken.de
Cc: jiaxun.yang@flygoat.com, kvm@vger.kernel.org,
	linux-mips@vger.kernel.org, pbonzini@redhat.com,
	robh+dt@kernel.org, zhangfx@lemote.com
Subject: Re: [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers
Date: Fri, 16 Jun 2023 01:18:31 -0600	[thread overview]
Message-ID: <20230616071831.1452507-1-yuzhao@google.com> (raw)
In-Reply-To: <1596005919-29365-5-git-send-email-chenhc@lemote.com>

On Tue, Jul 28, 2020 at 23:58:20PM -0700, Huacai Chen wrote:
> James Hogan has become inactive for a long time and leaves KVM for MIPS
> orphan. I'm working on KVM/Loongson and attempt to make it upstream both
> in kernel and QEMU, while Aleksandar Markovic is already a maintainer of
> QEMU/MIPS. We are both interested in QEMU/KVM/MIPS, and we have already
> made some contributions in kernel and QEMU. If possible, we want to take
> the KVM/MIPS maintainership.
>
> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> ---
>  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 <chenhc@lemote.com>
> +M:	Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
>  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 been broken since

  commit 45c7e8af4a5e3f0bea4ac209eea34118dd57ac64
  Author: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  Date:   Mon Mar 1 16:29:57 2021 +0100
  
      MIPS: Remove KVM_TE support
      
      After removal of the guest part of KVM TE (trap and emulate), also remove
      the host part.

which deletes kvm_mips_commpage_init() and leaves vcpu->arch.cop0 NULL.

(Or probably I've missed something.)

  $ sudo qemu-system-mips64el -M accel=kvm -nographic
  CPU 2 Unable to handle kernel paging request at virtual address 0000000000000300, epc == ffffffff81148288, ra == ffffffff81148228
  Oops[#1]:
  CPU: 2 PID: 339 Comm: qemu-system-mip Not tainted 6.4.0-rc6-00049-g62d8779610bb #3
  $ 0   : 0000000000000000 0000000034109ce1 0000000000400004 ffffffff81b50200
  $ 4   : 8000000001d71c00 0000000000000001 0000000000000000 0000000000000000
  $ 8   : 000000a64082989c 000000000000001f 000000000000000a 0000000000000060
  $12   : ffffffff81935390 eb0ffdb582d1ed00 0000000000000001 0000000000000000
  $16   : 0000000000000000 8000000005193330 8000000005193330 80000000058b6000
  $20   : 80000000058b4a00 ffffffff81b5f110 0000000000000000 ffffffffffffffff
  $24   : 0000000000000001 ffffffff811331a0
  $28   : 80000000021e8000 80000000021ebc90 000000fff1369160 ffffffff81148228
  Hi    : 0000000000000000
  Lo    : 00000000083e6217
  epc   : ffffffff81148288 kvm_vz_vcpu_setup+0xa8/0x2d8
  ra    : ffffffff81148228 kvm_vz_vcpu_setup+0x48/0x2d8
  Status: 34109ce3	KX SX UX KERNEL EXL IE
  Cause : 0080000c (ExcCode 03)
  BadVA : 0000000000000300
  PrId  : 000d9602 (Cavium Octeon III)
  Modules linked in:
  Process qemu-system-mip (pid: 339, threadinfo=0000000029889cef, task=0000000070662173, tls=000000fff1371140)
  Stack : 8000000005193330 80000000058b4a00 80000000058b4000 ffffffff81142184
          80000000021ebcd8 eb0ffdb582d1ed00 ffffffff81b50000 ffffffff81b50000
          800000000537e000 0000000000000000 800000000537e920 8000000005193330
          ffffffff81c10000 ffffffff8113fd94 0000000000000cc0 000000000ffdc000
          000000ffdc000000 000000ffdc000010 0000000000000255 8000000003416700
          8000000005923ff8 0000000000000000 0000000000000000 0000000000000000
          8000000004775000 800000004d91dd68 0000000000000000 eb0ffdb582d1ed00
          0000000000000801 0000000000000255 ffffffff81b526a8 0000000000000001
          0000000000000001 ffffffff812c4b84 8000000002238180 0000000000000255
          0000000000000000 eb0ffdb582d1ed00 000000ffdc000010 8000000003717200
          ...
  Call Trace:
  [<ffffffff81148288>] kvm_vz_vcpu_setup+0xa8/0x2d8
  [<ffffffff81142184>] kvm_arch_vcpu_create+0x12c/0x1c0
  [<ffffffff8113fd94>] kvm_vm_ioctl+0x5e4/0xda0
  [<ffffffff812ef070>] sys_ioctl+0xb8/0x100
  [<ffffffff81125930>] syscall_common+0x34/0x58
  
  Code: 3c040040  24840004  00441025 <fe020300> 40626001  3c04ff80  00441024  3c048000  7c42f803
  
  ---[ end trace 0000000000000000 ]---

  reply	other threads:[~2023-06-16  7:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
2020-07-29  9:52   ` Thomas Bogendoerfer
2020-07-29 10:08     ` Huacai Chen
2020-07-31  3:01       ` Huacai Chen
2020-07-31  8:32         ` Thomas Bogendoerfer
2020-07-31 11:56           ` Jiaxun Yang
2020-08-03  6:05             ` Huacai Chen
2020-08-03  9:13               ` Jiaxun Yang
2020-08-04  7:47                 ` Thomas Bogendoerfer
2020-07-29  6:58 ` [PATCH 3/5] MIPS: KVM: Add kvm guest support for Loongson-3 Huacai Chen
2020-07-29  6:58 ` [PATCH 4/5] MIPS: Update default config file " Huacai Chen
2020-07-29  6:58 ` [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers Huacai Chen
2023-06-16  7:18   ` Yu Zhao [this message]
2023-06-16  7:55     ` Huacai Chen
2023-06-16  8:23     ` Thomas Bogendoerfer
2023-06-16  8:31       ` Huacai Chen
2023-06-18  7:55         ` Thomas Bogendoerfer
2023-06-17  1:52       ` Yu Zhao
2023-06-18  2:13         ` Huacai Chen
2023-06-18  2:51           ` Yu Zhao
2023-06-26  8:00             ` Huacai Chen
2023-06-27 18:58               ` Yu Zhao

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=20230616071831.1452507-1-yuzhao@google.com \
    --to=yuzhao@google.com \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=chenhuacai@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=robh+dt@kernel.org \
    --cc=tsbogend@alpha.franken.de \
    --cc=zhangfx@lemote.com \
    /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).