Re: [PATCH v4 1/2] ACPI: glue: Reduce debug noise from acpi_device_notify()
From: Andy Shevchenko
Date: Tue Sep 08 2026 - 06:52:47 EST
On Sun, Sep 06, 2026 at 05:51:23PM +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.
Indeed, seems better with this patch.
> 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.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko