On Tue, Mar 07, 2023 at 09:00:30PM +0200, Sakari Ailus wrote: > Another option could be to opportunistically initialise a device, and once > encountering a "mipi-img-port-*" node in _DSD property parsing, bail out > and postpone initialisation of the device on first namespace traversal. > This would mean adding some extra error handling in e.g. > acpi_init_device_object() callers. What I think could be also done is to collect the handles with these nodes to a list (requires struct list_head in struct acpi_device) in order to create the devices after tree traversal. This approach might be usable for even getting rid of the second pass altogether, with the tradeoff of requiring a little bit of extra memory. -- Sakari Ailus