Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-21 Thread Hans de Goede
Hi, On 21-04-17 12:40, Rafael J. Wysocki wrote: On Friday, April 21, 2017 12:42:31 PM Hans de Goede wrote: HI, [cut] And in that path, which I seem to have overlooked before, the acpi_set_device_status() call is too early for invoking acpi_device_always_present(adev), so the latter should

Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-21 Thread Rafael J. Wysocki
On Friday, April 21, 2017 12:42:31 PM Hans de Goede wrote: > HI, > [cut] > >>> And in that path, which I seem to have overlooked before, the > >>> acpi_set_device_status() call is too early for invoking > >>> acpi_device_always_present(adev), so the latter should be called > >>> directly from

Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-21 Thread Rafael J. Wysocki
On Friday, April 21, 2017 11:59:34 AM Hans de Goede wrote: > Hi, > > On 19-04-17 22:14, Rafael J. Wysocki wrote: > > On Wed, Apr 19, 2017 at 2:04 PM, Hans de Goede wrote: > >> Several Bay / Cherry Trail devices (all of which ship with Windows 10) hide > >> the LPSS PWM

Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-21 Thread Hans de Goede
HI, On 21-04-17 12:33, Rafael J. Wysocki wrote: On Friday, April 21, 2017 11:59:34 AM Hans de Goede wrote: Hi, On 19-04-17 22:14, Rafael J. Wysocki wrote: On Wed, Apr 19, 2017 at 2:04 PM, Hans de Goede wrote: Several Bay / Cherry Trail devices (all of which ship with

Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-21 Thread Hans de Goede
Hi, On 19-04-17 22:14, Rafael J. Wysocki wrote: On Wed, Apr 19, 2017 at 2:04 PM, Hans de Goede wrote: Several Bay / Cherry Trail devices (all of which ship with Windows 10) hide the LPSS PWM controller in ACPI, typically the _STA method looks like this: Method

Re: [Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-19 Thread Rafael J. Wysocki
On Wed, Apr 19, 2017 at 2:04 PM, Hans de Goede wrote: > Several Bay / Cherry Trail devices (all of which ship with Windows 10) hide > the LPSS PWM controller in ACPI, typically the _STA method looks like this: > > Method (_STA, 0, NotSerialized) // _STA: Status > { >

[Intel-gfx] [PATCH v7 1/2] ACPI / bus: Introduce a list of ids for "always present" devices

2017-04-19 Thread Hans de Goede
Several Bay / Cherry Trail devices (all of which ship with Windows 10) hide the LPSS PWM controller in ACPI, typically the _STA method looks like this: Method (_STA, 0, NotSerialized) // _STA: Status { If (OSID == One) { Return (Zero) } Return