[Bug 283706] atopcase0: irq storm on MacBook Pro

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Dec 2024 00:13:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283706

            Bug ID: 283706
           Summary: atopcase0: irq storm on MacBook Pro
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: saper@saper.info
 Attachment #256246 text/plain
         mime type:

Created attachment 256246
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256246&action=edit
ACPI tables dump

The keyboard of a MacBook Pro 13,1 suffers from IRQ storms.

The workaround from the manpage prevents the driver from attaching at all:

Dec 28 20:57:30 radziecki kernel: lo0: link state changed to UP
Dec 28 20:57:30 radziecki kernel: atopcase0: <Apple MacBook SPI Topcase> at cs
0 mode 0 on spibus0
Dec 28 20:57:30 radziecki kernel: atopcase0: Using ACPI GPE.
Dec 28 20:57:30 radziecki kernel: atopcase0: can't establish communication
Dec 28 20:57:30 radziecki kernel: spi0: transfer timeout
Dec 28 20:57:30 radziecki kernel: atopcase0: SPI error: 5
Dec 28 20:57:30 radziecki kernel: device_attach: atopcase0 attach returned 5
Dec 28 20:57:30 radziecki kernel: Cuse v0.1.37 @ /dev/cuse
Dec 28 20:57:30 radziecki root[1800]: /etc/rc: WARNING: Dump device does not
exist.  Savecore not run.
Dec 28 20:57:30 radziecki named[1854]: starting BIND 9.18.32 (Extended Support
Version) <id:>

Without the workaround it attaches, but the                                  
keyboard is hard to use::::::::::::::::::::::::::::::::::::

Dec 29 00:38:15 radziecki kernel: tap0: link state changed to UP
Dec 29 00:38:15 radziecki kernel: wifibox0: link state changed to UP
Dec 29 00:38:15 radziecki kernel: lo0: link state changed to UP
Dec 29 00:38:15 radziecki kernel: atopcase0: <Apple MacBook SPI Topcase> at cs
0 mode 0 irq 14 on spibus0
Dec 29 00:38:15 radziecki kernel: atopcase0: Using interrupts.
Dec 29 00:38:15 radziecki kernel: stray irq14
Dec 29 00:38:15 radziecki kernel: atopcase0: Interrupt storm detected. Falling
back to polling
Dec 29 00:38:15 radziecki kernel: hidbus0: <HID bus> on atopcase0
Dec 29 00:38:15 radziecki kernel: hidbus1: <HID bus> on atopcase0
Dec 29 00:38:15 radziecki kernel: hkbd0: <Apple MacBook Keyboard> on hidbus0


This is FreeBSD 15.0-CURRENT #15 main-n274377-cf6b389f7c48: Fri Dec 20 10:09:35
CET 2024     saper@radziecki:/big/obj/usr/src/amd64.amd64/sys/VAIO

-- 
You are receiving this mail because:
You are the assignee for the bug.