On Tue, 21 Apr 2020 23:05:42 +0530, Naveen N. Rao wrote:
This series addresses the crash reported by Qian Cai on ppc64le with
-mprofile-kernel here:
https://lore.kernel.org/r/15AC5B0E-A221-4B8C-9039-FA96B8EF7C88@lca.pw (local)
While fixing patch_instruction() should address the crash, we should
still change the default stub we setup for _mcount() for cases where a
kernel is built without ftrace.
[...]
Applied to powerpc/next.
[1/3] powerpc/module_64: Consolidate ftrace code
https://git.kernel.org/powerpc/c/03b51416e876aea5e7638947e50831b6c988c246
[2/3] powerpc/module_64: Simplify check for -mprofile-kernel ftrace relocations
https://git.kernel.org/powerpc/c/1f2aaed2db03150428dbcd2ddee02ae6cb4bac52
[3/3] powerpc/module_64: Use special stub for _mcount() with -mprofile-kernel
https://git.kernel.org/powerpc/c/bd55e792de0844631d34487d43eaf3f13294ebfe
cheers