[PATCH 0/3] powerpc/module_64: Fix _mcount() stub
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Wed Apr 22 03:35:42 AEST 2020
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
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.
- Naveen
Naveen N. Rao (3):
powerpc/module_64: Consolidate ftrace code
powerpc/module_64: Simplify check for -mprofile-kernel ftrace
relocations
powerpc/module_64: Use special stub for _mcount() with
-mprofile-kernel
arch/powerpc/include/asm/module.h | 3 -
arch/powerpc/kernel/module_64.c | 281 ++++++++++++++----------------
2 files changed, 127 insertions(+), 157 deletions(-)
base-commit: a9aa21d05c33c556e48c5062b6632a9b94906570
--
2.25.1
More information about the Linuxppc-dev
mailing list