summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-21 19:02:26 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-21 19:02:26 +0300
commitc244dc1bc92e94c625325a654337490bb1da871a (patch)
treec5dd997899219ed5a41a56e265160bd90ba49929 /drivers/acpi/acpica
parent0076ca940e3f1a1eae6b5e39b6594c96934713a2 (diff)
downloadlinux-c244dc1bc92e94c625325a654337490bb1da871a.tar.xz
Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms"
Commit 6eaf08770ee8 ("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 6eaf08770ee8. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/exsystem.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
index 0d261d470ffe..7b5470f404f3 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -170,17 +170,6 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
acpi_ex_exit_interpreter();
/*
- * Warn users about excessive sleep times, so ASL code can be improved to
- * use polling or similar techniques.
- */
- if (how_long_ms > 10) {
- ACPI_WARNING((AE_INFO,
- "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
- " in ACPI Control Method",
- ACPI_FORMAT_UINT64(how_long_ms)));
- }
-
- /*
* For compatibility with other ACPI implementations and to prevent
* accidental deep sleeps, limit the sleep time to something reasonable.
*/