Bug ID: 217406
           Summary: very slow keyboard typing otherwise without IRQ
                    override with new AMD Ryzen CPUs
           Product: ACPI
           Version: 2.5
    Kernel Version: 5.19.10 to 6.3.0
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Config-Interrupts
        Regression: Yes
           Bisected 37c81d9f1d1b1458894454efcb857f6a769b6bc4

Created attachment 304222
patch to reenable IRQ override for recent AMD cpus

I have an HP Pavilion Aero 13 laptop that comes with an AMD Ryzen 7735U CPU and
an up-to-date BIOS. Using any kernel version that is strictly greater than
5.19.9 on it is causing the typing with the integrated keyboard to be extremely

"Slow" is subjective but let's say that once you hit a key you have to wait a
few seconds for it to be displayed. Everything else is very responsive, `top`
doesn't show any abnormally high CPU usage, and the issue is really with the

After some bisecting I found that 5.19.9 doesn't have this issue, but any
version greater than or equal to 5.19.10 has it. Looking at the changelog of
the 5.19.10 I noticed the 37c81d9f1d1b1458894454efcb857f6a769b6bc4 which
disables IRQ overriding for AMD Ryzen CPUs.

I then wrote the following patch (see attached) which basically reverts that
change (the culprit is really just the `#ifdef` below) and now after applying
that patch with any kernel version up to the 6.3.0 my keyboard is responsive

You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

acpi-bugzilla mailing list

Reply via email to