Repository navigation
Conversation
[Medium impact] The PR appears safe to merge, with the existing non-blocking test coverage finding still outstanding. Findings
SummaryBoth GRUB configurations now boot
Reviews (2) · Last reviewed commit: "Scope MacBook8,1 live SPI PIO workaround..." · Reviewed by Greptile |
| if smbios --type 1 --get-string 5 --set sys_product; then | ||
| if [ "${sys_product}" == 'MacBook8,1' ]; then | ||
| set macbook81_pio=initcall_blacklist=dw_pci_driver_init |
There was a problem hiding this comment.
The new MacBook8,1 branch has no tracked test. The existing Mac boot test supplies only manufacturer=Apple Inc., so it never checks this branch. Tests can therefore pass if the keyboard workaround is dropped or applied to other machines.
Add coverage for MacBook8,1, another Apple model, a failed product lookup, and a non-Apple machine in both configurations. Check the selected kernel and workaround argument in normal and screen-reader entries.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
The 2015 12-inch MacBook8,1 is a pre-T2 Apple computer, but the live ISO's current GRUB selector routes all systems with the SMBIOS manufacturer
Apple Inc.tolinux-t2. This makes the installer kernel inconsistent with the kernel installed on non-T2 Macs.Scope two adjustments to MacBook8,1 in both normal GRUB and loopback (Ventoy) boot paths:
linux-omarchykernel instead oflinux-t2onMacBook8,1.initcall_blacklist=dw_pci_driver_initonly for that model, because its Wildcat Point SPI input controller hangs when using DesignWare DMA.For other Apple machines, preserve the current
linux-t2selection; for PCs, leave both kernel and kernel arguments unchanged. If SMBIOS model information is unavailable, retain the existing Apple fallback.No syslinux BIOS/PXE paths are changed: they cannot reliably identify the target model in the current static boot config, and adding this DMA workaround globally would regress unrelated hardware.
Related work
Hardware evidence
On a MacBook8,1 (Early 2015, Core M-5Y31), a custom Omarchy ISO with the model-specific live boot adjustment enabled the built-in keyboard during installation. The installed system on
7.2.15-2-omarchyuses the PIO boot argument successfully for LUKS unlock and trackpad input. Also verified: Wi-Fi 2.4/5 GHz, speakers/headphones/mic, Bluetooth basic function, camera capture, 10 lid sleep/resume cycles, and long deep/S3 resume (requires a separate LPSS hook).Tests and remaining verification
git diff --checkand existingtest/unit/boot-cmdline-test.shshould be run in an Arch environment where applicable.