Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2995026rwl; Tue, 27 Dec 2022 02:50:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXusH9Y5USxCdFQXVa0MOcRTPPix4QrUgE59XRgoGDPZsnyQGCqX5UI4+5iO06qGxJKu6H4B X-Received: by 2002:a17:906:3898:b0:7c0:d31d:640 with SMTP id q24-20020a170906389800b007c0d31d0640mr18887384ejd.74.1672138203801; Tue, 27 Dec 2022 02:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672138203; cv=none; d=google.com; s=arc-20160816; b=0fSPajEf6nPsqC8EkZ2q8oG7lsymwTxHO9eRqqL64chZ0eQSIEbSknWDfbj/7ikqkN PZy/6ePWNWFvogi6lv1O5C2lb4KDhmEToJciXq/RSM7Fa7rNZKhSK1hlzYynp4nkdjbK D2hCclj/qBCZ7kjvFiSPysV10ipNVrfcTGLydi5hzSuhVDJ0+B8lK99phQLBQORqGIF5 Lc3daV9jf4U9XB1qdqZ+rp6I8cKvyuxHzUGFp4As/IRc87sJBEXJICuTi4OTLHN4r3qI Bd2x/jMyuwfcK9bQlDi1gj/SnuutldaeeMtcl5uS1w5OENLb664TY+urg4LuMrV4aIwB IPew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :references:in-reply-to:sensitivity:importance:date:subject:cc:to :from:message-id:mime-version:dkim-signature; bh=tTj5I1i68LO8RobWCTZZuorDb6BIl3n9iRLEfHco9f4=; b=pAyXKuyNzTrqtv8KaBlafPpe+xqTvN9ZWJs37IshVbKKc8Q6dcQmoVpfm7rkRWHd5H CPe6nl+dxL9wk0aIEb8IGpWsRZNa85aGifs5DLIceBH3vFShFOfxinD9I4ZsQHst988U IyozTb42RjEuiD7jlv0m/yKy76QU7UUKSwCeHObRhvFW9PvI8nCLYsh54bD8dtvdtjRQ aAnEEWBNiLYGmpYtsW4K4nPQhx2/gK5W/w/MW6CrqiZ47IrTTT9PoQcEf/TDes1rQqj0 WkWN+RyP4aT0BkDZ7wFaFCWkVrOSv27vkrS7N666/6QAap//KAA9vPGOp167W7Mplohz Tdkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=r+YiZvZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p29-20020a056402501d00b004614f376c2fsi11049158eda.88.2022.12.27.02.49.46; Tue, 27 Dec 2022 02:50:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=r+YiZvZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbiL0Kad (ORCPT + 67 others); Tue, 27 Dec 2022 05:30:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiL0Kaa (ORCPT ); Tue, 27 Dec 2022 05:30:30 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D71D512B; Tue, 27 Dec 2022 02:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1672136978; bh=6rUL/0fqLXUc3EXcoTbmuRQCiIi6QAilAchLciXsdAw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=r+YiZvZlnUxMyhBIQFkg9VK1CsEsBPCu6gPQmPLEQAbDGpbAgmHGBNxB9+1Wb6M8d bup5FzjJkrbh1fMYLiyeFtuDwJa6ZkHx0E+STBoBmQLLSf4a7EBZmaXYTnyqq15MK6 bih6f6Upn/2wdI00+suCEySy+JEh086fjGTuOr71z2z7vLwlI0gNKqv9/QQRrajwr2 cXjHb/p4UJPo/MrkCPMTfwfNWb0jtaiEVQfgMStgHTrt/o4A+ZUNKX6xZMRIGbLwWI w5r8HysTrW/d6YI606cN0756PxNSy1S7CL4J9npulX21/9iXbrjfPpZEFkmcmPijUz xVlGB6lU/wpfA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.153.252] ([217.61.153.252]) by web-mail.gmx.net (3c-app-gmx-bap27.server.lan [172.19.172.97]) (via HTTP); Tue, 27 Dec 2022 11:29:38 +0100 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Frank Wunderlich Cc: Daniel Golle , Frank Wunderlich , linux-mediatek@lists.infradead.org, Kishon Vijay Abraham I , Rob Herring , Ryder Lee , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Greg Kroah-Hartman , Lorenzo Pieralisi , linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Jianjun Wang , Chunfeng Yun , Vinod Koul , linux-usb@vger.kernel.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , linux-pci@vger.kernel.org, Bjorn Helgaas , devicetree@vger.kernel.org Subject: Aw: Re: [next v7 8/8] arm64: dts: mt7986: add Bananapi R3 Content-Type: text/plain; charset=UTF-8 Date: Tue, 27 Dec 2022 11:29:38 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <20221127114142.156573-1-linux@fw-web.de> <20221127114142.156573-9-linux@fw-web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:uoMc7nMOIJIrLTMKyLHi5Zf+w/mb4Fzoluw4dxH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ugAD K8G749+8bBgWSqokMRKk4onu7yBdK09ngsSuA2d/e0d1Zk3F+bOrgWAQXBJIEeWOdAVxtHCwy 4jJA7C8+M/YaDnXtB/4ZYFug== Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 looks like i've found it: when reverting these 2 (latter alone was not enough and seems not fixing t= he timeout as shown in my trace) Revert "spi: mediatek: Enable irq when pdata is ready" (HEAD -> 6.2-rc) Revert "spi: spi-mtk-nor: Add recovery mechanism for dma read timeout" so this breaks spi on mt7986: c6f7874687f7 2022-11-28 spi: mediatek: Enable irq when pdata is ready have sent bug-report to mailinglist and author/reviewer/maintainer... regards Frank > Gesendet: Dienstag, 27. Dezember 2022 um 10:43 Uhr > Von: "Frank Wunderlich" > > at first look it seems it is needed...as i get this trace with 6.2: > > [ 2.145931] pc : mtk_spi_can_dma+0x0/0x34 > [ 2.155212] lr : mtk_spi_interrupt+0x74/0x360 > > [ 2.091801] mtk-spi 1100a000.spi: spi-mem transfer timeout > [ 2.097310] spi-nor: probe of spi0.0 failed with error -110 > [ 2.102930] Unable to handle kernel read from unreadable memory at vi= rtual address 0000000000000010 > > but i get the same trace when reverting the cs-gpios change....seems som= ething is broken in 6.2-rc1 > > 6.1 works without the bogus cs-gpios (and the mt7531 interrupt-change)..= . > > have tried reverting this commit, but it does not fix the issue: > > 8330e9e8269b 2022-12-07 spi: spi-mtk-nor: Add recovery mechanism for dma= read timeout