linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <arnd@arndb.de>, Bjorn Helgaas <bhelgaas@google.com>,
	Pratyush Anand <pratyush.anand@gmail.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	<jg1.han@samsung.com>, Mohit Kumar <mohit.kumar@st.com>,
	<kishon@ti.com>
Subject: [Query] PCIe power management with designware
Date: Mon, 4 May 2015 21:54:21 +0530	[thread overview]
Message-ID: <55479D35.3060603@ti.com> (raw)

Hi,

I'm planning to add power management (suspend/resume) support for DRA7xx and 
have a query.

The pci_pm_suspend_noirq callback being a bus pm_ops gets invoked late i.e 
after the suspend hooks of the pci devices (including the RC driver). The 
problem is after the 'suspend' of the RC driver, the clocks are disabled. Now 
pci_pm_suspend_noirq has a call to pci_save_state() which tries to access the
configuration space registers. Since the clocks are disabled by now, this 
results in an abort. Shouldn't we do save_state() earlier?

After working around the above problem, I face one more issue with broadcom 
BCM95721 A211 card. After resuming, I'm unable to access the memory space. I'm 
not sure if that is specific to that particular card, since I have no problems 
with USB cards.

Cheers
Kishon

             reply	other threads:[~2015-05-04 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 16:24 Kishon Vijay Abraham I [this message]
2015-05-05 13:03 ` [Query] PCIe power management with designware Pratyush Anand
2015-05-05 13:23   ` 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=55479D35.3060603@ti.com \
    --to=kishon@ti.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=jg1.han@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mohit.kumar@st.com \
    --cc=pratyush.anand@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).