Date: Sun, 12 Jun 2022 16:39:28 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Masachika ISHIZUKA <ish@amail.plala.or.jp> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: dmesg: ACPI Warning: Firmware issue warning spaming Message-ID: <CAFDf7U%2B-pOz_Fw6zF3m2QdA=KGArME0f-G_ZaiUuRmCHwJ%2B86A@mail.gmail.com> In-Reply-To: <20220612.170203.1570364119618551543.ish@amail.plala.or.jp> References: <CAFDf7U%2BHP1nOFRjBnO-EcgK9Nrw6PwC5GTaSGQPJenhe9etFbw@mail.gmail.com> <20220612.170203.1570364119618551543.ish@amail.plala.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d436f105e141fa07 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =C3=A0(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 > > --000000000000d436f105e141fa07 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">What do you think opening a review about this fix/tweak to= stop this spamming that blinds dmesg?<br></div><br><div class=3D"gmail_quo= te"><div dir=3D"ltr" class=3D"gmail_attr">Masachika ISHIZUKA <<a href=3D= "mailto:ish@amail.plala.or.jp">ish@amail.plala.or.jp</a>> escreveu no di= a domingo, 12/06/2022 =C3=A0(s) 09:03:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex">> I'm running CURRENT 8d95f500521 and I'm= receiving loads of dmesg warnings:<br> > ---<br> > ACPI Warning: Firmware issue: Excessive sleep time (0x0000000000000010= ms ><br> > 10 ms) in ACPI Control Method (20220331/exsystem-347)<br> > ---<br> > Is there a way to silence it?<br> <br> =C2=A0 Hi.<br> <br> =C2=A0 I think these messages are only informational and make them easier<b= r> to miss more important messages.<br> =C2=A0 My old machine's ACPI bios is worked at 20msec, so I did patch t= o<br> /usr/src/sys/contrib/dev/acpica/components/executer/exsystem.c like below.<= br> <br> % diff -ruN exsystem.c.orig exsystem.c<br> --- exsystem.c.orig=C2=A0 =C2=A0 =C2=A02022-04-03 07:18:33.339997000 +0900<= br> +++ exsystem.c=C2=A0 2022-04-26 19:13:06.814856000 +0900<br> @@ -342,10 +342,10 @@<br> =C2=A0 =C2=A0 =C2=A0 * Warn users about excessive sleep times, so ASL code = can be improved to<br> =C2=A0 =C2=A0 =C2=A0 * use polling or similar techniques.<br> =C2=A0 =C2=A0 =C2=A0 */<br> -=C2=A0 =C2=A0 if (HowLongMs > 10)<br> +=C2=A0 =C2=A0 if (HowLongMs > 20)<br> =C2=A0 =C2=A0 =C2=A0{<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ACPI_WARNING ((AE_INFO,<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "Firmware issue: Excessive = sleep time (0x%8.8X%8.8X ms > 10 ms)"<br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "Firmware issue: Excessive = sleep time (0x%8.8X%8.8X ms > 20 ms)"<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0" in ACPI Control Meth= od",<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ACPI_FORMAT_UINT64 (HowLong= Ms)));<br> =C2=A0 =C2=A0 =C2=A0}<br> -- <br> Masachika ISHIZUKA<br> <br> </blockquote></div> --000000000000d436f105e141fa07--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2B-pOz_Fw6zF3m2QdA=KGArME0f-G_ZaiUuRmCHwJ%2B86A>