Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1213032rdb; Sat, 18 Nov 2023 07:16:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsdqHx5/Ga9pyjtwbiaSj2VY6xnCC6p25ZL2tyi7HTK2JT3W6bEKe81keN3/cEF51HFVqn X-Received: by 2002:a05:6a21:151b:b0:188:8010:851d with SMTP id nq27-20020a056a21151b00b001888010851dmr3084662pzb.33.1700320572855; Sat, 18 Nov 2023 07:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700320572; cv=none; d=google.com; s=arc-20160816; b=1AnfKpatTjnHlSv36YzvoddFM2b+2GqJ/reH+mafyoFpTTYA0UnKjk7pUNB4uGoLaS 1IZ8yPhS/a1hRUThcm+SttMx5kzYbLhf1e29K45zbocX+36Xp6NqoRe5mX+Q6y116EYk feSV7DefO+A4+q4xdZJYKghaCFYLhqoF0/bTcXe1ZtWyLVjm329hs2auugKGDj4kshpy sVa9TJDB2Oqc1S0tT1Z1UMXykXGsRyH86jIxVd/8vFBL43IbqUw1TL+4jsFnuSlU/MsJ tDn9tneOZgDBdKMAFtqRI5VDFRXbyzt2OEiH+fVM+gsfrjtrXR/5XVCMfG7kPDo3ChTj 2I3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :reply-to:cc:to:from:content-language:subject:user-agent :mime-version:date:message-id; bh=rT2QHh4qVBde2ZeUjRG6CEwHKRoBzninh1K+ei9Fcks=; fh=kyowkYb/mDgY0KhQsv5s1XoAZUvnKgpIHMvIPUnwjC8=; b=UnPs/GcHU0rQh9GWcUvrB0qcTbV1aX6JJdEMt95HFzSi3ZyhukrbrRccFJBhfRVNsu VJCCNTpuJh8JcaeULjPYrTT25dyTBYSzVUxF94Xaimn0gIOoGWUWeHvFJMAFd6/O3Biw 3olbpLWFpzqz4XIsv8eSWAix0WxmyuGGNN+EsCiWGbGU0T4FM55vC774JmXdTOznXuZ2 u+1DJNfHKmgPn7hStKGMr6pQrGnyLTWQosNH9Y3P/o9FizsI/mfkJr9W/o+pdFnMpGt/ 262Eev/vQNzbWkfkwYPukiBGIY3yZQ94TLoW5PhuJtogj4ldLMUCCM9xxPpwHkXYKY1y 8zRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j15-20020a63594f000000b005b74ce91e9fsi4304521pgm.672.2023.11.18.07.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 07:16:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 71943807C7FB; Sat, 18 Nov 2023 07:15:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjKRPPN (ORCPT + 99 others); Sat, 18 Nov 2023 10:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229687AbjKRPPM (ORCPT ); Sat, 18 Nov 2023 10:15:12 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D601BD5; Sat, 18 Nov 2023 07:15:08 -0800 (PST) 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 1r4N2J-0003pM-Ac; Sat, 18 Nov 2023 16:15:07 +0100 Message-ID: Date: Sat, 18 Nov 2023 16:15:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: spi: imx: Increase imx51 ecspi burst length fails on imx6dl and imx8mm Content-Language: en-US, de-DE From: Thorsten Leemhuis To: Stefan Moring Cc: Linux kernel regressions list , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux@bigler.io, Mark Brown Reply-To: Linux regressions mailing list References: <8a415902c751cdbb4b20ce76569216ed@mail.infomaniak.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1700320509;be0fda14; X-HE-SMSGID: 1r4N2J-0003pM-Ac X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 18 Nov 2023 07:15:27 -0800 (PST) On 18.11.23 16:13, Linux regression tracking (Thorsten Leemhuis) wrote: > [CCing people that worked on the relevant commits as well as the > regression list, as it should be in the loop for regressions: > https://docs.kernel.org/admin-guide/reporting-regressions.html] Sorry for the spam, hit "send" before actually adding Stefan and Mark, which now are among the recipients. > On 18.11.23 15:25, linux@bigler.io wrote: >> After upgrade from kernel 6.5.11 to 6.6.1 the spi-devices on my hw >> colibri-imx6dl and verdin-imx8mm are not working anymore (TPM2 and SPI-SRAM). >> >> Analyzing the problem showed that the 2 commits introduced the problem: >> >> spi: Increase imx51 ecspi burst length based on transfer length >> 15a6af94a2779d5dfb42ee4bfac858ea8e964a3f >> >> spi: imx: Take in account bits per word instead of assuming 8-bits >> 5f66db08cbd3ca471c66bacb0282902c79db9274 >> >> Reverting the commits solved the problem. >> >> The analyse with the logic-analyser showed a wrong number of transmitted >> bytes and wrong data. >> When I try to send 127 Byte with a incrementing pattern (0x01,0x02,0x03,..), >> 504 Bytes are sent (0x00,0x00,0x01 0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0x03). >> We tested with different sizes and patterns, all are not ok. >> While analysing the configuration and code I was not able to see any obvious >> mistake. >> >> Has someone else discovered such misbehaviour or has any idea what is wrong? >> Best Regards > > Thx for the report! > > [TLDR: I'm adding this report to the list of tracked Linux kernel > regressions; the text you find below is based on a few templates > paragraphs you might have encountered already in similar form. > See link in footer if these mails annoy you.] > > To ensure the issue doesn't fall through the cracks unnoticed, I'm > adding it to regzbot, the Linux kernel regression tracking bot: > > #regzbot ^introduced 15a6af94a27 > #regzbot title spi: spi-devices on colibri-imx6dl and verdin-imx8mm are > not working anymore > #regzbot ignore-activity > > This isn't a regression? This issue or a fix for it are already > discussed somewhere else? It was fixed already? You want to clarify when > the regression started to happen? Or point out I got the title or > something else totally wrong? Then just reply and tell me -- ideally > while also telling regzbot about it, as explained by the page listed in > the footer of this mail. > > Developers: When fixing the issue, remember to add 'Link:' tags pointing > to the report (the parent of this mail). See page linked in footer for > details. > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > That page also explains what to do if mails like this annoy you.