From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM
guest using PCI passthrough/PCIe bridge
Date: Thu, 07 Aug 2014 15:30:08 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
To: kvm@vger.kernel.org
Return-path:
Received: from mail.kernel.org ([198.145.19.201]:33447 "EHLO mail.kernel.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1757533AbaHGPaL (ORCPT );
Thu, 7 Aug 2014 11:30:11 -0400
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 9F4CB201F4
for ; Thu, 7 Aug 2014 15:30:10 +0000 (UTC)
Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52])
by mail.kernel.org (Postfix) with ESMTP id 54E2A201DC
for ; Thu, 7 Aug 2014 15:30:08 +0000 (UTC)
In-Reply-To:
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=81841
Marti Raudsepp changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|3.13 (Ubuntu: |3.16.0 (originally Ubuntu
|3.13.0-32-generic) |3.13.0-32-generic)
--- Comment #4 from Marti Raudsepp ---
Also occurs with freshly built mainline kernel version 3.16.0.
[ 87.327457] ------------[ cut here ]------------
[ 87.327488] kernel BUG at drivers/iommu/amd_iommu.c:2382!
[ 87.327505] invalid opcode: 0000 [#1] SMP
[ 87.327526] Modules linked in: pci_stub(E) ipt_MASQUERADE(E) iptable_nat(E)
nf_nat_ipv4(E) nf_nat(E) nf_conntrack_ipv4(E) nf_defrag_ipv4(E) xt_conntrack(E)
nf_conntrack(E) ipt_REJECT(E) xt_CHECKSUM(E) iptable_mangle(E) xt_tcpudp(E)
bridge(E) stp(E) llc(E) ip6table_filter(E) ip6_tables(E) iptable_filter(E)
ip_tables(E) ebtable_nat(E) ebtables(E) x_tables(E) nct6775(E) hwmon_vid(E)
radeon(E) kvm_amd(E) kvm(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E)
snd_hda_codec_hdmi(E) snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E)
i2c_algo_bit(E) crct10dif_pclmul(E) drm_kms_helper(E) crc32_pclmul(E)
ghash_clmulni_intel(E) snd_hwdep(E) aesni_intel(E) snd_pcm(E) ttm(E)
aes_x86_64(E) glue_helper(E) netconsole(E) drm(E) lrw(E) snd_timer(E)
configfs(E) snd(E) gf128mul(E) ablk_helper(E) cryptd(E) soundcore(E) lp(E)
serio_raw(E) k10temp(E) i2c_piix4(E) mac_hid(E) video(E) parport(E)
usb_storage(E) pata_acpi(E) hid_generic(E) usbhid(E) hid(E) alx(E) psmouse(E)
mdio(E) pata_atiixp(E) ahci(E) libahci(E)
[ 87.327963] CPU: 0 PID: 1452 Comm: qemu-system-x86 Tainted: G E
3.16.0 #1
[ 87.327986] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014
[ 87.328016] task: ffff880427a18000 ti: ffff880421280000 task.ti:
ffff880421280000
[ 87.328039] RIP: 0010:[] []
__detach_device+0xad/0xb0
[ 87.328071] RSP: 0018:ffff880421283b38 EFLAGS: 00010046
[ 87.328088] RAX: 0000000000000000 RBX: ffff8804286e5240 RCX:
ffff880421283ae0
[ 87.328110] RDX: dead000000100100 RSI: 0000000000000086 RDI:
ffff8804286e5240
[ 87.328132] RBP: ffff880421283b58 R08: 0000000000000046 R09:
ffff8804299b8900
[ 87.328154] R10: ffff880000000000 R11: 000ffffffffff000 R12:
0000000000000000
[ 87.328175] R13: ffff88042127a610 R14: ffff88042744c040 R15:
ffff8804286e5240
[ 87.328197] FS: 00007f1d03857700(0000) GS:ffff88043ec00000(0000)
knlGS:0000000000000000
[ 87.328221] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.328239] CR2: 00007f1d03dc63a0 CR3: 0000000001c13000 CR4:
00000000000407f0
[ 87.328260] Stack:
[ 87.328268] dead000000100100 ffff88042127a600 ffff88042127a610
ffff88042744c040
[ 87.328299] ffff880421283b98 ffffffff81605a7e 0000000000000202
ffff88042744c040
[ 87.328333] ffff88042744c040 ffff880420a3c008 ffff8804242b0a80
ffff88007786dfd8
[ 87.328365] Call Trace:
[ 87.328378] [] amd_iommu_domain_destroy+0x9e/0x160
[ 87.328400] [] iommu_domain_free+0x1b/0x30
[ 87.328432] [] kvm_iommu_unmap_guest+0x53/0x60 [kvm]
[ 87.328461] [] kvm_arch_destroy_vm+0x39/0x1f0 [kvm]
[ 87.328484] [] ? synchronize_srcu+0x1d/0x20
[ 87.328509] [] kvm_put_kvm+0x10e/0x220 [kvm]
[ 87.328535] [] kvm_vcpu_release+0x18/0x20 [kvm]
[ 87.328556] [] __fput+0xe4/0x220
[ 87.328573] [] ____fput+0xe/0x10
[ 87.328591] [] task_work_run+0xc4/0xe0
[ 87.328609] [] do_exit+0x2b8/0xa60
[ 87.328627] [] do_group_exit+0x3f/0xa0
[ 87.328645] [] get_signal_to_deliver+0x1d0/0x6f0
[ 87.328668] [] do_signal+0x48/0x9d0
[ 87.328687] [] ? acct_account_cputime+0x1c/0x20
[ 87.328708] [] ? account_user_time+0x8b/0xa0
[ 87.329791] [] ? vtime_account_user+0x54/0x60
[ 87.330869] [] do_notify_resume+0x69/0xb0
[ 87.331950] [] int_signal+0x12/0x17
[ 87.333016] Code: fe ff ff eb b8 66 0f 1f 84 00 00 00 00 00 48 8b 35 69 b0
9a 00 49 39 f4 74 c1 48 89 df e8 8c fd ff ff 5b 41 5c 41 5d 41 5e 5d c3 <0f> 0b
90 66 66 66 66 90 55 48 89 e5 41 57 41 56 49 89 fe 41 55
[ 87.335373] RIP [] __detach_device+0xad/0xb0
[ 87.336475] RSP
[ 87.337562] ---[ end trace bee5733468f37c81 ]---
--
You are receiving this mail because:
You are watching the assignee of the bug.