https://bugzilla.kernel.org/show_bug.cgi?id=81841 Bug ID: 81841 Summary: amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge Product: Virtualization Version: unspecified Kernel Version: 3.13 (Ubuntu: 3.13.0-32-generic) Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: marti@xxxxxxxxx Regression: No I have a Windows XP virtual machine in libvirt and I'm trying to use PCI passthrough to provide access to a legacy Dialogic ISDN card (0000:00:05.0). Since it's an old PCI device, there's also a PCIe-to-PCI bridge (0000:00:14.4). With some manual tinkering, the virtual machine starts up and passthrough works fine, but when I stop or shut down the virtual machine, I immediately get an oops in dmesg and after some time passes, the whole machine freezes. I'm using the ASRock FM2A88X Extreme6+ motherboard, tried with the latest BIOS version 2.90 as well as beta version L3.16. AMD A10-7850K processor. The same symptoms have also been reported before: * 3.2.0: http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/85138 * 3.0.6: https://www.mail-archive.com/kvm@xxxxxxxxxxxxxxx/msg64854.html * 2.6.37-rc6: http://marc.info/?l=kvm&m=129867567106942 - slightly different traceback In order for the VM to successfully start up, I need to run the following commands manually, to bind the PCI bridge to pci-stub and then unbind: modprobe pci-stub echo '1022 780f' > /sys/bus/pci/drivers/pci-stub/new_id echo 0000:00:14.4 > /sys/bus/pci/drivers/pci-stub/bind echo 0000:00:14.4 > /sys/bus/pci/drivers/pci-stub/unbind echo '1022 780f' > /sys/bus/pci/drivers/pci-stub/remove_id (If I don't do this, I get the kernel message: pci-stub 0000:01:05.0: kvm assign device failed ret -16) lspci -vt -[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Device 1422 +-00.2 Advanced Micro Devices, Inc. [AMD] Device 1423 +-01.0 Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 200 Series] +-01.1 Advanced Micro Devices, Inc. [AMD/ATI] Device 1308 +-02.0 Advanced Micro Devices, Inc. [AMD] Device 1424 +-03.0 Advanced Micro Devices, Inc. [AMD] Device 1424 +-04.0 Advanced Micro Devices, Inc. [AMD] Device 1424 +-10.0 Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller +-10.1 Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller +-11.0 Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] +-12.0 Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller +-12.2 Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller +-13.0 Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller +-13.2 Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller +-14.0 Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller +-14.1 Advanced Micro Devices, Inc. [AMD] FCH IDE Controller +-14.2 Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller +-14.3 Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge +-14.4-[01]----05.0 Dialogic Corporation PRI +-14.5 Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller +-15.0-[02]-- +-15.2-[03]----00.0 ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller +-15.3-[04]----00.0 Qualcomm Atheros QCA8171 Gigabit Ethernet +-18.0 Advanced Micro Devices, Inc. [AMD] Device 141a +-18.1 Advanced Micro Devices, Inc. [AMD] Device 141b +-18.2 Advanced Micro Devices, Inc. [AMD] Device 141c +-18.3 Advanced Micro Devices, Inc. [AMD] Device 141d +-18.4 Advanced Micro Devices, Inc. [AMD] Device 141e \-18.5 Advanced Micro Devices, Inc. [AMD] Device 141f After shutting down, I get lots of oops messages; these are captured via netconsole. [ 1949.942276] ------------[ cut here ]------------ [ 1949.942311] kernel BUG at /build/buildd/linux-3.13.0/drivers/iommu/amd_iommu.c:2382! [ 1949.942342] invalid opcode: 0000 [#1] SMP [ 1949.942359] Modules linked in: pci_stub ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables nct6775 hwmon_vid snd_hda_codec_realtek netconsole kvm_amd snd_timer drm_kms_helper snd drm soundcore mac_hid i2c_algo_bit[ 1949.942716] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 1949.942745] task: ffff8804284497f0 ti: ffff8800361a2000 task.ti: ffff8800361a2000 [ 1949.942767] RIP: 0010:[<ffffffff815eec8d>] [<ffffffff815eec8d>] __detach_device+0xad/0xb0 [ 1949.942798] RSP: 0018:ffff8800361a3d00 EFLAGS: 00010046 [ 1949.942814] RAX: 0000000000000000 RBX: ffff880427210660 RCX: ffff8800361a3cb0 [ 1949.942834] RDX: dead000000100100 RSI: 0000000000000086 RDI: ffff880427210660 [ 1949.942855] RBP: ffff8800361a3d20 R08: 0000000000000046 R09: ffff8804299b5240 [ 1949.942875] R10: ffff88043ebf2f60 R11: 000ffffffffff000 R12: 0000000000000000 [ 1949.942895] R13: ffff880428596e10 R14: ffff880036019a80 R15: ffff880427210660 [ 1949.942916] FS: 00007fca76222980(0000) GS:ffff88043ec00000(0000) knlGS:0000000000000000 [ 1949.942939] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1949.942956] CR2: 00007fca65bc5e74 CR3: 0000000001c0e000 CR4: 00000000000407f0 [ 1949.942978] DR0: 0000000000000003 DR1: 00000000000000b0 DR2: 0000000000000001 [ 1949.942998] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 1949.943018] Stack: [ 1949.943025] dead000000100100 ffff880428596e00 ffff880428596e10 ffff880036019a80 [ 1949.943055] ffff8800361a3d60 ffffffff815eed2e 0000000000000202 ffff880036019a80 [ 1949.943082] ffff880036019a80 ffff880427cb0008 ffff88042752a300 ffff880424f3ad48 [ 1949.943110] Call Trace: [ 1949.943123] [<ffffffff815eed2e>] amd_iommu_domain_destroy+0x9e/0x160 [ 1949.943144] [<ffffffff815eb3bb>] iommu_domain_free+0x1b/0x30 [ 1949.943176] [<ffffffffa044fa63>] kvm_iommu_unmap_guest+0x53/0x60 [kvm] [ 1949.943205] [<ffffffffa0460299>] kvm_arch_destroy_vm+0x39/0x1f0 [kvm] [ 1949.943227] [<ffffffff810c696d>] ? synchronize_srcu+0x1d/0x20 [ 1949.943250] [<ffffffffa04486ee>] kvm_put_kvm+0x10e/0x1c0 [kvm] [ 1949.943273] [<ffffffffa04487d8>] kvm_vcpu_release+0x18/0x20 [kvm] [ 1949.943293] [<ffffffff811be6d4>] __fput+0xe4/0x260 [ 1949.943309] [<ffffffff811be89e>] ____fput+0xe/0x10 [ 1949.943326] [<ffffffff81088174>] task_work_run+0xc4/0xe0 [ 1949.943344] [<ffffffff81069c18>] do_exit+0x2b8/0xa50 [ 1949.943362] [<ffffffff8109a7f0>] ? wake_up_state+0x10/0x20 [ 1949.943380] [<ffffffff81077b5e>] ? signal_wake_up_state+0x1e/0x30 [ 1949.943400] [<ffffffff81078ed2>] ? zap_other_threads+0x82/0xa0 [ 1949.943418] [<ffffffff8106a42f>] do_group_exit+0x3f/0xa0 [ 1949.943435] [<ffffffff8106a4a4>] SyS_exit_group+0x14/0x20 [ 1949.943455] [<ffffffff8172c87f>] tracesys+0xe1/0xe6 [ 1949.943470] Code: fe ff ff eb b8 66 0f 1f 84 00 00 00 00 00 48 8b 35 39 f4 9d 00 49 39 f4 [ 1949.947837] ---[ end trace e6893b1ed79451c3 ]--- [ 1949.947853] Fixing recursive fault but reboot is needed! [ 1950.189137] usb 10-1: reset high-speed USB device number 2 using xhci_hcd [ 1950.240587] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804249eee00 [ 1950.240666] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804249eee40 [ 2045.294007] ------------[ cut here ]------------ [ 2045.294067] WARNING: CPU: 3 PID: 1083 at /build/buildd/linux-3.13.0/kernel/watchdog.c:245 watchdog_overflow_callback+0x9c/0xd0() [ 2045.294142] Watchdog detected hard LOCKUP on cpu 3 [ 2045.294176] Modules linked in: pci_stub ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables nct6775 hwmon_vid snd_hda_codec_realtek netconsole kvm_amd kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd configfs serio_raw edac_core edac_mce_amd k10temp snd_hda_codec_hdmi radeon snd_hda_intel snd_hda_codec snd_hwdep video snd_pcm ttm snd_page_alloc i2c_piix4 snd_timer drm_kms_helper snd drm soundcore mac_hid i2c_algo_bit lp parport usb_storage pata_acpi hid_generic usbhid hid alx psmouse mdio ahci pata_atiixp libahci [ 2045.299884] CPU: 3 PID: 1083 Comm: irqbalance Tainted: G D 3.13.0-32-generic #57-Ubuntu [ 2045.302472] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 2045.305088] 0000000000000009 ffff88043ed86c38 ffffffff8171bcb4 ffff88043ed86c80 [ 2045.307720] ffff88043ed86c70 ffffffff810676cd ffff8804295c4000 0000000000000000 [ 2045.310342] ffff88043ed86d88 0000000000000000 ffff88043ed86ef8 ffff88043ed86cd0 [ 2045.312921] Call Trace: [ 2045.315411] <NMI> [<ffffffff8171bcb4>] dump_stack+0x45/0x56 [ 2045.317892] [<ffffffff810676cd>] warn_slowpath_common+0x7d/0xa0 [ 2045.320309] [<ffffffff8106773c>] warn_slowpath_fmt+0x4c/0x50 [ 2045.322665] [<ffffffff8110d590>] ? restart_watchdog_hrtimer+0x50/0x50 [ 2045.324974] [<ffffffff8110d62c>] watchdog_overflow_callback+0x9c/0xd0 [ 2045.327255] [<ffffffff81144dae>] __perf_event_overflow+0x8e/0x240 [ 2045.329506] [<ffffffff811458c4>] perf_event_overflow+0x14/0x20 [ 2045.331741] [<ffffffff81029414>] x86_pmu_handle_irq+0x144/0x190 [ 2045.333961] [<ffffffff81725b2b>] perf_event_nmi_handler+0x2b/0x50 [ 2045.336168] [<ffffffff81725348>] nmi_handle.isra.3+0x88/0x180 [ 2045.338374] [<ffffffff81725510>] do_nmi+0xd0/0x340 [ 2045.340574] [<ffffffff817247b1>] end_repeat_nmi+0x1e/0x2e [ 2045.342771] [<ffffffff815f0450>] ? compose_msi_msg+0x90/0x90 [ 2045.344967] [<ffffffff8136e9eb>] ? __write_lock_failed+0xb/0x20 [ 2045.347144] [<ffffffff8136e9eb>] ? __write_lock_failed+0xb/0x20 [ 2045.349290] [<ffffffff8136e9eb>] ? __write_lock_failed+0xb/0x20 [ 2045.351409] <<EOE>> [<ffffffff81723bb8>] _raw_write_lock_irqsave+0x28/0x30 [ 2045.353560] [<ffffffff815efddc>] get_irq_table+0x2c/0x370 [ 2045.355714] [<ffffffff8115c95e>] ? lru_cache_add+0xe/0x10 [ 2045.357852] [<ffffffff81183638>] ? page_add_new_anon_rmap+0xd8/0x170 [ 2045.359983] [<ffffffff815f04a8>] set_affinity+0x58/0x180 [ 2045.362109] [<ffffffff815f9e75>] set_remapped_irq_affinity+0x25/0x40 [ 2045.364238] [<ffffffff810c084c>] irq_do_set_affinity+0x1c/0x70 [ 2045.366350] [<ffffffff810c0a38>] irq_set_affinity_locked+0xb8/0xf0 [ 2045.368454] [<ffffffff810c0ab6>] __irq_set_affinity+0x46/0x70 [ 2045.370563] [<ffffffff810c51f5>] write_irq_affinity.isra.6+0xd5/0x100 [ 2045.372663] [<ffffffff810c5259>] irq_affinity_proc_write+0x19/0x20 [ 2045.374763] [<ffffffff81222c4d>] proc_reg_write+0x3d/0x80 [ 2045.376854] [<ffffffff811bcb64>] vfs_write+0xb4/0x1f0 [ 2045.378941] [<ffffffff811bd599>] SyS_write+0x49/0xa0 [ 2045.381020] [<ffffffff8172c87f>] tracesys+0xe1/0xe6 [ 2045.383092] ---[ end trace e6893b1ed79451c4 ]--- [ 2045.385173] perf samples too long (712292 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 [ 2045.387310] INFO: NMI handler (perf_event_nmi_handler) took too long to run: 93.305 msecs [ 2060.824098] INFO: rcu_sched detected stalls on CPUs/tasks: { 3} (detected by 1, t=15002 jiffies, g=5056, c=5055, q=0) [ 2060.826366] sending NMI to all CPUs: [ 2060.828573] NMI backtrace for cpu 1 [ 2060.828577] perf samples too long (706733 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 [ 2060.833588] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D W 3.13.0-32-generic #57-Ubuntu [ 2060.836158] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 2060.838776] task: ffff8804295147d0 ti: ffff880429520000 task.ti: ffff880429520000 [ 2060.841361] RIP: 0010:[<ffffffff8136d5c2>] [<ffffffff8136d5c2>] __const_udelay+0x12/0x30 [ 2060.843929] RSP: 0018:ffff88043ec83df0 EFLAGS: 00000046 [ 2060.846469] RAX: 0000000001062560 RBX: 0000000000002710 RCX: 0000000000000004 [ 2060.849029] RDX: 0000000000e16bb4 RSI: 0000000000000100 RDI: 0000000000418958 [ 2060.851586] RBP: ffff88043ec83e08 R08: 0000000000000082 R09: 00000000000004ba [ 2060.854135] R10: ffff880036b8a000 R11: 00000003937e3000 R12: ffffffff81c4e1c0 [ 2060.856674] R13: ffffffff81d137a0 R14: ffffffff81c4e1c0 R15: 0000000000000001 [ 2060.859194] FS: 00007f8d6a2ac840(0000) GS:ffff88043ec80000(0000) knlGS:0000000000000000 [ 2060.861752] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2060.864281] CR2: 00007f43403ce000 CR3: 0000000424883000 CR4: 00000000000407e0 [ 2060.866791] Stack: [ 2060.869242] ffff88043ec83e08 ffffffff81044c7f ffff88043ec8e800 ffff88043ec83e60 [ 2060.871711] ffffffff810cac21 ffffffff81c4e1c0 ffffffff00000003 0000000000000000 [ 2060.874122] 0000000000000001 ffff8804295147d0 0000000000000000 0000000000000001 [ 2060.876470] Call Trace: [ 2060.878724] <IRQ> [ 2060.878744] [<ffffffff81044c7f>] ? arch_trigger_all_cpu_backtrace+0x8f/0xb0 [ 2060.883075] [<ffffffff810cac21>] rcu_check_callbacks+0x631/0x650 [ 2060.885203] [<ffffffff81076227>] update_process_times+0x47/0x70 [ 2060.887296] [<ffffffff810d5cf5>] tick_sched_handle.isra.17+0x25/0x60 [ 2060.889379] [<ffffffff810d5d71>] tick_sched_timer+0x41/0x60 [ 2060.891449] [<ffffffff8108e5e7>] __run_hrtimer+0x77/0x1d0 [ 2060.893499] [<ffffffff810d5d30>] ? tick_sched_handle.isra.17+0x60/0x60 [ 2060.895553] [<ffffffff8108edaf>] hrtimer_interrupt+0xef/0x230 [ 2060.897596] [<ffffffff81043097>] local_apic_timer_interrupt+0x37/0x60 [ 2060.899655] [<ffffffff8172ea3f>] smp_apic_timer_interrupt+0x3f/0x60 [ 2060.901714] [<ffffffff8172d3dd>] apic_timer_interrupt+0x6d/0x80 [ 2060.903768] <EOI> [ 2060.903787] [<ffffffff815ceaff>] ? cpuidle_enter_state+0x4f/0xc0 [ 2060.907889] [<ffffffff815cec29>] cpuidle_idle_call+0xb9/0x1f0 [ 2060.909958] [<ffffffff8101cebe>] arch_cpu_idle+0xe/0x30 [ 2060.912022] [<ffffffff810bec65>] cpu_startup_entry+0xc5/0x290 [ 2060.914089] [<ffffffff81040fd8>] start_secondary+0x218/0x2c0 [ 2060.916154] Code: 89 e5 ff 15 b9 07 92 00 5d c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 8d 04 bd 00 00 00 00 65 48 8b 14 25 60 8d 0c 12 48 c1 e2 06 48 89 e5 48 29 ca f7 e2 48 8d 7a 01 ff [ 2060.920807] NMI backtrace for cpu 2 [ 2060.923013] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D W 3.13.0-32-generic #57-Ubuntu [ 2060.925257] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 2060.927566] task: ffff880429515fc0 ti: ffff880429522000 task.ti: ffff880429522000 [ 2060.929877] RIP: 0010:[<ffffffff8141666e>] [<ffffffff8141666e>] acpi_idle_do_entry+0x21/0x2b [ 2060.932215] RSP: 0018:ffff880429523e28 EFLAGS: 00000093 [ 2060.934532] RAX: 000001dfd2d31300 RBX: ffff8804297548a8 RCX: 000000000000c710 [ 2060.936878] RDX: 0000000000001771 RSI: ffff88043ed00000 RDI: ffff8804297548a8 [ 2060.939233] RBP: ffff880429523e28 R08: ffff88043ed112d4 R09: 0000000000000018 [ 2060.941591] R10: 0000000000052971 R11: 000000000005f98e R12: ffff880429754800 [ 2060.943958] R13: 0000000000000002 R14: 0000000000000002 R15: ffffffff81c96ea8 [ 2060.946314] FS: 00007f43403bf880(0000) GS:ffff88043ed00000(0000) knlGS:0000000000000000 [ 2060.948692] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2060.951083] CR2: 00007fe029130f64 CR3: 00000004263d9000 CR4: 00000000000407e0 [ 2060.953495] Stack: [ 2060.955883] ffff880429523e50 ffffffff814166f3 ffff880424c28000 ffffffff81c96de0 [ 2060.958357] 000001e034cff146 ffff880429523e88 ffffffff815ceaf0 ffff880429523f38 [ 2060.960854] ffff880424c28000 0000000000000002 0000000000000002 ffffffff81c96de0 [ 2060.963368] Call Trace: [ 2060.965849] [<ffffffff814166f3>] acpi_idle_enter_simple+0x7b/0x99 [ 2060.968336] [<ffffffff815ceaf0>] cpuidle_enter_state+0x40/0xc0 [ 2060.970793] [<ffffffff815cec29>] cpuidle_idle_call+0xb9/0x1f0 [ 2060.973208] [<ffffffff8101cebe>] arch_cpu_idle+0xe/0x30 [ 2060.975582] [<ffffffff810bec65>] cpu_startup_entry+0xc5/0x290 [ 2060.977965] [<ffffffff81040fd8>] start_secondary+0x218/0x2c0 [ 2060.980317] Code: ff fa 66 66 90 66 66 90 5d c3 8a 47 08 55 48 89 e5 3c 01 75 07 e8 b3 94 c2 ff eb 17 3c 02 75 07 e8 ba ff ff ff eb 0c 8b 57 04 ec <48> 8b 15 cf a7 ba 00 ed 5d c3 66 66 66 66 90 55 48 63 c2 48 8d [ 2060.985600] NMI backtrace for cpu 0 [ 2060.985606] INFO: NMI handler (arch_trigger_all_cpu_backtrace_handler) took too long to run: 157.026 msecs [ 2060.989906] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D W 3.13.0-32-generic #57-Ubuntu [ 2060.992076] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 2060.994272] task: ffffffff81c15480 ti: ffffffff81c00000 task.ti: ffffffff81c00000 [ 2060.996487] RIP: 0010:[<ffffffff8141666e>] [<ffffffff8141666e>] acpi_idle_do_entry+0x21/0x2b [ 2060.998740] RSP: 0018:ffffffff81c01e38 EFLAGS: 00000093 [ 2061.000974] RAX: 000001dfca387700 RBX: ffff8804297540a8 RCX: 000000000000c710 [ 2061.003228] RDX: 0000000000001771 RSI: ffff88043ec00000 RDI: ffff8804297540a8 [ 2061.005471] RBP: ffffffff81c01e38 R08: ffff88043ec112d0 R09: 0000000000000018 [ 2061.007703] R10: 0000000000030cfc R11: 00000000000ce668 R12: ffff880429754000 [ 2061.009933] R13: 0000000000000002 R14: 0000000000000002 R15: ffffffff81c96ea8 [ 2061.012148] FS: 00007f6bd1547740(0000) GS:ffff88043ec00000(0000) knlGS:0000000000000000 [ 2061.014369] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2061.016586] CR2: 00007f43403ce000 CR3: 0000000426388000 CR4: 00000000000407f0 [ 2061.018821] DR0: 0000000000000003 DR1: 00000000000000b0 DR2: 0000000000000001 [ 2061.021040] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 2061.023264] Stack: [ 2061.025459] ffffffff81c01e60 ffffffff814166f3 ffff880425310200 ffffffff81c96de0 [ 2061.027719] 000001e02c3342df ffffffff81c01e98 ffffffff815ceaf0 ffffffffffffffff [ 2061.029977] ffff880425310200 0000000000000002 0000000000000000 ffffffff81c96de0 [ 2061.032246] Call Trace: [ 2061.034488] [<ffffffff814166f3>] acpi_idle_enter_simple+0x7b/0x99 [ 2061.036763] [<ffffffff815ceaf0>] cpuidle_enter_state+0x40/0xc0 [ 2061.039035] [<ffffffff815cec29>] cpuidle_idle_call+0xb9/0x1f0 [ 2061.041301] [<ffffffff8101cebe>] arch_cpu_idle+0xe/0x30 [ 2061.043556] [<ffffffff810bec65>] cpu_startup_entry+0xc5/0x290 [ 2061.045812] [<ffffffff8170a187>] rest_init+0x77/0x80 [ 2061.048062] [<ffffffff81d35f70>] start_kernel+0x438/0x443 [ 2061.050303] [<ffffffff81d35941>] ? repair_env_string+0x5c/0x5c [ 2061.052543] [<ffffffff81d35120>] ? early_idt_handlers+0x120/0x120 [ 2061.054782] [<ffffffff81d355ee>] x86_64_start_reservations+0x2a/0x2c [ 2061.057023] [<ffffffff81d35733>] x86_64_start_kernel+0x143/0x152 [ 2061.059256] Code: ff fa 66 66 90 66 66 90 5d c3 8a 47 08 55 48 89 e5 3c 01 75 07 e8 b3 94 c2 ff eb 17 3c 02 75 07 e8 ba ff ff ff eb 0c 8b 57 <48> 8b 15 cf a7 ba 00 ed 5d c3 66 66 66 66 90 55 48 63 c2 48 8d [ 2061.064162] NMI backtrace for cpu 3 [ 2061.064167] INFO: NMI handler (arch_trigger_all_cpu_backtrace_handler) took too long to run: 235.588 msecs [ 2061.068651] CPU: 3 PID: 1083 Comm: irqbalance Tainted: G D W 3.13.0-32-generic #57-Ubuntu [ 2061.070912] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X Extreme6+, BIOS L3.16 04/16/2014 [ 2061.073181] task: ffff880427595fc0 ti: ffff88042772a000 task.ti: ffff88042772a000 [ 2061.075433] RIP: 0010:[<ffffffff8136e9ed>] [<ffffffff8136e9ed>] __write_lock_failed+0xd/0x20 [ 2061.077704] RSP: 0018:ffff88042772bd30 EFLAGS: 00000087 [ 2061.079944] RAX: 0000000000000086 RBX: ffff8804295ecc60 RCX: ffffffff815f0450 [ 2061.082193] RDX: 0000000000000086 RSI: 0000000000000000 RDI: ffffffff81cd6cf0 [ 2061.084434] RBP: ffff88042772bd30 R08: 0000000000000286 R09: 0000000000000004 [ 2061.086675] R10: 000000000000000e R11: 0000000000000001 R12: 0000000000000080 [ 2061.088903] R13: 0000000000000080 R14: 00000000ffffffea R15: 0000000000000000 [ 2061.091127] FS: 00007f6340128780(0000) GS:ffff88043ed80000(0000) knlGS:0000000000000000 [ 2061.093353] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2061.095565] CR2: 00007f634012d000 CR3: 00000004284d2000 CR4: 00000000000407e0 [ 2061.097784] Stack: [ 2061.099975] ffff88042772bd40 ffffffff81723bb8 ffff88042772bda8 ffffffff815efddc [ 2061.102216] ffff88042772bd60 ffffffff8115c95e ffff88042772bd88 ffffffff81183638 [ 2061.104441] 00007f634012d000 ffff880428b4a968 ffff8804295ecc60 ffff88042772be88 [ 2061.106657] Call Trace: [ 2061.108834] [<ffffffff81723bb8>] _raw_write_lock_irqsave+0x28/0x30 [ 2061.111030] [<ffffffff815efddc>] get_irq_table+0x2c/0x370 [ 2061.113224] [<ffffffff8115c95e>] ? lru_cache_add+0xe/0x10 [ 2061.115420] [<ffffffff81183638>] ? page_add_new_anon_rmap+0xd8/0x170 [ 2061.117621] [<ffffffff815f04a8>] set_affinity+0x58/0x180 [ 2061.119821] [<ffffffff815f9e75>] set_remapped_irq_affinity+0x25/0x40 [ 2061.122027] [<ffffffff810c084c>] irq_do_set_affinity+0x1c/0x70 [ 2061.124187] [<ffffffff810c0a38>] irq_set_affinity_locked+0xb8/0xf0 [ 2061.126295] [<ffffffff810c0ab6>] __irq_set_affinity+0x46/0x70 [ 2061.128396] [<ffffffff810c51f5>] write_irq_affinity.isra.6+0xd5/0x100 [ 2061.130475] [<ffffffff810c5259>] irq_affinity_proc_write+0x19/0x20 [ 2061.132527] [<ffffffff81222c4d>] proc_reg_write+0x3d/0x80 [ 2061.134549] [<ffffffff811bcb64>] vfs_write+0xb4/0x1f0 [ 2061.136535] [<ffffffff811bd599>] SyS_write+0x49/0xa0 [ 2061.138492] [<ffffffff8172c87f>] tracesys+0xe1/0xe6 [ 2061.140423] Code: 01 31 c0 66 66 90 c3 b8 f2 ff ff ff 66 66 90 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 f0 81 07 f3 90 <81> 3f 00 00 10 00 75 f6 f0 81 2f 00 00 10 00 75 e6 5d c3 55 48 [ 2061.144744] INFO: NMI handler (arch_trigger_all_cpu_backtrace_handler) took too long to run: 316.161 msecs [ 2067.038359] perf samples too long (701229 > 10000), lowering kernel.perf_event_max_sample_rate to 12500 [ 2088.782705] perf samples too long (695767 > 20000), lowering kernel.perf_event_max_sample_rate to 6250 [ 2110.527053] perf samples too long (690349 > 40000), lowering kernel.perf_event_max_sample_rate to 3250 [ 2132.271401] perf samples too long (684971 > 76923), lowering kernel.perf_event_max_sample_rate to 1750 [ 2154.015748] perf samples too long (679634 > 142857), lowering kernel.perf_event_max_sample_rate to 1000 -- 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html