Hi,
So as promised I've given this patch a try, unfortunately it breaks existing users of ACPI serdev device instantation.
I've only had a short look at it so far. As far as I can tell, there are two options: Either the device does not match/is being skipped, or there are errors (which are currently only reported with dev_dbg, based on the pre-patch implementation) causing the search to terminate early. I'll keep investigating this and report back once I've got a better understanding of the possible sources for this.
I haven't looked why your patch is breakig things, I have a large backlog so I do not have time for that.
No worries, I'll try to figure this out.
But if you can provide me with a version of the patch with a bunch of debug printk-s added I'm happy to run that for you.
Thank you for this offer, I will probably come back to it once I have more of an idea what could cause the breakage. Regards, Maximilian