Greeting, FYI, we noticed the following commit (built with gcc-7): commit: e5a6f186afc353e4462a28b4bf127e872e0716b2 ("[PATCH v3 70/75] x86/head/64: Setup TSS early for secondary CPUs") url: https://github.com/0day-ci/linux/commits/Joerg-Roedel/x86-SEV-ES-Guest-Support/20200429-044743 in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-------------------------------+------------+------------+ | | 8d9d92d58d | e5a6f186af | +-------------------------------+------------+------------+ | boot_successes | 4 | 0 | | boot_failures | 0 | 4 | | BUG:kernel_hang_in_boot_stage | 0 | 4 | +-------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot needed_size: 0x0000000002400000 trampoline_32bit: 0x000000000009d000 Decompressing Linux... Parsing ELF... done. Booting the kernel. BUG: kernel hang in boot stage Linux version 5.7.0-rc2-00092-ge5a6f186afc353 #1 Command line: ip=::::vm-snb-ssd-16::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-snb-ssd-16/boot-1-yocto-x86_64-minimal-20190520.cgz-e5a6f186afc353e4462a28b4bf127e872e0716b2-20200507-6867-rkmir2-3.yaml ARCH=x86_64 kconfig=x86_64-lkp branch=linux-devel/devel-hourly-2020050609 commit=e5a6f186afc353e4462a28b4bf127e872e0716b2 BOOT_IMAGE=/pkg/linux/x86_64-lkp/gcc-7/e5a6f186afc353e4462a28b4bf127e872e0716b2/vmlinuz-5.7.0-rc2-00092-ge5a6f186afc353 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-snb-ssd/yocto-x86_64-minimal-20190520.cgz/x86_64-lkp/gcc-7/e5a6f186afc353e4462a28b4bf127e872e0716b2/3 LKP_SERVER=inn selinux=0 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 watchdog_thresh=60 Elapsed time: 420 To reproduce: # build kernel cd linux cp config-5.7.0-rc2-00092-ge5a6f186afc353 .config make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, lkp