Bug 216482

Summary: boot performance: 360 ms spent before `ACPI: EC: interrupt unblocked`
Product: ACPI Reporter: Paul Menzel (pmenzel+bugzilla.kernel.org)
Component: BIOSAssignee: acpi_bios
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.19 Subsystem:
Regression: No Bisected commit-id:
Attachments: Linux 5.19 messages (output of `dmesg`)

Description Paul Menzel 2022-09-13 13:59:33 UTC
Created attachment 301802 [details]
Linux 5.19 messages (output of `dmesg`)

On a Dell XPS 9315/02GGG1, BIOS 1.1.3 05/11/2022, Linux 5.19 shows that 360 ms are spent before `ACPI: EC: interrupt unblocked`:

    [    0.000000] microcode: microcode updated early to revision 0x41c, date = 2022-03-24
    [    0.000000] Linux version 5.19.0-trunk-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.19-1~exp1 (20
22-08-02)
    [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.19.0-trunk-amd64 root=UUID=ebbb839d-ba09-4c1a-9fef-e88a4eb2dad5 ro quiet
    […]
    [    0.512316] pci 0000:00:07.1:   bridge window [mem 0x74000000-0x960fffff]
    [    0.512319] pci 0000:00:07.1:   bridge window [mem 0x6040000000-0x6075ffffff 64bit pref]
    [    0.888002] ACPI: EC: interrupt unblocked
    [    0.888002] ACPI: EC: event unblocked
    [    0.888062] ACPI: EC: EC_CMD/EC_SC=0x934, EC_DATA=0x930
    [    0.888062] ACPI: EC: GPE=0x6e
    […]
    [    1.491029] evm: HMAC attrs: 0x1
    [    1.543661] Freeing unused decrypted memory: 2036K
    [    1.543976] Freeing unused kernel image (initmem) memory: 2728K
    [    1.564222] Write protecting the kernel read-only data: 24576k
    [    1.564898] Freeing unused kernel image (text/rodata gap) memory: 2040K
    [    1.565257] Freeing unused kernel image (rodata/data gap) memory: 1540K
    [    1.572779] x86/mm: Checked W+X mappings: passed, no W+X pages found.
    [    1.572783] Run /init as init process
    […]

360 ms are considerable part of the whole boot time.