From: Heiner Kallweit <hkallweit1@gmail.com>
To: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
Jean Delvare <jdelvare@suse.com>
Subject: Re: i801_smbus: no runtime pm since a9c8088c7988 ("i2c: i801: Don't restore config registers on runtime PM")
Date: Fri, 21 May 2021 15:26:03 +0200 [thread overview]
Message-ID: <b61f2014-fa9d-f63a-7ea2-3c9226411a58@gmail.com> (raw)
In-Reply-To: <a9ad7cb4-ca40-1c25-9c9a-f7f167ad8be9@gmail.com>
On 21.05.2021 10:19, Heiner Kallweit wrote:
> Before the referenced commit we used i801_suspend and i801_resume also as
> runtime pm callbacks. That's no longer the case, and at least on my
> platform the SMBus controller PCI device doesn't support PM. Therefore
> PCI core can't do what it would do for other devices: bring them to D3hot
> or D3cold.
> Having said that effectively there is no runtime pm any longer. Not sure
> whether there are SMBus controller versions where the PCI device supports
> PM.
>
> So my questions are:
> Does the SMBus controller support any power-saving modes?
> i801_suspend() just sets SMBHSTCFG to the value it had when the driver
> was loaded. Means if SMBHSTCFG_HST_EN was enabled already, we won't clear
> it. And this bit may have an impact on some internal PLL's (just guessing).
> If there's no good-enough power-saving option, then runtime pm support
> could be removed completely, or?
>
>
> 00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
> DeviceName: Onboard - Other
> Subsystem: ASUSTeK Computer Inc. Device 8694
> Flags: medium devsel, IRQ 16
> Memory at a1316000 (64-bit, non-prefetchable) [size=256]
> I/O ports at efa0 [size=32]
> Kernel driver in use: i801_smbus
> Kernel modules: i2c_i801
>
> Heiner
>
+Jarkko as author of the change that added runtime pm
The commit message of the original change says:
"those platforms that support PM for i801 device"
Which platforms are this? Independent of the i801 generation I didn't see
any SMBus host controller supporting the PCI Power Management capability
yet.
next prev parent reply other threads:[~2021-05-21 13:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-21 8:19 i801_smbus: no runtime pm since a9c8088c7988 ("i2c: i801: Don't restore config registers on runtime PM") Heiner Kallweit
2021-05-21 13:26 ` Heiner Kallweit [this message]
2021-05-21 14:09 ` Jarkko Nikula
2021-05-21 14:58 ` Heiner Kallweit
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=b61f2014-fa9d-f63a-7ea2-3c9226411a58@gmail.com \
--to=hkallweit1@gmail.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=jdelvare@suse.com \
--cc=linux-i2c@vger.kernel.org \
/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