Troubleshooting Linux Boot and CPU WFI Issue on Apple M4 Mac Mini(yuka.dev)
Writing language: KoreanRead in the original language
Plain summary
- The Apple M4 chip differs from previous M1 to M3 generations by having the security feature SPTM enabled by default, complicating use of the existing m1n1 hypervisor method.
- Boot logs were checked using a UART serial console, and the MMU initial setup mapped the MMIO area to 1:1 to secure debug output.
- On the M4 CPU, the interrupt wait command WFI caused the register state to disappear, unlike the ARM64 standard; a temporary measure was applied to avoid executing this command.
- Kernel boot options to fix this issue were integrated into the Linux mainline and m1n1, enabling Linux boot with multi-core support on the M4 and subsequent chips.
Found on
Hacker News ↗ / 200 votes / 127 comments
Have you run into something like this? Tell us in a line or two what you did. You do not need to know the product.