FYI, we noticed the following commit: commit: 601b26a867a514b6d43e85a6b0dad937a41feed6 ("irqdomain: Avoid activating interrupts more than once") url: https://github.com/0day-ci/linux/commits/Marc-Zyngier/irqdomain-Avoid-activating-interrupts-more-than-once/20170118-033226 in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 320M caused kernel hang after below dmesg (please refer to attached dmesg/kmsg for entire log/backtrace): +-------------------------------+------------+------------+ | | 4b19a9e20b | 601b26a867 | +-------------------------------+------------+------------+ | boot_successes | 8 | 0 | | boot_failures | 0 | 12 | | BUG:kernel_hang_in_boot_stage | 0 | 12 | +-------------------------------+------------+------------+ [ 0.244010] apic 0 pin 16 not connected [ 0.244905] apic 0 pin 17 not connected [ 0.245795] apic 0 pin 18 not connected [ 0.246713] apic 0 pin 19 not connected [ 0.247609] apic 0 pin 20 not connected [ 0.248496] apic 0 pin 21 not connected [ 0.249381] apic 0 pin 22 not connected [ 0.250294] apic 0 pin 23 not connected [ 0.251333] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.252428] Using local APIC timer interrupts. [ 0.252428] calibrating APIC timer ... ---------------- [kernel hang] ------------- To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong