Skip to content

A7: no MCA interrupt on the iPad Air either - #230

Merged
henrikklee merged 3 commits into
OrchardLinux:mainfrom
ricktav:a7/mca0-no-irq
Nov 24, 2026
Merged

henrikklee merged 3 commits into
OrchardLinux:mainfrom
ricktav:a7/mca0-no-irq

Conversation

@ricktav

@ricktav ricktav commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

On an iPad Air (Wi-Fi, J71) running main's A7 audio, MCA0's interrupt line storms at boot: /proc/interrupts shows 100000 on the MCA, then the kernel logs "irq 62: nobody cared" (handler mca_irq) and disables it. Audio still plays afterwards, since playback is DMA-driven. This is the same storm #223 worked around on the iPad mini 2's MCA1 with no_irq on apple,s5l8960x-mca-tdm; the I2S variant apple,s5l8960x-mca (iPad Air) still requested its interrupt.

  • New kernel/patches/drivers/sound/0051: set no_irq on s5l8960x_mca_hw too, so no A7 MCA requests its interrupt, and say in the flag's comment that the line stays asserted with both version 1 enables clear on MCA0 and MCA1 alike.
  • The J71/J72 path doesn't depend on the interrupt: the handler only acks and masks error causes (with a rate-limited debug message). It doesn't report underruns or faults to ALSA, so nothing there goes missing.
  • CHANGELOG line under Unreleased.

Checks: orchard build --device j71, j85 and j81 (examples/minimal-boot) build; kernel/audit-patches.py passes for j85, j81, j71b, j71t and j71; tools/catalog/generate matrix --check is clean; the unit tests add no failures over main (the failures here are local-environment ones that main has too).

Testing on an iPad Air (Wi-Fi, J71), Omarchy A installed. I ran this exact patch in a kernel built from main eab974c, together with two other local changes that don't touch audio: a charger change and a DT-only input-limit change on the Air.

  • Without it (main's audio): irq 62: nobody cared at every boot, then the line is disabled.
  • With it: two boots, about 30 min of use. No MCA entry in /proc/interrupts, and no "nobody cared" in the log. The speakers card comes up ("iPad Air Speakers"), and a browser game played its sound through the speakers.
  • Not changed by this: after an s2idle round, a browser tab's audio stayed silent until the page was reloaded. That happened before this patch too, so it's a separate issue I haven't tracked down.

🤖 Generated with Claude Code

ricktav and others added 3 commits November 24, 2026 08:46
The iPad Air's MCA0 (apple,s5l8960x-mca) storms at boot like the iPad
mini 2's MCA1 did before OrchardLinux#223: 100000 unhandled interrupts with both
version 1 enables clear, then "irq 62: nobody cared". New drivers/sound
0051 sets no_irq on that variant too, so no A7 MCA requests its
interrupt. Playback is DMA-driven, and the handler only masks error
causes; it reports no underrun or fault, so the J71 and J72 lose nothing.

Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The iPad Air (Wi-Fi) played a browser game through its speakers with
MCA0's interrupt left alone (OrchardLinux#230), so audio_output goes to working on
the J71. The J72 and J73 notes point at that result; they stay untested.
The changelog entry says that no A7 iPad's MCA uses its interrupt now.

Assisted-by: LLM
@henrikklee
henrikklee merged commit 5c34abb into OrchardLinux:main Nov 24, 2026
4 checks passed
@henrikklee

Copy link
Copy Markdown
Contributor

Merged, thanks! The iPad Air no longer floods the log with the audio controller's interrupt at boot, and its speakers are now marked working in the device table, from your test.

Changed on top, by effect:

  • Every A7 iPad is covered. With your patch no A7 audio controller uses its interrupt, so the iPad Air (Wi-Fi and Cellular) and the iPad mini 2 and 3 all get it; nothing else was needed.
  • Device data: the iPad Air (Wi-Fi) speakers go to working, with the s2idle note about a silent tab. The iPad Air (Cellular) and the J72 note your result and stay untested. The changelog entry mentions every A7 iPad.

Your patch is unchanged and has your Signed-off-by. Tag: contrib/ricktav-a7-mca-no-irq at your commit 116b01f.

A quick retest on main when convenient would be welcome: boot, check that there's still no "nobody cared" and that the speakers play.

henrikklee added a commit that referenced this pull request Nov 24, 2026
ricktav runs Omarchy A installed on both: the iPad Air on main eab974c
(#230), the iPad mini 2 daily, with the write-after-sleep fix that is
#221 on main. The iPhone 6s Plus Wi-Fi note said association was
untested; it joins WPA2 networks in the installed system (#220).
@henrikklee

Copy link
Copy Markdown
Contributor

@ricktav, your iPad Air (Wi-Fi) now shows Installs ✅ in the device table, with you as its tester (cdadc84). Four more cells are one short session away, on your installed system with current main: touch (a 20 s drag across the screen), Wi-Fi (join a network), charging (on a wall adapter, does the battery percentage rise), sleep (Power to sleep, Home to wake, 3×). A one-line result per item is enough. On the iPad mini 2, the speakers retest from #223 would flip its last 🤔.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants