Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1585681lql; Wed, 13 Mar 2024 02:17:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUD2CfzLogDLTIPvNAB8VK7BjYBL4uF+Pezv12Rli1tdjKarJGuMk3Tir7yvzv5g0FpnaD6O1LeHFC3r2X90uSPU7BYgpIsCyonhmtrgA== X-Google-Smtp-Source: AGHT+IFb4HxB2mxWLmu9C9eJIp0O/VDN9HDKi2NGP8LOgEbpjpC12dpJuxACnzGoM6AI8iEOKAak X-Received: by 2002:a17:907:cb82:b0:a46:4a1f:3cd5 with SMTP id un2-20020a170907cb8200b00a464a1f3cd5mr3132982ejc.4.1710321438891; Wed, 13 Mar 2024 02:17:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710321438; cv=pass; d=google.com; s=arc-20160816; b=Q2NnpnFD9BQ/HtNlQ/jwtiw9lBYugJ1r0FFzje6phwJFz+3y7B3UuW82+qV6S/5WEO vnwN57zUZJnllYzO6MKl3TBXySbHwIr4xBkf9PAcZRP1bNFsqrypEiODoaYqlUmKRelg BtyAaXV3L6ZPRRtY4KBltmFlZXI1jZr+D5Q4tkPGCAj0cdOOc6R4Z16z/VROB5jtL2De gmcAQcETgrXNzhJ/gAx5vtqhz/Y6Ar/ZxofpyLj2cBsp8tt1D+HWowXNtckytAY0OzWL TINkqYhvyzmrx74pXU8TOSwPZk/fDkbawP+E7o3n0GeGjGNtIS+7W0GSG0Yqgb5MpABd GjwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:to:reply-to:cc:from :references:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=QIi9/DjwhK5Nca9r9Q65/MotMONafCf0MSaMXkjEpqQ=; fh=RbFbHXbq67ktKJMQSHO9yrIzp79eyapuLAZdYS5qvZo=; b=HpVEuGBn431kBVZe+8uNgMo9kvXGwHahG4KPR9w3m6go7qVodad0FZAC5uUXu3hZzv 6x6cR4eW3W2UEzWZPRlvVZq9Ufl+wN8ymDsxgMQdWs6fw68t0vgi2MkozpW38rIDnfPI XGzN6Md5u3nGlWGWOFtghi4K5LMrzfbNkmCz0/c9WvLW0EWx+lYNXJEqcteB6BaXE4XA zRLhz6LlaExoEYiwAV8B8u6sNObJLqZWRVYES0xcMLhtRjCFiCw4zgMyLsqNgRZ0Kkuo aeSrHYBv6CoRxohFq7RoUH1Co6nvjZpvGKDw+KRTvHWeKW68gRqcFFeZtXfVuVohcZCM 558w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=lFfJfBl0; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-101265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101265-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id le11-20020a170907170b00b00a45b8e1352dsi4174510ejc.741.2024.03.13.02.17.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 02:17:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=lFfJfBl0; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-101265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101265-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7579C1F22B58 for ; Wed, 13 Mar 2024 09:17:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09F8E224FB; Wed, 13 Mar 2024 09:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="lFfJfBl0" Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3C25210F8; Wed, 13 Mar 2024 09:16:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710321418; cv=none; b=V3HgkYgYhaTNQOn4Z/OPvwEL+N/ctILkoqMXdvAWqH2taGS37voHX2OArnsm031vja2Mx477eikieEdr1bIZfaiCg8qHO2fOgpqeDGxfqOFl4QabJ0FFrrbPlYHXN9zLWEDyBGpOH7rF6K877KCgrkZmgsFIxH1zsTQ6+aQYX70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710321418; c=relaxed/simple; bh=ByCbagcTebOW3qifvCBn2/PTAzLo4LTEj67iXwr3nrc=; h=Message-ID:Date:MIME-Version:Subject:References:From:Cc:To: In-Reply-To:Content-Type; b=qAnPrcpBi7VnOR5AghvOymmpSZ55hoZxNADrFejEs5KUS5Vhkmtfcw1axoAIpgZzWgW6WKwzGxNrRaDG02Kp5L7YIwDOuz+gUSmPPqMD3PxpXeR+et1hi6brepdbr6/m+V/tWZEQAeR3FcCmMHPnhYynuETiYTVUqf3tfDh1vHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=lFfJfBl0; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:To:Reply-To:Cc:From:References:Subject:MIME-Version:Date: Message-ID:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: In-Reply-To:References; bh=QIi9/DjwhK5Nca9r9Q65/MotMONafCf0MSaMXkjEpqQ=; t=1710321415; x=1710753415; b=lFfJfBl0eMMtZLlb424xJS9UysEnuYdchXRGPUhpITSnP0e 8jk2/NTZDF5qC+8yUKiBUIsAO110XGj8py8GVLSRuuEoxhH0vH8glXYnVpbnA6MfFv77IhvBeAJ8z u2NhyltYWhLiYADUHX0ip4+u7hMYWgUYYDO8Rvnv3mOGR05/XPuB2r9yME9yFrT10yPmpTDWhLYkG SlrTqrWmscSuxRbQ5cRtDcCSMDBhrBiiP8f7vori3s8wqepoXXrYPJw9pbyKCmMEbgi/m3l4CtBcl xZXkB2E8JQSkA0LYE2bCP6UobA9yXUE7uEiaudvYAKVqwhbXm4Ivo/hr9BXjLYEA==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rkKjA-0004TW-0c; Wed, 13 Mar 2024 10:16:48 +0100 Message-ID: <3e46d70b-196d-45c7-bfdf-869c78cdc81f@leemhuis.info> Date: Wed, 13 Mar 2024 10:16:47 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Regressions can bus with MCP2515 on sama5d3 connected over SPI stop working on kernel > 5.4.271 Content-Language: en-US, de-DE References: <2ede8f49-41f8-4d9a-83e4-ea5d4d1677fe@mydatex.cz> <734cf096-3769-4610-b72f-394c31a8d942@mydatex.cz> <91d8a6b6-6186-4aa0-8462-56b4751854e9@leemhuis.info> <6918321b-038d-40b9-8149-d535bf9d3d52@mydatex.cz> <5f69d6ee-a07a-42a9-a238-7dbe1f82cc3f@mydatex.cz> From: "Linux regression tracking (Thorsten Leemhuis)" Cc: Daniel Smolik , Linux regressions mailing list , linux-can@vger.kernel.org, LKML Reply-To: Linux regressions mailing list To: Marc Kleine-Budde , Manivannan Sadhasivam In-Reply-To: <5f69d6ee-a07a-42a9-a238-7dbe1f82cc3f@mydatex.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1710321415;f0b7d482; X-HE-SMSGID: 1rkKjA-0004TW-0c 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 " 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 >> >> > > >