aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2015-03-23 18:27:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-23 21:51:12 +0100
commit9425183d177aa4a2f09d01a74925124f0778b595 (patch)
tree5ff9b1acd72a60b64e20f8152f7d5ad0eab359da /tools/perf/scripts/python/export-to-postgresql.py
parentLinux 4.0-rc5 (diff)
downloadlinux-9425183d177aa4a2f09d01a74925124f0778b595.tar.gz
linux-9425183d177aa4a2f09d01a74925124f0778b595.zip
usb: xhci: handle Config Error Change (CEC) in xhci driver
Linux xHCI driver doesn't report and handle port cofig error change. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This happends when the root port fails to configure its link partner, e.g. the port fails to exchange port capabilities information using Port Capability LMPs. Then the Port Status Change Events will be blocked until all status change bits(CEC is one of the change bits) are cleared('0') (refer to xHCI spec 4.19.2). Otherwise, the port status change event for this root port will not be generated anymore, then root port would look like dead for user and can't be recovered until a Host Controller Reset(HCRST). This patch is to check CEC bit in PORTSC in xhci_get_port_status() and set a Config Error in the return status if CEC is set. This will cause a ClearPortFeature request, where CEC bit is cleared in xhci_clear_port_change_bit(). [The commit log is based on initial Marvell patch posted at http://marc.info/?l=linux-kernel&m=142323612321434&w=2] Reported-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Cc: stable <stable@vger.kernel.org> # v3.2+ Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
or reconfigured portsJakub Kicinski4-37/+62 2017-04-05nfp: add support for .get_link_ksettings()Jakub Kicinski2-0/+62 2017-04-05selftests: add a generic testsuite for ethernet deviceLABBE Corentin2-1/+201 2017-04-05rtnl: Add support for netdev event to link messagesVlad Yasevich4-11/+107 2017-04-05rtnetlink: Convert rtnetlink_event to white listVlad Yasevich1-14/+17 2017-04-05net: tcp: Define the TCP_MAX_WSCALE instead of literal number 14Gao Feng4-12/+14 2017-04-05net: ibm: emac: remove unused sysrq handler for 'c' keyEric Biggers6-306/+1 2017-04-05bonding: fix active-backup transitionMahesh Bandewar1-8/+5 2017-04-05netlink/diag: report flags for netlink socketsAndrey Vagin4-8/+43 2017-04-05qed: Add a missing error codeDan Carpenter1-1/+3 2017-04-05net: sched: choke: remove some dead codeDan Carpenter1-6/+0 2017-04-05liquidio: clear the correct memoryDan Carpenter1-1/+1 2017-04-05net: stmmac: rx queue to dma channel mapping fixJoao Pinto1-1/+1 2017-04-05phy/ethtool: Add missing SPEED_<foo> stringsJoe Perches2-0/+15 2017-04-05bnxt_en: Cap the msix vector with the max completion rings.Michael Chan1-2/+3 2017-04-05bnxt_en: Use short TX BDs for the XDP TX ring.Michael Chan1-14/+2 2017-04-05bnxt_en: Add interrupt test to ethtool -t selftest.Michael Chan1-1/+31 2017-04-05bnxt_en: Add PHY loopback to ethtool self-test.Michael Chan1-2/+60 2017-04-05bnxt_en: Add ethtool mac loopback self test.Michael Chan5-11/+199 2017-04-05bnxt_en: Add basic ethtool -t selftest support.Michael Chan4-3/+150 2017-04-05bnxt_en: Add suspend/resume callbacks.Michael Chan1-0/+57 2017-04-05bnxt_en: Add ethtool set_wol method.Michael Chan3-0/+60 2017-04-05bnxt_en: Add ethtool get_wol method.Michael Chan2-0/+17 2017-04-05bnxt_en: Add pci shutdown method.Michael Chan1-0/+31 2017-04-05bnxt_en: Add basic WoL infrastructure.Michael Chan2-0/+47 2017-04-05bnxt_en: Update firmware interface spec to 1.7.6.2.Michael Chan3-37/+297 2017-04-04can: hi311x: Add Holt HI-311x CAN driverAkshay Bhat3-0/+1083