What happened

Asahi Linux continues its ambitious project to deliver a full desktop experience on Apple Silicon Macs, the team is encountering a surprisingly complex challenge around power management. The core problem lies in how the ARM64 architecture, particularly the M1 chip, handles CPU idle states through the Power State Coordination Interface (PSCI).

PSCI allows the kernel to communicate with and control system firmware – specifically, to transition the CPU cores into low-power sleep modes. However, Apple’s silicon doesn't implement an EL3 execution level, which is what the Linux kernel expects when using PSCI via the standard SMC or HVC conduits. Essentially, the kernel running at EL2 cannot directly yield to a firmware process running in EL3, making native PSCI usage impossible. The team has been working with a custom driver that relies on this direct communication channel to efficiently power down cores when they’re not actively being used. This driver is currently being flagged as an upstream impediment due to its reliance on this specific, non-standard implementation.

Why it matters

Battery life and system efficiency are paramount for any mobile device, and Apple Silicon Macs aren't exempt. Optimizing power consumption through intelligent CPU management – leveraging PSCI – represents a crucial step toward achieving the promised performance and longevity of these machines.

Failure to address this effectively would significantly hamper Asahi Linux’s ability to deliver a truly competitive desktop experience. The entire effort hinges on whether they can find a way to bridge the EL2/EL3 gap, allowing for proper low-power operation. If not addressed, battery drain during idle periods will be high.

But, but, but…

The situation isn’t entirely without nuance. While the core challenge is the lack of EL3 support within Apple Silicon, the broader discussion points to a potential design decision around PSCI's API definition.

The Arm standard deliberately avoids specifying a particular conduit – listing SMC and HVC as examples. This suggests that other methods for firmware interaction are permissible, creating an opportunity, however complex, to find alternative routes. Furthermore, the project is actively integrating U-Boot through m1n1, leveraging its UEFI implementation for broader bootloader flexibility.

““with m1n1’s memory region carved out like other firmware regions, this will allow the kernel to call back into it for psci services, even though it is running at the same exception level.””
— Dr Non

The counter-take

The core tension isn't just technical; it reflects a fundamental difference in philosophies between open-source kernel development and tightly controlled proprietary hardware ecosystems. Apple’s decision not to expose EL3 directly is a significant constraint that forces Asahi Linux to creatively circumvent architectural limitations, highlighting the challenges of achieving full compatibility with bespoke silicon.

The AI angle

This exploration of firmware integration presents an upgrade for system-level control and symmetry – mirroring how standard OS/firmware interactions operate. The asymmetry lies in the unique hardware design of Apple Silicon, which necessitates a non-standard approach to power management.