linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: clkdev: report over-sized strings when creating clkdev entries
       [not found] <CA+G9fYuZd_ur56H8fwDSvUywopvn_b7ogprGkjEatQ7EPTLwYQ@mail.gmail.com>
@ 2024-05-07  7:44 ` Arnd Bergmann
  2024-05-07 20:26   ` Stephen Boyd
  0 siblings, 1 reply; 12+ messages in thread
From: Arnd Bergmann @ 2024-05-07  7:44 UTC (permalink / raw)
  To: Naresh Kamboju, open list, linux-clk, Linux ARM, lkft-triage
  Cc: Russell King, Anders Roxell, Dan Carpenter, Michael Turquette

On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> The WinLink E850-96 board boot failed with Linux next-20240506 but there
> is no kernel crash log on the serial [1].
>
> Anders bisection results pointing to this commit,
> # first bad commit:
>   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
>   clkdev: report over-sized strings when creating clkdev entrie
>
> After reverting the above patch the boot test passed [2].
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> Links:
> [1] - https://lkft.validation.linaro.org/scheduler/job/7546260
> [2] - https://lkft.validation.linaro.org/scheduler/job/7548064

I assume this is an actual overflow that was previously ignored
and is now causing vclkdev_alloc() to fail. Unfortunately this
happens before the console is up, so there is no output. Can
you run the broken version again with 'earlycon' added to the
boot arguments?

      Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07  7:44 ` clkdev: report over-sized strings when creating clkdev entries Arnd Bergmann
@ 2024-05-07 20:26   ` Stephen Boyd
  2024-05-07 20:52     ` Arnd Bergmann
                       ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Stephen Boyd @ 2024-05-07 20:26 UTC (permalink / raw)
  To: Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list
  Cc: Russell King, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

Quoting Arnd Bergmann (2024-05-07 00:44:15)
> On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > is no kernel crash log on the serial [1].
> >
> > Anders bisection results pointing to this commit,
> > # first bad commit:
> >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> >   clkdev: report over-sized strings when creating clkdev entrie
> >
> > After reverting the above patch the boot test passed [2].
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >

There are two fixes on the list: [1] and [2]. Perhaps one of those
resolves this?

[1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
[2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@samsung.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07 20:26   ` Stephen Boyd
@ 2024-05-07 20:52     ` Arnd Bergmann
  2024-05-07 21:55       ` Stephen Boyd
  2024-05-08  4:06     ` Anders Roxell
                       ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Arnd Bergmann @ 2024-05-07 20:52 UTC (permalink / raw)
  To: Stephen Boyd, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list
  Cc: Russell King, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

On Tue, May 7, 2024, at 22:26, Stephen Boyd wrote:
> Quoting Arnd Bergmann (2024-05-07 00:44:15)
>> On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
>> > The WinLink E850-96 board boot failed with Linux next-20240506 but there
>> > is no kernel crash log on the serial [1].
>> >
>> > Anders bisection results pointing to this commit,
>> > # first bad commit:
>> >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
>> >   clkdev: report over-sized strings when creating clkdev entrie
>> >
>> > After reverting the above patch the boot test passed [2].
>> >
>> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>> >
>
> There are two fixes on the list: [1] and [2]. Perhaps one of those
> resolves this?
>
> [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
> [2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@samsung.com

My guess is that either one avoids the crash, but we actually
want both of them since the problem is a combination of the two
issues.

I think we also need this one on top, to have a va_end() for
each return() statement:

--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -193,6 +193,7 @@ vclkdev_alloc(struct clk_hw *hw, const char *con_id, const char *dev_fmt,
                cla->cl.dev_id = cla->dev_id;
        }
 
+       va_end(ap_copy);
        return &cla->cl;
 
 fail:


      Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07 20:52     ` Arnd Bergmann
@ 2024-05-07 21:55       ` Stephen Boyd
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Boyd @ 2024-05-07 21:55 UTC (permalink / raw)
  To: Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list
  Cc: Russell King, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

Quoting Arnd Bergmann (2024-05-07 13:52:59)
> On Tue, May 7, 2024, at 22:26, Stephen Boyd wrote:
> > Quoting Arnd Bergmann (2024-05-07 00:44:15)
> >> On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> >> > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> >> > is no kernel crash log on the serial [1].
> >> >
> >> > Anders bisection results pointing to this commit,
> >> > # first bad commit:
> >> >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> >> >   clkdev: report over-sized strings when creating clkdev entrie
> >> >
> >> > After reverting the above patch the boot test passed [2].
> >> >
> >> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >> >
> >
> > There are two fixes on the list: [1] and [2]. Perhaps one of those
> > resolves this?
> >
> > [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
> > [2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@samsung.com
> 
> My guess is that either one avoids the crash, but we actually
> want both of them since the problem is a combination of the two
> issues.
> 
> I think we also need this one on top, to have a va_end() for
> each return() statement:

Makes sense. Hopefully Russell can fold that fix in as well, or you can
send it to the patch tracker.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07 20:26   ` Stephen Boyd
  2024-05-07 20:52     ` Arnd Bergmann
@ 2024-05-08  4:06     ` Anders Roxell
  2024-05-08 21:07     ` Sam Protsenko
  2024-05-15 20:52     ` Russell King (Oracle)
  3 siblings, 0 replies; 12+ messages in thread
From: Anders Roxell @ 2024-05-08  4:06 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list, Russell King, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

On Tue, 7 May 2024 at 22:26, Stephen Boyd <sboyd@kernel.org> wrote:
>
> Quoting Arnd Bergmann (2024-05-07 00:44:15)
> > On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > > is no kernel crash log on the serial [1].
> > >
> > > Anders bisection results pointing to this commit,
> > > # first bad commit:
> > >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> > >   clkdev: report over-sized strings when creating clkdev entrie
> > >
> > > After reverting the above patch the boot test passed [2].
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > >
>
> There are two fixes on the list: [1] and [2]. Perhaps one of those
> resolves this?

I applied patch [2] ontop of next-20240506 was helpful and the e850-96
board booted.

Cheers,
Anders

>
> [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
> [2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@samsung.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07 20:26   ` Stephen Boyd
  2024-05-07 20:52     ` Arnd Bergmann
  2024-05-08  4:06     ` Anders Roxell
@ 2024-05-08 21:07     ` Sam Protsenko
  2024-05-08 22:29       ` Russell King (Oracle)
  2024-05-15 20:52     ` Russell King (Oracle)
  3 siblings, 1 reply; 12+ messages in thread
From: Sam Protsenko @ 2024-05-08 21:07 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list, Russell King, Anders Roxell, Dan Carpenter,
	Michael Turquette, Marek Szyprowski

On Tue, May 7, 2024 at 3:26 PM Stephen Boyd <sboyd@kernel.org> wrote:
>
> Quoting Arnd Bergmann (2024-05-07 00:44:15)
> > On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > > is no kernel crash log on the serial [1].
> > >
> > > Anders bisection results pointing to this commit,
> > > # first bad commit:
> > >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> > >   clkdev: report over-sized strings when creating clkdev entrie
> > >
> > > After reverting the above patch the boot test passed [2].
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > >
>
> There are two fixes on the list: [1] and [2]. Perhaps one of those
> resolves this?
>
> [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
> [2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@samsung.com
>

Late to the party, but FWIW here is my two cents. E850-96 board
crashes on boot when running next-20240508. Enabling earlycon reveals
the details. Here is the relevant excerpt from the backtrace:

8<-------------------------------------------------------------------->8
    Unable to handle kernel NULL pointer dereference
    at virtual address 0000000000000000

    Call trace:
     vsnprintf+0x64/0x724
     ...
     _printk+0x60/0x84
     vclkdev_alloc+0x118/0x13c
     clkdev_hw_create+0x64/0x9c
     do_clk_register_clkdev+0x58/0x7c
     clk_hw_register_clkdev+0x30/0x54
     samsung_clk_register_fixed_rate+0xac/0x104
     samsung_cmu_register_clocks+0x78/0xb0
     samsung_cmu_register_one+0x48/0xa4
     exynos_arm64_register_cmu+0x3c/0x70
     exynos850_cmu_probe+0x2c/0x40
     ...
8<-------------------------------------------------------------------->8

'addr2line' points at the end of vclkdev_alloc():

    pr_err("%pV:%s: %s ID is greater than %zu\n",
           &fmt, con_id, failure, max_size);

Applying the forementioned patch [2] ("clkdev: fix potential NULL
pointer dereference") fixes the boot for me.

I can also observe a couple of warnings like these in the kernel log:

    samsung_clk_register_fixed_rate: failed to register clock lookup
for clk_rco_i3c_pmic
    samsung_clk_register_fixed_rate: failed to register clock lookup
for clk_rco_apm__alv
    ...

The patch [1] ("clk: samsung: Don't register clkdev lookup for the
fixed rate clocks") fixes those. I think both have to be applied ASAP.
In case of E850-96, I guess [1] is more critical.

Thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-08 21:07     ` Sam Protsenko
@ 2024-05-08 22:29       ` Russell King (Oracle)
  0 siblings, 0 replies; 12+ messages in thread
From: Russell King (Oracle) @ 2024-05-08 22:29 UTC (permalink / raw)
  To: Sam Protsenko
  Cc: Stephen Boyd, Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk,
	lkft-triage, open list, Anders Roxell, Dan Carpenter,
	Michael Turquette, Marek Szyprowski

On Wed, May 08, 2024 at 04:07:57PM -0500, Sam Protsenko wrote:
> The patch [1] ("clk: samsung: Don't register clkdev lookup for the
> fixed rate clocks") fixes those. I think both have to be applied ASAP.
> In case of E850-96, I guess [1] is more critical.

The fixes to clkdev.c have been pushed out for a while now, so I think
you may need to update your tree. There's been one more fix to it more
recently (because of the whole va_copy() debacle).

Whether linux-next picks up the latest version depends when they pull
in relation to me pushing the changes out, which can take 48 hours
due to the timezone differences. linux-next tends not to pick stuff
up quickly if one's in the UK and pushes stuff out in the late
afternoon/evening. That said, the NULL fix has been pushed out for
a few days now.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-07 20:26   ` Stephen Boyd
                       ` (2 preceding siblings ...)
  2024-05-08 21:07     ` Sam Protsenko
@ 2024-05-15 20:52     ` Russell King (Oracle)
  2024-05-16 10:27       ` Naresh Kamboju
  3 siblings, 1 reply; 12+ messages in thread
From: Russell King (Oracle) @ 2024-05-15 20:52 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Arnd Bergmann, Linux ARM, Naresh Kamboju, linux-clk, lkft-triage,
	open list, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

On Tue, May 07, 2024 at 01:26:17PM -0700, Stephen Boyd wrote:
> Quoting Arnd Bergmann (2024-05-07 00:44:15)
> > On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > > is no kernel crash log on the serial [1].
> > >
> > > Anders bisection results pointing to this commit,
> > > # first bad commit:
> > >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> > >   clkdev: report over-sized strings when creating clkdev entrie
> > >
> > > After reverting the above patch the boot test passed [2].
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > >
> 
> There are two fixes on the list: [1] and [2]. Perhaps one of those
> resolves this?
> 
> [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com

This one has (I think) ended up in the patch system last week, but it's
not clkdev, it's only related. I'm also not Cc'd on its posting, and
it's not posted to any mailing list that I'm a part of. So I've not
been following any discussion on it.

Digging in to the discussion, I see various attributations, and a final
message reporting an unused variable, and a promise to send v2. So,
I'm guessing that
http://www.home.armlinux.org.uk/developer/patches/viewpatch.php?id=9397/1
is now superseded in some way... I wouldn't have known without locating
this email and checking the links.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-15 20:52     ` Russell King (Oracle)
@ 2024-05-16 10:27       ` Naresh Kamboju
  2024-05-16 10:57         ` Marek Szyprowski
  2024-05-16 11:32         ` Russell King (Oracle)
  0 siblings, 2 replies; 12+ messages in thread
From: Naresh Kamboju @ 2024-05-16 10:27 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Stephen Boyd, Arnd Bergmann, Linux ARM, linux-clk, lkft-triage,
	open list, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

On Wed, 15 May 2024 at 22:53, Russell King (Oracle)
<linux@armlinux.org.uk> wrote:
>
> On Tue, May 07, 2024 at 01:26:17PM -0700, Stephen Boyd wrote:
> > Quoting Arnd Bergmann (2024-05-07 00:44:15)
> > > On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > > > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > > > is no kernel crash log on the serial [1].
> > > >
> > > > Anders bisection results pointing to this commit,
> > > > # first bad commit:
> > > >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> > > >   clkdev: report over-sized strings when creating clkdev entrie
> > > >
> > > > After reverting the above patch the boot test passed [2].
> > > >
> > > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > > >
> >
> > There are two fixes on the list: [1] and [2]. Perhaps one of those
> > resolves this?
> >
> > [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
>
> This one has (I think) ended up in the patch system last week, but it's
> not clkdev, it's only related. I'm also not Cc'd on its posting, and
> it's not posted to any mailing list that I'm a part of. So I've not
> been following any discussion on it.
>
> Digging in to the discussion, I see various attributations, and a final
> message reporting an unused variable, and a promise to send v2. So,
> I'm guessing that
> http://www.home.armlinux.org.uk/developer/patches/viewpatch.php?id=9397/1

I do not have access to this link ^.

> is now superseded in some way... I wouldn't have known without locating
> this email and checking the links.
>
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

- Naresh

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-16 10:27       ` Naresh Kamboju
@ 2024-05-16 10:57         ` Marek Szyprowski
  2024-05-16 11:33           ` Russell King (Oracle)
  2024-05-16 11:32         ` Russell King (Oracle)
  1 sibling, 1 reply; 12+ messages in thread
From: Marek Szyprowski @ 2024-05-16 10:57 UTC (permalink / raw)
  To: Naresh Kamboju, Russell King (Oracle)
  Cc: Stephen Boyd, Arnd Bergmann, Linux ARM, linux-clk, lkft-triage,
	open list, Anders Roxell, Dan Carpenter, Michael Turquette

On 16.05.2024 12:27, Naresh Kamboju wrote:
> On Wed, 15 May 2024 at 22:53, Russell King (Oracle)
> <linux@armlinux.org.uk> wrote:
>> On Tue, May 07, 2024 at 01:26:17PM -0700, Stephen Boyd wrote:
>>> Quoting Arnd Bergmann (2024-05-07 00:44:15)
>>>> On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
>>>>> The WinLink E850-96 board boot failed with Linux next-20240506 but there
>>>>> is no kernel crash log on the serial [1].
>>>>>
>>>>> Anders bisection results pointing to this commit,
>>>>> # first bad commit:
>>>>>    [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
>>>>>    clkdev: report over-sized strings when creating clkdev entrie
>>>>>
>>>>> After reverting the above patch the boot test passed [2].
>>>>>
>>>>> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>>>>>
>>> There are two fixes on the list: [1] and [2]. Perhaps one of those
>>> resolves this?
>>>
>>> [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
>> This one has (I think) ended up in the patch system last week, but it's
>> not clkdev, it's only related. I'm also not Cc'd on its posting, and
>> it's not posted to any mailing list that I'm a part of. So I've not
>> been following any discussion on it.
>>
>> Digging in to the discussion, I see various attributations, and a final
>> message reporting an unused variable, and a promise to send v2. So,
>> I'm guessing that
>> https://protect2.fireeye.com/v1/url?k=946226d9-f5e933ef-9463ad96-74fe485fffe0-28286a0026513387&q=1&e=a16c1c53-9c99-475a-b144-8adf7852ebc0&u=http%3A%2F%2Fwww.home.armlinux.org.uk%2Fdeveloper%2Fpatches%2Fviewpatch.php%3Fid%3D9397%2F1
> I do not have access to this link ^.
>
>> is now superseded in some way... I wouldn't have known without locating
>> this email and checking the links.


The fix for drivers/clk/samsung/clk.c driver has been merged to clk-next:

https://lore.kernel.org/all/f7a877622829db499bf2bc65fe9ffbff.sboyd@kernel.org/

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-16 10:27       ` Naresh Kamboju
  2024-05-16 10:57         ` Marek Szyprowski
@ 2024-05-16 11:32         ` Russell King (Oracle)
  1 sibling, 0 replies; 12+ messages in thread
From: Russell King (Oracle) @ 2024-05-16 11:32 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Stephen Boyd, Arnd Bergmann, Linux ARM, linux-clk, lkft-triage,
	open list, Anders Roxell, Dan Carpenter, Michael Turquette,
	Marek Szyprowski

On Thu, May 16, 2024 at 12:27:20PM +0200, Naresh Kamboju wrote:
> On Wed, 15 May 2024 at 22:53, Russell King (Oracle)
> <linux@armlinux.org.uk> wrote:
> >
> > On Tue, May 07, 2024 at 01:26:17PM -0700, Stephen Boyd wrote:
> > > Quoting Arnd Bergmann (2024-05-07 00:44:15)
> > > > On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote:
> > > > > The WinLink E850-96 board boot failed with Linux next-20240506 but there
> > > > > is no kernel crash log on the serial [1].
> > > > >
> > > > > Anders bisection results pointing to this commit,
> > > > > # first bad commit:
> > > > >   [4d11c62ca8d77cb1f79054844b598e0f4e92dabe]
> > > > >   clkdev: report over-sized strings when creating clkdev entrie
> > > > >
> > > > > After reverting the above patch the boot test passed [2].
> > > > >
> > > > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > > > >
> > >
> > > There are two fixes on the list: [1] and [2]. Perhaps one of those
> > > resolves this?
> > >
> > > [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@samsung.com
> >
> > This one has (I think) ended up in the patch system last week, but it's
> > not clkdev, it's only related. I'm also not Cc'd on its posting, and
> > it's not posted to any mailing list that I'm a part of. So I've not
> > been following any discussion on it.
> >
> > Digging in to the discussion, I see various attributations, and a final
> > message reporting an unused variable, and a promise to send v2. So,
> > I'm guessing that
> > http://www.home.armlinux.org.uk/developer/patches/viewpatch.php?id=9397/1
> 
> I do not have access to this link ^.

Sorry, that's my internal link, the external one is:

http://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9397/1

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: clkdev: report over-sized strings when creating clkdev entries
  2024-05-16 10:57         ` Marek Szyprowski
@ 2024-05-16 11:33           ` Russell King (Oracle)
  0 siblings, 0 replies; 12+ messages in thread
From: Russell King (Oracle) @ 2024-05-16 11:33 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: Naresh Kamboju, Stephen Boyd, Arnd Bergmann, Linux ARM, linux-clk,
	lkft-triage, open list, Anders Roxell, Dan Carpenter,
	Michael Turquette

On Thu, May 16, 2024 at 12:57:53PM +0200, Marek Szyprowski wrote:
> The fix for drivers/clk/samsung/clk.c driver has been merged to clk-next:
> 
> https://lore.kernel.org/all/f7a877622829db499bf2bc65fe9ffbff.sboyd@kernel.org/

Good to know, would be nice to be kept in the loop though, especially
as the first version was submitted to me.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-05-16 11:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CA+G9fYuZd_ur56H8fwDSvUywopvn_b7ogprGkjEatQ7EPTLwYQ@mail.gmail.com>
2024-05-07  7:44 ` clkdev: report over-sized strings when creating clkdev entries Arnd Bergmann
2024-05-07 20:26   ` Stephen Boyd
2024-05-07 20:52     ` Arnd Bergmann
2024-05-07 21:55       ` Stephen Boyd
2024-05-08  4:06     ` Anders Roxell
2024-05-08 21:07     ` Sam Protsenko
2024-05-08 22:29       ` Russell King (Oracle)
2024-05-15 20:52     ` Russell King (Oracle)
2024-05-16 10:27       ` Naresh Kamboju
2024-05-16 10:57         ` Marek Szyprowski
2024-05-16 11:33           ` Russell King (Oracle)
2024-05-16 11:32         ` Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).