Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1211410rdb; Sat, 18 Nov 2023 07:13:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDBvLqAYkY4W/hu9XEazl4+I/7y5/kQOYIw/Zt3tu02dhNU8bghDE3X8fRpvl76VbFuzkG X-Received: by 2002:a17:902:9007:b0:1c9:e68a:1b58 with SMTP id a7-20020a170902900700b001c9e68a1b58mr2191348plp.54.1700320413691; Sat, 18 Nov 2023 07:13:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700320413; cv=none; d=google.com; s=arc-20160816; b=HsfTNVh02sPX63FOu2hIEc0c/dBYLciCpnG1NEQLnxnNrpUCeU7io8Wk0GbYzM/5dr eO7QSJomx3xQbgXRLJ5H5GLSB5EmkEV0zgG7soF7SeUW8B22guY5ZvFR2s6e+DRotXCW q6x6PdaJ5DnQXLy/Pqo0lQ7bAxhui5ICeFHxcs9s+qMi57E4iHwR7C9PXm1ro/zvpHeV t/+lXyGf2q0EQFAh1EaeDPQ4a2l2KFxreQIhZFMpmwaDM2rYF76LK57KygifUeihE7J4 MwCVEJ5vnblEb8bMg9RSNm1IpPCJ+G6Amuz49IW1/1tZq0OAuDe5ClcnX8UXc0vUn/n0 +dcA== 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:reply-to :cc:from:references:to:content-language:subject:user-agent :mime-version:date:message-id; bh=2QFhwFurWlx1HZkQfiYfpmH8JA2M4uImBOW7uwmJkhw=; fh=8mF1WqlEviyiyoydWM6g+9enGR+Cuc4dEtC4r69TFK4=; b=PqVgXaa11i3sJdXQRoccAzIZjeZ0/CnarYYfVBOep5U9j+WEow52NynIzG2atGCBd6 rv+/Gdanp/taApNIXCf2zkIt3f0uPvBMH8XNtNP7hWaZcKVCVu8URYHGTW8Ax6XAoifV RNojIdg63NMBSo8Hn6OArr6neDPFBjcZbVldemYM5uHrjuuejShWIATw1+EB0ebCX63+ x+xFlQ/3rGXNIst5z7nyhlo6b2Ra3uoHL+KvdlRfyArb7G42sExqhE5vLZ1+l05Mzw5e 5wA6K0IWdpeRNspV/BfEq49lkXZRSDTTRWrmqWeaoWTdLV6+yIdWoa2uk8Ko59o8+kkv lwMg== 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:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id q17-20020a170902b11100b001cc5505fff4si4368299plr.257.2023.11.18.07.13.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 07:13:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id B963B809A795; Sat, 18 Nov 2023 07:13:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjKRPNU (ORCPT + 99 others); Sat, 18 Nov 2023 10:13:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjKRPNT (ORCPT ); Sat, 18 Nov 2023 10:13:19 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E698D5; Sat, 18 Nov 2023 07:13:14 -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 1r4N0T-0003XR-9E; Sat, 18 Nov 2023 16:13:13 +0100 Message-ID: Date: Sat, 18 Nov 2023 16:13:12 +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 To: linux@bigler.io, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org References: <8a415902c751cdbb4b20ce76569216ed@mail.infomaniak.com> From: "Linux regression tracking (Thorsten Leemhuis)" Cc: Linux kernel regressions list Reply-To: Linux regressions mailing list In-Reply-To: <8a415902c751cdbb4b20ce76569216ed@mail.infomaniak.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1700320395;d8e12ea8; X-HE-SMSGID: 1r4N0T-0003XR-9E 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 groat.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 (groat.vger.email [0.0.0.0]); Sat, 18 Nov 2023 07:13:31 -0800 (PST) [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] 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.