usb: mon: freeing active timer

2014-04-24 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 1361.390880] WARNING: CPU: 10 PID: 24274 at lib/debugobjects.c:260 debug_print_object+0x8c/0xb0() [ 1361.391203] ODEBUG: free active (active state 0) object type:

Re: usb: mon: freeing active timer

2014-04-24 Thread Sasha Levin
On 04/24/2014 03:24 PM, Greg KH wrote: On Thu, Apr 24, 2014 at 01:40:14PM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 1361.390880] WARNING: CPU: 10 PID: 24274 at lib

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Sasha Levin
On 07/18/2014 01:34 PM, Nicholas Krause wrote: I am removing two fix mes in this file as after dicussing then it seems there is no reason to check against Null for usb_device as it can never be NULL and this is check is therefore not needed. Signed-off-by: Nicholas Krause

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-22 Thread Sasha Levin
, Sasha Levin sas...@kernel.org wrote: On 07/18/2014 01:34 PM, Nicholas Krause wrote: I am removing two fix mes in this file as after dicussing then it seems there is no reason to check against Null for usb_device as it can never be NULL and this is check is therefore not needed. Signed-off

[PATCH] usb-core: Revert usb-core: Remove Fix mes in file hcd.c

2014-07-23 Thread Sasha Levin
Revert since the commit message is incorrect and the original author refuses to fix/maintain it because it's in the kernel already. Signed-off-by: Sasha Levin sas...@kernel.org --- drivers/usb/core/hcd.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/core/hcd.c b/drivers/usb

Re: [PATCH] usb-core: Revert usb-core: Remove Fix mes in file hcd.c

2014-07-24 Thread Sasha Levin
On 07/23/2014 12:49 PM, Greg KH wrote: On Wed, Jul 23, 2014 at 08:56:10AM -0400, Sasha Levin wrote: Revert since the commit message is incorrect and the original author refuses to fix/maintain it because it's in the kernel already. How can someone fix a commit message that is already

Re: [PATCH] usb-core: Revert usb-core: Remove Fix mes in file hcd.c

2014-07-24 Thread Sasha Levin
On 07/24/2014 12:04 PM, Greg KH wrote: If you add a revert and leave the original broken commit in, wouldn't it cause issues for anyone trying to bisect a build breakage? Yes it does. I can not rebase my public trees, nor should any other kernel maintainer. This has been true for _many_

Re: Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback()

2015-04-27 Thread Sasha Levin
On 04/27/2015 05:44 AM, Johan Hovold wrote: Could you try updating to 3.19 (or later) or to cherry pick aa8e22128b40 (usb: serial: silence all non-critical read errors) and see if that helps? We should backport that one to stable either way. You may want to add aa8e22128b40 (usb:

[PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-20 Thread Sasha Levin
, which will panic the kernel. Fix that by checking that the bus was indeed initialized before trying to register drivers on top of it. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/usb/common/ulpi.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/common

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-28 Thread Sasha Levin
On 05/28/2015 01:39 AM, Sudip Mukherjee wrote: diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 4eabfe2..1acae5b 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -150,6 +150,11 @@ int driver_register(struct device_driver *drv) int ret; struct

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-22 Thread Sasha Levin
On 05/22/2015 06:16 AM, Heikki Krogerus wrote: diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c index 0e6f968..0b0a5e7 100644 --- a/drivers/usb/common/ulpi.c +++ b/drivers/usb/common/ulpi.c @@ -132,6 +132,10 @@ int ulpi_register_driver(struct ulpi_driver *drv)

Re: [PATCH] Add support for usbfs zerocopy.

2016-02-24 Thread Sasha Levin
On 11/25/2015 07:19 PM, Steinar H. Gunderson wrote: > Add a new interface for userspace to preallocate memory that can be > used with usbfs. This gives two primary benefits: > > - Zerocopy; data no longer needs to be copied between the userspace >and the kernel, but can instead be read

[PATCH AUTOSEL for 4.4 001/101] usb: dwc2: Make sure we disconnect the gadget state

2018-03-07 Thread Sasha Levin
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Acked-by: John Youn <johny...@synopsys.com> Signed-off-by: John Stultz <john.stu...@linaro.org> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Sasha Levin <al

[PATCH AUTOSEL for 4.9 002/190] usb: dwc2: Make sure we disconnect the gadget state

2018-03-07 Thread Sasha Levin
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Acked-by: John Youn <johny...@synopsys.com> Signed-off-by: John Stultz <john.stu...@linaro.org> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Sasha Levin <al

Re: [PATCH 4/4] usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc

2018-04-04 Thread Sasha Levin
Hi Yoshihiro Shimoda. [This is an automated email] This commit has been processed because it contains a "Fixes:" tag. fixing commit: 279d4bc64060 usb: gadget: udc: renesas_usb3: add support for generic phy. The bot has also determined it's probably a bug fixing patch. (score: 99.1076) The bot

Re: [PATCH 1/4] usb: gadget: udc: renesas_usb3: fix double phy_put()

2018-04-04 Thread Sasha Levin
Hi Yoshihiro Shimoda. [This is an automated email] This commit has been processed because it contains a "Fixes:" tag. fixing commit: 279d4bc64060 usb: gadget: udc: renesas_usb3: add support for generic phy. The bot has also determined it's probably a bug fixing patch. (score: 96.8529) The bot

Re: [PATCH 2/4] usb: gadget: udc: renesas_usb3: should remove debugfs

2018-04-04 Thread Sasha Levin
Hi Yoshihiro Shimoda. [This is an automated email] This commit has been processed because it contains a "Fixes:" tag. fixing commit: 43ba968b00ea usb: gadget: udc: renesas_usb3: add debugfs to set the b-device mode. The bot has also determined it's probably a bug fixing patch. (score: 94.9837)

Re: [PATCH 3/4] usb: gadget: udc: renesas_usb3: should call pm_runtime_enable() before add udc

2018-04-04 Thread Sasha Levin
Hi Yoshihiro Shimoda. [This is an automated email] This commit has been processed because it contains a "Fixes:" tag. fixing commit: cf06df3fae28 usb: gadget: udc: renesas_usb3: move pm_runtime_{en,dis}able(). The bot has also determined it's probably a bug fixing patch. (score: 98.8092) The

Re: [PATCH] usbip: vhci_hcd: check rhport before using in vhci_hub_control()

2018-04-10 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed by the -stable helper bot and determined to be a high probability candidate for -stable trees. (score: 8.8613) The bot has tested the following trees: v4.16.1, v4.15.16, v4.14.33, v4.9.93, v4.4.127. v4.16.1: Build OK! v4.15.16:

Re: [PATCH] usbip: usbip_event: fix to not print kernel pointer address

2018-04-10 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has also determined it's probably a bug fixing patch. (score: 58.4237) The bot has tested the following trees:

Re: [PATCH] usbip: usbip_host: fix to hold parent lock for device_attach() calls

2018-04-10 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has also determined it's probably a bug fixing patch. (score: 67.5935) The bot has tested the following trees:

Re: [PATCH] usbip: vhci_hcd: Fix usb device and sockfd leaks

2018-04-05 Thread Sasha Levin
Hi. [This is an automated email] This commit has been processed by the -stable helper bot and determined to be a high probability candidate for -stable trees. (score: 10.6103) The bot has tested the following trees: v4.15.15, v4.14.32, v4.9.92, v4.4.126, v4.15.15: Build OK! v4.14.32: Build

Re: [PATCH] usbip: vhc_hcd: prevent module being removed while device are attached

2018-04-05 Thread Sasha Levin
Hi. [This is an automated email] This commit has been processed by the -stable helper bot and determined to be a high probability candidate for -stable trees. (score: 13.1846) The bot has tested the following trees: v4.15.15, v4.14.32, v4.9.92, v4.4.126, v4.15.15: Build OK! v4.14.32: Build

Re: [PATCH] usbip: vhc_hcd: prevent module being removed while device are attached

2018-04-05 Thread Sasha Levin
On Thu, Apr 05, 2018 at 10:54:59AM -0600, Shuah Khan wrote: >On 04/05/2018 10:42 AM, Sasha Levin wrote: >> Hi. >> >> [This is an automated email] >> >> This commit has been processed by the -stable helper bot and determined >> to be a high probability candi

Re: [PATCH] usbip: vhc_hcd: prevent module being removed while device are attached

2018-04-18 Thread Sasha Levin
On Thu, Apr 05, 2018 at 09:11:02PM +0200, Greg KH wrote: >On Thu, Apr 05, 2018 at 04:42:46PM +0000, Sasha Levin wrote: >> Hi. >> >> [This is an automated email] > >Why are you running this against patches that are not yet in Linus's >tree? That feels odd. Only about

[PATCH AUTOSEL for 4.9 146/219] usb: dwc2: Make sure we disconnect the gadget state

2018-03-03 Thread Sasha Levin
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Acked-by: John Youn <johny...@synopsys.com> Signed-off-by: John Stultz <john.stu...@linaro.org> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Sasha Levin <al

[PATCH AUTOSEL for 4.4 073/115] usb: dwc2: Make sure we disconnect the gadget state

2018-03-03 Thread Sasha Levin
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Acked-by: John Youn <johny...@synopsys.com> Signed-off-by: John Stultz <john.stu...@linaro.org> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Sasha Levin <al

Re: [PATCH 1/2] usb: typec: mux: Take care of driver module reference counting

2018-09-19 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v4.18.8, v4.14.70, v4.9.127, v4.4.156, v3.18.122, v4.18.8: Failed to apply!

Re: [PATCH 2/2] usb: roles: Take care of driver module reference counting

2018-09-19 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v4.18.8, v4.14.70, v4.9.127, v4.4.156, v3.18.122, v4.18.8: Build OK! v4.14.70: