LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Sant <sachinp@linux.ibm.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests
Date: Tue, 27 Feb 2024 15:06:18 +0530	[thread overview]
Message-ID: <129D90CC-6DEB-4953-8061-EAA89F1ED514@linux.ibm.com> (raw)
In-Reply-To: <20240226122208.344447f1@gandalf.local.home>

>> --- interrupt: c00
>> Code: f821ff91 2f890000 409e0034 7c0802a6 3c62fff0 39200001 3d420177 3863e310 992ad6db f8010080 4b209899 60000000 <0fe00000> e8010080 7c0803a6 2f9f0000 
>> ---[ end trace 0000000000000000 ]—
>> 
>> This warning is seen while running test that was added by
>> following commit:
>> 
>> commit 3bf7009251f0f41cdd0188ab7b3879df81810703
>>     tracing/selftests: Add test to test the trace_marker
> 
> This adds the user space selftest that triggered this warning, but it is
> not the cause of it. Could you run this test against kernel builds before
> this commit. Does this test cause this to trigger on older versions of the
> kernel?
> 

Running the mentioned test against an older kernel does not trigger this
warning.

# uname -r
6.7.0
#
#  ./ftracetest test.d/00basic/trace_marker.tc
=== Ftrace unit tests ===
[1] Basic tests on writing to trace_marker [PASS]
[2] (instance)  Basic tests on writing to trace_marker [PASS]


# of passed:  2
# of failed:  0
# of unresolved:  0
# of untested:  0
# of unsupported:  0
# of xfailed:  0
# of undefined(test bug):  0
#

I used this setup to again run bisect between 6.7.0 and 6.8-rc1.
Bisect points to following patch 

commit 8ec90be7f15fac42992ea821be929d3b06cd0fd9
    tracing: Allow for max buffer data size trace_marker writes


— Sachin



  reply	other threads:[~2024-02-27 13:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-25 16:31 Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests Sachin Sant
2024-02-26 17:22 ` Steven Rostedt
2024-02-27  9:36   ` Sachin Sant [this message]
2024-02-27 14:18     ` Steven Rostedt
2024-02-27 16:08       ` Sachin Sant
2024-02-27 16:24         ` Steven Rostedt
2024-02-27 16:38           ` Sachin Sant
2024-02-27 16:56             ` Steven Rostedt
2024-02-27 17:08               ` Steven Rostedt
2024-02-27 17:36                 ` Sachin Sant

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=129D90CC-6DEB-4953-8061-EAA89F1ED514@linux.ibm.com \
    --to=sachinp@linux.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox