Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-02-02 Thread Rafael J. Wysocki
On Tue, Feb 2, 2021 at 10:58 AM Daniel Scally wrote: > > Hi Rafael > > On 21/01/2021 21:06, Daniel Scally wrote: > > > > On 21/01/2021 18:08, Rafael J. Wysocki wrote: > >> On Thu, Jan 21, 2021 at 5:34 PM Daniel Scally wrote: > >>> > >>> On 21/01/2021 14:39, Rafael J. Wysocki wrote: > On Thu,

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-02-02 Thread Andy Shevchenko
On Tue, Feb 02, 2021 at 09:58:17AM +, Daniel Scally wrote: > On 21/01/2021 21:06, Daniel Scally wrote: > > On 21/01/2021 18:08, Rafael J. Wysocki wrote: ... > > No problem;  I'll tweak that then > > Slightly walking back my "No problem" here; as I understand this there's > kinda two options:

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-02-02 Thread Daniel Scally
Hi Rafael On 21/01/2021 21:06, Daniel Scally wrote: > > On 21/01/2021 18:08, Rafael J. Wysocki wrote: >> On Thu, Jan 21, 2021 at 5:34 PM Daniel Scally wrote: >>> >>> On 21/01/2021 14:39, Rafael J. Wysocki wrote: On Thu, Jan 21, 2021 at 1:04 PM Daniel Scally wrote: > On 21/01/2021 11:58

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Daniel Scally
On 21/01/2021 18:08, Rafael J. Wysocki wrote: > On Thu, Jan 21, 2021 at 5:34 PM Daniel Scally wrote: >> >> On 21/01/2021 14:39, Rafael J. Wysocki wrote: >>> On Thu, Jan 21, 2021 at 1:04 PM Daniel Scally wrote: On 21/01/2021 11:58, Rafael J. Wysocki wrote: > On Thu, Jan 21, 2021 at 10:4

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Rafael J. Wysocki
On Thu, Jan 21, 2021 at 5:34 PM Daniel Scally wrote: > > > On 21/01/2021 14:39, Rafael J. Wysocki wrote: > > On Thu, Jan 21, 2021 at 1:04 PM Daniel Scally wrote: > >> > >> On 21/01/2021 11:58, Rafael J. Wysocki wrote: > >>> On Thu, Jan 21, 2021 at 10:47 AM Daniel Scally > >>> wrote: > Hi R

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Daniel Scally
On 21/01/2021 14:39, Rafael J. Wysocki wrote: > On Thu, Jan 21, 2021 at 1:04 PM Daniel Scally wrote: >> >> On 21/01/2021 11:58, Rafael J. Wysocki wrote: >>> On Thu, Jan 21, 2021 at 10:47 AM Daniel Scally wrote: Hi Rafael On 19/01/2021 13:15, Rafael J. Wysocki wrote: > On Mon,

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Rafael J. Wysocki
On Thu, Jan 21, 2021 at 1:04 PM Daniel Scally wrote: > > > On 21/01/2021 11:58, Rafael J. Wysocki wrote: > > On Thu, Jan 21, 2021 at 10:47 AM Daniel Scally wrote: > >> Hi Rafael > >> > >> On 19/01/2021 13:15, Rafael J. Wysocki wrote: > >>> On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: > >

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Daniel Scally
On 21/01/2021 11:58, Rafael J. Wysocki wrote: > On Thu, Jan 21, 2021 at 10:47 AM Daniel Scally wrote: >> Hi Rafael >> >> On 19/01/2021 13:15, Rafael J. Wysocki wrote: >>> On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: On 18/01/2021 16:14, Rafael J. Wysocki wrote: > On Mon, Jan 18

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Rafael J. Wysocki
On Thu, Jan 21, 2021 at 10:47 AM Daniel Scally wrote: > > Hi Rafael > > On 19/01/2021 13:15, Rafael J. Wysocki wrote: > > On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: > >> On 18/01/2021 16:14, Rafael J. Wysocki wrote: > >>> On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: > In s

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-21 Thread Daniel Scally
Hi Rafael On 19/01/2021 13:15, Rafael J. Wysocki wrote: > On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: >> On 18/01/2021 16:14, Rafael J. Wysocki wrote: >>> On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: In some ACPI tables we encounter, devices use the _DEP method to assert >>

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-19 Thread Daniel Scally
On 19/01/2021 13:15, Rafael J. Wysocki wrote: > On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: >> On 18/01/2021 16:14, Rafael J. Wysocki wrote: >>> On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: In some ACPI tables we encounter, devices use the _DEP method to assert a depe

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-19 Thread Rafael J. Wysocki
On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: > > On 18/01/2021 16:14, Rafael J. Wysocki wrote: > > On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: > >> In some ACPI tables we encounter, devices use the _DEP method to assert > >> a dependence on other ACPI devices as opposed to the Op

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Daniel Scally
On 18/01/2021 16:14, Rafael J. Wysocki wrote: > On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: >> In some ACPI tables we encounter, devices use the _DEP method to assert >> a dependence on other ACPI devices as opposed to the OpRegions that the >> specification intends. We need to be able to

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Rafael J. Wysocki
On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: > > In some ACPI tables we encounter, devices use the _DEP method to assert > a dependence on other ACPI devices as opposed to the OpRegions that the > specification intends. We need to be able to find those devices "from" > the dependee, so add

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Daniel Scally
On 18/01/2021 12:33, Andy Shevchenko wrote: > On Mon, Jan 18, 2021 at 12:34:23AM +, Daniel Scally wrote: >> In some ACPI tables we encounter, devices use the _DEP method to assert >> a dependence on other ACPI devices as opposed to the OpRegions that the >> specification intends. We need to b

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Andy Shevchenko
On Mon, Jan 18, 2021 at 12:34:23AM +, Daniel Scally wrote: > In some ACPI tables we encounter, devices use the _DEP method to assert > a dependence on other ACPI devices as opposed to the OpRegions that the > specification intends. We need to be able to find those devices "from" > the dependee,

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Daniel Scally
Morning Laurent On 18/01/2021 07:34, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Mon, Jan 18, 2021 at 12:34:23AM +, Daniel Scally wrote: >> In some ACPI tables we encounter, devices use the _DEP method to assert >> a dependence on other ACPI devices as opposed to t

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-17 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Jan 18, 2021 at 12:34:23AM +, Daniel Scally wrote: > In some ACPI tables we encounter, devices use the _DEP method to assert > a dependence on other ACPI devices as opposed to the OpRegions that the > specification intends. We need to be able to fin

[PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-17 Thread Daniel Scally
In some ACPI tables we encounter, devices use the _DEP method to assert a dependence on other ACPI devices as opposed to the OpRegions that the specification intends. We need to be able to find those devices "from" the dependee, so add a function to parse all ACPI Devices and check if the include t