Long boot time on ASUS TUF A14 FA401KM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Kernel boot time is very long on ASUS TUF A14 FA401KM with kernel 6.16.

>From dmesg the kernel is hanging for 36s:

[    2.164931] usb 3-5: New USB device found, idVendor=13d3,
idProduct=3612, bcdDevice= 0.00
[    2.165573] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.166127] usb 3-5: Product: Bluetooth Radio
[    2.166671] usb 3-5: Manufacturer: Realtek
[    2.167208] usb 3-5: SerialNumber: 00e04c000001
[   38.188085] clk: Disabling unused clocks
[   38.188644] PM: genpd: Disabling unused power domains
[   38.191606] Freeing unused decrypted memory: 2028K

Result of initcall tracing:

[    1.750332] calling  acpi_gpio_handle_deferred_request_irqs+0x0/0x40 @ 1
...
[   38.126886] initcall
acpi_gpio_handle_deferred_request_irqs+0x0/0x40 returned 0 after
36376321 usecs

With ftrace=function_graph the delay is located in acpi_ex_system_do_sleep,
which came from DSDT Sleep instruction.

In DSDT the issue is located in this function combined by looping and long
sleep:

Method (NOD2, 1, Serialized)
{
    If ((IVGA == Zero))
    {
        If ((Arg0 != RDNT))
        {
            Local0 = Zero
            Local1 = DNOT /* \_SB_.PCI0.SBRG.DNOT */
            DNOT = Arg0
            RDNT = Zero
            While ((Arg0 != RDNT))
            {
                If ((Local0 >= 0x0f))
                {
                    DNOT = Local1
                    Break
                }

                Notify (^^GPP9.PEGP, Arg0)
                Local0++
                Local2 = (Local0 * 0x64)
                Sleep (Local2)
            }
        }
    }
}

For testing purposes I've made a DSDT override with the loop removed, for the
moment nothing is broken and the issue is mitigated.

The full tracing and DSDT dump (dsdt_org.dat) are updated to
https://gist.github.com/HiFiPhile/324c330b204ef038ef8b3ff2aff7bb6c

Thanks,
Zixun




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux