Description of problem: There is a panic when booting latest 6.6 branch on yitian [ 18.050321] Hardware name: AlibabaCloud AS1212MG1/SR2R0022, BIOS 1.2.M1.AL.D.137.00 12/01/2022 [ 18.058919] Stopper: multi_cpu_stop+0x0/0x418 <- stop_cpus.constprop.0+0xac/0x120 [ 18.066392] Call trace: [ 18.068827] dump_backtrace+0x9c/0x120 [ 18.072565] show_stack+0x1c/0x40 [ 18.075869] dump_stack_lvl+0xb4/0x110 [ 18.079607] dump_stack+0x18/0x20 [ 18.082911] __might_resched+0x310/0x550 [ 18.086824] __might_sleep+0xa8/0x188 [ 18.090476] prepare_alloc_pages+0x348/0x4a8 [ 18.094737] __alloc_pages+0x12c/0x7e0 [ 18.098474] alloc_pages+0x14c/0x230 [ 18.102039] __get_free_pages+0x18/0x48 [ 18.105864] __pgd_pgtable_alloc+0x24/0xa8 [ 18.109950] pgd_pgtable_alloc+0x28/0x2b8 [ 18.113948] split_pud_mapping+0x130/0x3a0 [ 18.118033] split_linear_mapping+0x114/0x218 [ 18.122379] __split_linear_mapping_after_init+0x158/0x1f8 [ 18.127853] multi_cpu_stop+0x18c/0x418 [ 18.131678] cpu_stopper_thread+0x210/0x488 [ 18.135850] smpboot_thread_fn+0x5d8/0xab8 [ 18.139935] kthread+0x2b8/0x348 [ 18.143152] ret_from_fork+0x10/0x20 Version-Release number of selected component (if applicable): 6.6.52 How reproducible: always Steps to Reproduce: 1.build the kernel on 6.6-devel branch 2.boot 3.panic Actual results: panic Expected results: no panic Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4052
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4053
seems not sufficient to me, This code patch should be fixed,right? pagetable_pte_ctor ->ptlock_init ->ptlock_alloc
(In reply to justinhe from comment #3) > seems not sufficient to me, > This code patch should be fixed,right? > pagetable_pte_ctor > ->ptlock_init > ->ptlock_alloc I mean besides Bai's PR, this code path should also be fixed
raise the priority to major since without the fix, the server will be panicked always during booting