ACPI / PM: Reduce LPI constraints logging noise
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Mar 2018 09:47:36 +0000 (10:47 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 18 Mar 2018 22:55:01 +0000 (23:55 +0100)
commitfa54150aad84dbbd92b26ce47e6b2cf7c686dca0
tree73c906f53114270ffcefdae38340dc7c750b7df8
parent147a7d9d25ca2551aab15071cb1f048ecd9b7953
ACPI / PM: Reduce LPI constraints logging noise

If a device referred to by ACPI LPI constrains (coming from function 1
of the Low Power S0 Idle _DSM interface) is not power-manageable via
ACPI (no _PS0 method and no power resources), the code generating
diagnostic information for the LPI constraints will print a message
about that to the kernel log on every system suspend-resume cycle
(possibly for multiple times).

That is not very useful and noisy, so modify that code to disregard
the LPI list entries corresponding to the devices that are not power-
manageable after printing that information for them once.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/acpi/sleep.c