Skip to content

Commit c244dc1

Browse files
committed
Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms"
Commit 6eaf087 ("ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms") made acpi_ex_system_do_sleep() log a warning for sleep times greater than 10 ms, but such sleep times are used in power management AML because of the PCI specification requirements. This results with logging warnings that cannot really be acted on in any useful way which is annoying and these warnings show up in the logs on many production systems, so revert commit 6eaf087. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0076ca9 commit c244dc1

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

drivers/acpi/acpica/exsystem.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,6 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
169169

170170
acpi_ex_exit_interpreter();
171171

172-
/*
173-
* Warn users about excessive sleep times, so ASL code can be improved to
174-
* use polling or similar techniques.
175-
*/
176-
if (how_long_ms > 10) {
177-
ACPI_WARNING((AE_INFO,
178-
"Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
179-
" in ACPI Control Method",
180-
ACPI_FORMAT_UINT64(how_long_ms)));
181-
}
182-
183172
/*
184173
* For compatibility with other ACPI implementations and to prevent
185174
* accidental deep sleeps, limit the sleep time to something reasonable.

0 commit comments

Comments
 (0)