Advertisement · 728 × 90

Posts by Sven Peter

Preview
Asahi Linux - Porting Linux to Apple Silicon In this talk, you will learn how Apple Silicon hardware differs from regular laptops or desktops. We'll cover how we reverse engineered t...

For those who missed my #Asahilinux #39c3 talk, it's available at media.ccc.de/v/39c3-asahi... now.

I've also just pushed my slides to github.com/svenpeter42/... and uploaded them as PDF to cfp.cccv.de/39c3/talk/YG...

3 months ago 14 2 0 0

Like last time this does NOT contain Thunderbolt or DP-AltMode support yet.
It's last big piece of code I wrote that's only been in our downstream trees though. Once this is upstream, I can finally focus on new features :-)

5 months ago 1 0 1 0
Making sure you're not a bot!

Now that the Apple Silicon dwc3 driver is in -next it's time to continue with the Type-C PHY driver, which is the last part required for upstream USB3:

lore.kernel.org/asahi/202510...

#asahilinux #linux

5 months ago 1 1 1 0

Like last time this does NOT enable DisplayPort or Thunderbolt, it's just the very first step towards that.

6 months ago 1 0 0 0

On Apple Silicon the entire type-c stack is a bit cursed and requires tearing down dwc3 for each mode change. We thus added debouncing here and made sure to call the usb-role-switch and typec-mux functions in just the right order.

6 months ago 1 0 1 0

The PD controller on these machines negotiates the correct mode (usb, displayport, thunderbolt) with the other end and then is responsible for propagating this to other subsystems.

6 months ago 0 0 1 0
Making sure you're not a bot!

Just submitted the Apple Silicon Type-C PD controller changes separate from the PHY and DWC3 work for USB3: lore.kernel.org/asahi/202509...

#linux #asahilinux

6 months ago 3 0 1 0
Making sure you're not a bot!

Just sent out v2 of the USB3 and Type-C PHY support

lore.kernel.org/all/20250906...

7 months ago 2 0 0 0
Advertisement

This also includes some initial work for DisplayPort-altmode and USB4/Thunderbolt but both will require much more work after this is upstream, so don't get your hopes up just yet.

7 months ago 3 0 0 0

RFC because the entire Type-C machinery spans multiple subsystems and has quite a few quirks which makes the entire thing rather annoying to deal with and I'm not 100% convinced about the current approach.

7 months ago 3 0 1 0
Making sure you're not a bot!

I've finally just submitted the RFC series for USB3 support on Apple Silicon machines.

lore.kernel.org/asahi/202508...

#asahilinux #linux

7 months ago 7 1 2 0
Preview
Progress Report: Linux 6.16 - Asahi Linux Porting Linux to Apple Silicon

Next Asahi Linux progress report is up. We're finally below 1000 downstream patches and have a a fully upstream (userspace) graphics stack :)

asahilinux.org/2025/08/prog...

#asahilinux

8 months ago 3 0 0 0

next up are two minor smc drivers (HID, RTC) and then atcphy.

haven't seen that yet, thanks.

8 months ago 1 0 0 0
Making sure you're not a bot!

SMC made it just in time! Now it's finally possible to reboot M1/M2 with an upstream kernel ;)

This also allows to enable the power gpios for e.g. wifi and allows us to upstream drivers for the power button, hardware sensors, battery status and RTC next

lore.kernel.org/asahi/175334...

#asahilinux

8 months ago 5 1 1 0
Preview
Progress Report: Linux 6.15 - Asahi Linux Porting Linux to Apple Silicon

Linux 6.15 is right around the corner, which means it's time for another progress report! We have been pretty busy behind the scenes and we have some exciting developments to share with you all! Once again, thank you for your support.

buff.ly/vKgTZps

10 months ago 96 21 3 0
Making sure you're not a bot!

Our #asahilinux i2c fixes were merged 🥳
lore.kernel.org/asahi/enap4c...

4 commits less in our downstream tree, just a few hundred more to go 🫠
Next up: SMC

11 months ago 2 0 0 0