Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269440

[PATCH v3 0/3] usb: core: lpm: add sysfs node for usb3 lpm permit

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Lu Baolu <baolu.lu@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/3] usb: core: lpm: add sysfs node for usb3 lpm permit
Date Sat, 14 Nov 2015 09:30:01 +0100
Message-ID <quEnD-1CH-3@gated-at.bofh.it> (permalink)
X-Original-To Mathias Nyman <mathias.nyman@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Alan Stern <stern@rowland.harvard.edu>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.20,292,1444719600"; d="scan'208";a="819721733"
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 44
Organization linux.* mail to news gateway
X-Original-Cc linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Lu Baolu <baolu.lu@linux.intel.com>
X-Original-Date Sat, 14 Nov 2015 16:26:31 +0800
X-Original-Message-ID <1447489594-32377-1-git-send-email-baolu.lu@linux.intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1269440

Show key headers only | View 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/3] usb: core: lpm: add sysfs node for usb3 lpm permit Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-14 09:30 +0100
  [PATCH v3 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-14 09:30 +0100

csiph-web