summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-06-08 19:54:48 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-06-08 19:54:48 +0200
commitdf896f452f945d498736c5775d4ee6629df31786 (patch)
tree0b874261f2c29a3c49e66e01f143fd471542e988
parent2ebfd748ceca8e8a84eeee22782e45be998dd0e8 (diff)
downloadacpica-df896f452f945d498736c5775d4ee6629df31786.tar.gz
Revert "executer/exsystem: Warn about sleeps greater than 10 ms"
This reverts commit 2a0d1d475e7ea1c815bee1e0692d81db9a7c909c. Commit 2a0d1d475e7e ("ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms") made AcpiExSystemDoSleep () 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 2a0d1d475e7e. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--source/components/executer/exsystem.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/components/executer/exsystem.c b/source/components/executer/exsystem.c
index 62768bcf0..44d3a00ba 100644
--- a/source/components/executer/exsystem.c
+++ b/source/components/executer/exsystem.c
@@ -339,18 +339,6 @@ AcpiExSystemDoSleep (
AcpiExExitInterpreter ();
/*
- * Warn users about excessive sleep times, so ASL code can be improved to
- * use polling or similar techniques.
- */
- if (HowLongMs > 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 (HowLongMs)));
- }
-
- /*
* For compatibility with other ACPI implementations and to prevent
* accidental deep sleeps, limit the sleep time to something reasonable.
*/