Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1097631pxb; Fri, 13 Nov 2020 04:16:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJylxgOUHY5dqs2o4WUHYw9+guNdWmTbPLCxQicFlOlI71pglphrT3le3DtpIgCHYt8JCqcp X-Received: by 2002:a50:a105:: with SMTP id 5mr2093964edj.165.1605269780049; Fri, 13 Nov 2020 04:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605269779; cv=none; d=google.com; s=arc-20160816; b=hVhoknlbs/qgDZUsfa/PmgihQoCUHUiSlE24aEW5XMetmI6KFKOvAatu3MIX/FQ/O9 LvvN6ByemObJsNkrosHhOF1egiAZNb54QZ6eGI/oSHrQo+angIFP00dv5ZwbUMMTiQtT e1A6vkJi/Knj+z//G7bULrgVA0u/WBDI7pHSd+dqBJHSzKK6TxACj8jx5JI1YBJQXb3L Gj+4ijKMGLtN4K2RseYLISX6JgR2UiZ2/m9KicfHzs/0yoi0azi8/DrmTxjKr1z1kZ+e /bSZwl5yTWmXJ4nFjQ0MzbzJKU4s0z/U4KgPn2crHmcJt8IG9ypiwj6ZWP2Zg/I+A//M 5cdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:date :mime-version:subject:references:cc:to:from:dkim-signature; bh=8JTSwotuRGgc/44wdb4s+/iJsvCU7rusxQ3UllDMBSU=; b=wYznKxTb6MLrYfO7qdGtc5ahX3AYWYA27s6oHD9HzwxXjBGcji092eIc+IRP7Rrc+J N+YJeGmGf9UZpm7jd8ieTuJUHmQnj70c+o4soOOEzqVq45v/OAkBSIixQbedFXwJDMoX uPCk0hLHjJykqfa441R71asDc3OWgcK7u9n4WaHg0FU6Dimbpyr1SnyuIQ+RSXilyuXE vGxajgL44ewJ38rUcoZSQSpy4w2C9TntK72RUkAqidlrzEUIoNpsVC+wMgy/M/pzbTYD 76XB2zOI5E0qft6lqKzYbZgctn1J65iWSIp1mlJl/nWi4HMXBK7O3VIQgV/J9TfbyGwx 4BBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=tTEnTkT7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k10si6454653edk.529.2020.11.13.04.15.55; Fri, 13 Nov 2020 04:16:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=tTEnTkT7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726662AbgKMMLx (ORCPT + 99 others); Fri, 13 Nov 2020 07:11:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgKMMLx (ORCPT ); Fri, 13 Nov 2020 07:11:53 -0500 X-Greylist: delayed 429 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 13 Nov 2020 04:11:53 PST Received: from forward500j.mail.yandex.net (forward500j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FA96C0613D1; Fri, 13 Nov 2020 04:11:53 -0800 (PST) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 0AB2411C1C33; Fri, 13 Nov 2020 15:04:37 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback18j.mail.yandex.net (mxback/Yandex) with ESMTP id 4fGUZinil1-4aKaNgI3; Fri, 13 Nov 2020 15:04:36 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1605269076; bh=8JTSwotuRGgc/44wdb4s+/iJsvCU7rusxQ3UllDMBSU=; h=References:Date:Message-Id:Cc:Subject:To:From; b=tTEnTkT72hcEIYLWsXMMSADjwPt9KZLUcKGwXTma1LLMqzxze/DckwxDHLIytcAN6 YtriDipyDVALu1fu1GqOM0Ej89xQxi9lb9/M4kHRxmYobzEx1SPAiqHSzWDzDiWpaa 62+JarJ5J4idn12vn0XChnzmvpTDckTqhY2F8V9w= Authentication-Results: mxback18j.mail.yandex.net; dkim=pass header.i=@maquefel.me Received: by sas1-c37eebe3eab8.qloud-c.yandex.net with HTTP; Fri, 13 Nov 2020 15:04:35 +0300 From: "nikita.shubin@maquefel.me" To: Fabio Estevam Cc: Clark Wang , Mark Brown , Sascha Hauer , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , NXP Linux Team , linux-kernel , linux-spi , Sascha Hauer , Shawn Guo References: <20200727063354.17031-1-xiaoning.wang@nxp.com> <20201113091800.27469-1-nikita.shubin@maquefel.me> Subject: Re: [PATCH] spi: imx: enable runtime pm support MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 13 Nov 2020 15:04:35 +0300 Message-Id: <717261605268864@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, Apllied on the top of    Revert "spi: imx: Fix freeing of DMA channels if spi_bitbang_start() fails"    This reverts commit 9e68d974b2fd4977e896e166656c36e2f80293d6. Still experiencing the same issue: [ 4.322131] inv-mpu6000-spi spi2.0: I/O Error in PIO [ 4.329353] inv-mpu6000-spi spi2.0: SPI transfer failed: -110 [ 4.391504] spi_master spi2: failed to transfer one message from queue I have config CONFIG_PM=y. 13.11.2020, 14:26, "Fabio Estevam" : > Hi Nikita, > > On Fri, Nov 13, 2020 at 6:18 AM Nikita Shubin wrote: >>  Hello Clark, >> >>  This patch breaks spi-imx on imx7d. >>  Toradex Colibri imx7d spi reports with: >> >>      [ 4.258468] inv-mpu6000-spi spi2.0: I/O Error in PIO >>      [ 4.264269] inv-mpu6000-spi spi2.0: SPI transfer failed: -110 >>      [ 4.264305] spi_master spi2: failed to transfer one message from queue >> >>  We are using spi-imx with dma. >> >>  Reverting your patch fixes this issue. >> >>  The baseline commit 951cbbc386ff01b50da4f46387e994e81d9ab431 (tag: v5.9.8, stable/linux-5.9.y) >> >>  Could you please give some comments on this issue ? > > Could you please try this patch from Sascha? > https://lkml.org/lkml/2020/10/12/981