Re: [PATCH v2] ACPI: glue: Reduce debug noise from acpi_device_notify()
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
On Fri, Sep 04, 2026 at 05:44:55PM +0200, Rafael J. Wysocki wrote: > When debug is enabled in the ACPI glue code that handles binding > devices to ACPI companions, acpi_device_notify() produces a lot of > message noise related to devices that have no ACPI companions. > > Reduce that noise by checking the most obvious case, ACPI device > objects, directly and returning from acpi_device_notify() in that > case without printing any debug messages. Also avoid printing a > debug message when there is no matching ACPI bus type definition for > the given device, which is the case for the vast majority of devices. > > Additionally, make the debug messages that get printed more informative > and change the format prefix to "ACPI/glue", so it is easier to filter > these messages. You are quick :-) But the comment I gave against v1 still stays here. (TL;DR: I expect to see "ACPI: glue: " in pr_fmt().) -- With Best Regards, Andy Shevchenko