ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
tpw_rules has joined #asahi-dev
yuyichao has joined #asahi-dev
PhilippvK has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
jbowen has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi-dev
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
roxfan2 has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
PhilippvK has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
grange_c4 has joined #asahi-dev
grange_c4 is now known as grange_c
grange_c has quit [Quit: Ping timeout (120 seconds)]
Major_Biscuit has joined #asahi-dev
jbowen has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
pbc has joined #asahi-dev
pbc has quit [Ping timeout: 480 seconds]
pbc has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
dianshi has quit []
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
aleasto has joined #asahi-dev
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
DarkShadow4444 has joined #asahi-dev
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
krirogn[m] has joined #asahi-dev
pg12_ has joined #asahi-dev
pg12 has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
aleasto has quit [Remote host closed the connection]
bit_shifts has joined #asahi-dev
bit_shifts has quit []
bit_shifts has joined #asahi-dev
Gaspare has joined #asahi-dev
the_lanetly_052__ has joined #asahi-dev
bit_shif_ has joined #asahi-dev
bit_shif_ has quit []
Gaspare has quit [Read error: Connection reset by peer]
bit_shifts has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
yuyichao has quit [Quit: Konversation terminated!]
jbowen has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has quit [Remote host closed the connection]
King_In4 has joined #asahi-dev
King_InuYasha has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
pg12 has joined #asahi-dev
pg12_ has quit [Ping timeout: 480 seconds]
tpw_rules has quit [Quit: Textual IRC Client: www.textualapp.com]
tpw_rules has joined #asahi-dev
Gaspare has joined #asahi-dev
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
VinDuv has joined #asahi-dev
the_lanetly_052 has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
Major_Biscuit has quit [Ping timeout: 480 seconds]
Stary has quit [Remote host closed the connection]
Stary has joined #asahi-dev
Stary_ has joined #asahi-dev
Stary is now known as Guest577
Stary_ is now known as Stary
jannau has quit [Remote host closed the connection]
jannau has joined #asahi-dev
Guest577 has quit [Read error: Connection reset by peer]
<jannau> bisecting the kernel base for the dcp branch is a little annoying
___nick___ has joined #asahi-dev
___nick___ has quit []
<jannau> dcp on top of 5.16 with the macos 12 dcp firmware has working hotplug
___nick___ has joined #asahi-dev
<j`ey> jannau: so are you going to bisect v5.16..v5.17-rc1 next?
<jannau> yes, trying to avoid linux-next
<jannau> on a hunch I'll test first with the pmgr driver disabled
<jannau> that was a waste. I fear even 5.17-rc1 won't boot with CONFIG_APPLE_PMGR_PWRSTATE disabled and power-domains properties in the dtb
<Glanzmann> S/clear
<j`ey> jannau: why a waste, cant you just delete the power states from the dtb?
yuyichao has joined #asahi-dev
<jannau> already done
<jannau> hotplug works on dcp-v5.17-rc1
<jannau> problem might have been the typec crash
Gaspare has quit [Quit: Gaspare]
<alyssa> jannau: Whoo!
<jannau> maz: even 5.17-rc1 + typec fix doesn't boot with APPLE_PMGR_PWRSTATE disabled
Gaspare has joined #asahi-dev
<j`ey> jannau: how does that crash, or does it hang?
<jannau> alyssa: strange that the enabled pmgr crashes dcp on unplug but it works normally from boot
<alyssa> 🤷
<jannau> j`ey: seems to hang as far as I can see with earlycon and keep_bootcon
<jannau> alyssa: the problem seems to be that the power state driver powers something down dcp needs. I'm surprised it causes only problems on hdmi unplug
<sven> nice! time to add real power domains support to that driver I guess ;)
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
<jannau> I don't see what I'm missing but hotplug still works after adding "apple,always-on;" to a bunch of pwrstates
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
<jannau> it crashes with if ps_pmp is off, I guess notify_pmp should count as dependency
<alyssa> jannau: Does it work with `clk_ignore_unused pd_ignore_unused`?
<alyssa> boot args I mean
<jannau> I suppose your branch from december will start working too. oh, you probbaly need "power-domains = <&ps_disp0_cpu0>;" for the dcp node as well
___nick___ has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
<sven> Nice!
<kettenis> yay, I have working sound on the mini
<jannau> nice, congrats
yuyichao_ has joined #asahi-dev
<alyssa> Woo
<alyssa> jannau: so I guess I'm supposed to uprev my kernel now so I can get audio or whatever?
yuyichao has quit [Ping timeout: 480 seconds]
<jannau> I suppose kettenis has working audio on OpenBSD
<jannau> mac mini audio is working for a while under linux-asahi thanks to povik
<kettenis> correct
<kettenis> I still need to figure out some of the details
<jannau> I think the only feature missing in asahi + dcp compared to your tree is power-off support
<alyssa> jannau: my tree doesn't have power-off
<alyssa> just reboot
<alyssa> which AFAIU is now in mainline with the wdt driver
<alyssa> I -did- cherrypick patches for the real-time clock, though
<alyssa> what's the story with wifi firmware on asahi+dcp
<j`ey> alyssa: need to run a script on macos/1tr to tar the firmware up
<alyssa> mumble
* alyssa hates change
* alyssa starts fetching a new kernel she guesses
<j`ey> wifi.py /usr/share/firmware/wifi linux-firmware.tar
<j`ey> then copy that tar and extract it on the rootfs
<alyssa> jannau: what is bits-dcp vs asahi-dcp
<alyssa> jannau: " drm/apple: fill swap_start as macos " -- not doing this was intentional
<alyssa> IMHO coprocessor shouldn't be seeing kernel VAs.
<jannau> bits/dcp is dcp standalone intended to be merged into asahi
<alyssa> got it
* alyssa git fetches
<jannau> also requires the top 2 patches from https://github.com/jannau/linux/tree/bits/050-nvme
<alyssa> ah..
<jannau> alyssa: I shouldn't have pushed that, that was me blindly trying to find the crash
<alyssa> ack
<alyssa> ok, well, my poor chromebook is building the kernel for the M1
yuyichao has joined #asahi-dev
<jannau> fixed, offending commits removed
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
<jannau> for enabling the wifi pcie slot you have either boot via u-boot or use experiments/pcie_enable_devices.py
yuyichao has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
<alyssa> does /home/alyssa/m1n1/proxyclient/experiments/smc.py not work anymore
pbc has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]