{"push_id":1377914197,"size":16,"distinct_size":0,"ref":"refs/heads/Stable","head":"5d6f00469e586d352f22c034d963e4d6cd6a77fe","before":"c7fa1a62eb23be1763839c7fde149598dbb11c41","commits":[{"sha":"652de1173cb0685e2992e3f34afc12f34aace57f","author":{"name":"Devdutt Patnaik","email":"4d1866f341af48d0d47d25ea0946ca9e2f16a6b1@codeaurora.org"},"message":"usb: xhci-plat: Add support to modify imod from sysfs\n\nxhci allows interrupts to be moderated at 250ns interval;\nprovide an sysfs interface to modify interrupt rate from\nuserspace to understand throughput variation by changing imod.\n\nUsage:\nBelow command will moderate interrupts at 1ms or (4000 * 250ns)\ninterval.\necho 4000 > /sys/devices/8a00000.ssusb/8a00000.dwc3/xhci-hcd.0.auto/\nconfig_imod\n\nChange-Id: I455d5a0f9a0314e86f711efd35315002b20f5343\nSigned-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>\nSigned-off-by: Azhar Shaikh <azhars@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/652de1173cb0685e2992e3f34afc12f34aace57f"},{"sha":"250293fc32c1c57a6cf10cc4a49398c9a941f87d","author":{"name":"Azhar Shaikh","email":"cbb0239df3faaabf3fb5681643fb7180458a007f@codeaurora.org"},"message":"usb: xhci: Set interrupt moderation for host mode to 4000(1ms)\n\nHigher value allows xhci core to moderate interrupts resulting\nin fewer interrupts from xhci core. This results in lower CPU\nutilization during peak throughput scenarios.\n\nChange-Id: I69548fd9a1adff1b8eafee40c0f92639efd93b2e\nSigned-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>\nSigned-off-by: Azhar Shaikh <azhars@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/250293fc32c1c57a6cf10cc4a49398c9a941f87d"},{"sha":"ae3f35ce6bf45d635d8738504c55695bda026b72","author":{"name":"Roger Quadros","email":"45431f80c5dfd91b829b7e39671862f046d4356e@ti.com"},"message":"usb: xhci: lock mutex on xhci_stop\n\nElse it races with xhci_setup_device\n\nCc: <stable@vger.kernel.org>\nSigned-off-by: Roger Quadros <rogerq@ti.com>\nSigned-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nChange-Id: I00775500870968e444e32ae68b736dc73c44435d\nGit-commit: 85ac90f8953a58f6a057b727bc9db97721e3fb8e\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Jack Pham <jackp@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/ae3f35ce6bf45d635d8738504c55695bda026b72"},{"sha":"b37ae31ff8a37c51c2eff704b92c443d58bc173c","author":{"name":"Roger Quadros","email":"45431f80c5dfd91b829b7e39671862f046d4356e@ti.com"},"message":"usb: xhci: exit early in xhci_setup_device() if we're halted or dying\n\nDuring quick plug/removal of OTG adapter during dual-role testing\nit can happen that xhci_alloc_device() is called for the newly\ndetected device after the DRD library has called xhci_stop to\nremove the HCD.\n\nIf that is the case, just fail early to prevent the following warning.\n\n[  154.732649] hub 4-0:1.0: USB hub found\n[  154.742204] hub 4-0:1.0: 1 port detected\n[  154.824458] hub 3-0:1.0: state 7 ports 1 chg 0002 evt 0000\n[  154.854609] hub 4-0:1.0: state 7 ports 1 chg 0000 evt 0000\n[  154.944430] usb 3-1: new high-speed USB device number 2 using xhci-hcd\n[  154.951009] xhci-hcd xhci-hcd.0.auto: xhci_setup_device\n[  155.038191] xhci-hcd xhci-hcd.0.auto: remove, state 4\n[  155.043315] usb usb4: USB disconnect, device number 1\n[  155.055270] xhci-hcd xhci-hcd.0.auto: xhci_stop\n[  155.060094] xhci-hcd xhci-hcd.0.auto: USB bus 4 deregistered\n[  155.066576] xhci-hcd xhci-hcd.0.auto: remove, state 1\n[  155.071710] usb usb3: USB disconnect, device number 1\n[  155.077124] xhci-hcd xhci-hcd.0.auto: xhci_setup_device\n[  155.082389] ------------[ cut here ]------------\n[  155.087690] WARNING: CPU: 0 PID: 72 at drivers/usb/host/xhci.c:3800 xhci_setup_device+0x410/0x484 [xhci_hcd]()\n[  155.097861] Modules linked in: sd_mod usb_storage scsi_mod usb_f_ss_lb g_zero libcomposite ipv6 xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core evdev ti_am335x_adc joydev kfifo_buf industrialio snd_soc_simple_cc\n[  155.146734] CPU: 0 PID: 72 Comm: kworker/0:3 Tainted: G        W       4.1.4-00834-gcd9380b-dirty #50\n[  155.156073] Hardware name: Generic AM43 (Flattened Device Tree)\n[  155.162117] Workqueue: usb_hub_wq hub_event [usbcore]\n[  155.167249] Backtrace:\n[  155.169751] [<c0012af0>] (dump_backtrace) from [<c0012c8c>] (show_stack+0x18/0x1c)\n[  155.177390]  r6:c089d4a4 r5:ffffffff r4:00000000 r3:ee46c000\n[  155.183137] [<c0012c74>] (show_stack) from [<c05f7c14>] (dump_stack+0x84/0xd0)\n[  155.190446] [<c05f7b90>] (dump_stack) from [<c00439ac>] (warn_slowpath_common+0x80/0xbc)\n[  155.198605]  r7:00000009 r6:00000ed8 r5:bf27eb70 r4:00000000\n[  155.204348] [<c004392c>] (warn_slowpath_common) from [<c0043a0c>] (warn_slowpath_null+0x24/0x2c)\n[  155.213202]  r8:ee49f000 r7:ee7c0004 r6:00000000 r5:ee7c0158 r4:ee7c0000\n[  155.220051] [<c00439e8>] (warn_slowpath_null) from [<bf27eb70>] (xhci_setup_device+0x410/0x484 [xhci_hcd])\n[  155.229816] [<bf27e760>] (xhci_setup_device [xhci_hcd]) from [<bf27ec10>] (xhci_address_device+0x14/0x18 [xhci_hcd])\n[  155.240415]  r10:ee598200 r9:00000001 r8:00000002 r7:00000001 r6:00000003 r5:00000002\n[  155.248363]  r4:ee49f000\n[  155.250978] [<bf27ebfc>] (xhci_address_device [xhci_hcd]) from [<bf20cb94>] (hub_port_init+0x1b8/0xa9c [usbcore])\n[  155.261403] [<bf20c9dc>] (hub_port_init [usbcore]) from [<bf2101e0>] (hub_event+0x738/0x1020 [usbcore])\n[  155.270874]  r10:ee598200 r9:ee7c0000 r8:ee7c0038 r7:ee518800 r6:ee49f000 r5:00000001\n[  155.278822]  r4:00000000\n[  155.281426] [<bf20faa8>] (hub_event [usbcore]) from [<c005754c>] (process_one_work+0x128/0x340)\n[  155.290196]  r10:00000000 r9:00000003 r8:00000000 r7:fedfa000 r6:eeec5400 r5:ee598314\n[  155.298151]  r4:ee434380\n[  155.300718] [<c0057424>] (process_one_work) from [<c00578f8>] (worker_thread+0x158/0x49c)\n[  155.308963]  r10:ee434380 r9:00000003 r8:eeec5400 r7:00000008 r6:ee434398 r5:eeec5400\n[  155.316913]  r4:eeec5414\n[  155.319482] [<c00577a0>] (worker_thread) from [<c005cc40>] (kthread+0xdc/0xf8)\n[  155.326765]  r10:00000000 r9:00000000 r8:00000000 r7:c00577a0 r6:ee434380 r5:ee4441c0\n[  155.334713]  r4:00000000 r3:00000000\n[  155.338341] [<c005cb64>] (kthread) from [<c000fc08>] (ret_from_fork+0x14/0x2c)\n[  155.345626]  r7:00000000 r6:00000000 r5:c005cb64 r4:ee4441c0\n[  155.356108] ---[ end trace a58d34c223b190e6 ]---\n[  155.360783] xhci-hcd xhci-hcd.0.auto: Virt dev invalid for slot_id 0x1!\n[  155.574404] xhci-hcd xhci-hcd.0.auto: xhci_setup_device\n[  155.579667] ------------[ cut here ]------------\n\nCc: <stable@vger.kernel.org>\nSigned-off-by: Roger Quadros <rogerq@ti.com>\nSigned-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nChange-Id: I81f443c68777878726d153f528dffe5911ed143c\nGit-commit: 448116bfa856d3c076fa7178ed96661a008a5d45\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Jack Pham <jackp@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/b37ae31ff8a37c51c2eff704b92c443d58bc173c"},{"sha":"cd3772e425ac27b97a8dab0abda944baa862243e","author":{"name":"Jack Pham","email":"f646de8ac2008412216aeba4d048e5819cf51aef@codeaurora.org"},"message":"usb: xhci: clean up command queue when halting\n\nCalling usb_remove_hcd() on both of the xHCI HCDs may race with\nhub_event() which executes on its own workqueue. When xhci_halt()\nis called and stops the command ring, the hub thread may have\nalready issued a command such as xhci_configure_endpoint() and\nis currently waiting for the command to complete while holding\nthe device lock. Meanwhile since the controller is already halted,\nno events are expected to complete and the command timer will\ncontinually timeout every 5 seconds and re-arm itself. Since the\ncompletion for the command is never issued, the threads are\nessentially deadlocked.\n\nAvoid this situation when halting the controller by forcing the\ncommand queue to be cleaned up.\n\nChange-Id: I88150e3435b5f06e37e9881dddaeff4807c24cc9\nSigned-off-by: Jack Pham <jackp@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/cd3772e425ac27b97a8dab0abda944baa862243e"},{"sha":"404db19a8a32a8913c99bb391a81073a4c47ab9c","author":{"name":"Mayank Rana","email":"e194534cb25fb4fffc472d54bc7f1333d96f9523@codeaurora.org"},"message":"usb: host: xhci-plat: Add missing pm_runtime_mark_last_busy()\n\nThis change makes sure to use pm_runtime_mark_last_busy() at\nthe end of the probe() function in order to ensure that\nautosuspend happens after sufficient delay. Otherwise the\ncontroller could end up suspending too soon before a child\ndevice has had a chance to enumerate.\n\nIn addition, fix the runtime_idle() callback to also call\nmark_last_busy() as well as pm_runtime_autosuspend() directly.\nThis ensures that even when the child devices have suspended\nthat there will be an autosuspend delay enforced before allowing\nthe controller parent to suspend.\n\nChange-Id: Iba58c89cf6080d828a1e28a5c152dad2df362b21\nSigned-off-by: Mayank Rana <mrana@codeaurora.org>\nSigned-off-by: Jack Pham <jackp@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/404db19a8a32a8913c99bb391a81073a4c47ab9c"},{"sha":"697163f15f813fa0a21f0884e3e7f05d4f7fe457","author":{"name":"Mayank Rana","email":"e194534cb25fb4fffc472d54bc7f1333d96f9523@codeaurora.org"},"message":"xhci-hub: Handle error condition with xhci_stop_device\n\nxhci_stop_device() is calling xhci_queue_stop_endpoint() multiple time\nand doesn't check return value. xhci_queue_stop_endpoint() can return\nerror if xhci is already halted or not able to queue command.\nxhci_stop_device() waits for stop command completion using\nwait_for_completion which wouldn't be interrupted or completed if\nqueueing of command fails. It results into possible deadlock condition\nwhere usb_disconnect() waits for this udev->lock which is already\nacquired by caller of xhci_stop_device() which is set_port_feature().\n\nFix this issue by handling error condition and making sure that\nxhci_stop_device() doesn't wait if queueing of command is failed.\n\nChange-Id: Ica4db17afcd39a7e89fcf985f41760efd2756653\nSigned-off-by: Mayank Rana <mrana@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/697163f15f813fa0a21f0884e3e7f05d4f7fe457"},{"sha":"0ba344ac4033173d1d4ba8d8959c917730cbb7a1","author":{"name":"Bruno Martins","email":"6b551903605358ad6ab02967a0e9afe47b94d76d@gmail.com"},"message":"Revert \"usb: xhci-plat: properly handle probe deferral for devm_clk_get()\"\n\nThis reverts commit d187d947070946e92641c83f1ca307ebd277da22.\n\nChange-Id: I6a4e0a71dc2cfdf6d00fdacd54c964e8be04fdd3","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/0ba344ac4033173d1d4ba8d8959c917730cbb7a1"},{"sha":"06783b5b353860f33fc0408bccfc1b3f34a3b019","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Add directories needed for scripts\n\nChange-Id: I423a9a4d6ee2bc37a50483373ce1ac34124ca9d3","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/06783b5b353860f33fc0408bccfc1b3f34a3b019"},{"sha":"1c4563f6ea7342bb7248298f3e96aa4f8594bdc5","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Makefile: Remove flag not supported by compiler\n\nChange-Id: I2236a347a4e0bf63c877d0d99cc6d40777406551","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/1c4563f6ea7342bb7248298f3e96aa4f8594bdc5"},{"sha":"d8606df7e916c5729fc63a7fe7959d8011cf7a47","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Add scripts for building\n\nInclude a script to build the kernel and to fetch the toolchain.\n\nChange-Id: I90983bdc93acfd98ab7956bc170d996e70038cf3","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/d8606df7e916c5729fc63a7fe7959d8011cf7a47"},{"sha":"4b87303c234c7ff4860b5050530bfe4cfe1190d0","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Update gitignore\n\nIgnore build directories\n\nChange-Id: I17fb4ca8a9a2dc99341dac789c27e4187283e906","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/4b87303c234c7ff4860b5050530bfe4cfe1190d0"},{"sha":"5ceaeaa0bc319075ecead0119ae5eaed5c511a4b","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Revise scripts\n\nImprove toolchain download script, update file bath in build script.\n\nChange-Id: Ie564bd4df06fbf0fb44da57e8e81346f143664e6","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/5ceaeaa0bc319075ecead0119ae5eaed5c511a4b"},{"sha":"7d0fe303bc06ac2324adb2174fb6225d70e154ae","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_kernel_xiaomi_msm8996 into HEAD","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/7d0fe303bc06ac2324adb2174fb6225d70e154ae"},{"sha":"975e26536f3fdeeb23f4ecb553849adab57271ef","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Toolchain script: Get correct toolchain\n\nChange-Id: If80273e5320d5c673500b7edb41a53388ba37002","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/975e26536f3fdeeb23f4ecb553849adab57271ef"},{"sha":"5d6f00469e586d352f22c034d963e4d6cd6a77fe","author":{"name":"harrynowl@ubuntu16.04","email":"de705afa552793f0b47dafe821576abd2f15ffbe@xda"},"message":"Update readme\n\nChange-Id: I6535668e996daa2bca246286fb32eea12891190c","distinct":false,"url":"https://api.github.com/repos/harrynowl/falconkernel-gemini/commits/5d6f00469e586d352f22c034d963e4d6cd6a77fe"}]}
{"actor":{"display_login":"harrynowl"}}