Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1005679pxb; Fri, 13 Nov 2020 01:27:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfL95PpK+HplBvgbTSjBwVG03cEU5z6zX9IGtR7jVLFF37xgpPLp3gJEgwyRHeP3lFYHwK X-Received: by 2002:a17:907:119e:: with SMTP id uz30mr1061379ejb.125.1605259628764; Fri, 13 Nov 2020 01:27:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605259628; cv=none; d=google.com; s=arc-20160816; b=qSVC43aALlqjSkA8a9xmTp3JW5NUourtt4LMoBBjiMlUgXMuKRzhkodM0qRKEdtIYx pvo5DjmykMcXBtzhgCS0+rJ9HWn5N/1BMPS/86HmADvgAxjWidn7UOY5wASiVcWNv2DP icDcSz7yi4FecPZKdR+PpmZmD4TlJXWo4K5EVpkW4YXaeIRX3osaS2K+umVRCshw49AD 02oeUad35DyodjW64tlX8i/y0j7nWbpKgrPsoyVvmTlpeVPaBdN+GBZZUaM2giWTcJ9O 1hDF6brJwNKaQJTgQJSaHwtq4qGzWMH+DJbkgQAJbmbFhu5JkfVprmjL5yuWJIHkrklg 2crw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2QGuKJSD53PCajVm5lDrDZgahhhHYLtK3iVJXhvVi80=; b=hp2DbPoEk02d+i0/cwxo1JfjAFOhtTh7BG45BgGREGE6X+zNksFcfzc8G6ApTjfi/U 8lqLkrZxMyaatIx2Eo9E89nrG8C/+zF2KrD4/gAwDAtQ1enTNUwKzWIacNNrXXe7PROB 35vAEmBi8/bo4pfkLV8geF2b9oCwQolFspm/JZaLQWrEO1nruj8bdavfylcY3CMy0iQC A70Iy71XQkHTAjWaYrzSjsScpOycicGF3g+pQk+Lahu/6MJM5FKer+ovgOFZFadOSKk8 6EOaf9gLVwIZ2h2dsYyQc8nFCj/YN1S68fq0gF6ve58H/Uvp8B2iI1LtBjw+3C0FVrfE KGCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=MS2bv1kz; 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 qp3si5562739ejb.382.2020.11.13.01.26.45; Fri, 13 Nov 2020 01:27:08 -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=MS2bv1kz; 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 S1726308AbgKMJY6 (ORCPT + 99 others); Fri, 13 Nov 2020 04:24:58 -0500 Received: from forward103o.mail.yandex.net ([37.140.190.177]:33307 "EHLO forward103o.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgKMJYy (ORCPT ); Fri, 13 Nov 2020 04:24:54 -0500 X-Greylist: delayed 377 seconds by postgrey-1.27 at vger.kernel.org; Fri, 13 Nov 2020 04:24:52 EST Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 4FED75F8235D; Fri, 13 Nov 2020 12:18:34 +0300 (MSK) Received: from mxback9q.mail.yandex.net (mxback9q.mail.yandex.net [IPv6:2a02:6b8:c0e:6b:0:640:b813:52e4]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 4AF5E61E0002; Fri, 13 Nov 2020 12:18:34 +0300 (MSK) Received: from vla5-3832771863b8.qloud-c.yandex.net (vla5-3832771863b8.qloud-c.yandex.net [2a02:6b8:c18:3417:0:640:3832:7718]) by mxback9q.mail.yandex.net (mxback/Yandex) with ESMTP id pSAr2pjuXT-IYeaiO9W; Fri, 13 Nov 2020 12:18:34 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1605259114; bh=2QGuKJSD53PCajVm5lDrDZgahhhHYLtK3iVJXhvVi80=; h=In-Reply-To:Subject:To:From:Cc:References:Date:Message-Id; b=MS2bv1kz1fwomOY7q/Tcc5+rAd//f4WfmVhzhBV+LXz1+Hd7V3xmBhBIgQUQFGgUG mLXawb0eiPMR7YoFmBrHcCztLrySzZeG79KJVNJ0X3ijyn06+7xoOi+1axI0jqVyuC wz9GhB3L+T9vEqVc+3x5AulU3ZcLn8whrfaIvkyY= Authentication-Results: mxback9q.mail.yandex.net; dkim=pass header.i=@maquefel.me Received: by vla5-3832771863b8.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id HQN6fQ2zIo-IJnGZG5B; Fri, 13 Nov 2020 12:18:33 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Nikita Shubin To: xiaoning.wang@nxp.com Cc: broonie@kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, Nikita Shubin Subject: [PATCH] spi: imx: enable runtime pm support Date: Fri, 13 Nov 2020 12:18:00 +0300 Message-Id: <20201113091800.27469-1-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200727063354.17031-1-xiaoning.wang@nxp.com> References: <20200727063354.17031-1-xiaoning.wang@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ?