https://bugzilla.kernel.org/show_bug.cgi?id=217406

            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
          Assignee: acpi_config-interru...@kernel-bugs.osdl.org
          Reporter: evils...@proton.me
                CC: l...@kernel.org, raf...@kernel.org
        Regression: Yes
           Bisected 37c81d9f1d1b1458894454efcb857f6a769b6bc4
         commit-id:

Created attachment 304222
  --> https://bugzilla.kernel.org/attachment.cgi?id=304222&action=edit
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.

"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
keyboard.

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
again.

-- 
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
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to