RE: [PATCH v3] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-06 Thread Jacky.Cao
Hi, > > Does this "fix" a specific commit in the tree, and if so, what is the commit > id of > that? Also, should this go to the stable kernel(s)? > > thanks, > > greg k-h No, this fix is not for specific commit since the POWER_BUDGET(500mA) is used for SuperSpeed mode when dummy hcd adde

[PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
The power budget for SuperSpeed mode should be 900 mA according to USB3.0 specification, so set the power budget to 900 mA for dummy_start_ss which is only used for SuperSpeed mode. If the max power consumption of SuperSpeed device is larger than 500 mA, insufficient available bus power error happ

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
Hi >You must send plain/text emails. I'm not receiving this via the mailing list. >Please, fix your email client or use git send-email Thank you for your information. I resend mail with text format, would you kind confirm the patch, thank you. Best Regards Jacky -Original Message- From:

[PATCH v2] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
The power budget for SuperSpeed mode should be 900 mA according to USB3.0 specification. If the max power consumption of SuperSpeed device is larger than 500 mA, insufficient available bus power error happens in usb_choose_configuration function when the device connects to dummy hcd. Signed-off-b

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
Hi, > I'm not ok with the whitespace damage making this patch impossible to apply :) Sorry for the whitespace damage issue I didn't notice when I copied the content. Just now I submitted v2 for this patch with whitespace damage issue fix. Please help to confirm, thank you. Regards Jacky

[PATCH v3] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
The power budget for SuperSpeed mode should be 900 mA according to USB specification, so set the power budget to 900mA for dummy_start_ss which is only used for SuperSpeed mode. If the max power consumption of SuperSpeed device is larger than 500 mA, insufficient available bus power error happens

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
Hi > Yes. Except that I think the name POWER_BUDGET_3_0 is a little odd. > It implies that this change is specific to USB 3.0 -- but it isn't. > USB 3.1 and 3.2 also have a 900 mA limit, right? > > So please consider changing the name to POWER_BUDGET_3. > > Alan Stern Thank you for your comme

RE: [PATCH] usb: uas: fix usb subsystem hang after power off hub port

2019-03-03 Thread Jacky.Cao
Dear Greg-san: I confirmed our company email related counter person that below footer is added automatically after we send email to who doesn't work in our company. I am very sorry that I didn't notice this issue and make you confuse. Now I am confirming with our counter person whether there is s