Remote debugging using 10.0.2.2:1234 Thread 1 received signal SIGTRAP, Trace/breakpoint trap. 0xfff00100 in ?? () Note: breakpoint 1 also set at pc 0xc0067c48. Note: breakpoint 1 also set at pc 0xc0067c64. Note: breakpoint 1 also set at pc 0xc0067c40. Breakpoint 2 at 0xc0067c40: smp_core99_kick_cpu. (3 locations) Continuing. Thread 1 hit Breakpoint 1.1, 0xc0067c40 in smp_core99_kick_cpu () at ./arch/powerpc/include/asm/io.h:167 167 DEF_MMIO_OUT_D(out_8, 8, stb); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) 0xc0067c40 in smp_core99_kick_cpu () at ./arch/powerpc/include/asm/io.h:167 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () Thread 1 hit Breakpoint 1.2, smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:802 802 if (nr < 0 || nr > 3) Thread 1 hit Breakpoint 1.3, 0xc0067c64 in smp_core99_kick_cpu (nr=) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 796 static int smp_core99_kick_cpu(int nr) 0xc0067c6c in smp_core99_kick_cpu (nr=) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 796 static int smp_core99_kick_cpu(int nr) 0xc0067c80 in smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 806 ppc_md.progress("smp_core99_kick_cpu", 0x346); 808 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:811 811 save_vector = *vector; 817 patch_branch(vector, target, BRANCH_SET_LINK); patch_branch (addr=addr@entry=0xc0000100 , target=3221238480, flags=flags@entry=1) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) create_branch (instr=, addr=0xc0000100 , target=3221238480, flags=1) at ./arch/powerpc/include/asm/code-patching.h:59 59 if (! (flags & BRANCH_ABSOLUTE)) 60 offset = offset - (unsigned long)addr; 63 if (!is_offset_in_branch_range(offset)) is_offset_in_branch_range (offset=12752) at ./arch/powerpc/include/asm/code-patching.h:44 44 return (offset >= -0x2000000 && offset <= 0x1fffffc && !(offset & 0x3)); create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:409 409 return patch_mem(addr, ppc_inst_val(instr), false); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at ./arch/powerpc/include/asm/jump_label.h:35 35 asm goto("1:\n\t" patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:366 366 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:370 370 err = __do_patch_mem(addr, val, is_dword); __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:333 333 unsigned long pfn = get_patch_pfn(addr); get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:230 230 if (IS_ENABLED(CONFIG_EXECMEM) && is_vmalloc_or_module_addr(addr)) is_vmalloc_or_module_addr (x=0xc0000100 ) at mm/vmalloc.c:726 726 unsigned long addr = (unsigned long)kasan_reset_tag(x); 727 if (addr >= MODULES_VADDR && addr < MODULES_END) 730 return is_vmalloc_addr(x); 0xc038166c in is_vmalloc_addr (x=) at mm/vmalloc.c:83 83 return addr >= VMALLOC_START && addr < VMALLOC_END; get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:233 233 return __pa_symbol(addr) >> PAGE_SHIFT; __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); __patch_mem (exec_addr=0xc0000100 , val=1207972305, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); 233 return __pa_symbol(addr) >> PAGE_SHIFT; __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); __patch_mem (exec_addr=0xc0000100 , val=2102412198, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); Thread 1 received signal SIGTRAP, Trace/breakpoint trap. 0x00000900 in ?? () Continuing. Thread 2 received signal SIGINT, Interrupt. [Switching to Thread 1.2] nmi_stop_this_cpu (regs=) at arch/powerpc/kernel/smp.c:653 653 while (1) Remote connection closed Remote debugging using 10.0.2.2:1234 Thread 1 received signal SIGTRAP, Trace/breakpoint trap. 0xfff00100 in ?? () Note: breakpoints 1 and 2 also set at pc 0xc0067c48. Note: breakpoints 1 and 2 also set at pc 0xc0067c64. Note: breakpoints 1 and 2 also set at pc 0xc0067c40. Breakpoint 3 at 0xc0067c40: smp_core99_kick_cpu. (3 locations) Continuing. Thread 1 hit Breakpoint 1.1, 0xc0067c40 in smp_core99_kick_cpu () at ./arch/powerpc/include/asm/io.h:167 167 DEF_MMIO_OUT_D(out_8, 8, stb); Thread 1 hit Breakpoint 1.2, smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:802 802 if (nr < 0 || nr > 3) Thread 1 hit Breakpoint 1.3, 0xc0067c64 in smp_core99_kick_cpu (nr=) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 796 static int smp_core99_kick_cpu(int nr) 0xc0067c6c in smp_core99_kick_cpu (nr=) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 796 static int smp_core99_kick_cpu(int nr) 0xc0067c80 in smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:805 805 if (ppc_md.progress) 806 ppc_md.progress("smp_core99_kick_cpu", 0x346); 808 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:811 811 save_vector = *vector; 817 patch_branch(vector, target, BRANCH_SET_LINK); patch_branch (addr=addr@entry=0xc0000100 , target=3221238480, flags=flags@entry=1) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) create_branch (instr=, addr=0xc0000100 , target=3221238480, flags=1) at ./arch/powerpc/include/asm/code-patching.h:59 59 if (! (flags & BRANCH_ABSOLUTE)) 60 offset = offset - (unsigned long)addr; 63 if (!is_offset_in_branch_range(offset)) is_offset_in_branch_range (offset=12752) at ./arch/powerpc/include/asm/code-patching.h:44 44 return (offset >= -0x2000000 && offset <= 0x1fffffc && !(offset & 0x3)); create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:409 409 return patch_mem(addr, ppc_inst_val(instr), false); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at ./arch/powerpc/include/asm/jump_label.h:35 35 asm goto("1:\n\t" patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:366 366 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:370 370 err = __do_patch_mem(addr, val, is_dword); __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:333 333 unsigned long pfn = get_patch_pfn(addr); get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:230 230 if (IS_ENABLED(CONFIG_EXECMEM) && is_vmalloc_or_module_addr(addr)) is_vmalloc_or_module_addr (x=0xc0000100 ) at mm/vmalloc.c:726 726 unsigned long addr = (unsigned long)kasan_reset_tag(x); 727 if (addr >= MODULES_VADDR && addr < MODULES_END) 730 return is_vmalloc_addr(x); Undefined command: "ss". Try "help". 0xc038166c in is_vmalloc_addr (x=) at mm/vmalloc.c:83 83 return addr >= VMALLOC_START && addr < VMALLOC_END; get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:233 233 return __pa_symbol(addr) >> PAGE_SHIFT; __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); __patch_mem (exec_addr=0xc0000100 , val=1207972305, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); 233 return __pa_symbol(addr) >> PAGE_SHIFT; __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); __patch_mem (exec_addr=0xc0000100 , val=2102412198, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); Thread 1 received signal SIGTRAP, Trace/breakpoint trap. 0x00000900 in ?? () Continuing. Thread 2 received signal SIGINT, Interrupt. [Switching to Thread 1.2] system_call_exception (regs=0xf3c19f40, r0=3) at arch/powerpc/kernel/syscall.c:121 121 if (unlikely(read_thread_flags() & _TIF_SYSCALL_DOTRACE)) { Id Target Id Frame 1 Thread 1.1 (CPU#0 [running]) read_ti_thread_flags (ti=0xc4e43de0) at ./include/linux/thread_info.h:127 * 2 Thread 1.2 (CPU#1 [running]) system_call_exception (regs=0xf3c19f40, r0=3) at arch/powerpc/kernel/syscall.c:121 Warning: 'set logging off', an alias for the command 'set logging enabled', is deprecated. Use 'set logging enabled off'. 805 if (ppc_md.progress) 806 ppc_md.progress("smp_core99_kick_cpu", 0x346); 808 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); smp_core99_kick_cpu (nr=1) at arch/powerpc/platforms/powermac/smp.c:811 811 save_vector = *vector; 817 patch_branch(vector, target, BRANCH_SET_LINK); patch_branch (addr=addr@entry=0xc0000100 , target=3221238480, flags=flags@entry=1) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) patch_branch (addr=addr@entry=0xc0000100 , target=3221238480, flags=flags@entry=1) at arch/powerpc/lib/code-patching.c:582 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:582 582 if (create_branch(&instr, addr, target, flags)) create_branch (instr=, addr=0xc0000100 , target=3221238480, flags=1) at ./arch/powerpc/include/asm/code-patching.h:59 59 if (! (flags & BRANCH_ABSOLUTE)) 60 offset = offset - (unsigned long)addr; 63 if (!is_offset_in_branch_range(offset)) is_offset_in_branch_range (offset=12752) at ./arch/powerpc/include/asm/code-patching.h:44 44 return (offset >= -0x2000000 && offset <= 0x1fffffc && !(offset & 0x3)); create_branch (instr=, addr=, target=, flags=) at arch/powerpc/lib/code-patching.c:409 409 return patch_mem(addr, ppc_inst_val(instr), false); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at ./arch/powerpc/include/asm/jump_label.h:35 35 asm goto("1:\n\t" patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:366 366 local_irq_save(flags); arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:435 435 unsigned long flags = arch_local_save_flags(); arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 422 return mfmsr(); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) arch_local_save_flags () at ./arch/powerpc/include/asm/hw_irq.h:422 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () arch_local_irq_save () at ./arch/powerpc/include/asm/hw_irq.h:442 442 mtmsr(flags & ~MSR_EE); patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:370 370 err = __do_patch_mem(addr, val, is_dword); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) patch_mem (addr=addr@entry=0xc0000100 , val=1207972305, is_dword=false) at arch/powerpc/lib/code-patching.c:370 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:333 333 unsigned long pfn = get_patch_pfn(addr); get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:230 230 if (IS_ENABLED(CONFIG_EXECMEM) && is_vmalloc_or_module_addr(addr)) is_vmalloc_or_module_addr (x=0xc0000100 ) at mm/vmalloc.c:726 726 unsigned long addr = (unsigned long)kasan_reset_tag(x); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) is_vmalloc_or_module_addr (x=0xc0000100 ) at mm/vmalloc.c:726 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () 727 if (addr >= MODULES_VADDR && addr < MODULES_END) 730 return is_vmalloc_addr(x); 0xc03815ec in is_vmalloc_addr (x=) at mm/vmalloc.c:83 83 return addr >= VMALLOC_START && addr < VMALLOC_END; get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:233 233 return __pa_symbol(addr) >> PAGE_SHIFT; Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) get_patch_pfn (addr=0xc0000100 ) at arch/powerpc/lib/code-patching.c:233 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:339 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:339 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) __do_patch_mem (is_dword=false, addr=0xc0000100 , val=1207972305) at arch/powerpc/lib/code-patching.c:344 2 Thread 1.2 (CPU#1 [halted ]) 0xfff00100 in ?? () __patch_mem (exec_addr=0xc0000100 , val=1207972305, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); 233 return __pa_symbol(addr) >> PAGE_SHIFT; __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:335 335 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); 0xc004f150 in pfn_pte (pfn=, pgprot=...) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:448 448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) pfn_pte (pfn=, pgprot=...) at arch/powerpc/lib/code-patching.c:336 2 Thread 1.2 (CPU#1 [running]) 0x0001f90c in ?? () 339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); __set_pte_at (mm=, addr=4043309056, ptep=0xc182b000, pte=1429, percpu=0) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:540 540 static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, __set_pte_at (addr=, mm=, percpu=0, ptep=0xc182b000, pte=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:554 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:264 264 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) { mmu_has_feature (feature=1) at ./arch/powerpc/include/asm/mmu.h:260 260 return static_branch_likely(&mmu_feature_keys[i]); arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 20 asm goto("1:\n\t" Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) arch_static_branch (key=, branch=true) at ./arch/powerpc/include/asm/jump_label.h:20 2 Thread 1.2 (CPU#1 [running]) 0xc0023094 in start_secondary () at arch/powerpc/kernel/smp.c:1318 pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 267 asm volatile( Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) pte_update (mm=, clr=4294967293, huge=0, addr=, p=0xc182b000, set=1429) at ./arch/powerpc/include/asm/book3s/32/pgtable.h:267 2 Thread 1.2 (CPU#1 [running]) 0xc0023094 in start_secondary () at arch/powerpc/kernel/smp.c:1318 __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:344 344 err = __patch_mem(addr, val, patch_addr, is_dword); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) __do_patch_mem (is_dword=false, addr=0xc0000100 , val=2102412198) at arch/powerpc/lib/code-patching.c:344 2 Thread 1.2 (CPU#1 [running]) 0xc004e978 in setup_kuap () __patch_mem (exec_addr=0xc0000100 , val=2102412198, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 29 __put_kernel_nofault(patch_addr, &val32, u32, failed); Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) __patch_mem (exec_addr=0xc0000100 , val=2102412198, patch_addr=0xf1000100, is_dword=false) at arch/powerpc/lib/code-patching.c:29 2 Thread 1.2 (CPU#1 [running]) 0xc004e978 in setup_kuap () Thread 1 received signal SIGTRAP, Trace/breakpoint trap. memcpy () at arch/powerpc/lib/copy_32.S:197 197 mtctr r0 Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) memcpy () at arch/powerpc/lib/copy_32.S:197 2 Thread 1.2 (CPU#1 [running]) 0xc004f120 in get_patch_pfn (addr=0xc0035278 ) at arch/powerpc/lib/code-patching.c:231 198 beq 58f 199 72: lwzu r9,4(r4) /* do some words */ 200 stwu r9,4(r6) 201 bdnz 72b 199 72: lwzu r9,4(r4) /* do some words */ 200 stwu r9,4(r6) 201 bdnz 72b 199 72: lwzu r9,4(r4) /* do some words */ 200 stwu r9,4(r6) 201 bdnz 72b 199 72: lwzu r9,4(r4) /* do some words */ Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) memcpy () at arch/powerpc/lib/copy_32.S:199 2 Thread 1.2 (CPU#1 [running]) 0x00000300 in ?? () 200 stwu r9,4(r6) 201 bdnz 72b 199 72: lwzu r9,4(r4) /* do some words */ 200 stwu r9,4(r6) 201 bdnz 72b 203 58: srwi. r0,r5,LG_CACHELINE_BYTES /* # complete cachelines */ 204 clrlwi r5,r5,32-LG_CACHELINE_BYTES 205 li r11,4 206 mtctr r0 207 beq 63f 209 dcbz r11,r6 210 COPY_16_BYTES 212 COPY_16_BYTES 224 bdnz 53b 226 63: srwi. r0,r5,2 227 mtctr r0 228 beq 64f 229 30: lwzu r0,4(r4) 230 stwu r0,4(r6) 231 bdnz 30b 229 30: lwzu r0,4(r4) 230 stwu r0,4(r6) 231 bdnz 30b 229 30: lwzu r0,4(r4) Id Target Id Frame * 1 Thread 1.1 (CPU#0 [running]) memcpy () at arch/powerpc/lib/copy_32.S:229 2 Thread 1.2 (CPU#1 [running]) 0xc004e7b0 in hash.flush_range () Warning: 'set logging off', an alias for the command 'set logging enabled', is deprecated. Use 'set logging enabled off'.