Re: BUG: arch/x86/kvm/mmu/mmu.c:3722: kvm_mmu_load+0x407/0x420

From: Naresh Kamboju
Date: Thu May 28 2020 - 15:51:25 EST


On Fri, 29 May 2020 at 01:08, Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
>
> On Fri, May 29, 2020 at 12:59:40AM +0530, Naresh Kamboju wrote:
> > While running selftest kvm set_memory_region_test on x86_64 linux-next kernel
> > 5.7.0-rc6-next-20200518 the kernel BUG noticed.
> >
> > steps to reproduce: (always reproducible )
> > -------------------------
> > cd /opt/kselftests/default-in-kernel/kvm
> > ./set_memory_region_test
> >
> > BAD: next-20200518 (still reproducible on next-20200526)
> > GOOD: next-20200515
> > git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > kernel config:
> > http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/intel-corei7-64/lkft/linux-next/777/config
> >
> > kernel crash log,
> > -----------------------
> > [ 33.074161] ------------[ cut here ]------------
> > [ 33.079845] kernel BUG at /usr/src/kernel/arch/x86/kvm/mmu/mmu.c:3722!
>
> I'm 99% certain this is already fixed[*], I'll double check to confirm.

Thanks for looking into this problem.

> [*] https://lkml.kernel.org/r/20200527085400.23759-1-sean.j.christopherson@xxxxxxxxx

I see you made a recent fix (on Wed, 27 May 2020).
Let this patch get into the linux-next tree master and our build system
will pull it and test it. I will report back once it is fixed.

- Naresh