[Thu Nov 10 15:34:19 2022] ------------[ cut here ]------------ [Thu Nov 10 15:34:19 2022] WARNING: CPU: 0 PID: 0 at arch/riscv/kernel/patch.c:63 patch_insn_write+0x28e/0x390 [Thu Nov 10 15:34:19 2022] Modules linked in: [Thu Nov 10 15:34:19 2022] CPU: 0 PID: 0 Comm: swapper Not tainted 6.1.0-rc4+ #1 [Thu Nov 10 15:34:19 2022] Hardware name: SiFive HiFive Unmatched A00 (DT) [Thu Nov 10 15:34:19 2022] epc : patch_insn_write+0x28e/0x390 [Thu Nov 10 15:34:19 2022] ra : patch_insn_write+0x28a/0x390 [Thu Nov 10 15:34:19 2022] epc : ffffffff80007626 ra : ffffffff80007622 sp : ffffffff81a03da0 [Thu Nov 10 15:34:19 2022] gp : ffffffff81c7c330 tp : ffffffff81a27340 t0 : 0000000000000000 [Thu Nov 10 15:34:19 2022] t1 : 0000000000000008 t2 : 4c45203a76637369 s0 : ffffffff81a03df0 [Thu Nov 10 15:34:19 2022] s1 : ffffffff810820e0 a0 : 0000000000000000 a1 : 0000000000000000 [Thu Nov 10 15:34:19 2022] a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000 [Thu Nov 10 15:34:19 2022] a5 : 0000000000000000 a6 : 0000ffff81200258 a7 : 0000ffff812002d0 [Thu Nov 10 15:34:19 2022] s2 : ffffffff81200258 s3 : 0000000000000008 s4 : 0000000000000258 [Thu Nov 10 15:34:19 2022] s5 : ffffffff812002d0 s6 : 0000000000000260 s7 : ffffffff8108265c [Thu Nov 10 15:34:19 2022] s8 : 0000000000000489 s9 : 0000000000000001 s10: 0000000000000001 [Thu Nov 10 15:34:19 2022] s11: 000000000000000b t3 : 000000ff81200258 t4 : 00000000812002d0 [Thu Nov 10 15:34:19 2022] t5 : 0000000000000000 t6 : 0000000000000000 [Thu Nov 10 15:34:19 2022] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003 [Thu Nov 10 15:34:19 2022] [] patch_text_nosync+0x10/0x40 [Thu Nov 10 15:34:19 2022] [] sifive_errata_patch_func+0x296/0x328 [Thu Nov 10 15:34:19 2022] [] _apply_alternatives+0xbc/0xd8 [Thu Nov 10 15:34:19 2022] [] apply_boot_alternatives+0x3a/0x4a [Thu Nov 10 15:34:19 2022] [] setup_arch+0x65a/0x684 [Thu Nov 10 15:34:19 2022] [] start_kernel+0xbc/0xb6a [Thu Nov 10 15:34:19 2022] irq event stamp: 0 [Thu Nov 10 15:34:19 2022] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [Thu Nov 10 15:34:19 2022] hardirqs last disabled at (0): [<0000000000000000>] 0x0 [Thu Nov 10 15:34:19 2022] softirqs last enabled at (0): [<0000000000000000>] 0x0 [Thu Nov 10 15:34:19 2022] softirqs last disabled at (0): [<0000000000000000>] 0x0 [Thu Nov 10 15:34:19 2022] ---[ end trace 0000000000000000 ]---