https://bugzilla.kernel.org/show_bug.cgi?id=76331
Bug ID: 76331
Summary: kernel BUG at drivers/iommu/intel-iommu.c:844!
Product: Virtualization
Version: unspecified
Kernel Version: 3.14.4
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Hit this bug while trying to simultaneously passthrough using vfio a nvidia gpu
and an ICH audio device.
Extract from virtlib config for this VM :
<qemu:commandline>
<qemu:arg value='-device'/>
<qemu:arg value='vfio-pci,host=00:1b.0,bus=pcie.0'/>
<qemu:arg value='-device'/>
<qemu:arg
value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=pcieroot.1'/>
<qemu:arg value='-device'/>
<qemu:arg
value='vfio-pci,host=06:00.0,bus=pcieroot.1,addr=00.0,multifunction=on,x-vga=on,romfile=/local/kvm2/GF114.rom'/>
</qemu:commandline>
Kernel trace :
[ 506.224316] ------------[ cut here ]------------
[ 506.224323] kernel BUG at drivers/iommu/intel-iommu.c:844!
[ 506.224325] invalid opcode: 0000 [#1] PREEMPT SMP
[ 506.224328] Modules linked in: vhost_net vhost macvtap macvlan tun
vfio_iommu_type1 vfio_pci vfio fuse nfsv3 rpcsec_gss_krb5 nfsv4 dns_resolver
nfsd auth_rpcgss oid_registry nfs_acl bridge stp llc snd_hda_codec_hdmi
coretemp intel_powerclamp kvm_intel hid_generic nouveau btusb bluetooth mxm_wmi
kvm mousedev crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel
aesni_intel aes_x86_64 lrw gf128mul snd_hda_codec_realtek mac_hid
snd_hda_codec_generic rc_ati_x10 ati_remote ppdev gpio_ich 6lowpan_iphc wmi
snd_hda_intel rc_core sky2 snd_hda_codec snd_hwdep video snd_pcm ttm rfkill
drm_kms_helper drm iTCO_wdt glue_helper evdev i7core_edac hwmon i2c_algo_bit
iTCO_vendor_support parport_pc ablk_helper snd_timer edac_core snd parport
cryptd soundcore i2c_i801 i2c_core pcspkr psmouse serio_raw microcode
[ 506.224375] lpc_ich shpchp button thermal acpi_cpufreq processor nfs lockd
sunrpc fscache ext4 crc16 mbcache jbd2 usbhid hid sd_mod sr_mod crc_t10dif
cdrom crct10dif_common usb_storage atkbd libps2 ahci libahci firewire_ohci
libata firewire_core crc_itu_t megaraid_sas ehci_pci uhci_hcd xhci_hcd ehci_hcd
scsi_mod usbcore usb_common i8042 serio
[ 506.224399] CPU: 0 PID: 839 Comm: qemu:Win8j Tainted: G I
3.14.4-1-ARCH #1
[ 506.224402] Hardware name: /PURE BLACK X58, BIOS 080016 11/24/2010
[ 506.224405] task: ffff8808eb5c1d70 ti: ffff8808efe12000 task.ti:
ffff8808efe12000
[ 506.224408] RIP: 0010:[<ffffffff813eea04>] [<ffffffff813eea04>]
dma_pte_clear_range+0x1e4/0x1f0
[ 506.224415] RSP: 0018:ffff8808efe13b50 EFLAGS: 00010206
[ 506.224417] RAX: 00000000000001ff RBX: ffff8808f5626100 RCX:
000000000000001b
[ 506.224420] RDX: 0000000000000040 RSI: 0000000000000000 RDI:
ffff8808f5626100
[ 506.224422] RBP: ffff8808efe13b78 R08: 0000000000000000 R09:
0000000000000001
[ 506.224425] R10: ffff88092bc174a0 R11: ffffea0023bfeb00 R12:
0000000000000001
[ 506.224428] R13: ffff8808efd018a0 R14: 0000000000000000 R15:
0000000fffffffff
[ 506.224430] FS: 00007fd9ff5fd700(0000) GS:ffff88092bc00000(0000)
knlGS:0000000000000000
[ 506.224434] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 506.224436] CR2: 00007fb420e1fd80 CR3: 000000000180c000 CR4:
00000000000007e0
[ 506.224438] Stack:
[ 506.224440] ffff8808f5626100 0000000000000001 ffff8808efd018a0
ffff8808f5626118
[ 506.224445] ffff8808f7f408e0 ffff8808efe13bd0 ffffffff813eedf8
0000000000000000
[ 506.224449] ffff8808effac8c0 ffff8808f5626118 ffff8808efe13bf8
ffff8808effabb00
[ 506.224453] Call Trace:
[ 506.224456] [<ffffffff813eedf8>] vm_domain_exit+0x1f8/0x2e0
[ 506.224460] [<ffffffff813eeefd>] intel_iommu_domain_destroy+0x1d/0x20
[ 506.224464] [<ffffffff813e2bdb>] iommu_domain_free+0x1b/0x30
[ 506.224468] [<ffffffffa1ab16c9>] vfio_iommu_type1_release+0xe9/0x11a
[vfio_iommu_type1]
[ 506.224473] [<ffffffffa1a9c67b>] __vfio_group_unset_container+0xfb/0x120
[vfio]
[ 506.224477] [<ffffffffa1a9c6c9>]
vfio_group_try_dissolve_container+0x29/0x40 [vfio]
[ 506.224481] [<ffffffffa1a9c745>] vfio_device_fops_release+0x25/0x40 [vfio]
[ 506.224485] [<ffffffff811bc50c>] __fput+0x9c/0x240
[ 506.224488] [<ffffffff811bc6fe>] ____fput+0xe/0x10
[ 506.224492] [<ffffffff8108c26c>] task_work_run+0xcc/0xe0
[ 506.224496] [<ffffffff8106d328>] do_exit+0x398/0xb10
[ 506.224501] [<ffffffff810205f6>] ? ___preempt_schedule+0x56/0xb0
[ 506.224504] [<ffffffff8106db23>] do_group_exit+0x43/0xc0
[ 506.224508] [<ffffffff8107e020>] get_signal_to_deliver+0x270/0x6e0
[ 506.224513] [<ffffffff81016557>] do_signal+0x57/0x6c0
[ 506.224516] [<ffffffff81016c28>] do_notify_resume+0x68/0xa0
[ 506.224521] [<ffffffff815179a0>] int_signal+0x12/0x17
[ 506.224523] Code: 41 89 f1 0f 1f 40 00 45 89 cc e9 46 ff ff ff 0f 0b 48 89
f0 48 d3 e8 48 85 c0 75 11 4c 89 f8 48 d3 e8 48 85 c0 0f 84 57 fe ff ff <0f> 0b
0f 0b 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 e5
[ 506.224546] RIP [<ffffffff813eea04>] dma_pte_clear_range+0x1e4/0x1f0
[ 506.224549] RSP <ffff8808efe13b50>
[ 506.224552] ---[ end trace 074d753a846ea21f ]---
--
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html