Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-17 Thread Alan Stern
On Sat, Apr 17, 2021 at 02:48:22PM +0800, liulongfang wrote: > On 2021/4/16 23:20, Alan Stern wrote: > > On Fri, Apr 16, 2021 at 10:03:21AM +0800, liulongfang wrote: > >> The current method is an improved method of the above patch. > >> This patch just make it skip registering USB-3 root hub if

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-17 Thread liulongfang
On 2021/4/16 23:20, Alan Stern wrote: > On Fri, Apr 16, 2021 at 10:03:21AM +0800, liulongfang wrote: >> On 2021/4/15 22:43, Alan Stern wrote: >>> On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: When the number of ports on the USB hub is 0, skip the registration operation of

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-16 Thread liulongfang
On 2021/4/16 23:20, Alan Stern wrote: > On Fri, Apr 16, 2021 at 10:03:21AM +0800, liulongfang wrote: >> On 2021/4/15 22:43, Alan Stern wrote: >>> On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: When the number of ports on the USB hub is 0, skip the registration operation of

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-16 Thread Alan Stern
On Fri, Apr 16, 2021 at 10:03:21AM +0800, liulongfang wrote: > On 2021/4/15 22:43, Alan Stern wrote: > > On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: > >> When the number of ports on the USB hub is 0, skip the registration > >> operation of the USB hub. > >> > >> The current

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread Greg KH
On Fri, Apr 16, 2021 at 10:43:34AM +0800, liulongfang wrote: > On 2021/4/15 20:34, Greg KH wrote: > > On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: > >> When the number of ports on the USB hub is 0, skip the registration > >> operation of the USB hub. > > > > That's crazy. Why

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread liulongfang
On 2021/4/15 20:34, Greg KH wrote: > On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: >> When the number of ports on the USB hub is 0, skip the registration >> operation of the USB hub. > > That's crazy. Why not fix the hardware? How has this hub passed the > USB certification

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread liulongfang
On 2021/4/15 22:43, Alan Stern wrote: > On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: >> When the number of ports on the USB hub is 0, skip the registration >> operation of the USB hub. >> >> The current Kunpeng930's XHCI hardware controller is defective. The number >> of ports on

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread Alan Stern
On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: > When the number of ports on the USB hub is 0, skip the registration > operation of the USB hub. > > The current Kunpeng930's XHCI hardware controller is defective. The number > of ports on its USB3.0 bus controller is 0, and the

Re: [RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread Greg KH
On Thu, Apr 15, 2021 at 08:22:38PM +0800, Longfang Liu wrote: > When the number of ports on the USB hub is 0, skip the registration > operation of the USB hub. That's crazy. Why not fix the hardware? How has this hub passed the USB certification process? > The current Kunpeng930's XHCI

[RFC PATCH] USB:XHCI:skip hub registration

2021-04-15 Thread Longfang Liu
When the number of ports on the USB hub is 0, skip the registration operation of the USB hub. The current Kunpeng930's XHCI hardware controller is defective. The number of ports on its USB3.0 bus controller is 0, and the number of ports on the USB2.0 bus controller is 1. In order to solve this