https://bugzilla.kernel.org/show_bug.cgi?id=200367
Bug ID: 200367
Summary: ACPI AML table loading takes too long (56 ms)
Product: ACPI
Version: 2.5
Kernel Version: 4.18-rc2+
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ACPICA-Core
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 277049
--> https://bugzilla.kernel.org/attachment.cgi?id=277049&action=edit
Linux 4.18-rc2 messages
With Linux 4.18-rc2+ on an ASRock E350M1, 56 ms are needed to load and acquire
four ACPI AML tables. Here is the output with `acpi.debug_layer=0xffffffff
acpi.debug_level=0x4 log_buf_len=2M` added to the Linux command line.
```
$ dmesg
[…]
[ 0.164573] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.164646] nsload-0056 ns_load_table : **** Loading table into
namespace ****
[ 0.184514] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F8088024
[ 0.184531] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F8088025
[ 0.184539] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F8088026
[ 0.184547] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F8088027
[ 0.192494] exregion-0287 ex_system_io_space_han: System-IO (width 8) R/W 1
Address=0000000000000CD6
[ 0.192509] exregion-0287 ex_system_io_space_han: System-IO (width 8) R/W 0
Address=0000000000000CD7
[ 0.192519] exregion-0287 ex_system_io_space_han: System-IO (width 8) R/W 1
Address=0000000000000CD6
[ 0.192527] exregion-0287 ex_system_io_space_han: System-IO (width 8) R/W 0
Address=0000000000000CD7
[ 0.196331] nsload-0104 ns_load_table : **** Begin Table Object
Initialization
[ 0.200774] dsmethod-0154 ds_detect_named_opcode: Method serialized [_OSC]
(ptrval) - [CreateDWordField] (008A)
[ 0.201496] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateDWordField] (008A)
[ 0.201918] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.201950] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202117] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202148] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202315] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202346] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202513] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202542] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202711] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202740] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202908] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.202937] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.203104] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.203132] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.203305] dsmethod-0154 ds_detect_named_opcode: Method serialized [_CRS]
(ptrval) - [CreateWordField] (008B)
[ 0.203333] dsmethod-0154 ds_detect_named_opcode: Method serialized [_SRS]
(ptrval) - [CreateWordField] (008B)
[ 0.203822] nsload-0111 ns_load_table : **** Completed Table
Object Initialization
[ 0.203831] nsload-0056 ns_load_table : **** Loading table into
namespace ****
[ 0.204155] nsload-0104 ns_load_table : **** Begin Table Object
Initialization
[ 0.204242] nsload-0111 ns_load_table : **** Completed Table
Object Initialization
[ 0.204249] nsload-0056 ns_load_table : **** Loading table into
namespace ****
[ 0.208326] nsload-0104 ns_load_table : **** Begin Table Object
Initialization
[ 0.212757] dsmethod-0154 ds_detect_named_opcode: Method serialized [A031]
(ptrval) - [Name] (0008)
[ 0.214739] dsmethod-0154 ds_detect_named_opcode: Method serialized [A066]
(ptrval) - [CreateWordField] (008B)
[ 0.217186] nsload-0111 ns_load_table : **** Completed Table
Object Initialization
[ 0.217194] nsload-0056 ns_load_table : **** Loading table into
namespace ****
[ 0.219908] nsload-0104 ns_load_table : **** Begin Table Object
Initialization
[ 0.219970] nsload-0111 ns_load_table : **** Completed Table
Object Initialization
[ 0.219975] ACPI: 4 ACPI AML tables successfully acquired and loaded
[ 0.225091] evxface-0630 install_fixed_event_ha: Enabled fixed event
GlobalLock (1), Handler=(ptrval)
[ 0.227757] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F014B132
[ 0.227879] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F014B1B2
[ 0.228012] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F014B232
[ 0.228129] exregion-0172 ex_system_memory_space: System-Memory (width 8)
R/W 0 Address=00000000F014B2B2
[ 0.230571] ACPI: Interpreter enabled
[…]
```
This happens in `acpi_ns_load_table()` in `drivers/acpi/acpica/nsload.c`.
Especially the first 20 ms seem quite long.
--
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla