In message: [linux-yocto][linux-yocto v5.10/standard/base][PATCH 0/4] Fix ramoops/ftrace on 25/02/2022 He Zhe wrote:
> We experienced system hang when using ramoops/ftrace. > > To avoid the deadlock causing the hang, rebase the patch in the following > link onto v5.10 as 4/9. 1/9, 2/9 and 3/9 are minimum basic change > backported from mainline. > > Link: https://lkml.org/lkml/2021/6/10/868 > > The code path of ftrace function tracer and the other users of it stays > unchanged. This looks ok to me. I've merged it to v5.10/standard/base, and all of the BSP branches. I'll let it soak for a few days, and will send SRCREV bumps early next week. Bruce > > This has been tested on arm64 and intel-x86-64 hardwares and qemu. > > He Zhe (4): > ftrace: Move the recursion testing into global headers > ftrace: Add ftrace_test_recursion_trylock() helper function > pstore/ftrace: Add recursion protection to the ftrace callback > pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe > > fs/pstore/ftrace.c | 11 ++ > include/linux/ftrace.h | 1 + > include/linux/trace_recursion.h | 242 ++++++++++++++++++++++++++++++++ > kernel/trace/trace.h | 156 -------------------- > 4 files changed, 254 insertions(+), 156 deletions(-) > create mode 100644 include/linux/trace_recursion.h > > -- > 2.25.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10990): https://lists.yoctoproject.org/g/linux-yocto/message/10990 Mute This Topic: https://lists.yoctoproject.org/mt/89382551/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
