Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1070361pxb; Fri, 13 Nov 2020 03:30:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxILlPTFOsWS6PCQmUKOulScML63Ql8X3GLDKdecmTD5KX/luuMsyKDgdRc5dYZsYcxcrGZ X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr1456435ejw.94.1605267045362; Fri, 13 Nov 2020 03:30:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605267045; cv=none; d=google.com; s=arc-20160816; b=T5ZJrtgFdsJDyr7FHjYhcdJ0YefG+bGwpZzPAglvNyOw443NYxKMIECgpse/xrPyYm MfDoCYJhiANCAavUw8CuVzxjRD54GIbxJu+A+NImnv0/ZZEaa9WnvghrQv+S9eZWHfWs zAuxxDfW5py1Auhw7dzyYypdcEnGjf25svtXwiX48hzwEqj0z8+fdbiJmUwMBBX/ZZMw 4mWKWlFZ8GIAk2nkQsxCenovkZx286ude/pl8uuzyQk5ILt6vCHOMqa46DBi/wgYCNp6 9y0wkud/Ffsan8lZAjoqdbfLu+pO4yfAz+gphlpjDrXKCVSWYgO7YX29sMs7pPtum+4l w6WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=d9BtORohRQssqcZEmJuQti+AVje2Xav6yhqEjMh69G8=; b=diZFDBPTY7Q5B+TraFurKkjJehWrlY02tt9+xXbLXJD/sBzN5XDqvlZyLRhTVLKLWp YW8mkwm7KCFGlz9xdzXSccPI1hBmEsQNpKJi3wtkFL+xOVPYQUO8iWHo4jDbkA4gJZmC utlOy59tnpxyp/ddPf/hc+e0jfAUNvgZpaIalZvdMGRoAmN1cOjV7nkEABdA/tT/rR3s Da6PwQNHNfUfDfUO9Y+mzJm2Wk5koD/7HLgIEnjoQkZ1nQIoI5cqILWwzC1vBxgZ0H5M kh9QT6zrZjzDcSu3cKK1fOYHpbRA9rmm1MUXLL58pLRksbmOZroydJU1YySvP4VlS15A 8OYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fBeRvct2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz19si5667194edb.512.2020.11.13.03.30.15; Fri, 13 Nov 2020 03:30:45 -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=@gmail.com header.s=20161025 header.b=fBeRvct2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726427AbgKML1P (ORCPT + 99 others); Fri, 13 Nov 2020 06:27:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726184AbgKML0U (ORCPT ); Fri, 13 Nov 2020 06:26:20 -0500 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B9E6C0613D1; Fri, 13 Nov 2020 03:26:20 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id o24so10238338ljj.6; Fri, 13 Nov 2020 03:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d9BtORohRQssqcZEmJuQti+AVje2Xav6yhqEjMh69G8=; b=fBeRvct2Z3dYw0c28ajh8qJJqmJDD8V4Cmf/d8MKaLD0FKcR4TWPdlWJtkhJQSsJDp AQi9JyDFeadS5klwC+/Q6MhMT7xSItw8MRYQe0CgVPDIo8/l4X7Ig9CPZK8sYZF3R5Q0 Kx98CLaXIq132Y0ZVSNdbLpNuuiMmwMyM/Oz1dbfXXYsgi/7zaTPqixfEE9VQcM3hqiT kn/qQr0tr7pTgc7QE0Nwst++n5P5Dqw5gTSnizv2n3GhzYVYddBTL3otcmBOBvYZ9BUT g5r/x+CZDWr9EKqoa/MTZ+5YDDMvm95UwJmZupuY2uNVkMiQ0NI2BOHjNJwagqoQbi0x qTKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d9BtORohRQssqcZEmJuQti+AVje2Xav6yhqEjMh69G8=; b=CkjAZACT03NfPGKubLqro+ftrD7UuFR7EKSkR+tZY8/GK+YCsvVGp8Kkjz+pODlGGs D4XENAd2gOXoWZGRKaWS3NSy9/kafbOxsjRhk3a7+ftTzKUR5uMsSltPkGGo9khgrV1s rNmJFWbRy5GLpJLuBgiYLuiWuZWYjtksQD06QudgB8Xz3+hw/TbMpDMHYnPQXCEkekrX hSkdRp6IDG7edAmYK9ovVKJKw3y30TKKfefIIu7H0Tc0Z3jJu1Rc8YIIl+twlugUztN/ 3A9qWyUHoBidF7wzbaDHzHu+N5GpFwxSblbzKDO8q7yEikznRm1mYT9SxV/i9yQvzaUs veaA== X-Gm-Message-State: AOAM5314Vz/zTBpsyh3VsiifytYsQV+hhUNgA39F3elWNHf77bE2/zmW F+vAL1z/8HrYyTUV0qQskl0ioK5PnJskURQTbM4= X-Received: by 2002:a2e:8682:: with SMTP id l2mr801866lji.218.1605266778484; Fri, 13 Nov 2020 03:26:18 -0800 (PST) MIME-Version: 1.0 References: <20200727063354.17031-1-xiaoning.wang@nxp.com> <20201113091800.27469-1-nikita.shubin@maquefel.me> In-Reply-To: <20201113091800.27469-1-nikita.shubin@maquefel.me> From: Fabio Estevam Date: Fri, 13 Nov 2020 08:26:07 -0300 Message-ID: Subject: Re: [PATCH] spi: imx: enable runtime pm support To: Nikita Shubin 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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