From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DD46C10F1B for ; Tue, 27 Dec 2022 10:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbiL0Kae (ORCPT ); Tue, 27 Dec 2022 05:30:34 -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/mb4Fzoluw4dxHqiG7Oh3NCdu3bQPysJDKjXeSdF3pWn jaWkxXdLvNm01Hn/aewnT06IsBqEfmbeCdLtU+ilvh7Nvs5l2AOup2GSF8gppkuGSLyU1iSxGiv+ ptXmk1z2u14AHo0epOf9V04OMa20adKrX+D38DcBs6YA/e2rffYiPf6hNVrblfNU6Q8qlHy1svFl FcSO5I8fpT3Bm/fGPcLdiGgk4WFUT8NQRt3q3Fb+zatO03cpqNqj3lWpRWG9hHwQNVG2DrXuL1YE Tw= UI-OutboundReport: notjunk:1;M01:P0:zRngNs/wW1c=;wpD4ghfb7HZxstpqtJ4IJmHdX7N Nh97dEZkWW/RqQx7esRtmZ/sUkd5Z7pn7kzVkfTKFrprUoZ8RYp8I8kjw9SfGMq17fGTL6teZ xNEE5R5GD9wo9ZYbcwsY8iCr/nkj6AV8L5j2Zt8xwJDFoezR7BDmknG4R3j4milCUSgJOdyi/ cIzq+a9DCoQLMcR1Z0wjpmY/ZiMQy5JVt1e8J3340hf5RTTs2gujA5Kf4T0/wLTYEOeWc/1Lh GnxQZuRatOn35fBKz7I10efG2DJUqmCah6Ab/ohbSEZqlNM7ZmbxVj4lulKoMrTIG0UuwjUmu QJZ6tbNcIXDKsJCrqNX9PW1CvD3tySRFkXbS4V5ifIsoL0fAHXy1USexOWPXRDva1TAi8OIWi a8KkRFoU+3N5QXEghfPevzMmkf+f7WeSLEG+ySQYFC3fyJ6iFp1t9oxEv9cZXxYUGZeCURbUe L42ylPAQg3xqLQgR82+aXdFWKEYTVfGPBqgekqye/ZhedDaIu+hkMivudxlY6pOB+Y/vy0h94 x1fS3kz+qVRejgFh6fKMxDq+NTUgRMBpNxaKqBAHXQyDf/8Fdvzq/ug8EGuKyDR6PAPQ8gDhr EvaTpEPQPX6pt4qBGEWYO8SxLgjDQL5zr2VqYDoCkXKGufX6YxVPG4nG0xm2iw15fHHb1FeSf FSi4gbxb5+5ZQ19xfx2v4QEpeeOtNHBWrmy1asxToSqD3FcI+HUX8MXJEJxhUkd+1nnvcugAD K8G749+8bBgWSqokMRKk4onu7yBdK09ngsSuA2d/e0d1Zk3F+bOrgWAQXBJIEeWOdAVxtHCwy 4jJA7C8+M/YaDnXtB/4ZYFug== Content-Transfer-Encoding: quoted-printable 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC95BC4332F for ; Tue, 27 Dec 2022 10:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To:Date:Subject:Cc: To:From:Message-ID:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MbppsVWGRujNW68exZtIgvQeZ5jXWZEtngEyntwdbf8=; b=D5oA+uwlMRFMYY rwpJvuSwQw0OM+2p1/aGkVcnZb9tc60HLvnyPwJic1eDeyumqukp1NielTJyYp/4+44kx9AxVCHxV jaEy2j56nAQlgQ0y6jQ5ZUwb01m0PIDhyUP61Mr9Rzr3sMubdft1zQBEKpaRG9yq/ds0DbM7T3KQ4 CR+tw52sGa2Epam7v52NB6WMyKG98QI+7jWreTaXknfj6L+VfrAcNO6mcKjR3CyYkEu35V+2hkizR V/DZMV3SCVLxUgpDgElBoDcRAV5MeBJP2ISmtqWZf6wAi18ERl0XH27aNpTIjx0/XmLGEnGW06xDv aUd2oC92LN24MortckJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA7E6-00C5yy-21; Tue, 27 Dec 2022 10:30:30 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA7Db-00C5o8-4d; Tue, 27 Dec 2022 10:30:20 +0000 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 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/mb4Fzoluw4dxHqiG7Oh3NCdu3bQPysJDKjXeSdF3pWn jaWkxXdLvNm01Hn/aewnT06IsBqEfmbeCdLtU+ilvh7Nvs5l2AOup2GSF8gppkuGSLyU1iSxGiv+ ptXmk1z2u14AHo0epOf9V04OMa20adKrX+D38DcBs6YA/e2rffYiPf6hNVrblfNU6Q8qlHy1svFl FcSO5I8fpT3Bm/fGPcLdiGgk4WFUT8NQRt3q3Fb+zatO03cpqNqj3lWpRWG9hHwQNVG2DrXuL1YE Tw= UI-OutboundReport: notjunk:1;M01:P0:zRngNs/wW1c=;wpD4ghfb7HZxstpqtJ4IJmHdX7N Nh97dEZkWW/RqQx7esRtmZ/sUkd5Z7pn7kzVkfTKFrprUoZ8RYp8I8kjw9SfGMq17fGTL6teZ xNEE5R5GD9wo9ZYbcwsY8iCr/nkj6AV8L5j2Zt8xwJDFoezR7BDmknG4R3j4milCUSgJOdyi/ cIzq+a9DCoQLMcR1Z0wjpmY/ZiMQy5JVt1e8J3340hf5RTTs2gujA5Kf4T0/wLTYEOeWc/1Lh GnxQZuRatOn35fBKz7I10efG2DJUqmCah6Ab/ohbSEZqlNM7ZmbxVj4lulKoMrTIG0UuwjUmu QJZ6tbNcIXDKsJCrqNX9PW1CvD3tySRFkXbS4V5ifIsoL0fAHXy1USexOWPXRDva1TAi8OIWi a8KkRFoU+3N5QXEghfPevzMmkf+f7WeSLEG+ySQYFC3fyJ6iFp1t9oxEv9cZXxYUGZeCURbUe L42ylPAQg3xqLQgR82+aXdFWKEYTVfGPBqgekqye/ZhedDaIu+hkMivudxlY6pOB+Y/vy0h94 x1fS3kz+qVRejgFh6fKMxDq+NTUgRMBpNxaKqBAHXQyDf/8Fdvzq/ug8EGuKyDR6PAPQ8gDhr EvaTpEPQPX6pt4qBGEWYO8SxLgjDQL5zr2VqYDoCkXKGufX6YxVPG4nG0xm2iw15fHHb1FeSf FSi4gbxb5+5ZQ19xfx2v4QEpeeOtNHBWrmy1asxToSqD3FcI+HUX8MXJEJxhUkd+1nnvcugAD K8G749+8bBgWSqokMRKk4onu7yBdK09ngsSuA2d/e0d1Zk3F+bOrgWAQXBJIEeWOdAVxtHCwy 4jJA7C8+M/YaDnXtB/4ZYFug== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221227_023002_221231_42CB5D70 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org looks like i've found it: when reverting these 2 (latter alone was not enough and seems not fixing the 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 virtual address 0000000000000010 > > but i get the same trace when reverting the cs-gpios change....seems something 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 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FEF0C4332F for ; Tue, 27 Dec 2022 10:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To:Date:Subject:Cc: To:From:Message-ID:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lx8xWTWlogNkDWFcA0SPOVdAAcgo8bBCiVaPrHXaq6s=; b=ECW0PrCuVx115g NQLQE5dM8wPO1E16FHvrWYlXn77DuorbeQlgJW4KU0MV8i8ti3X3MBR9BJoM0zMJe9++CVGURbKFx 5maC6w+pvV9xiUq1S3lNo4kKhQatN45yjhR8MjMvx/ddUdKFE+pYlQtg9i1hl2tg9r7dw7B1xNE6T IK2ouNrJO//fYaBlTtAxO38kK8OfmqtnvGbP5YMTfXr58snu9FJHKMLEYMTymPwzYxuNXawZVY/y3 yqtKa8sWUOFVKK3+4zjmpJsEPG9Sy7XxorbOQc66s+eem5pOp+iP4yUFS3Zau4RcmdsgXnykxBjND siDDGycHtPjtjEbjLQaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA7Jo-00C7yb-Bc; Tue, 27 Dec 2022 10:36:24 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA7Jk-00C7wz-2g for linux-arm-kernel@lists.infradead.org; Tue, 27 Dec 2022 10:36:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1672137370; bh=6rUL/0fqLXUc3EXcoTbmuRQCiIi6QAilAchLciXsdAw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OiT0OSHooIKV/CgwJGlrCZ0NCCu8y14peqv7qzZ0WuaTigSD4P8a5Xvy2F4HDi0F5 +/1aQJGDOVYfCzWbaQjqdkZJxFnSz+2vnWZi4m9w/dAiGEhN4iDyqmPVQeEeUn6wr5 NoTHFC0d2hURNTTP9y7m8GIQk5rWExMj6kBJY6smc5MFBd9S3Hk/9lEoObZeo76Iuq DsRlK7+iOpsz/hoZpTatfdnU6TR3R2CV9hylbHV+i2fapZBh89E5YbRfU3FRXVGGhy fWtKEFWzkvnmi1ioy0W4SIGG6gDI9Bvh97FQMB7P0w+JbWhLu21aBz7KawnlP9g4C2 2SEHznIiG2UKw== 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 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/mb4Fzoluw4dxHqiG7Oh3NCdu3bQPysJDKjXeSdF3pWn jaWkxXdLvNm01Hn/aewnT06IsBqEfmbeCdLtU+ilvh7Nvs5l2AOup2GSF8gppkuGSLyU1iSxGiv+ ptXmk1z2u14AHo0epOf9V04OMa20adKrX+D38DcBs6YA/e2rffYiPf6hNVrblfNU6Q8qlHy1svFl FcSO5I8fpT3Bm/fGPcLdiGgk4WFUT8NQRt3q3Fb+zatO03cpqNqj3lWpRWG9hHwQNVG2DrXuL1YE Tw= UI-OutboundReport: notjunk:1;M01:P0:O5slaatV34Y=;jUVUud8hYou4DgtfBrgCAqIrrSW XdwAW4P+tcUITUOHQAzE2QW8YehwwMa0UpIUb+0fCR9TGc5RKvQ9W79LOw9YYBUuCE6xGpA2B uQAjGmUawbOCz13UZN9IXED+GC8wIiRAfsQqhA1tawi57iSJCKC8iDv/fpnjgW7c4tg6Mh75u kUTzqwpnRBf0CuLm8PWMNeq0W63YodoNlkI5SyjiM/CR+1NLl+9xyx9ezeZ90MzZOZgW2a+kV u7xoMcV7nx8z4NDJ39Ae7ZKJYqebf3QmdN+m9XajrbPS+rhoQCnS6FKq9o3vU3IXbi2TQ+gq9 tNbl7AlUMACv4BUf083/pBDOLijtY61oRfs06PZ8tfHGB79oPwY+ZbvpmOl4mqa2xZJqq0q/w 5yrWYAKrusXU1RjgY+ny9sYr/nGiDbKwZxSIXsJImp6tUo+IIAGTHnLrpM63fc05pj9FCYgO4 YReufg1GH76lJS7CThZ9AX2SpxXgLklAgnj1Kuf3LPZ8U/qWcVaLbpj4e9snEqqzCGSOGhVn2 yCLpBiGfKBLnTxF01BWbzJTf2jkjYNlBY0NwR+LHdnJb1Gvt8oxdVhA9T5bK4KNY6vHvacfcX 9xyUBFYtWGqUjb5DPqPACFwy4QetPVpp5eAp/9gYES5Yv7ss0ntWuILWrRQJK6qCShrF4tSFh RXS0Lhk6QuYdfT+LrGosnAw+topFP2/YWxBZ9pRLnQwoSi5G1AJD6zA5Mf6L+NMEmGP71iAH5 i/hrz82pVPBhJ9FkNUuEmKuL7epy3y7WhuJyunKnIkoA73jEdtwlfTljt5Q7ouC3SVIL5eDCY yeJWnB02EA4jzLoSX6niW0Zg0Ey75ylUp8h0WRYiZEFVY= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221227_023620_582798_C81F2CE1 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org looks like i've found it: when reverting these 2 (latter alone was not enough and seems not fixing the 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 virtual address 0000000000000010 > > but i get the same trace when reverting the cs-gpios change....seems something 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel