lr is printed with %pS which will try to find an entry in kallsyms. After enabling pointer authentication, this match will fail due to PAC present in the lr. Strip PAC from the lr to display the correct symbol name.
Unified · Split
| @@ -262,7 +262,7 @@ void __show_regs(struct pt_regs *regs) · 261 unmodified lines | |||
| 262 | 262 | ||
| 263 | if (!user_mode(regs)) { | 263 | if (!user_mode(regs)) { |
| 264 | printk("pc : %pS\n", (void *)regs->pc); | 264 | printk("pc : %pS\n", (void *)regs->pc); |
| 265 | printk("lr : %pS\n", (void *)lr); | 265 | printk("lr : %pS\n", (void *)ptrauth_strip_insn_pac(lr)); |
| 266 | } else { | 266 | } else { |
| 267 | printk("pc : %016llx\n", regs->pc); | 267 | printk("pc : %016llx\n", regs->pc); |
| 268 | printk("lr : %016llx\n", lr); | 268 | printk("lr : %016llx\n", lr); |