Re: [RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-06-02 Thread Mathias Nyman
On 01.06.2017 02:01, Rafael J. Wysocki wrote: On 5/25/2017 5:24 PM, Mathias Nyman wrote: On 24.05.2017 17:44, Greg KH wrote: On Wed, May 24, 2017 at 04:11:12PM +0300, Mathias Nyman wrote: This optimization significantly reduces xhci driver load time. In ACPI tables the acpi companion port

Re: [RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-05-31 Thread Rafael J. Wysocki
On 5/25/2017 5:24 PM, Mathias Nyman wrote: On 24.05.2017 17:44, Greg KH wrote: On Wed, May 24, 2017 at 04:11:12PM +0300, Mathias Nyman wrote: This optimization significantly reduces xhci driver load time. In ACPI tables the acpi companion port devices are children of the hub device. The port

Re: [RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-05-25 Thread Mathias Nyman
On 24.05.2017 17:44, Greg KH wrote: On Wed, May 24, 2017 at 04:11:12PM +0300, Mathias Nyman wrote: This optimization significantly reduces xhci driver load time. In ACPI tables the acpi companion port devices are children of the hub device. The port devices are identified by their port number

Re: [RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-05-24 Thread Greg KH
On Wed, May 24, 2017 at 04:11:12PM +0300, Mathias Nyman wrote: > This optimization significantly reduces xhci driver load time. > > In ACPI tables the acpi companion port devices are children of > the hub device. The port devices are identified by their port number > returned by the ACPI _ADR

[RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-05-24 Thread Mathias Nyman
This optimization significantly reduces xhci driver load time. In ACPI tables the acpi companion port devices are children of the hub device. The port devices are identified by their port number returned by the ACPI _ADR method. _ADR 0 is reserved for the root hub device. The current