All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bhelgaas@google.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: linux-omap@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org, jingoohan1@gmail.com,
	nsekhar@ti.com
Subject: Re: [PATCH v5 0/3] dra7xx: Add PM support to PCIe
Date: Tue, 11 Aug 2015 15:52:05 -0500	[thread overview]
Message-ID: <20150811205205.GJ13982@google.com> (raw)
In-Reply-To: <1438345512-28973-1-git-send-email-kishon@ti.com>

On Fri, Jul 31, 2015 at 05:55:09PM +0530, Kishon Vijay Abraham I wrote:
> This series adds PM support to pci-dra7xx so that PCI clocks can be disabled
> during suspend and enabled back during resume without affecting
> PCI functionality.
> 
> Changes from v4:
> *) Fixed a bug caused by sending incomplete patch.
> 
> Changes from v3:
> *) Fix compilation errors when individual patches are applied
> 
> Changes from v2:
> *) Used SET_SYSTEM_SLEEP_PM_OPS and SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for
>    populating PM ops.
> 
> Changes from v1:
> *) Moved resetting and setting of MSE bit to pci-dra7xx.
> 
> The comment to reset and set ISE is not done now since I don't have a card
> with IO space. Once I get to test that, I'll post a separate patch for
> handling that.
> 
> Kishon Vijay Abraham I (3):
>   PCI: host: pci-dra7xx: Disable pm_runtime on get_sync failure
>   PCI: host: pci-dra7xx: add pm support to pci dra7xx
>   PCI: host: pci-dra7xx: Idle the module by disabling MSE bit
> 
>  drivers/pci/host/pci-dra7xx.c |   95 ++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 94 insertions(+), 1 deletion(-)

Applied with Jingoo's Reviewed-by to pci/host-dra7xx for v4.3, thanks!

I tweaked the changelogs as follows:


commit 0e2bdb0e7abf4b5170874e415ec42df547916dd3
Author: Kishon Vijay Abraham I <kishon@ti.com>
Date:   Fri Jul 31 17:55:10 2015 +0530

    PCI: dra7xx: Disable pm_runtime on get_sync failure
    
    Fix the error handling when pm_runtime_get_sync() fails.
    
    If pm_runtime_get_sync() fails, call pm_runtime_disable() so there are no
    unbalanced pm_runtime_enable() calls.
    
    Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Jingoo Han <jingoohan1@gmail.com>

commit e52eb445ea1d97bf7fb92d2297e487a305392136
Author: Kishon Vijay Abraham I <kishon@ti.com>
Date:   Fri Jul 31 17:55:11 2015 +0530

    PCI: dra7xx: Add PM support
    
    Add PM support to pci-dra7xx so PCI clocks can be disabled during suspend
    and enabled during resume without affecting PCI functionality.
    
    Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Jingoo Han <jingoohan1@gmail.com>

commit 389c7094ec241ee8ebe358ba10fe392018692c8c
Author: Kishon Vijay Abraham I <kishon@ti.com>
Date:   Fri Jul 31 17:55:12 2015 +0530

    PCI: dra7xx: Clear MSE bit during suspend so clocks will idle
    
    DRA7xx requires the MSE bit to be cleared to set the master in standby
    mode.  (In DRA7xx TRM_vE, section 24.9.4.5.2.2.1 PCIe Controller Master
    Standby Behavior advises to use the clearing of the local MSE bit to set
    the master in standby.  Without this some of the clocks do not idle).
    
    Clear the MSE bit on suspend and enable it on resume.  Clearing MSE bit is
    required to get clocks to be idled after suspend.
    
    Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
    Signed-off-by: Sekhar Nori <nsekhar@ti.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Jingoo Han <jingoohan1@gmail.com>

  parent reply	other threads:[~2015-08-11 20:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 12:25 [PATCH v5 0/3] dra7xx: Add PM support to PCIe Kishon Vijay Abraham I
2015-07-31 12:25 ` Kishon Vijay Abraham I
2015-07-31 12:25 ` [PATCH v5 1/3] PCI: host: pci-dra7xx: Disable pm_runtime on get_sync failure Kishon Vijay Abraham I
2015-07-31 12:25   ` Kishon Vijay Abraham I
2015-07-31 12:25 ` [PATCH v5 2/3] PCI: host: pci-dra7xx: add pm support to pci dra7xx Kishon Vijay Abraham I
2015-07-31 12:25   ` Kishon Vijay Abraham I
2015-07-31 12:25 ` [PATCH v5 3/3] PCI: host: pci-dra7xx: Idle the module by disabling MSE bit Kishon Vijay Abraham I
2015-07-31 12:25   ` Kishon Vijay Abraham I
2015-08-06 15:33 ` [PATCH v5 0/3] dra7xx: Add PM support to PCIe Jingoo Han
2015-08-06 15:33   ` Jingoo Han
2015-08-11 20:52 ` Bjorn Helgaas [this message]
2015-08-12  5:40   ` Kishon Vijay Abraham I
2015-08-12  5:40     ` Kishon Vijay Abraham I

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150811205205.GJ13982@google.com \
    --to=bhelgaas@google.com \
    --cc=jingoohan1@gmail.com \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=nsekhar@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.