Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-21 Thread Lukas Wunner
On Tue, Dec 20, 2016 at 03:44:31PM +0200, Andy Shevchenko wrote: > On Tue, Dec 20, 2016 at 1:28 PM, Lukas Wunner wrote: > > On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: > >> On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > >> >

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-21 Thread Lukas Wunner
On Tue, Dec 20, 2016 at 03:44:31PM +0200, Andy Shevchenko wrote: > On Tue, Dec 20, 2016 at 1:28 PM, Lukas Wunner wrote: > > On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: > >> On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > >> > +#include > >> > +#include > >> >

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-20 Thread Andy Shevchenko
On Tue, Dec 20, 2016 at 1:28 PM, Lukas Wunner wrote: > On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: >> On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: >> > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism >> > for

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-20 Thread Andy Shevchenko
On Tue, Dec 20, 2016 at 1:28 PM, Lukas Wunner wrote: > On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: >> On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: >> > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism >> > for Thunderbolt. Briefly, an ACPI

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-20 Thread Lukas Wunner
On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: > On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism > > for Thunderbolt. Briefly, an ACPI method provided by Apple is used to > > cut

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-20 Thread Lukas Wunner
On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: > On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism > > for Thunderbolt. Briefly, an ACPI method provided by Apple is used to > > cut power to the

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-18 Thread Andy Shevchenko
On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism > for Thunderbolt. Briefly, an ACPI method provided by Apple is used to > cut power to the controller. A GPE is enabled while the controller is >

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-18 Thread Andy Shevchenko
On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > Document and implement Apple's ACPI-based (but nonstandard) pm mechanism > for Thunderbolt. Briefly, an ACPI method provided by Apple is used to > cut power to the controller. A GPE is enabled while the controller is > powered down which

[PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-17 Thread Lukas Wunner
Document and implement Apple's ACPI-based (but nonstandard) pm mechanism for Thunderbolt. Briefly, an ACPI method provided by Apple is used to cut power to the controller. A GPE is enabled while the controller is powered down which sideband-signals a plug event, whereupon we reinstate power

[PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-17 Thread Lukas Wunner
Document and implement Apple's ACPI-based (but nonstandard) pm mechanism for Thunderbolt. Briefly, an ACPI method provided by Apple is used to cut power to the controller. A GPE is enabled while the controller is powered down which sideband-signals a plug event, whereupon we reinstate power