FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master commit af1fee98219992ba2c12441a447719652ed7e983 ("net: phy: Add support for Microsemi VSC 8530/40 Fast Ethernet PHY") in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G caused below changes: +-------------------------------------------------------+------------+------------+ | | 32ab0a38f0 | af1fee9821 | +-------------------------------------------------------+------------+------------+ | boot_successes | 0 | 0 | | boot_failures | 8 | 8 | | calltrace:init | 8 | 7 | | BUG:key_not_in.data | 6 | | | WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 6 | | | calltrace:vhci_hcd_init | 6 | | | invalid_opcode:#[##]PREEMPT_DEBUG_PAGEALLOC | 2 | 1 | | RIP:__brk_base | 2 | 1 | | calltrace:eth_driver_init | 2 | 7 | | Kernel_panic-not_syncing:Fatal_exception | 2 | 1 | | BUG:spinlock_trylock_failure_on_UP_on_CPU | 0 | 6 | | BUG:workqueue_lockup-pool | 0 | 1 | +-------------------------------------------------------+------------+------------+ [ 35.319526] udc dummy_udc.0: releasing 'dummy_udc.0' [ 35.320910] kobject (ffff88011b574f78): tried to init an initialized object, something is seriously wrong. [ 35.323437] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-14895-gaf1fee9 #1 [ 35.325381] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 35.327617] ffff88013a89fb88 ffffffff812cb0fe ffff88013a89fba8 ffffffff812cd41b [ 35.329817] ffff88011b574f68 ffff88011b574ed8 ffff88013a89fbc0 ffffffff8144faf5 [ 35.331831] ffff88011b574f68 ffff88013a89fbd8 ffffffff81450353 ffff88011cbad800 [ 35.333751] Call Trace: [ 35.334663] [] dump_stack+0x19/0x1b [ 35.335980] [] kobject_init+0x31/0x7f [ 35.337316] [] device_initialize+0x23/0xd2 [ 35.338931] [] device_register+0xd/0x18 [ 35.340289] [] usb_add_gadget_udc_release+0xcf/0x2cb [ 35.342138] [] usb_add_gadget_udc+0xb/0xd [ 35.343535] [] dummy_udc_probe+0x1a4/0x1e5 [ 35.345019] [] platform_drv_probe+0x23/0x4e [ 35.346517] [] driver_probe_device+0x1b7/0x40e [ 35.348388] [] __device_attach_driver+0x90/0xd0 [ 35.349979] [] ? driver_allows_async_probing+0xd/0xd [ 35.351742] [] bus_for_each_drv+0x76/0x85 [ 35.353120] [] __device_attach+0x89/0xe7 [ 35.354639] [] device_initial_probe+0xe/0x10 [ 35.356082] [] bus_probe_device+0x2e/0x99 [ 35.357471] [] device_add+0x3f4/0x4ea [ 35.358999] [] platform_device_add+0x174/0x1d4 [ 35.360477] [] init+0x26e/0x36c [ 35.361869] [] ? trace_event_define_fields_udc_log_req+0x205/0x205 [ 35.363766] [] ? set_debug_rodata+0x12/0x12 [ 35.365211] [] do_one_initcall+0x89/0x149 [ 35.366649] [] ? set_debug_rodata+0x12/0x12 [ 35.368293] [] kernel_init_freeable+0x11d/0x1a0 [ 35.369774] [] ? rest_init+0x12c/0x12c [ 35.371303] [] kernel_init+0x9/0xeb [ 35.372561] [] ret_from_fork+0x2a/0x40 [ 35.375486] userial_init: registered 4 ttyGS* devices [ 35.376616] udc dummy_udc.0: registering UDC driver [g_ether] [ 35.378200] using random self ethernet address [ 35.379189] using random host ethernet address [ 35.380273] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/ffffffff82af89c0 [ 35.382209] g_ether gadget: adding 'cdc_ethernet'/ffff88011b57fa00 to config 'CDC Ethernet (ECM)'/ffffffff82af89c0 [ 35.385445] BUG: spinlock trylock failure on UP on CPU#0, swapper/1 [ 35.386973] lock: 0xffff88011d52cd00, .magic: 00000000, .owner: /-1, .owner_cpu: -1 [ 35.389161] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-14895-gaf1fee9 #1 [ 35.390818] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 35.392828] ffff88013a89fb40 ffffffff812cb0fe ffff88013a89fb60 ffffffff810d6b77 [ 35.395074] ffff88011d52cd00 0000000000000000 ffff88013a89fb80 ffffffff810d6ba2 [ 35.396910] ffff88011d52cd00 ffffffff8248818a ffff88013a89fba8 ffffffff810d6e0b [ 35.398924] Call Trace: [ 35.399507] [] dump_stack+0x19/0x1b [ 35.400712] [] spin_dump+0x7f/0x84 [ 35.402103] [] spin_bug+0x26/0x28 [ 35.403239] [] do_raw_spin_trylock+0x5f/0x69 [ 35.404688] [] _raw_spin_lock+0x36/0x64 [ 35.405992] [] ? klist_add_tail+0x20/0x4b [ 35.407241] [] klist_add_tail+0x20/0x4b [ 35.408619] [] device_add+0x410/0x4ea [ 35.409727] [] ? __raw_spin_lock_init+0x2e/0x4c [ 35.411208] [] netdev_register_kobject+0x8f/0x12b [ 35.412672] [] register_netdevice+0x3f2/0x5e5 [ 35.414163] [] register_netdev+0x17/0x24 [ 35.415715] [] gether_register_netdev+0x30/0xf3 [ 35.417192] [] ecm_bind+0x70/0x360 [ 35.418752] [] usb_add_function+0xae/0x19f [ 35.420120] [] eth_do_config+0x10f/0x145 [ 35.421747] [] ? eth_bind+0x27f/0x27f [ 35.423037] [] usb_add_config+0x68/0x25a [ 35.424365] [] eth_bind+0x184/0x27f [ 35.425631] [] composite_bind+0x99/0x182 [ 35.427003] [] ? set_debug_rodata+0x12/0x12 [ 35.428581] [] udc_bind_to_driver+0x53/0xe8 [ 35.430029] [] usb_gadget_probe_driver+0x121/0x13b [ 35.431559] [] ? ffsmod_init+0x12/0x12 [ 35.432849] [] usb_composite_probe+0x9b/0x9d [ 35.434414] [] eth_driver_init+0x10/0x12 [ 35.435787] [] do_one_initcall+0x89/0x149 [ 35.437132] [] ? set_debug_rodata+0x12/0x12 [ 35.438774] [] kernel_init_freeable+0x11d/0x1a0 [ 35.440235] [] ? rest_init+0x12c/0x12c [ 35.441889] [] kernel_init+0x9/0xeb [ 35.443110] [] ret_from_fork+0x2a/0x40 Elapsed time: 80 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