Hello, kernel test robot noticed "BUG:kernel_hang_in_boot_stage" on: commit: 931bc7f7debcbd7470fa92361f58e5f9dbe57cb0 ("[PATCH 3/3] PCI/sysfs: Fix sysfs init race condition") url: https://github.com/intel-lab-lkp/linux/commits/Alexander-Stein/PCI-sysfs-sort-headers-alphabetically/20230427-223059 base: https://git.kernel.org/cgit/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/all/20230427142901.3570536-4-alexander.stein@ew.tq-group.com/ patch subject: [PATCH 3/3] PCI/sysfs: Fix sysfs init race condition in testcase: boot compiler: gcc-11 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) +-------------------------------+------------+------------+ | | cbc7787301 | 931bc7f7de | +-------------------------------+------------+------------+ | boot_successes | 20 | 0 | | boot_failures | 0 | 18 | | BUG:kernel_hang_in_boot_stage | 0 | 18 | +-------------------------------+------------+------------+ If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-lkp/202304291030.4bd687ba-oliver.sang@intel.com [ 1.377768][ T1] pci 0000:00:03.0: quirk_igfx_skip_te_disable+0x0/0xb0 took 0 usecs [ 1.381714][ T1] pci 0000:00:04.0: [8086:25ab] type 00 class 0x088000 [ 1.384180][ T1] pci 0000:00:04.0: reg 0x10: [mem 0xfebf1000-0xfebf100f] [ 1.390202][ T1] pci 0000:00:04.0: calling quirk_igfx_skip_te_disable+0x0/0xb0 @ 1 [ 1.391825][ T1] pci 0000:00:04.0: quirk_igfx_skip_te_disable+0x0/0xb0 took 0 usecs BUG: kernel hang in boot stage Kboot worker: lkp-worker07 Elapsed time: 1020 kvm=( To reproduce: # build kernel cd linux cp config-6.3.0-rc1-00075-g931bc7f7debc .config make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests