All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Linux regression tracking (Thorsten Leemhuis)" <regressions@leemhuis.info>
To: Marc Kleine-Budde <mkl@pengutronix.de>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Daniel Smolik <smolik@mydatex.cz>,
	Linux regressions mailing list <regressions@lists.linux.dev>,
	linux-can@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Regressions can bus with MCP2515 on sama5d3 connected over SPI stop working on kernel > 5.4.271
Date: Wed, 13 Mar 2024 10:16:47 +0100	[thread overview]
Message-ID: <3e46d70b-196d-45c7-bfdf-869c78cdc81f@leemhuis.info> (raw)
In-Reply-To: <5f69d6ee-a07a-42a9-a238-7dbe1f82cc3f@mydatex.cz>

Hi! Mark and Manivannan, do you by chance have an idea what might be
wrong with Daniel's system or can point us in the direction of people
that might be able to help? See
https://lore.kernel.org/all/2ede8f49-41f8-4d9a-83e4-ea5d4d1677fe@mydatex.cz/
for the initial report (but it is in the quote below, too).

On 13.03.24 00:22, Daniel Smolik wrote:
> I am not very familiar with bisecting :-(  I have found how to solve
> another problem and compile 5.5.0 kernel. And now I know that latest
> working is 5.4.271 and first not working is 5.5.0.

Let's wait first if Mark and Manivannan might haven an idea. And in case
you in the end have to bisect: please follow the guide I pointed to and
tell me where you have the problem, as the guide (and an earlier mail,
too!) tells you that you need to bisect from 5.4 to 5.5.

Ciao, Thorsten

> Dne 12. 03. 24 v 20:57 Daniel Smolik napsal(a):
>> Hi ,
>> 6.8  is affected   with this bug.  I try bisect the bug.
>>
>> Regards
>>             Dan
>>
>> Dne 12. 03. 24 v 11:39 Linux regression tracking (Thorsten Leemhuis)
>> napsal(a):
>>> On 12.03.24 11:27, Dan Smolik wrote:
>>>> Dne 12. 03. 24 v 11:19 Linux regression tracking (Thorsten Leemhuis)
>>>> napsal(a):
>>>>> On 11.03.24 22:55, Daniel Smolik wrote:
>>>>>> I have found problem with kernel > 5.4.271 (long term) on sama5d3.
>>>>>> When
>>>>>> I config can bus with:
>>>>>>
>>>>>> ip link set can0 type can bitrate 125000 triple-sampling on
>>>>>>
>>>>>> and type
>>>>>> ifconfig can0 up
>>>>>>
>>>>>> prompt never returns and cannot run eg. ip a (never returns) existing
>>>>>> ssh connection works but can´t do new one.
>>>>>>
>>>>>>
>>>>>>     I have my own daughter  board with can bus driver MCP2515
>>>>>> connected
>>>>>> over SPI bus. There is
>>>>>> snippet of my DTB:
>>>>>>
>>>>>>    can0: can@0 {
>>>>>>                                           compatible =
>>>>>> "microchip,mcp2515";
>>>>>>                                           reg = <0>;
>>>>>>                                           clocks = <&can0_osc_fixed>;
>>>>>>                                           interrupt-parent = <&pioD>;
>>>>>>                                           interrupts = <29
>>>>>> IRQ_TYPE_EDGE_RISING>;
>>>>>> spi-max-frequency = <10000000>;
>>>>>>                                       };
>>>>>>
>>>>>> with this all working  perfect  on long term kernels 4.19.  I try
>>>>>> switch
>>>>>> to newer kernel and latest I get working is 5.4.271. Kernel 5.5.0
>>>>>> -5.5.6 I can´t  compile and 5.5.14  is affected with bug.
>>>>> The two important question here are:
>>>>>
>>>>> * Is mainline (e.g. 6.8) affected as well? That determines if the
>>>>> regular developers or the stable team has to look into this.
>>>> I mean yes,  I tested 6.6.21 and is affected.   6.8 I can test today
>>>> afternoon.
>>> Yes, please test 6.8.
>>>
>>>>> * Could you bisect the problem (e.g. I assume between 5.4.271 and
>>>>> 5.4.272)? I'm working on a guide that explains this:
>>>>> https://www.leemhuis.info/files/misc/How%20to%20bisect%20a%20Linux%20kernel%20regression%20%e2%80%94%20The%20Linux%20Kernel%20documentation.html
>>>> Yes I try this but it looks like that latest good is 5.4.271 and first
>>>> bad us 5.5.0  but this kernel fail when building to arm platform. 
>>>> First
>>>> which I build for arm is 5.5.14.
>>>>
>>>> I try bisecting but when I can't build kernel what can I do ?
>>> Bisect between 5.4 and 5.5 and during the bisection use "git cherry-pick
>>> --no-commit <sha1sum>" to apply the fix(es) without committing them
>>> before you build; once the build is ready, use "git reset --hard" to
>>> reset things.
>>>
>>> But please check 6.8 first; if it is affected we can CC a few
>>> developers. If you are lucky they have an idea what might be wrong here
>>> and then no bisection might be needed.
>>>
>>> Ciao, Thorsten
>>
>>
> 
> 
> 

  reply	other threads:[~2024-03-13  9:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11 21:55 Regressions can bus with MCP2515 on sama5d3 connected over SPI stop working on kernel > 5.4.271 Daniel Smolik
2024-03-12 10:19 ` Linux regression tracking (Thorsten Leemhuis)
2024-03-12 10:27   ` Dan Smolik
2024-03-12 10:39     ` Linux regression tracking (Thorsten Leemhuis)
2024-03-12 19:57       ` Daniel Smolik
2024-03-12 23:22         ` Daniel Smolik
2024-03-13  9:16           ` Linux regression tracking (Thorsten Leemhuis) [this message]
2024-03-13 10:35             ` Marc Kleine-Budde
2024-03-13 11:22               ` Daniel Smolik
2024-03-13 11:32                 ` Linux regression tracking (Thorsten Leemhuis)
2024-03-13 11:39                   ` Daniel Smolik
2024-03-13 11:43                 ` Marc Kleine-Budde
2024-03-13 12:21                   ` Daniel Smolik

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=3e46d70b-196d-45c7-bfdf-869c78cdc81f@leemhuis.info \
    --to=regressions@leemhuis.info \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mkl@pengutronix.de \
    --cc=regressions@lists.linux.dev \
    --cc=smolik@mydatex.cz \
    /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.