Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2022 17:02:03 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: dmesg: ACPI Warning: Firmware issue warning spaming
Message-ID:  <20220612.170203.1570364119618551543.ish@amail.plala.or.jp>
In-Reply-To: <CAFDf7U%2BHP1nOFRjBnO-EcgK9Nrw6PwC5GTaSGQPJenhe9etFbw@mail.gmail.com>
References:  <CAFDf7U%2BHP1nOFRjBnO-EcgK9Nrw6PwC5GTaSGQPJenhe9etFbw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm running CURRENT 8d95f500521 and I'm receiving loads of dmesg warnings:
> ---
> ACPI Warning: Firmware issue: Excessive sleep time (0x0000000000000010 ms >
> 10 ms) in ACPI Control Method (20220331/exsystem-347)
> ---
> Is there a way to silence it?

  Hi.
  
  I think these messages are only informational and make them easier
to miss more important messages.
  My old machine's ACPI bios is worked at 20msec, so I did patch to
/usr/src/sys/contrib/dev/acpica/components/executer/exsystem.c like below.

% diff -ruN exsystem.c.orig exsystem.c
--- exsystem.c.orig     2022-04-03 07:18:33.339997000 +0900
+++ exsystem.c  2022-04-26 19:13:06.814856000 +0900
@@ -342,10 +342,10 @@
      * Warn users about excessive sleep times, so ASL code can be improved to
      * use polling or similar techniques.
      */
-    if (HowLongMs > 10)
+    if (HowLongMs > 20)
     {
        ACPI_WARNING ((AE_INFO,
-            "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
+            "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 20 ms)"
             " in ACPI Control Method",
             ACPI_FORMAT_UINT64 (HowLongMs)));
     }
-- 
Masachika ISHIZUKA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220612.170203.1570364119618551543.ish>