FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git debugfs_automount commit db2242aa4d4ffd5a3b8b27cd99766f33e6445f59 ("debugfs: kill __create_file()") +------------------------------------------+------------+------------+ | | 190afd81e4 | db2242aa4d | +------------------------------------------+------------+------------+ | boot_successes | 20 | 0 | | early-boot-hang | 1 | | | boot_failures | 0 | 10 | | kernel_BUG_at_fs/debugfs/inode.c | 0 | 10 | | invalid_opcode | 0 | 10 | | RIP:debugfs_create_file | 0 | 10 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 10 | | backtrace:regulator_init | 0 | 10 | | backtrace:kernel_init_freeable | 0 | 10 | +------------------------------------------+------------+------------+ [ 1.234536] atomic64_test: passed for x86-64 platform with CX8 and with SSE [ 1.235948] ------------[ cut here ]------------ [ 1.235948] ------------[ cut here ]------------ [ 1.236666] kernel BUG at fs/debugfs/inode.c:319! [ 1.236666] kernel BUG at fs/debugfs/inode.c:319! [ 1.236666] invalid opcode: 0000 [#1] [ 1.236666] invalid opcode: 0000 [#1] DEBUG_PAGEALLOCDEBUG_PAGEALLOC [ 1.236666] CPU: 0 PID: 1 Comm: swapper Not tainted 3.19.0-rc5-00101-g2e2fd81 #35 [ 1.236666] CPU: 0 PID: 1 Comm: swapper Not tainted 3.19.0-rc5-00101-g2e2fd81 #35 [ 1.236666] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.236666] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.236666] task: ffff8800134ca000 ti: ffff8800134cc000 task.ti: ffff8800134cc000 [ 1.236666] task: ffff8800134ca000 ti: ffff8800134cc000 task.ti: ffff8800134cc000 [ 1.236666] RIP: 0010:[] [ 1.236666] RIP: 0010:[] [] debugfs_create_file+0x26/0x120 [] debugfs_create_file+0x26/0x120 [ 1.236666] RSP: 0000:ffff8800134cfe58 EFLAGS: 00010203 [ 1.236666] RSP: 0000:ffff8800134cfe58 EFLAGS: 00010203 [ 1.236666] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 1.236666] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 1.236666] RDX: ffff880013531000 RSI: 0000000000000124 RDI: ffffffff81c41562 [ 1.236666] RDX: ffff880013531000 RSI: 0000000000000124 RDI: ffffffff81c41562 [ 1.236666] RBP: ffff8800134cfe78 R08: ffffffff81845200 R09: 0000000000000000 [ 1.236666] RBP: ffff8800134cfe78 R08: ffffffff81845200 R09: 0000000000000000 [ 1.236666] R10: ffff8800134cfde8 R11: 0000000000000009 R12: 0000000000000124 [ 1.236666] R10: ffff8800134cfde8 R11: 0000000000000009 R12: 0000000000000124 [ 1.236666] R13: 0000000000000000 R14: ffffffff821bb910 R15: 0000000000000000 [ 1.236666] R13: 0000000000000000 R14: ffffffff821bb910 R15: 0000000000000000 [ 1.236666] FS: 0000000000000000(0000) GS:ffffffff81cfd000(0000) knlGS:0000000000000000 [ 1.236666] FS: 0000000000000000(0000) GS:ffffffff81cfd000(0000) knlGS:0000000000000000 [ 1.236666] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 1.236666] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 1.236666] CR2: 00000000ffffffff CR3: 0000000001cda000 CR4: 00000000000006b0 [ 1.236666] CR2: 00000000ffffffff CR3: 0000000001cda000 CR4: 00000000000006b0 [ 1.236666] Stack: [ 1.236666] Stack: [ 1.236666] 0000000000000000 [ 1.236666] 0000000000000000 ffffffff8214edaa ffffffff8214edaa 0000000000000000 0000000000000000 ffffffff821bb910 ffffffff821bb910 [ 1.236666] ffff8800134cfe98 [ 1.236666] ffff8800134cfe98 ffffffff8214ee2f ffffffff8214ee2f ffff8800134ca6d0 ffff8800134ca6d0 ffff880013532470 ffff880013532470 [ 1.236666] ffff8800134cff08 [ 1.236666] ffff8800134cff08 ffffffff8210f79d ffffffff8210f79d 0000000000001100 0000000000001100 0000000000000078 0000000000000078 [ 1.236666] Call Trace: [ 1.236666] Call Trace: [ 1.236666] [] ? ftrace_define_fields_regulator_basic+0x3b/0x3b [ 1.236666] [] ? ftrace_define_fields_regulator_basic+0x3b/0x3b [ 1.236666] [] regulator_init+0x85/0x9e [ 1.236666] [] regulator_init+0x85/0x9e [ 1.236666] [] do_one_initcall+0x18e/0x262 [ 1.236666] [] do_one_initcall+0x18e/0x262 [ 1.236666] [] kernel_init_freeable+0x1ce/0x2c4 [ 1.236666] [] kernel_init_freeable+0x1ce/0x2c4 [ 1.236666] [] ? rest_init+0x155/0x155 [ 1.236666] [] ? rest_init+0x155/0x155 [ 1.236666] [] kernel_init+0x15/0x16e [ 1.236666] [] kernel_init+0x15/0x16e [ 1.236666] [] ret_from_fork+0x7a/0xb0 [ 1.236666] [] ret_from_fork+0x7a/0xb0 [ 1.236666] [] ? rest_init+0x155/0x155 [ 1.236666] [] ? rest_init+0x155/0x155 [ 1.236666] Code: [ 1.236666] Code: 5c 5c 41 41 5d 5d 5d 5d c3 c3 66 66 66 66 66 66 66 66 90 90 89 89 f0 f0 55 55 66 66 25 25 00 00 f0 f0 66 66 3d 3d 00 00 80 80 48 48 89 89 e5 e5 41 41 56 56 41 41 55 55 41 41 54 54 41 41 89 89 f4 f4 53 53 74 74 10 10 48 48 ff ff 05 05 72 72 d9 d9 b3 b3 01 01 <0f> <0f> 0b 0b 48 48 ff ff 05 05 79 79 d9 d9 b3 b3 01 01 48 48 89 89 d6 d6 48 48 ff ff 05 05 67 67 d9 d9 b3 b3 01 01 49 49 89 89 [ 1.236666] RIP [ 1.236666] RIP [] debugfs_create_file+0x26/0x120 [] debugfs_create_file+0x26/0x120 [ 1.236666] RSP [ 1.236666] RSP [ 1.236675] ---[ end trace 9d055054b093e3d6 ]--- [ 1.236675] ---[ end trace 9d055054b093e3d6 ]--- Thanks, Huang, Ying