Re: virtual hub and suspend/resume/reset questions

2017-06-10 Thread Benjamin Herrenschmidt
On Sun, 2017-06-11 at 11:00 +1000, Benjamin Herrenschmidt wrote: > > > No, a reset sent to the vhub does not broadcast anything to the > > downstream ports.  It merely disables all of them and clears all their > > status bits (the connect and connect-change bits will then get set if a > > gadget i

Re: virtual hub and suspend/resume/reset questions

2017-06-10 Thread Benjamin Herrenschmidt
On Sat, 2017-06-10 at 12:58 -0400, Alan Stern wrote: > On Sat, 10 Jun 2017, Benjamin Herrenschmidt wrote: > > with the obvious resume case above I assume. A port reset > > would probably also "resume" though I would forward a reset to the > > gadget rather than a resume, right ? (but clear my "su

Re: RTL8153 connected via ASM1042A causes transfer errors

2017-06-10 Thread Frederik Schwan
I tested the patch posted here and I cannot reproduce the bug anymore. No dmesg entries, no bad macs. http://marc.info/?l=linux-usb&m=149681741816768&w=2 Thanks, Frederik Original Message From: Frederik Schwan [mailto:frederik.sch...@linux.com] Sent: Friday, Jun 9, 2017 8:38 A

Re: virtual hub and suspend/resume/reset questions

2017-06-10 Thread Alan Stern
On Sat, 10 Jun 2017, Benjamin Herrenschmidt wrote: > Hi ! > > The USB spec is twisting my brain sideways trying to figure out how to > properly handle suspend/resume in the case of the aspeed vHub. > > Reminder: This is a combo-gadget HW that has 5 UDC "ports" (gadgets) > and a virtual hub above

Re: [PATCH 1/3] USB: add API for interface driver to vote for autosuspend

2017-06-10 Thread kbuild test robot
-driver-to-vote-for-autosuspend/20170610-172143 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick

Re: [PATCH] usb: mtu3: Handle return value of clk_prepare_enable

2017-06-10 Thread Matthias Brugger
On 09/06/17 14:03, Arvind Yadav wrote: clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/usb/mtu3/mtu3_plat.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) Reviewed-by: Matthias Brugger diff

[no subject]

2017-06-10 Thread Youichi Kanno
Sir/Madam I am sorry to encroach into your privacy in this manner, I found you listed in the Trade Center Chambers of Commerce directory here in Japan, My name is Youichi Kanno and I work in Audit & credit Supervisory role at The Norinchukin Bank, I need your assistance to process the

virtual hub and suspend/resume/reset questions

2017-06-10 Thread Benjamin Herrenschmidt
Hi ! The USB spec is twisting my brain sideways trying to figure out how to properly handle suspend/resume in the case of the aspeed vHub. Reminder: This is a combo-gadget HW that has 5 UDC "ports" (gadgets) and a virtual hub above them, so it looks to the host as a hub with 5 ports, the hub func