Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
mips: fix dynamic ftrace #1024
The kernel patch *-mips_module_reloc.patch breaks dynamic ftrace as
Here is the oops on boot:
As far as I can see the addresses of the ftrace return and caller addresses get corrupted.
The relevant part of mips ftrace for this bug is as follows:
@nbd168 As you have written the patch do you think this is the right approach?