On Wed, Nov 25, 2020 at 1:47 PM Lars-Peter Clausen <lars@xxxxxxxxxx> wrote: > On 11/25/20 12:14 PM, Andy Shevchenko wrote: > > Recent discussion [1] [2] around faking ACPI ID in RTC subsystem and a > > sudden check [3] (due to last Hans' patches related to ACPI based > > systems) of IIO makes me wonder if we may start cleaning drivers from > > faked ACPI IDs and establish a stricter rules for the ID table > > entries. > > > > Thoughts? > > The cat is probably out of the bag. > > If there are systems shipping with those unregistered ACPI IDs we still > have to support them. Yes, but we can do our best to google for them and try other sources (like contacts with vendor companies who can acknowledge if there were an ID issued or not). > I'd assume that most drivers that have a acpi_device_id table do have > hardware that uses that ID and were not just cargo culted. > > For new drivers we should push back on unregistered IDs, but if there is > hardware that uses them we have to take the patches. Right. But at the same time we have to push the idea of proper IDs to the vendor companies, so they won't abuse ACPI specification anymore. -- With Best Regards, Andy Shevchenko