Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4098530imm; Mon, 17 Sep 2018 08:10:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbHg5pk8Lk6feylOL10WwenT8lZ+f6BXwSgesN1V0oIW1H8oNo0MfOHmysjU8s2rIN34KCt X-Received: by 2002:a17:902:ba83:: with SMTP id k3-v6mr24627856pls.251.1537197022695; Mon, 17 Sep 2018 08:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537197022; cv=none; d=google.com; s=arc-20160816; b=xq8MhtUXIbVr16M0/R6R+TwPlTbp4oKrZ46xOUNTPUfosyYhXlG43rgU1O9HXD2QMr B9UVBOl9ABI8rGzAL7AecahEWSB0rN9lSy9crHIKELqmJxqpvWAQEBJ94E7MpzHDGd5X j3h7/tB5NLuetJt4/V3KWBVHdzWD9EOcTi61kYAoSQS9ivIMag8dkNfA+Vo7GNcpD6M3 OxD/N1oH1JpKIXYLMmGrB+5edMgEj8Q8EcdofnPBdmmLrtPtbeJm7s2eCyPO5dJCy1zv VTvT45Nv6HKDW0GPi/v85wk+/U1Xdtc2V35rR6NMsxbgUire16+mnWSPnj+PQmVQS49a UcBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rzuFoRmQ15i9z/DNMF8YTB0+cYnyuZ2PI+9k1qzjzEo=; b=OKCwJ5uDXUgwnNKSBYVuKHnZ6wA1APrDdM+3W9w3kIoRtOH0kduvW8bW4k0ikJgnPZ RuII4PjUnTntQZnghYm6Jz91A5rwxfqH34kdxgO4HCM9jBiCnry/R2/CU7CHhJGpbIyK c2bxxrpMFIW83i/zbIkR4ATHT7HFWg1Q0dw+/W+X8ESXKFbdC3PC4Zu4p/EhamPZtLrn F0XYSsNWPgYfchKTcxOpEqQ6K/oak2tK2cWEGIbmj3mwYifUyTpfUUHeYdO4kdmaRvbo D14g51ZBMniOqf5Di7wVawAXw5ACwCb4FfqeuEzZmyyXo7dPzXYci0J4/B5s0Jb95av1 GDHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14-v6si15874691pgg.67.2018.09.17.08.09.56; Mon, 17 Sep 2018 08:10:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729206AbeIQUhd (ORCPT + 99 others); Mon, 17 Sep 2018 16:37:33 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:60668 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728437AbeIQUhc (ORCPT ); Mon, 17 Sep 2018 16:37:32 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0E9E4ED1; Mon, 17 Sep 2018 08:09:47 -0700 (PDT) Received: from e107981-ln.cambridge.arm.com (e107981-ln.emea.arm.com [10.4.13.117]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 19D3D3F5BD; Mon, 17 Sep 2018 08:09:43 -0700 (PDT) Date: Mon, 17 Sep 2018 16:09:41 +0100 From: Lorenzo Pieralisi To: Leonard Crestez Cc: Shawn Guo , Philipp Zabel , Lucas Stach , Andrey Smirnov , Richard Zhu , Anson Huang , Bjorn Helgaas , Jingoo Han , Joao Pinto , linux-pci@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland Subject: Re: [PATCH v4 0/6] PCI: imx: Initial imx7d suspend/resume support Message-ID: <20180917150941.GH7239@e107981-ln.cambridge.arm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 14, 2018 at 07:50:14PM +0300, Leonard Crestez wrote: > On imx7d the pcie-phy power domain is turned off in suspend and this can > make the system hang on resume when attempting any read from PCI. > > Fix this by adding PM_SLEEP support to the imx6 pci driver. This is > currently only enabled for imx7d but the suspend/resume sequence also > applies to other socs. > > V3 of this series was reviewed by Lucas but stalled because the merge > window opened. > > There was also some confusion about how to deal with the dependence on > commit 26fce0557fa6 ("reset: imx7: Fix always writing bits as 0"). To > clarify: both patch 2 and 26fce0557fa6 are required to fix imx7d suspend > but merging one without the other shouldn't cause other issues. > > > V4 adds 4 more patches with PME_Turn_Off support on top, using a new > reset bit. I generally try to keep series short but in this case some > planning might be needed to get patches into 4.20. > > Since the new reset is treated as optional with old DTB there should be > again no problem if reset and pci are merged out of order. > > > Shawn/Philipp/Lorenzo: Would it make sense to merge this series through a > single specific tree, such as the one for imx? This series is a bit of a mixture of multiple things hard to discern (actually I already merged patch 2 and patch 1 seems completely unrelated). I would take the series through the PCI tree but I need an ACK for patches 5 and 6, please let me know how you want to handle it. Lorenzo > Link to v3: https://lkml.org/lkml/2018/7/24/713 > > Leonard Crestez (6): > Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping" > PCI: imx: Initial imx7d pm support > reset: imx7: Add PCIE_CTRL_APPS_TURNOFF > dt-bindings: imx6q-pcie: Add turnoff reset for imx7d > ARM: dts: imx7d: Add turnoff reset > PCI: imx: Add PME_Turn_Off support > > .../bindings/pci/fsl,imx6q-pcie.txt | 1 + > arch/arm/boot/dts/imx7d.dtsi | 17 ++- > drivers/pci/controller/dwc/pci-imx6.c | 112 +++++++++++++++++- > drivers/reset/reset-imx7.c | 1 + > include/dt-bindings/reset/imx7-reset.h | 4 +- > 5 files changed, 123 insertions(+), 12 deletions(-) > > -- > 2.17.1 >