aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2022-06-14 01:40:30 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2022-06-14 01:40:30 +0000
commitc7f14adfda21dfacab1895015b4c78bf7c2febb6 (patch)
tree3001abffa97c0a294f8f9dac0b42894b3c2fa652 /sys/contrib/dev
parent41c029d506a5acb5be2a4892379cca6bf00f9923 (diff)
ACPICA: Revert an upstream patch to appease useless warnings
This patch removes warnings messages like the following added in ACPICA 20220331: ACPI Warning: Firmware issue: Excessive sleep time (0xxx ms > 10 ms) in ACPI Control Method (20220331/exsystem-347) Note the original author of this patch wants to back it out: https://github.com/acpica/acpica/pull/780
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/acpica/components/executer/exsystem.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/contrib/dev/acpica/components/executer/exsystem.c b/sys/contrib/dev/acpica/components/executer/exsystem.c
index 23080987c6d0..0a48eeb174c8 100644
--- a/sys/contrib/dev/acpica/components/executer/exsystem.c
+++ b/sys/contrib/dev/acpica/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.
*/