git: c7f14adfda21 - main - ACPICA: Revert an upstream patch to appease useless warnings
Date: Tue, 14 Jun 2022 01:49:55 UTC
The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/src/commit/?id=c7f14adfda21dfacab1895015b4c78bf7c2febb6 commit c7f14adfda21dfacab1895015b4c78bf7c2febb6 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2022-06-14 01:40:30 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2022-06-14 01:40:30 +0000 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 --- sys/contrib/dev/acpica/components/executer/exsystem.c | 12 ------------ 1 file changed, 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 @@ -338,18 +338,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.