Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> writes: > I found that this is not enough becuase s390/loongarch already implemented > their rethook, and as far as I can see, the s390 ftrace_regs does not save > the required registers for rethook. Thus, for such architecture, we need > another kconfig flag and keep using the pt_regs for rethook. Looking into arch_rethook_trampoline() i think we save all required registers - which register do you think are missing? Or is there another function i should look at?