From: Ludwig Rydberg <ludwig.rydberg@gaisler.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org,
mathieu.desnoyers@efficios.com,
Andreas Larsson <andreas@gaisler.com>
Subject: Re: [BUG] spinlock recursion when enabling function tracer on 32-bit
Date: Fri, 20 Dec 2024 14:55:27 +0100 [thread overview]
Message-ID: <2d634c54-d8d9-4f33-bfda-9236b6a2ea06@gaisler.com> (raw)
In-Reply-To: <20241218163526.2569917f@gandalf.local.home>
On 2024-12-18 22:35, Steven Rostedt wrote:
>
> Can you test this patch?
>
I have tested the patch on both riscv32 (qemu) & sparc32 (leon) and it seems
to be working fine.
But I can mention that I ran into a deadlock situation on sparc32.
I had to remove CC_FLAGS_FTRACE for the code that is responsible for
flushing TLBs (SMP). It uses an NMI to signal other CPUs which triggered
the deadlock if tracing was enabled on that path.
Best regards,
// Ludwig
next prev parent reply other threads:[~2024-12-20 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 14:57 [BUG] spinlock recursion when enabling function tracer on 32-bit Ludwig Rydberg
2024-12-18 16:01 ` Steven Rostedt
2024-12-18 21:05 ` Ludwig Rydberg
2024-12-18 21:35 ` Steven Rostedt
2024-12-20 13:55 ` Ludwig Rydberg [this message]
2024-12-20 15:05 ` Steven Rostedt
2024-12-21 0:06 ` Ludwig Rydberg
2025-01-20 14:41 ` Ludwig Rydberg
2025-01-20 22:37 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d634c54-d8d9-4f33-bfda-9236b6a2ea06@gaisler.com \
--to=ludwig.rydberg@gaisler.com \
--cc=andreas@gaisler.com \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.