From: Heiner Kallweit <hkallweit1@gmail.com>
To: Frederick Lawler <fred@fredlawl.com>,
Bjorn Helgaas <bhelgaas@google.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: [PATCH RFC v2 0/3] PCI/ASPM: add sysfs attribute for controlling ASPM
Date: Sat, 11 May 2019 17:30:08 +0200 [thread overview]
Message-ID: <e041842a-55ed-91e3-75c2-c1a0267b74e5@gmail.com> (raw)
Background of this extension is a problem with the r8169 network driver.
Several combinations of board chipsets and network chip versions have
problems if ASPM is enabled, therefore we have to disable ASPM per
default. However especially on notebooks ASPM can provide significant
power-saving, therefore we want to give users the option to enable
ASPM. With the new sysfs attribute users can control which ASPM
link-states are disabled.
This is a RFC version, therefore documentation of attribute is
still missing. The attribute handling was inspired by the protocol
attribute handling in drivers/media/rc/rc-main.c.
Attribute syntax in a few words:
none: allow all supported ASPM states
all: disable all ASPM states
+<state>: add state to list of disabled ASPM states
-<state>: re-enable ASPM state if supported
v2:
- bind attribute to the endpoint
Heiner Kallweit (3):
PCI/ASPM: add L1 sub-state support to pci_disable_link_state
PCI/ASPM: allow to re-enable Clock PM
PCI/ASPM: add sysfs attribute for controlling ASPM
drivers/pci/pci.h | 8 +-
drivers/pci/pcie/aspm.c | 204 ++++++++++++++++++++++++++++++++++++---
include/linux/pci-aspm.h | 8 +-
3 files changed, 199 insertions(+), 21 deletions(-)
--
2.21.0
next reply other threads:[~2019-05-11 15:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-11 15:30 Heiner Kallweit [this message]
2019-05-11 15:31 ` [PATCH RFC v2 1/3] PCI/ASPM: add L1 sub-state support to pci_disable_link_state Heiner Kallweit
2019-05-11 15:32 ` [PATCH RFC v2 2/3] PCI/ASPM: allow to re-enable Clock PM Heiner Kallweit
2019-05-11 15:33 ` [PATCH RFC v2 3/3] PCI/ASPM: add sysfs attribute for controlling ASPM Heiner Kallweit
2019-05-12 1:02 ` Frederick Lawler
2019-05-12 8:47 ` Heiner Kallweit
2019-05-12 13:59 ` Heiner Kallweit
2019-05-12 14:03 ` Heiner Kallweit
2019-05-12 20:18 ` Frederick Lawler
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=e041842a-55ed-91e3-75c2-c1a0267b74e5@gmail.com \
--to=hkallweit1@gmail.com \
--cc=bhelgaas@google.com \
--cc=fred@fredlawl.com \
--cc=linux-pci@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;
as well as URLs for NNTP newsgroup(s).