Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1919125ybf; Sun, 1 Mar 2020 21:39:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwtIaKTfgSB7VsaTwZM3JnRjcKnAX53EwGt1NT7k5ME+yZakNrqXqJiFCGJiZtX6FcbVt4N X-Received: by 2002:a9d:68d9:: with SMTP id i25mr12051993oto.135.1583127548008; Sun, 01 Mar 2020 21:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583127548; cv=none; d=google.com; s=arc-20160816; b=bHFUVZDDLn34IGtdMHozrKA19ZrNFji4Gdx2vabjYaRBI9MbZz98STVrgcHBjs1cvG S7mogNwrBCjgIuAhs8ulUjd+6CVeqHbmZoQgQlM/hOnZvb5bdnDh6/YlhByPyhhjLpZC K6h3MXFjlBPZg16QTfJDwb/hAu6m6+5YKD7fG7I72VqFGkFG5OvGW9NZriK7KrpoiBsS fGJWoipCGmovZfpoG0h3uxioBRT7G3v781P4BObU+VKTjX9fmtZ/6vAzeca7+A4JC0pX 7Rb/Vd+J3o8mhKXVRlVS6eAdpybavl2AcFu7BGHMI1LvJ2ChBTDA4/3YDgO/SNzJqMFR NyxA== 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=iZUnuuXdWPxrQ1tBgFnAWbeFdl2tJ8zJVR+csyAcTkc=; b=RFRo7yg839IzbKy16QUiojEQCHrxXd9KG5NUeJ2w5DVc7jFXDYk3D41H13ouDJdZph 5RUc/oP5DsTt9Iq2KlOnPBFxQMt2yM9MEVgEmR4iYRwyiXmm2V8J8I4SAn4OHHYCtqIC 6Pog3zdU7TlZBUuK36yqK3Q7bn2g30xlWi+JtdqtMtA0qicfsGagV5LSDOJucHFuIihn xtB+AmsUbwQgIKU37klCRnfszOGBf14IJOwanwRzWX6OpZDkcOKQA42AI7Ez7YiCKc4q dad52JdZL6HsVZKHMRBkAq2XFjSpPWZ669R3vuwPuE6uZKIeiJDw59UFIaLB/nOFxbIT uRGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h0HomULy; 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 z2si5879073oix.100.2020.03.01.21.38.55; Sun, 01 Mar 2020 21:39:07 -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=h0HomULy; 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 S1726368AbgCBFip (ORCPT + 99 others); Mon, 2 Mar 2020 00:38:45 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33379 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbgCBFio (ORCPT ); Mon, 2 Mar 2020 00:38:44 -0500 Received: by mail-lf1-f67.google.com with SMTP id c20so2268302lfb.0 for ; Sun, 01 Mar 2020 21:38:42 -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=iZUnuuXdWPxrQ1tBgFnAWbeFdl2tJ8zJVR+csyAcTkc=; b=h0HomULyqXLAry2FGBbSKvHCqPuAlBMAGpfp3/GDitViNi2ZCgSBbVa0pJt8y/4FJ6 EiUE1Dm0rt7pw9tbDwsBsSQQU910ot7g74EA2Flb2JnOzoL4vNqauXrk7zosoFs0X+WC emcTeJPLZ75VoTupe1/YuiVfTImemud2gH7jHa4gbrui7JN4OVDxaiZsq3OIlJgp9VC/ HfhsdfdTYfGpLKWRYKL13SmroBPJR+n3PLr13ZnnNbmz4IrFHoC5IMMOMMF+F/Iljy86 wBzEtfIkOiSh2urz7F4zfCWjy2asMFUTO+7cOD64VTMbwYTyefHA6oMkLU6gkQCtJWRf SDRg== 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=iZUnuuXdWPxrQ1tBgFnAWbeFdl2tJ8zJVR+csyAcTkc=; b=Qo/3lHXkLDwFaQ9KnQGMnIzo+EtCKbJfg21pIbAGeGjjw4DgspGnxCSeTNC08FEz+D qIPjzXeoZgBebKVoIW1j8VopYTzMa4OdOorLnmF3u7RVVuy7L3m6jGDu+Gb43zFImBX4 MRYRlxDQOHk4X+qqvA5RNS9+t1x/2+t8fiJM0sfKEexvlmiKy96Hactl5yuC8vOXBvu4 BgdUmCxdjKEKWeqHaNxVSzuDrkOB2igQVKr1RQTyTiPBqvSgII6EpZgV/sl7wzQwbbQW 6u2/AryNUq1B6yVYjiZaW4anuNFzotvgjpUg76xAlmBHIlVTtXO9iLVm9VKLR4x4x4yP 98OA== X-Gm-Message-State: ANhLgQ1HPRX1jfzJbm2o5KPb3rPuo38t9OpDI56gzX3Oglv0i43RrMq7 a+AmauWrqpvhzbKkzDR0hslxjUtJltDlc82fpor9zA== X-Received: by 2002:a05:6512:3ab:: with SMTP id v11mr9552213lfp.82.1583127521865; Sun, 01 Mar 2020 21:38:41 -0800 (PST) MIME-Version: 1.0 References: <1583089390-36084-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1583089390-36084-1-git-send-email-pbonzini@redhat.com> From: Naresh Kamboju Date: Mon, 2 Mar 2020 11:08:30 +0530 Message-ID: Subject: Re: [GIT PULL] Second batch of KVM changes for Linux 5.6-rc4 (or rc5) To: Paolo Bonzini , kvm list Cc: Linus Torvalds , open list , lkft-triage@lists.linaro.org, Anders Roxell , oupton@google.com, jmattson@google.com 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 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. 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