Re: dmesg: ACPI Warning: Firmware issue warning spaming
Date: Sun, 12 Jun 2022 15:39:28 UTC
What do you think opening a review about this fix/tweak to stop this
spamming that blinds dmesg?
Masachika ISHIZUKA <ish@amail.plala.or.jp> escreveu no dia domingo,
12/06/2022 à(s) 09:03:
> > 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
>
>