Re: [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Zhao,

On Fri, Jun 16, 2023 at 3:18 PM Yu Zhao <yuzhao@xxxxxxxxxx> 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 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@xxxxxxxxxxx>
> > Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@xxxxxxxxx>
> > Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
> > ---
> >  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@xxxxxxxxxx>
> > +M:   Aleksandar Markovic <aleksandar.qemu.devel@xxxxxxxxx>
> >  L:   linux-mips@xxxxxxxxxxxxxxx
> >  L:   kvm@xxxxxxxxxxxxxxx
> > -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@xxxxxxxxxxxxxxxx>
>   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.
I think your analysis is correct, are you interested in fixing it?

Huacai

>
> (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 ]---




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux