Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp250071rdf; Tue, 21 Nov 2023 01:19:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCcIhboEKggEV2Q+mgonVi7iuuwsUo4ye07KAN4M7Pr9DMG0NUV7kAZ/dhtICIpfnBuSsM X-Received: by 2002:a17:903:189:b0:1cf:647a:9fd0 with SMTP id z9-20020a170903018900b001cf647a9fd0mr4860120plg.6.1700558339721; Tue, 21 Nov 2023 01:18:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700558339; cv=none; d=google.com; s=arc-20160816; b=zZuMHF+lzT8beE43gUfQlceqBMz0lLC4ZfBngBiClxOuO7qGS9niwS6BqrpPmh8VRi 8OnnC0//mMJM7b/CaM7VpdfuklGvjvpJUwJlrnAzQNRRa2fLEukDvJzrXpN3VZKMdaVO 4UcWyynz4qyPMmYV/y6TpyBcTwMAOxBuavzAzj2bppKLsO2LQx+j5ef/BOT5eLSA1Vso K/Jux6vLB8BrnuIb1ao98TrRglj299qkpbYZG2+ScDhe8OTb5YmgoWEfth2twN5wdEnb xPEqV4q50wYUKfWQsj6boaOqVa7J5PR0TLrHKDwHG6gwCblxItd5hwkB0iU3gk4Snvud 6Vvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QKQ3w01R2rGEYxzIdUbvLEJXyTYvQ0JTj1zjuOg51xw=; fh=RMj7vWt7V33humf2PQJKZJ9l/ywZBeooWYZb4DJmkQc=; b=MmlpNUlSeyNUyhCHRcwlklnJIgwa+K8fc7iTx4niQ4VfjuDaQNUuuRP2BsCS9kfTG0 i5O0UBAnUa+C5IvF/RfNk9uqPlf58iTleDgkefea5deBml5aBfZdyp7JbxjKLgLgaCGF uKHDljW4nAaDyrOEXSIEaqeqxo3YciFKNjvn1i9asUi7uXORN0bBjf3AJMD4trGvTKEg iFSoGY9GpCcD6VdSNhZ28StdENWScbabAr6xOWul9NwiaxhXjupkOKB/2ILqDZAF2bHn QotRrceBQYMDgqm4Jco44Y6aPOCfyAHFkqUsAb+zjYztcBdgQuqbIXUd+khotCPuBnDZ jg/w== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z18-20020a1709028f9200b001c1e4f9c63esi3011520plo.491.2023.11.21.01.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:18:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 70B31803A597; Tue, 21 Nov 2023 01:17:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbjKUJRL (ORCPT + 99 others); Tue, 21 Nov 2023 04:17:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKUJRJ (ORCPT ); Tue, 21 Nov 2023 04:17:09 -0500 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4FB7E8; Tue, 21 Nov 2023 01:17:04 -0800 (PST) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 3A3791F83F; Tue, 21 Nov 2023 10:17:01 +0100 (CET) Date: Tue, 21 Nov 2023 10:16:57 +0100 From: Francesco Dolcini To: Thorsten Leemhuis , linux@bigler.io Cc: Francesco Dolcini , Stefan Moring , Linux regressions mailing list , Mark Brown , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: spi: imx: Increase imx51 ecspi burst length fails on imx6dl and imx8mm Message-ID: References: <2fcdd99eee9ee4f5d34fa1abab2f51bb@mail.infomaniak.com> <86566391db9c5044f1a082bc8ec697a2@mail.infomaniak.com> <6322fd4c1967a518310140c35ab34f65@mail.infomaniak.com> <90abbd7a-e3e3-42c9-9be9-28e475f0fc9a@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <90abbd7a-e3e3-42c9-9be9-28e475f0fc9a@leemhuis.info> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:17:12 -0800 (PST) On Tue, Nov 21, 2023 at 10:06:51AM +0100, Thorsten Leemhuis wrote: > On 20.11.23 18:48, Francesco Dolcini wrote: > > On Mon, Nov 20, 2023 at 04:30:15PM +0100, Stefan Moring wrote: > >> Can you verify the values used for the transfer,? spi_imx->count and spi_imx-> > >> bits_per_word inside the mx51_ecpsi_prepare_transfer() method? Those are the > >> only two things that changed in the commits. Maybe compare them to the working > >> version? > > > > I would suggest to bisect the issue to the actual commit that > > introduced the regression, I do not think this was done yet. > > I think it was. To quote Whoops, you are right. > 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 Do we know which one of those two commits introduces this regression? Francesco