Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Sachin Sant
> On 27-Feb-2024, at 10:38 PM, Steven Rostedt wrote: > > On Tue, 27 Feb 2024 11:56:14 -0500 > Steven Rostedt wrote: > >> On Tue, 27 Feb 2024 22:08:18 +0530 >> Sachin Sant wrote: >> Can you apply this, and see if it triggers and if it does, print the line that has the max size? >>

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Steven Rostedt
On Tue, 27 Feb 2024 11:56:14 -0500 Steven Rostedt wrote: > On Tue, 27 Feb 2024 22:08:18 +0530 > Sachin Sant wrote: > > > > Can you apply this, and see if it triggers and if it does, print the line > > > that has the max size? > > > > > > > With this I see following trace > > > > [ 61.3

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Steven Rostedt
On Tue, 27 Feb 2024 22:08:18 +0530 Sachin Sant wrote: > > Can you apply this, and see if it triggers and if it does, print the line > > that has the max size? > > > > With this I see following trace > > [ 61.327138] [ cut here ] > [ 61.327159] MAX OUT OF RANGE 634

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Sachin Sant
> On 27-Feb-2024, at 9:54 PM, Steven Rostedt wrote: > > On Tue, 27 Feb 2024 21:38:57 +0530 > Sachin Sant wrote: > >> This warning was not triggered. > > Interesting. > >> >> I have attached .config > > This is what I was looking for: > >> # CONFIG_PPC_4K_PAGES is not set >> CONFIG_PPC_6

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Steven Rostedt
On Tue, 27 Feb 2024 21:38:57 +0530 Sachin Sant wrote: > This warning was not triggered. Interesting. > > I have attached .config This is what I was looking for: > # CONFIG_PPC_4K_PAGES is not set > CONFIG_PPC_64K_PAGES=y > CONFIG_PAGE_SIZE_64KB=y > CONFIG_PPC_PAGE_SHIFT=16 So the pages are

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Steven Rostedt
On Tue, 27 Feb 2024 15:06:18 +0530 Sachin Sant wrote: > 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 Thanks, that was wha

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-27 Thread Sachin Sant
>> --- interrupt: c00 >> Code: f821ff91 2f89 409e0034 7c0802a6 3c62fff0 3921 3d420177 >> 3863e310 992ad6db f8010080 4b209899 6000 <0fe0> e8010080 7c0803a6 >> 2f9f >> ---[ end trace ]— >> >> This warning is seen while running test that was added by >> followi

Re: Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-26 Thread Steven Rostedt
On Sun, 25 Feb 2024 22:01:50 +0530 Sachin Sant wrote: > While running ftrace specific kernel selftests following warning > is seen on a Power10 logical partition (LPAR) booted with > latest mainline kernel. > > [ cut here ] > precision 63492 too large > WARNING: CPU: 15 P

Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-25 Thread Sachin Sant
While running ftrace specific kernel selftests following warning is seen on a Power10 logical partition (LPAR) booted with latest mainline kernel. [ cut here ] precision 63492 too large WARNING: CPU: 15 PID: 2538829 at lib/vsprintf.c:2721 set_precision+0x68/0xa4 Modules lin