Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2176070ybf; Mon, 2 Mar 2020 03:33:53 -0800 (PST) X-Google-Smtp-Source: APXvYqyeGe/nRlSgAZoSwrFK/DBExUdSdj7OYRZmKwXm5XAUvu9twgTwRN9vLObielrhXwJFUanK X-Received: by 2002:aca:f4d1:: with SMTP id s200mr8873197oih.85.1583148833487; Mon, 02 Mar 2020 03:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583148833; cv=none; d=google.com; s=arc-20160816; b=SI9T9S7ngcUfPPDQZr0yBtXxu5Umsvl4NS/CO4Gvj+ofmdd3N8GwbqE4vEMPNaWNi7 lej1k/AzHgraMv74U4caXN5OXaDLi4wrydXoXjbaVNGMQkB/N9WvoIUhxg6CWd7Zd/2M MrqlFDNMu094xuTs9GewKFWV7Dkf/BkZ0KySXr9c2fp4bTDzbTdNgKBERQVr52aZlHDF 1mRfX3gTaGAtzatWORXlprt+M6EP8wCZr2vF2U0NbeC1feBbH7KEPhcdwuwcTj52WJBZ lsvkq8yiPK76wtwwFX3cLKGvvIJIgLlgXmXmnIyYUhTmgKb6ctCFlKM4XIUhIEBus77t X+nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/kQf81rwzljo+6gF4uOJIiK/FdkF076Jj7P20yuqrLY=; b=JN5ePhDOltavpmp3dlQ7MxkEzck1c9+oRM3wK+9+jiVm4fo+yyhhifyOIsQz2mTEed HYc/cRvXFU2musJ66f1TlSWJpHyLC5F0rok7ji/y2KEI9aSmFeMKUd5wwSO+kvegInEc FCq5haMzoeL3OQnQBUi0PZ8rejaOo0n5/kzvgMjA++r+ss6h9MFhS8qiJD5oUYrU5J5C nqjb/P0yjKx7IpsWTcgGi7MWmHC72QUdSX1y6+Cjkz9R1rBiKhaDBR1BLn5Xk5Ojih13 7ZAI0tCPb6NuDpOkc2DvOBdchqphOcwPWiWdlvb20udcoGoGOQZ+TLsxNM0s/BeQR5S/ g2hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B17OkTtp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f184si40081oig.212.2020.03.02.03.33.41; Mon, 02 Mar 2020 03:33:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B17OkTtp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727492AbgCBLcO (ORCPT + 99 others); Mon, 2 Mar 2020 06:32:14 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46015 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgCBLcN (ORCPT ); Mon, 2 Mar 2020 06:32:13 -0500 Received: by mail-lf1-f66.google.com with SMTP id d27so4606444lfq.12 for ; Mon, 02 Mar 2020 03:32:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/kQf81rwzljo+6gF4uOJIiK/FdkF076Jj7P20yuqrLY=; b=B17OkTtp58QXZK66qMZ3R/xgCcUxh1WTGqlRJA4NBLKFm5HNCmkQTqrLWPlS7zyUOU PdFBTIsnNFLqSqLVG+qjflvau4hKviTljbIm703H5NufbaNClc4JocUGpC784KVuvgDj oAbCzJVQAjRZkmh+BLaLsdWpS1HJCNPeaf78CQljahHy70U4mXY9yhR7eSI1wuLDFzVf mLI0p7pezu1i7B5xxGzWdQSMuKxdwI72jz9sw2hn0LUtRb5lXBRN2LbcaEV6xohNmjBG heV7uZoDEeOpl9wQHnH83Nd/AmhAGErJywZExJ7uu+dUEtcjhEEdLCvrnCrBszMGzTlG PcFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/kQf81rwzljo+6gF4uOJIiK/FdkF076Jj7P20yuqrLY=; b=XucsMN0ANQbWfwmpe1qzM/zHHm/vYGjnXppvoU+SykPJ6U2pLBJEGRTGCY5+gC8X27 CE9DIpSsAo3B5edFwzklqH2mqEtHvV8CBkt5iszbcxIteDBpLKqhW+NJBt8Oqs8rw60d 9UFBiLVm1vjqca60p7Mk3tJ8ktXrE99y814cRGMUhb1T2t11q+gxeWSUJcLStwX+Jlo+ GYAuaKpyiVcZYNUcbDlTvjsXmub903PdLj4McwxXhj//c6kilxcLmh/Vnm1uCAxeTNNy uVn+iKmuTXWpdmaY+4NtuThhNTAT6h3/C46IqUiAJUVLWaaTa4wgN+Iq8ZFW60twumoV 5CZg== X-Gm-Message-State: ANhLgQ1+jUFG5yt7nicVCbwkdXPewVVnMaU0yHxzznsppsL49wfRyOpl YYzCzn3+TrVnhX+SXcwallI8LpXCsGqq0ebclTlMWQ== X-Received: by 2002:a19:5508:: with SMTP id n8mr10644269lfe.105.1583148729807; Mon, 02 Mar 2020 03:32:09 -0800 (PST) MIME-Version: 1.0 References: <1583089390-36084-1-git-send-email-pbonzini@redhat.com> In-Reply-To: From: Anders Roxell Date: Mon, 2 Mar 2020 12:31:58 +0100 Message-ID: Subject: Re: [GIT PULL] Second batch of KVM changes for Linux 5.6-rc4 (or rc5) To: Wanpeng Li Cc: Naresh Kamboju , Paolo Bonzini , kvm list , Linus Torvalds , open list , lkft-triage@lists.linaro.org, oupton@google.com, Jim Mattson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Mar 2020 at 08:21, Wanpeng Li wrote: > > On Mon, 2 Mar 2020 at 13:39, Naresh Kamboju wrote: > > > > On Mon, 2 Mar 2020 at 00:33, Paolo Bonzini wrote: > > > > > > Linus, > > > > > > The following changes since commit a93236fcbe1d0248461b29c0f87cb0b510c94e6f: > > > > > > KVM: s390: rstify new ioctls in api.rst (2020-02-24 19:28:40 +0100) > > > > > > are available in the git repository at: > > > > > > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus > > > > > > for you to fetch changes up to 86f7e90ce840aa1db407d3ea6e9b3a52b2ce923c: > > > > > > KVM: VMX: check descriptor table exits on instruction emulation (2020-03-01 19:26:31 +0100) > > > > > > ---------------------------------------------------------------- > > > More bugfixes, including a few remaining "make W=1" issues such > > > as too large frame sizes on some configurations. On the > > > ARM side, the compiler was messing up shadow stacks between > > > EL1 and EL2 code, which is easily fixed with __always_inline. > > > > > > ---------------------------------------------------------------- > > > Christian Borntraeger (1): > > > KVM: let declaration of kvm_get_running_vcpus match implementation > > > > > > Erwan Velu (1): > > > kvm: x86: Limit the number of "kvm: disabled by bios" messages > > > > > > James Morse (3): > > > KVM: arm64: Ask the compiler to __always_inline functions used at HYP > > > KVM: arm64: Define our own swab32() to avoid a uapi static inline > > > arm64: Ask the compiler to __always_inline functions used by KVM at HYP > > > > > > Jeremy Cline (1): > > > KVM: arm/arm64: Fix up includes for trace.h > > > > > > Mark Rutland (1): > > > kvm: arm/arm64: Fold VHE entry/exit work into kvm_vcpu_run_vhe() > > > > > > Oliver Upton (1): > > > KVM: VMX: check descriptor table exits on instruction emulation > > > > > > Paolo Bonzini (4): > > > KVM: SVM: allocate AVIC data structures based on kvm_amd module parameter > > > KVM: allow disabling -Werror > > > KVM: x86: avoid useless copy of cpufreq policy > > > Merge tag 'kvmarm-fixes-5.6-1' of git://git.kernel.org/.../kvmarm/kvmarm into HEAD > > > > > > Valdis Kletnieks (1): > > > KVM: x86: allow compiling as non-module with W=1 > > > > > > Wanpeng Li (2): > > > KVM: Introduce pv check helpers > > > KVM: Pre-allocate 1 cpumask variable per cpu for both pv tlb and pv ipis > > > > Kernel panic noticed on latest Linux mainline kernel. > > qemu_x86_64 boot failed due to kernel panic. > > Please investigate this problem. > > > > Just give a quick shot. https://lkml.org/lkml/2020/3/2/78 I gave it a quick test and it worked. Cheers, Anders > > > Meanwhile we will also investigate by using git bisect to identify bad patch. > > > > /usr/bin/qemu-system-x86_64 -cpu host -enable-kvm -nographic \ > > -net nic,model=virtio,macaddr=DE:AD:BE:EF:66:05 -net tap \ > > -m 1024 -monitor none -kernel > > bzImage--5.5+git0+98d54f81e3-r0-intel-corei7-64-20200301225337-2502.bin > > \ > > --append "root=/dev/sda rootwait console=ttyS0,115200" \ > > -hda rpb-console-image-lkft-intel-corei7-64-20200301225337-2502.rootfs.ext4 \ > > -m 4096 -smp 4 -nographic \ > > -drive format=qcow2,file=lava-guest.qcow2,media=disk,if=virtio,id=lavatest > > > > [ 0.000000] Linux version 5.6.0-rc4 (oe-user@oe-host) (gcc version > > 7.3.0 (GCC)) #1 SMP Sun Mar 1 22:59:08 UTC 2020 > > > > [ 0.762542] kvm: no hardware support > > [ 0.763123] BUG: kernel NULL pointer dereference, address: 000000000000028c > > [ 0.763425] #PF: supervisor read access in kernel mode > > [ 0.763425] #PF: error_code(0x0000) - not-present page > > [ 0.763425] PGD 0 P4D 0 > > [ 0.763425] Oops: 0000 [#1] SMP NOPTI > > [ 0.763425] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.6.0-rc4 #1 > > [ 0.763425] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), > > BIOS 1.12.0-1 04/01/2014 > > [ 0.763425] RIP: 0010:kobject_put+0x12/0x1c0 > > [ 0.763425] Code: 4a 01 89 d0 f0 0f b1 0f 75 ef 89 d1 eb d9 66 2e > > 0f 1f 84 00 00 00 00 00 48 85 ff 0f 84 bd 00 00 00 55 48 89 e5 41 55 > > 41 54 53 47 3c 01 48 89 fb 74 22 48 8d 7b 38 b8 ff ff ff ff f0 0f > > c1 43 > > [ 0.763425] RSP: 0018:ffffbd2800013de8 EFLAGS: 00010206 > > [ 0.763425] RAX: 0000000000000000 RBX: ffffffff996e9660 RCX: 0000000000000000 > > [ 0.763425] RDX: 0000000000000046 RSI: 0000000000000006 RDI: 0000000000000250 > > [ 0.763425] RBP: ffffbd2800013e00 R08: 0000000000000000 R09: 0000000000000000 > > [ 0.763425] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 > > [ 0.763425] R13: 0000000000003ad0 R14: 0000000000000000 R15: ffffffff99a896be > > [ 0.763425] FS: 0000000000000000(0000) GS:ffff92ec7bc00000(0000) > > knlGS:0000000000000000 > > [ 0.763425] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 0.763425] CR2: 000000000000028c CR3: 0000000049c10000 CR4: 00000000003406f0 > > [ 0.763425] Call Trace: > > [ 0.763425] cpufreq_cpu_put+0x15/0x20 > > [ 0.763425] kvm_arch_init+0x1f6/0x2b0 > > [ 0.763425] kvm_init+0x31/0x290 > > [ 0.763425] ? svm_check_processor_compat+0xd/0xd > > [ 0.763425] ? svm_check_processor_compat+0xd/0xd > > [ 0.763425] svm_init+0x21/0x23 > > [ 0.763425] do_one_initcall+0x61/0x2f0 > > [ 0.763425] ? rdinit_setup+0x30/0x30 > > [ 0.763425] ? rcu_read_lock_sched_held+0x4f/0x80 > > [ 0.763425] kernel_init_freeable+0x219/0x279 > > [ 0.763425] ? rest_init+0x250/0x250 > > [ 0.763425] kernel_init+0xe/0x110 > > [ 0.763425] ret_from_fork+0x27/0x50 > > [ 0.763425] Modules linked in: > > [ 0.763425] CR2: 000000000000028c > > [ 0.763425] ---[ end trace 239abf40c55c409b ]--- > > [ 0.763425] RIP: 0010:kobject_put+0x12/0x1c0 > > [ 0.763425] Code: 4a 01 89 d0 f0 0f b1 0f 75 ef 89 d1 eb d9 66 2e > > 0f 1f 84 00 00 00 00 00 48 85 ff 0f 84 bd 00 00 00 55 48 89 e5 41 55 > > 41 54 53 47 3c 01 48 89 fb 74 22 48 8d 7b 38 b8 ff ff ff ff f0 0f > > c1 43 > > [ 0.763425] RSP: 0018:ffffbd2800013de8 EFLAGS: 00010206 > > [ 0.763425] RAX: 0000000000000000 RBX: ffffffff996e9660 RCX: 0000000000000000 > > [ 0.763425] RDX: 0000000000000046 RSI: 0000000000000006 RDI: 0000000000000250 > > [ 0.763425] RBP: ffffbd2800013e00 R08: 0000000000000000 R09: 0000000000000000 > > [ 0.763425] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 > > [ 0.763425] R13: 0000000000003ad0 R14: 0000000000000000 R15: ffffffff99a896be > > [ 0.763425] FS: 0000000000000000(0000) GS:ffff92ec7bc00000(0000) > > knlGS:0000000000000000 > > [ 0.763425] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 0.763425] CR2: 000000000000028c CR3: 0000000049c10000 CR4: 00000000003406f0 > > [ 0.763425] BUG: sleeping function called from invalid context at > > /usr/src/kernel/include/linux/percpu-rwsem.h:38 > > [ 0.763425] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: > > 1, name: swapper/0 > > [ 0.763425] INFO: lockdep is turned off. > > [ 0.763425] irq event stamp: 696816 > > [ 0.763425] hardirqs last enabled at (696815): > > [] _raw_read_unlock_irqrestore+0x31/0x50 > > [ 0.763425] hardirqs last disabled at (696816): > > [] trace_hardirqs_off_thunk+0x1a/0x1c > > [ 0.763425] softirqs last enabled at (696776): > > [] __do_softirq+0x338/0x43a > > [ 0.763425] softirqs last disabled at (696769): > > [] irq_exit+0xb8/0xc0 > > [ 0.763425] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G D > > 5.6.0-rc4 #1 > > [ 0.763425] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), > > BIOS 1.12.0-1 04/01/2014 > > [ 0.763425] Call Trace: > > [ 0.763425] dump_stack+0x7a/0xa5 > > [ 0.763425] ___might_sleep+0x163/0x250 > > [ 0.763425] __might_sleep+0x4a/0x80 > > [ 0.763425] exit_signals+0x33/0x2d0 > > [ 0.763425] do_exit+0xb6/0xcf0 > > [ 0.763425] ? kernel_init_freeable+0x219/0x279 > > [ 0.763425] ? rest_init+0x250/0x250 > > [ 0.763425] rewind_stack_do_exit+0x17/0x20 > > [ 0.763425] Kernel panic - not syncing: Attempted to kill init! > > exitcode=0x00000009 > > > > > > metadata: > > git branch: master > > git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > git describe: v5.6-rc4 > > kernel-config: > > http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/intel-corei7-64/lkft/linux-mainline/2502/config > > > > git log --online > > 98d54f81e36b (HEAD -> master, tag: v5.6-rc4, origin/master, > > origin/HEAD) Linux 5.6-rc4 > > e70869821a46 Merge tag 'ext4_for_linus_stable' of > > git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 > > f853ed90e2e4 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm > > 86f7e90ce840 KVM: VMX: check descriptor table exits on instruction emulation > > fb279f4e2386 Merge branch 'i2c/for-current-fixed' of > > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux > > 37b0b6b8b99c ext4: potential crash on allocation error in > > ext4_alloc_flex_bg_array() > > 38b17afb0ebb macintosh: therm_windtunnel: fix regression when > > instantiating devices > > 6c5d91124929 jbd2: fix data races at struct journal_head > > 7557c1b3f715 Merge tag 'scsi-fixes' of > > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi > > > > > > ref: > > https://lkft.validation.linaro.org/scheduler/job/1261774#L461 > > https://lkft.validation.linaro.org/scheduler/job/1261816#L477 > > > > -- > > Linaro LKFT > > https://lkft.linaro.org