From: Lu Baolu <baolu.lu@linux.intel.com>
To: Mathias Nyman <mathias.nyman@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Lu Baolu <baolu.lu@linux.intel.com>
Subject: [PATCH v3 0/3] usb: core: lpm: add sysfs node for usb3 lpm permit
Date: Sat, 14 Nov 2015 16:26:31 +0800 [thread overview]
Message-ID: <1447489594-32377-1-git-send-email-baolu.lu@linux.intel.com> (raw)
Hi,
This patch series is about to add a sysfs attribute, through which
users can disable or enable USB3 LPM (link power management) from
a USB port. Once LPM is disabled from the USB port, LPM between the
downstreaming device and the hub port will not be activated. This
helps users to use any LPM-unfriendly USB devices on any released
Linux kernels.
This patch series contains a fix and a cleanup as well.
Change log:
v2->v3:
Make the code more readable by adding some comments and
refactoring the "if/else" code.
v1->v2:
Fix the "make htmldoc" warning reported by 0-day robot.
Thanks,
Baolu
Lu Baolu (3):
usb: core: lpm: fix usb3_hardware_lpm sysfs node
usb: core: lpm: add sysfs node for usb3 lpm permit
usb: core: lpm: remove usb3_lpm_enabled in usb_device
Documentation/ABI/testing/sysfs-bus-usb | 27 +++++++---
Documentation/usb/power-management.txt | 11 ++--
drivers/usb/core/hub.c | 52 +++++++++++++++----
drivers/usb/core/hub.h | 5 +-
drivers/usb/core/port.c | 89 ++++++++++++++++++++++++++++++++-
drivers/usb/core/sysfs.c | 31 ++++++++++--
include/linux/usb.h | 6 ++-
7 files changed, 190 insertions(+), 31 deletions(-)
--
2.1.4
next reply other threads:[~2015-11-14 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-14 8:26 Lu Baolu [this message]
2015-11-14 8:26 ` [PATCH v3 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node Lu Baolu
2015-11-14 8:26 ` [PATCH v3 2/3] usb: core: lpm: add sysfs node for usb3 lpm permit Lu Baolu
2015-11-14 8:26 ` [PATCH v3 3/3] usb: core: lpm: remove usb3_lpm_enabled in usb_device Lu Baolu
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=1447489594-32377-1-git-send-email-baolu.lu@linux.intel.com \
--to=baolu.lu@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=stern@rowland.harvard.edu \
/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