Patchwork Silencing "ACPI Debug" messages

login
register
mail settings
Submitter Erik Schmauss
Date Feb. 4, 2019, 6:51 p.m.
Message ID <CF6A88132359CE47947DB4C6E1709ED53C56A567@ORSMSX122.amr.corp.intel.com>
Download mbox | patch
Permalink /patch/717717/
State New
Headers show

Comments

Erik Schmauss - Feb. 4, 2019, 6:51 p.m.
> -----Original Message-----
> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-
> owner@vger.kernel.org] On Behalf Of Alex_Gagniuc@Dellteam.com
> Sent: Thursday, January 31, 2019 7:10 AM
> To: linux-acpi@vger.kernel.org
> Subject: Silencing "ACPI Debug" messages
> 
> Hi,
> 
> When I try to build from source, ever since 4.20 or so, I get a
> magnificent ton of "ACPI Debug:" messages in dmesg. I'd like to turn
> them off, but after checking through Documentation/, I didn't find
> anything to that extent. I'm also not passing any debug-related
> commandline arguments to the kernel, and I made sure not to have
> any debugging enabled in /sys/module/acpi/parameters/.
> How do I disable these messages?

+Bob

Hi Alex,

We've received reports about this and this seems to be some dependency between linux
ACPI debugging and ACPICA code. We'll have a better solution but please try the following for now:

Thanks,
Erik
> 
> Alex
> 
> Appendix A: Debug entry from dmesg:
> 
> [    1.608169] pci 0000:d9:07.0: [10b5:9733] type 01 class 0x060400
> [    1.608212] ACPI Debug:  "_HPX"
> [    1.608243] ACPI Debug:  Package (Contains 0x04 Elements):
> [    1.608244] ACPI Debug:     (00) Package (Contains 0x12 Elements):
> [    1.608246] ACPI Debug:         (00) 0x0000000000000002
> [    1.608247] ACPI Debug:         (01) 0x0000000000000001
> [    1.608248] ACPI Debug:         (02) 0x00000000FC000FCF
> [    1.608249] ACPI Debug:         (03) 0x0000000003A10000
> [    1.608250] ACPI Debug:         (04) 0x00000000FC000FCF
> [    1.608251] ACPI Debug:         (05) 0x00000000004EF030
> [    1.608253] ACPI Debug:         (06) 0x00000000FFFF0E3E
> [    1.608254] ACPI Debug:         (07) 0x000000000000F1C1
> [    1.608255] ACPI Debug:         (08) 0x00000000FFFFFFFF
> [    1.608256] ACPI Debug:         (09) 0x0000000000000000
> [    1.608257] ACPI Debug:         (10) 0x000000000000FFF1
> [    1.608258] ACPI Debug:         (11) 0x000000000000000E
> [    1.608260] ACPI Debug:         (12) 0x000000000000FFFF
> [    1.608261] ACPI Debug:         (13) 0x0000000000000000
> [    1.608262] ACPI Debug:         (14) 0x00000000FFFFC010
> [    1.608263] ACPI Debug:         (15) 0x0000000000001BC0
> [    1.608264] ACPI Debug:         (16) 0x00000000FFFFC010
> [    1.608265] ACPI Debug:         (17) 0x000000000000242F
> [    1.608267] ACPI Debug:     (01) Package (Contains 0x11 Elements):
> [    1.608268] ACPI Debug:         (00) 0x0000000000000003
> [    1.608269] ACPI Debug:         (01) 0x0000000000000001
> [    1.608270] ACPI Debug:         (02) 0x0000000000000001
> [    1.608271] ACPI Debug:         (03) 0x00000000000001FF
> [    1.608273] ACPI Debug:         (04) 0x0000000000000003
> [    1.608274] ACPI Debug:         (05) 0x0000000000000001
> [    1.608275] ACPI Debug:         (06) 0x0000000000000010
> [    1.608276] ACPI Debug:         (07) 0x0000000000000012
> [    1.608277] ACPI Debug:         (08) 0x0000000000000000
> [    1.608278] ACPI Debug:         (09) 0x0000000000000000
> [    1.608280] ACPI Debug:         (10) 0x0000000000000000
> [    1.608281] ACPI Debug:         (11) 0x0000000000000024
> [    1.608282] ACPI Debug:         (12) 0x0000000000000002
> [    1.608283] ACPI Debug:         (13) 0x0000000000000002
> [    1.608284] ACPI Debug:         (14) 0x0000000000000028
> [    1.608285] ACPI Debug:         (15) 0x00000000FFFFFFF0
> [    1.608287] ACPI Debug:         (16) 0x0000000000000006
> [    1.608288] ACPI Debug:     (02) Package (Contains 0x11 Elements):
> [    1.608289] ACPI Debug:         (00) 0x0000000000000003
> [    1.608290] ACPI Debug:         (01) 0x0000000000000001
> [    1.608291] ACPI Debug:         (02) 0x0000000000000001
> [    1.608293] ACPI Debug:         (03) 0x00000000000001FF
> [    1.608294] ACPI Debug:         (04) 0x0000000000000003
> [    1.608295] ACPI Debug:         (05) 0x0000000000000001
> [    1.608296] ACPI Debug:         (06) 0x0000000000000010
> [    1.608297] ACPI Debug:         (07) 0x0000000000000012
> [    1.608298] ACPI Debug:         (08) 0x0000000000000000
> [    1.608300] ACPI Debug:         (09) 0x0000000000000000
> [    1.608301] ACPI Debug:         (10) 0x0000000000000000
> [    1.608302] ACPI Debug:         (11) 0x0000000000000024
> [    1.608303] ACPI Debug:         (12) 0x0000000000000006
> [    1.608304] ACPI Debug:         (13) 0x0000000000000004
> [    1.608305] ACPI Debug:         (14) 0x0000000000000028
> [    1.608307] ACPI Debug:         (15) 0x00000000FFFFFFF0
> [    1.608308] ACPI Debug:         (16) 0x0000000000000009
> [    1.608309] ACPI Debug:     (03) Package (Contains 0x11 Elements):
> [    1.608310] ACPI Debug:         (00) 0x0000000000000003
> [    1.608311] ACPI Debug:         (01) 0x0000000000000001
> [    1.608313] ACPI Debug:         (02) 0x0000000000000001
> [    1.608314] ACPI Debug:         (03) 0x00000000000001FF
> [    1.608315] ACPI Debug:         (04) 0x0000000000000003
> [    1.608316] ACPI Debug:         (05) 0x0000000000000001
> [    1.608317] ACPI Debug:         (06) 0x0000000000000010
> [    1.608318] ACPI Debug:         (07) 0x0000000000000012
> [    1.608320] ACPI Debug:         (08) 0x0000000000000000
> [    1.608321] ACPI Debug:         (09) 0x0000000000000000
> [    1.608322] ACPI Debug:         (10) 0x0000000000000000
> [    1.608323] ACPI Debug:         (11) 0x0000000000000024
> [    1.608324] ACPI Debug:         (12) 0x000000000000000E
> [    1.608325] ACPI Debug:         (13) 0x0000000000000008
> [    1.608326] ACPI Debug:         (14) 0x0000000000000028
> [    1.608328] ACPI Debug:         (15) 0x00000000FFFFFFF0
> [    1.608329] ACPI Debug:         (16) 0x000000000000000D
> [    1.608352] acpi_run_hpx: Type 3 record not supported
> [    1.608391] pci 0000:d9:07.0: PME# supported from D0 D3hot D3cold
Alex_Gagniuc@Dellteam.com - Feb. 4, 2019, 7:54 p.m.
On 2/4/19 12:51 PM, Schmauss, Erik wrote:
> 
> [EXTERNAL EMAIL]
> 
> 
> 
>> -----Original Message-----
>> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-
>> owner@vger.kernel.org] On Behalf Of Alex_Gagniuc@Dellteam.com
>> Sent: Thursday, January 31, 2019 7:10 AM
>> To: linux-acpi@vger.kernel.org
>> Subject: Silencing "ACPI Debug" messages
>>
>> Hi,
>>
>> When I try to build from source, ever since 4.20 or so, I get a
>> magnificent ton of "ACPI Debug:" messages in dmesg. I'd like to turn
>> them off, but after checking through Documentation/, I didn't find
>> anything to that extent. I'm also not passing any debug-related
>> commandline arguments to the kernel, and I made sure not to have
>> any debugging enabled in /sys/module/acpi/parameters/.
>> How do I disable these messages?
> 
> +Bob
> 
> Hi Alex,
> 
> We've received reports about this and this seems to be some dependency between linux
> ACPI debugging and ACPICA code. We'll have a better solution but please try the following for now:
> 
> diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
> index 6db9a6d40c85..b1196a260620 100644
> --- a/include/acpi/acoutput.h
> +++ b/include/acpi/acoutput.h
> @@ -150,7 +150,7 @@
> 
>   /* Defaults for debug_level, debug and normal */
> 
> -#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION | ACPI_LV_REPAIR)
> +#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INFO | ACPI_LV_REPAIR)
>   #define ACPI_NORMAL_DEFAULT         (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR)
>   #define ACPI_DEBUG_ALL              (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL)

Thanks Erik,

That worked a charm.

Alex

> Thanks,
> Erik
>>
>> Alex
>>
>> Appendix A: Debug entry from dmesg:
>>
>> [    1.608169] pci 0000:d9:07.0: [10b5:9733] type 01 class 0x060400
>> [    1.608212] ACPI Debug:  "_HPX"
>> [    1.608243] ACPI Debug:  Package (Contains 0x04 Elements):
>> [    1.608244] ACPI Debug:     (00) Package (Contains 0x12 Elements):
>> [    1.608246] ACPI Debug:         (00) 0x0000000000000002
>> [    1.608247] ACPI Debug:         (01) 0x0000000000000001
>> [    1.608248] ACPI Debug:         (02) 0x00000000FC000FCF
>> [    1.608249] ACPI Debug:         (03) 0x0000000003A10000
>> [    1.608250] ACPI Debug:         (04) 0x00000000FC000FCF
>> [    1.608251] ACPI Debug:         (05) 0x00000000004EF030
>> [    1.608253] ACPI Debug:         (06) 0x00000000FFFF0E3E
>> [    1.608254] ACPI Debug:         (07) 0x000000000000F1C1
>> [    1.608255] ACPI Debug:         (08) 0x00000000FFFFFFFF
>> [    1.608256] ACPI Debug:         (09) 0x0000000000000000
>> [    1.608257] ACPI Debug:         (10) 0x000000000000FFF1
>> [    1.608258] ACPI Debug:         (11) 0x000000000000000E
>> [    1.608260] ACPI Debug:         (12) 0x000000000000FFFF
>> [    1.608261] ACPI Debug:         (13) 0x0000000000000000
>> [    1.608262] ACPI Debug:         (14) 0x00000000FFFFC010
>> [    1.608263] ACPI Debug:         (15) 0x0000000000001BC0
>> [    1.608264] ACPI Debug:         (16) 0x00000000FFFFC010
>> [    1.608265] ACPI Debug:         (17) 0x000000000000242F
>> [    1.608267] ACPI Debug:     (01) Package (Contains 0x11 Elements):
>> [    1.608268] ACPI Debug:         (00) 0x0000000000000003
>> [    1.608269] ACPI Debug:         (01) 0x0000000000000001
>> [    1.608270] ACPI Debug:         (02) 0x0000000000000001
>> [    1.608271] ACPI Debug:         (03) 0x00000000000001FF
>> [    1.608273] ACPI Debug:         (04) 0x0000000000000003
>> [    1.608274] ACPI Debug:         (05) 0x0000000000000001
>> [    1.608275] ACPI Debug:         (06) 0x0000000000000010
>> [    1.608276] ACPI Debug:         (07) 0x0000000000000012
>> [    1.608277] ACPI Debug:         (08) 0x0000000000000000
>> [    1.608278] ACPI Debug:         (09) 0x0000000000000000
>> [    1.608280] ACPI Debug:         (10) 0x0000000000000000
>> [    1.608281] ACPI Debug:         (11) 0x0000000000000024
>> [    1.608282] ACPI Debug:         (12) 0x0000000000000002
>> [    1.608283] ACPI Debug:         (13) 0x0000000000000002
>> [    1.608284] ACPI Debug:         (14) 0x0000000000000028
>> [    1.608285] ACPI Debug:         (15) 0x00000000FFFFFFF0
>> [    1.608287] ACPI Debug:         (16) 0x0000000000000006
>> [    1.608288] ACPI Debug:     (02) Package (Contains 0x11 Elements):
>> [    1.608289] ACPI Debug:         (00) 0x0000000000000003
>> [    1.608290] ACPI Debug:         (01) 0x0000000000000001
>> [    1.608291] ACPI Debug:         (02) 0x0000000000000001
>> [    1.608293] ACPI Debug:         (03) 0x00000000000001FF
>> [    1.608294] ACPI Debug:         (04) 0x0000000000000003
>> [    1.608295] ACPI Debug:         (05) 0x0000000000000001
>> [    1.608296] ACPI Debug:         (06) 0x0000000000000010
>> [    1.608297] ACPI Debug:         (07) 0x0000000000000012
>> [    1.608298] ACPI Debug:         (08) 0x0000000000000000
>> [    1.608300] ACPI Debug:         (09) 0x0000000000000000
>> [    1.608301] ACPI Debug:         (10) 0x0000000000000000
>> [    1.608302] ACPI Debug:         (11) 0x0000000000000024
>> [    1.608303] ACPI Debug:         (12) 0x0000000000000006
>> [    1.608304] ACPI Debug:         (13) 0x0000000000000004
>> [    1.608305] ACPI Debug:         (14) 0x0000000000000028
>> [    1.608307] ACPI Debug:         (15) 0x00000000FFFFFFF0
>> [    1.608308] ACPI Debug:         (16) 0x0000000000000009
>> [    1.608309] ACPI Debug:     (03) Package (Contains 0x11 Elements):
>> [    1.608310] ACPI Debug:         (00) 0x0000000000000003
>> [    1.608311] ACPI Debug:         (01) 0x0000000000000001
>> [    1.608313] ACPI Debug:         (02) 0x0000000000000001
>> [    1.608314] ACPI Debug:         (03) 0x00000000000001FF
>> [    1.608315] ACPI Debug:         (04) 0x0000000000000003
>> [    1.608316] ACPI Debug:         (05) 0x0000000000000001
>> [    1.608317] ACPI Debug:         (06) 0x0000000000000010
>> [    1.608318] ACPI Debug:         (07) 0x0000000000000012
>> [    1.608320] ACPI Debug:         (08) 0x0000000000000000
>> [    1.608321] ACPI Debug:         (09) 0x0000000000000000
>> [    1.608322] ACPI Debug:         (10) 0x0000000000000000
>> [    1.608323] ACPI Debug:         (11) 0x0000000000000024
>> [    1.608324] ACPI Debug:         (12) 0x000000000000000E
>> [    1.608325] ACPI Debug:         (13) 0x0000000000000008
>> [    1.608326] ACPI Debug:         (14) 0x0000000000000028
>> [    1.608328] ACPI Debug:         (15) 0x00000000FFFFFFF0
>> [    1.608329] ACPI Debug:         (16) 0x000000000000000D
>> [    1.608352] acpi_run_hpx: Type 3 record not supported
>> [    1.608391] pci 0000:d9:07.0: PME# supported from D0 D3hot D3cold
>

Patch

diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
index 6db9a6d40c85..b1196a260620 100644
--- a/include/acpi/acoutput.h
+++ b/include/acpi/acoutput.h
@@ -150,7 +150,7 @@ 

 /* Defaults for debug_level, debug and normal */

-#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION | ACPI_LV_REPAIR)
+#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INFO | ACPI_LV_REPAIR)
 #define ACPI_NORMAL_DEFAULT         (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR)
 #define ACPI_DEBUG_ALL              (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL)