{"push_id":1273112817,"size":137,"distinct_size":137,"ref":"refs/heads/boundary-imx_3.14.52_1.1.0_ga","head":"7884fec5038284ac6cd80d23b25f4b98d460ce33","before":"acec24eb88abf56d5b598480a745166187cb2789","commits":[{"sha":"487fdad3e83a0a47d40a6ab07f8e16ecd0662c7d","author":{"name":"Christian Lamparter","email":"eaa9164100ddf053623721553138d8ebf9ad7873@gmail.com"},"message":"usb: xhci: handle uPD720201 and uPD720202 w/o ROM\n\nThis patch adds a firmware check for the uPD720201K8-711-BAC-A\nand uPD720202K8-711-BAA-A variant. Both of these chips are listed\nin Renesas' R19UH0078EJ0500 Rev.5.00 \"User's Manual: Hardware\" as\ndevices which need a firmware in order to work as they do not have\nsupport to load the firmware from an external ROM.\n\nCurrently, the xhci-pci driver is unable to initialize the hcd in\nthis case. Instead it will wait for 30 seconds and cause a timeout\nin xhci_handshake() and fails.\n\n[\t5.116990] xhci_hcd 0000:45:00.0: new USB bus registered ...\n[\t32.335215] xhci_hcd 0000:45:00.0: can't setup: -110\n[\t32.340179] xhci_hcd 0000:45:00.0: USB bus 2 deregistered\n[\t32.345587] xhci_hcd 0000:45:00.0: init 0000:45:00.0 fail, -110\n[\t32.351496] xhci_hcd: probe of 0000:45:00.0 failed with error -110\nCc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\nSigned-off-by: Christian Lamparter <chunkeey@gmail.com>\n\nWith the firmware loader and the correct firmware in place,\nthe device will now initialize successfully:\n\n[\t5.384776] xhci_hcd 0000:45:00.0: xHCI Host Controller\n[\t5.390028] xhci_hcd 0000:45:00.0: new USB bus registered ...\n[\t5.403017] xhci_hcd 0000:45:00.0: hcc params 0x014051cf ...\n[\t5.412217] hub 2-0:1.0: USB hub found\n[\t5.416123] hub 2-0:1.0: 2 ports detected\n[\t5.420494] xhci_hcd 0000:45:00.0: xHCI Host Controller\n[\t5.425730] xhci_hcd 0000:45:00.0: new USB bus registered...\n[\t5.441771] hub 3-0:1.0: USB hub found\n[\t5.445692] hub 3-0:1.0: 2 ports detected\n...\nThe firmware image can be extracted from the Windows driver.\nA viable source is the \"PP2U-E\" (USB3.0 Host to PCIe Adapter)'s\n\"Firmware download (ver 2.0.1.3) Jun 15, 2012\" file. It contains\nthe K2013080.mem file which needs to be placed in /lib/firmware.\n\nSigned-off-by: Christian Lamparter <chunkeey@gmail.com>\nSigned-off-by: Troy Kisky <troy.kisky@boundarydevices.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/487fdad3e83a0a47d40a6ab07f8e16ecd0662c7d"},{"sha":"0b18a66141197e8905af4365b55232fb381c3598","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci-platform: Change compatible string from xhci-platform to generic-xhci\n\nThis brings the xhci-platform bindings in sync with what we've done for\nthe ohci- and ehci-platform drivers. As discussed there using platform as a\npostfix is a bit weird as the platform bus is a Linux specific thing and\nthe bindings are supposed to be OS agnostic.\n\nNote that the old xhci-platform compatible string is kept around for, well,\ncompatibility reasons.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/0b18a66141197e8905af4365b55232fb381c3598"},{"sha":"1787d25fb5d136c866e6756b5f6fda8379e001b9","author":{"name":"Sarah Sharp","email":"99b119dad40132c6b8395214969531a61bb417d2@linux.intel.com"},"message":"usb/xhci: Change how we indicate a host supports Link PM.\n\nThe xHCI driver currently uses a USB core internal field,\nudev->lpm_capable, to indicate the xHCI driver knows how to calculate\nthe LPM timeout values.  If this value is set for the host controller\nudev, it means Link PM can be enabled for child devices under that host.\n\nChange the code so the xHCI driver isn't mucking with USB core internal\nfields.  Instead, indicate the xHCI driver doesn't support Link PM on\nthis host by clearing the U1 and U2 exit latencies in the roothub\nSuperSpeed Extended Capabilities BOS descriptor.\n\nThe code to check for the roothub setting U1 and U2 exit latencies to\nzero will also disable LPM for external devices that do that same.  This\nwas already effectively done with commit\nae8963adb4ad8c5f2a89ca1d99fb7bb721e7599f \"usb: Don't enable LPM if the\nexit latency is zero.\"  Leave that code in place, so that if a device\nsets one exit latency value to zero, but the other is set to a valid\nvalue, LPM is only enabled for the U1 or U2 state that had the valid\nvalue.  This is the same behavior the code had before.\n\nAlso, change messages about missing Link PM information from warning\nlevel to info level.  Only print a warning about the first device that\ndoesn't support LPM, to avoid log spam.  Further, cleanup some\nunnecessary line breaks to help people to grep for the error messages.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>\nCc: Alan Stern <stern@rowland.harvard.edu>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/1787d25fb5d136c866e6756b5f6fda8379e001b9"},{"sha":"5268c1729572d638fe3c4ebc04aaa918f3bdb83a","author":{"name":"Oliver Neukum","email":"af55dedc0d50bd691239218b486da844e4a16906@suse.de"},"message":"xhci: make warnings greppable\n\nThis changes debug messages and warnings in xhci-ring.c\nto be on a single line so grep can find them. grep must\nhave precedence over the 80 column limit.\n\n[Sarah fixed two checkpatch.pl issues with split lines\nintroduced by this commit.]\n\nSigned-off-by: Oliver Neukum <oneukum@suse.de>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/5268c1729572d638fe3c4ebc04aaa918f3bdb83a"},{"sha":"d2bb4bf6d4a4813fc2bc3dc95edc521e9a2c9fc7","author":{"name":"Gerd Hoffmann","email":"5fd8703623f9a82e7a4029584fa01bc629e338d9@redhat.com"},"message":"xhci: fix usb3 streams\n\nxhci maintains a radix tree for each stream endpoint because it must\nbe able to map a trb address to the stream ring.  Each ring segment\nmust be added to the ring for this to work.  Currently xhci sticks\nonly the first segment of each stream ring into the radix tree.\n\nResult is that things work initially, but as soon as the first segment\nis full xhci can't map the trb address from the completion event to the\nstream ring any more -> BOOM.  You'll find this message in the logs:\n\n  ERROR Transfer event for disabled endpoint or incorrect stream ring\n\nThis patch adds a helper function to update the radix tree, and a\nfunction to remove ring segments from the tree.  Both functions loop\nover the segment list and handles all segments instead of just the\nfirst.\n\n[Note: Sarah changed this patch to add radix_tree_maybe_preload() and\nradix_tree_preload_end() calls around the radix tree insert, since we\ncan now insert entries in interrupt context.  There are now two helper\nfunctions to make the code cleaner, and those functions are moved to\nmake them static.]\n\nSigned-off-by: Gerd Hoffmann <kraxel@redhat.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/d2bb4bf6d4a4813fc2bc3dc95edc521e9a2c9fc7"},{"sha":"cb335c07ebf59ded00b08d09cee6d439100d891c","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: Free streams when they are still allocated on a set_interface call\n\nAnd warn about this, as that would be a driver bug.\n\nLike wise drivers should ensure that streams are properly free-ed before a\ndevice is reset. So lets warn about that too. This already causes warnings\nin the form of:\n\n[   96.982398] xhci_hcd 0000:01:00.0: WARN Can't disable streams for endpoint 0x81\n, streams are already disabled!\n[   96.982400] xhci_hcd 0000:01:00.0: WARN xhci_free_streams() called with non-streams endpoint\n\nBut it is better to also warn about the actual cause of this later warnings.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/cb335c07ebf59ded00b08d09cee6d439100d891c"},{"sha":"1b610cd47865a47c3980926f8cddd2be1506cf16","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: Check size rather then number of streams when allocating stream ctxs\n\nBefore this a device needing ie 32 stream ctxs would end up with an entry from\nthe small_streams_pool which has 256 bytes entries, where as 32 stream ctxs\nneed 512 bytes. Things actually keep running for a surprisingly long time\nbefore crashing because of this.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/1b610cd47865a47c3980926f8cddd2be1506cf16"},{"sha":"ee606c312737e709c044fc2c7e49c7a159766ffa","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: For streams the css flag most be read from the stream-ctx on ep stop\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/ee606c312737e709c044fc2c7e49c7a159766ffa"},{"sha":"9c1cb7021adae057e1b655848738dc42902f51fc","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: Set SCT field for Set TR dequeue on streams\n\nNec XHCI controllers don't seem to care, but without this Intel XHCI\ncontrollers reject Set TR dequeue commands with a COMP_TRB_ERR, leading\nto the following warning:\n\nWARN Set TR Deq Ptr cmd invalid because of stream ID configuration\n\nAnd very shortly after this the system completely freezes.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/9c1cb7021adae057e1b655848738dc42902f51fc"},{"sha":"26d2f07b3c26d0167ae022d76b469c6e09b2de9e","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: For streams the dequeue ptr must be read from the stream ctx\n\nThis fixes TR dequeue validation failing on Intel XHCI controllers with the\nfollowing warning:\n\nMismatch between completed Set TR Deq Ptr command & xHCI internal state.\n\nInterestingly enough reading the deq ptr from the ep ctx after a\nTR Deq Ptr command does work on a Nec XHCI controller, it seems the Nec\nwrites the ptr to both the ep and stream contexts when streams are used.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/26d2f07b3c26d0167ae022d76b469c6e09b2de9e"},{"sha":"b06325211e64b9796d0110fff4ff3b2c476a9015","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: use usb_ss_max_streams in xhci_check_streams_endpoint\n\nThe ss_ep_comp bmAttributes filed can contain more info then just the\nstreams, use usb_ss_max_streams to properly get max streams.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/b06325211e64b9796d0110fff4ff3b2c476a9015"},{"sha":"f47a8dcc4633131a3986e9564d2a906c9a0a78d5","author":{"name":"Sarah Sharp","email":"99b119dad40132c6b8395214969531a61bb417d2@linux.intel.com"},"message":"xhci: Remove segments from radix tree on failed insert.\n\nIf we're expanding a stream ring, we want to make sure we can add those\nring segments to the radix tree that maps segments to ring pointers.\nTry the radix tree insert after the new ring segments have been allocated\n(the last segment in the new ring chunk will point to the first newly\nallocated segment), but before the new ring segments are linked into the\nold ring.\n\nIf insert fails on any one segment, remove each segment from the radix\ntree, deallocate the new segments, and return.  Otherwise, link the new\nsegments into the tree.\n\nHdG: Add a check to only update stream mappings in xhci_ring_expansion when\nthe ring is a stream ring.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/f47a8dcc4633131a3986e9564d2a906c9a0a78d5"},{"sha":"91481e16ca6be81ec69ead193aeb93ecae256974","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: xhci_mem_cleanup: make sure cmd_ring_reserved_trbs really is 0\n\ncmd_ring_reserved_trbs gets decremented by xhci_free_stream_info(), so set it\nto 0 after freeing all rings, otherwise it wraps around to a very large value\nwhen rings with streams are free-ed.\n\nBefore this patch the wrap-around could be triggered when xhci_resume\ncalls xhci_mem_cleanup if the controller resume fails.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/91481e16ca6be81ec69ead193aeb93ecae256974"},{"sha":"3faa1c88562f02eb1c50b957dbc756d3c06b7495","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: The trb_address_map radix tree expects 1KB segment memory aligment\n\nIf we align segment dma pool memory to 64 bytes, then a segment can be located\nat 0x10000040 - 0x1000043f, and a segment from another ring at 0x10000440 -\n0x1000083f. The last trb in the first segment at 0x10000430 will then translate\nto the same radix tree key as the first trb of the second segment, while they\nare in different rings!\n\nThis patches fixes this by changing the alignment of the dma pool to be 1KB\nrather then 64 bytes. An alternative fix would be to reduce the shift used\nto calculate the radix tree keys, but that would (slighlty) grow the radix\ntrees so I believe this is the better fix.\n\nNote this patch is mostly theoretical since in practice I've not seen\nthe dma_pool actually return not 1KB aligned memory.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/3faa1c88562f02eb1c50b957dbc756d3c06b7495"},{"sha":"a2e2a80bb80975a12ed14e4b11c5e54b25f7f083","author":{"name":"Hans de Goede","email":"a4b43a7169288183ae7c1f5a0140023a97961f48@redhat.com"},"message":"xhci: Handle MaxPSASize == 0\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/a2e2a80bb80975a12ed14e4b11c5e54b25f7f083"},{"sha":"6db97bc40a9a1d05f5a2ebb491a2abb46857439c","author":{"name":"Sarah Sharp","email":"99b119dad40132c6b8395214969531a61bb417d2@linux.intel.com"},"message":"xhci: Refactor command watchdog and fix split string.\n\nIn preparation for fixing this function for streams endpoints, refactor\ncode in the command watchdog timeout function into two new functions.\nOne kills all URBs on a ring (either stream or endpoint), the other\nkills all URBs associated with an endpoint.  Fix a split string while\nwe're at it.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/6db97bc40a9a1d05f5a2ebb491a2abb46857439c"},{"sha":"becc3d128e444d496ecda67edd505dd823add661","author":{"name":"Sarah Sharp","email":"99b119dad40132c6b8395214969531a61bb417d2@linux.intel.com"},"message":"xhci: Kill streams URBs when the host dies.\n\nIf the host controller stops responding to commands, we need to kill all\nthe URBs that were queued to all endpoints.  The current code would only\nkill URBs that had been queued to the endpoint rings.  ep->ring is set\nto NULL if streams has been enabled for the endpoint, which means URBs\nsubmitted with a non-zero stream_id would never get killed.  Fix this.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/becc3d128e444d496ecda67edd505dd823add661"},{"sha":"48d31a2a24619b01a547570f3771f7e7aaa37bad","author":{"name":"Oliver Neukum","email":"af55dedc0d50bd691239218b486da844e4a16906@suse.de"},"message":"storage: accept some UAS devices if streams are unavailable\n\nOn some older XHCIs streams are not supported and the UAS driver\nwill fail at probe time. For those devices storage should try\nto bind to UAS devices.\nThis patch adds a flag for stream support to HCDs and evaluates\nit.\n\n[Note: Sarah fixed a bug where the USB 2.0 root hub, not USB 3.0 root\nhub would get marked as being able to support streams.]\n\nSigned-off-by: Oliver Neukum <oliver@neukum.org>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>\nAcked-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/48d31a2a24619b01a547570f3771f7e7aaa37bad"},{"sha":"b169b2aa05d9dad2540b4eb4cae2305c0137246a","author":{"name":"Adrian Huang","email":"db907434dc9d980ac379aa7534c294bdf95b9396@lenovo.com"},"message":"xhci: add the meaningful IRQ description if it is empty\n\nWhen some xHCI host controllers fall back to use the legacy IRQ,\nthe member irq_descr of the usb_hcd structure will be empty. This\nleads to the empty string of the xHCI host controller in\n/proc/interrupts. Here is the example (The irq 19 is the xHCI host\ncontroller):\n\n           CPU0\n  0:         91\t\tIO-APIC-edge      \ttimer\n  8:          1         IO-APIC-edge      \trtc0\n  9:       7191         IO-APIC-fasteoi   \tacpi\n 18:        104       \tIR-IO-APIC-fasteoi \tehci_hcd:usb1, ehci_hcd:usb2\n 19:        473     \tIR-IO-APIC-fasteoi\n\nAfter applying the patch, the name of the registered xHCI host\ncontroller can be displayed correctly. Here is the example:\n\n           CPU0\n  0:         91\t\tIO-APIC-edge      \ttimer\n  8:          1         IO-APIC-edge      \trtc0\n  9:       7191         IO-APIC-fasteoi   \tacpi\n 18:        104       \tIR-IO-APIC-fasteoi \tehci_hcd:usb1, ehci_hcd:usb2\n 19:        473     \tIR-IO-APIC-fasteoi\txhci_hcd:usb3\n\nTested on v3.14-rc4.\n\nSigned-off-by: Adrian Huang <ahuang12@lenovo.com>\nReviewed-by: Nagananda Chumbalkar <nchumbalkar@lenovo.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/b169b2aa05d9dad2540b4eb4cae2305c0137246a"},{"sha":"87cbd4c7fb1fbf2f5dfb37b1ebb4211458f40768","author":{"name":"Lin Wang","email":"c5ccbbc08b54fd4a2fc9d386809b417709af564a@gmail.com"},"message":"xhci: fix wrong port number reported when setting USB2.0 hardware LPM.\n\nThis patch fix wrong port number reported when trying to enable/disable\nUSB2.0 hardware LPM.\n\nSigned-off-by: Lin Wang <lin.x.wang@intel.com>\nSigned-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/87cbd4c7fb1fbf2f5dfb37b1ebb4211458f40768"}]}
{"actor":{"display_login":"tkisky"}}