#
…

2025-05-04

00:20chrisl has joined #asahi-dev
00:29hdbngr has joined #asahi-dev
00:31chrisl has quit [Ping timeout: 480 seconds]
00:39chrisl has joined #asahi-dev
00:42hdbngr has quit [Ping timeout: 480 seconds]
00:47pb17 has quit [Ping timeout: 480 seconds]
00:47chrisl has quit [Ping timeout: 480 seconds]
00:58zumi has quit [Remote host closed the connection]
01:05pb17 has joined #asahi-dev
01:45john-cabaj has joined #asahi-dev
01:46chrisl has joined #asahi-dev
01:53john-cabaj has quit [Ping timeout: 480 seconds]
01:54chrisl has quit [Ping timeout: 480 seconds]
02:11tobhe has joined #asahi-dev
02:18hexdump0815 has joined #asahi-dev
02:18tobhe_ has quit [Ping timeout: 480 seconds]
02:19hexdump01 has quit [Ping timeout: 480 seconds]
02:36chrisl has joined #asahi-dev
02:44chrisl has quit [Ping timeout: 480 seconds]
02:53chrisl has joined #asahi-dev
02:56pb17 has quit [Ping timeout: 480 seconds]
03:01chrisl has quit [Ping timeout: 480 seconds]
03:13pb17 has joined #asahi-dev
03:34ddxtanx has quit [Remote host closed the connection]
03:41ddxtanx has joined #asahi-dev
03:45nora has joined #asahi-dev
03:47nora_ has quit [Ping timeout: 480 seconds]
04:22Larwive has joined #asahi-dev
04:24pb17 has quit [Ping timeout: 480 seconds]
04:34Larwive has quit [Ping timeout: 480 seconds]
04:40pb17 has joined #asahi-dev
04:41Larwive has joined #asahi-dev
04:58JayBeeFOSS has quit [Ping timeout: 480 seconds]
04:59JayBeeFOSS has joined #asahi-dev
05:49hdbngr has joined #asahi-dev
05:59hdbngr has quit [Remote host closed the connection]
05:59hdbngr has joined #asahi-dev
06:01chrisl has joined #asahi-dev
06:07hdbngr has quit [Ping timeout: 480 seconds]
06:09chrisl has quit [Ping timeout: 480 seconds]
07:00chrisl has joined #asahi-dev
07:08chrisl has quit [Ping timeout: 480 seconds]
07:31Halian has quit [Quit: I'll be back.]
07:50hdbngr has joined #asahi-dev
07:52zkrx has quit [Ping timeout: 480 seconds]
07:58hdbngr has quit [Ping timeout: 480 seconds]
08:07chrisl has joined #asahi-dev
08:15chrisl has quit [Ping timeout: 480 seconds]
08:16zkrx has joined #asahi-dev
08:19pb17 has quit [Ping timeout: 480 seconds]
08:34hdbngr has joined #asahi-dev
08:35pb17 has joined #asahi-dev
08:42hdbngr has quit [Ping timeout: 480 seconds]
08:51hdbngr has joined #asahi-dev
08:56nimprod3l has joined #asahi-dev
08:59hdbngr has quit [Ping timeout: 480 seconds]
09:52hdbngr has joined #asahi-dev
10:00hdbngr has quit [Ping timeout: 480 seconds]
10:19pb17 has quit [Ping timeout: 480 seconds]
10:26hdbngr has joined #asahi-dev
10:29pb17 has joined #asahi-dev
10:31yuyichao_ has joined #asahi-dev
10:34hdbngr has quit [Ping timeout: 480 seconds]
10:38nickchananyways about the typec i will surely say that using checkra1n over and over is a great way to make the ports explode and dead until next reboot
10:40nickchanokay it's not as bad as I made it out to be but it happens sometimes more than the background noise
10:47svenyou mean running checkra1n on a asahi linux machine?
10:48svennot surprising then tbh, doesn't it trigger a reset in the middle of a transaction?
10:51nickchansven: right every checkm8 tool needs to do that
10:51nickchanbut yeah I use it because the m1 pro is the fastest machine i can compile linux on and then boot it on an iphone
10:51nickchan(right now it's the only machine I can sanely do that even)
10:52svenyeah, and resets are already a bit sketchy with the current dwc3/atcphy driver
10:52svenso not very surprising the ports gets into a weird state eventually
10:53hdbngr has joined #asahi-dev
10:57chrisl has joined #asahi-dev
11:01hdbngr has quit [Ping timeout: 480 seconds]
11:04nico[mds]1 has joined #asahi-dev
11:05chrisl has quit [Ping timeout: 480 seconds]
11:08hdbngr has joined #asahi-dev
11:12nico[mds]1 has left #asahi-dev [#asahi-dev]
11:16hdbngr has quit [Ping timeout: 480 seconds]
11:37svenhttps://github.com/AsahiLinux/linux/commits/sven/atcphy/ rebased on 6.15-rc1, first clean up pass, only compile tested so far
11:41hdbngr has joined #asahi-dev
11:49hdbngr has quit [Ping timeout: 480 seconds]
11:54hdbngr has joined #asahi-dev
11:59chrisl has joined #asahi-dev
12:02hdbngr has quit [Ping timeout: 480 seconds]
12:07chrisl has quit [Ping timeout: 480 seconds]
12:37ahepp has quit [Quit: #macports]
12:50ahepp has joined #asahi-dev
12:55hdbngr has joined #asahi-dev
13:03hdbngr has quit [Ping timeout: 480 seconds]
13:14BlueMatt has quit [Quit: Quit]
13:14BlueMatt has joined #asahi-dev
13:29BlueMatt has quit [Ping timeout: 480 seconds]
13:40nimprod3l has quit [Ping timeout: 480 seconds]
13:41nimprod3l has joined #asahi-dev
13:42hdbngr has joined #asahi-dev
13:43pb17 has quit [Ping timeout: 480 seconds]
13:48malfunction54 has quit [Remote host closed the connection]
13:50BlueMatt has joined #asahi-dev
13:50hdbngr has quit [Ping timeout: 480 seconds]
13:53malfunction54 has joined #asahi-dev
13:56hdbngr has joined #asahi-dev
13:58chrisl has joined #asahi-dev
14:04hdbngr has quit [Ping timeout: 480 seconds]
14:04hdbngr has joined #asahi-dev
14:06chrisl has quit [Ping timeout: 480 seconds]
14:11pb17 has joined #asahi-dev
14:12yuyichao_ has quit [Ping timeout: 480 seconds]
14:12hdbngr has quit [Ping timeout: 480 seconds]
14:13chefjacob has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
14:18hdbngr has joined #asahi-dev
14:34hdbngr has quit [Ping timeout: 480 seconds]
14:42nimprod3l has quit [Ping timeout: 480 seconds]
14:50hdbngr has joined #asahi-dev
15:03hdbngr has quit [Read error: Connection timed out]
15:05chrisl has joined #asahi-dev
15:13chrisl has quit [Ping timeout: 480 seconds]
15:14hdbngr has joined #asahi-dev
15:22hdbngr has quit [Ping timeout: 480 seconds]
15:30hdbngr has joined #asahi-dev
15:38hdbngr has quit [Ping timeout: 480 seconds]
15:42svennice, looks like that svid = <0x..> hack is no longer required since Heikki cleaned all that up in 4aebc4f89f00
15:54pb17 has quit [Ping timeout: 480 seconds]
15:58hdbngr has joined #asahi-dev
16:05yuyichao_ has joined #asahi-dev
16:06hdbngr has quit [Ping timeout: 480 seconds]
16:11aditya has joined #asahi-dev
16:14chrisl has joined #asahi-dev
16:15hdbngr has joined #asahi-dev
16:16svenalso added some initial dt-bindings for dwc3 and atcphy
16:21fl0_idgetting back to this - https://github.com/AsahiLinux/m1n1/issues/449 does it make sense to do a PR for this, or does this need some other ADT processing patches?
16:22chrisl has quit [Ping timeout: 480 seconds]
16:22fl0_idalso wanted to check out booting a basic linux - but m3 device trees like this one https://github.com/a-ramses/linux/commit/f069376766475460a58c66d029c5dc7bb9086c6a haven't been merged in asahi-linux kernel yet, right=
16:23svenwe won't merge any m3 support into our kernel trees for now
16:24svenhow have you confirmed that you changes w.r.t. that pmu thing are correct?
16:25opticron has quit [Read error: Connection reset by peer]
16:25opticron has joined #asahi-dev
16:25hdbngr has quit [Ping timeout: 480 seconds]
16:25pb17 has joined #asahi-dev
16:34fl0_idsven yeah that's what I thought
16:35svenwe're rebasing on upstream each release though so if you want m3 device tree in our kernel better send them to LKML ;)
16:37fl0_idsven I have "confirmed" it in so far that with that, the dumping and other things work in m1n1. But I don't know enough to say if that introduces some weird errors or similar, that's why I am asking. If I remember correctly, mischa85 who did some m4 work also had to do a similar fix.
16:38fl0_idsven for now I would just be happy to play around with it haha
16:38nimprod3l has joined #asahi-dev
16:39svenwhat if you just skip writing to that reset counter? does that change any behavior?
16:39svenideally i'd like to understand what actually changed before merging that
16:39svenand nothing's stopping you from playing around with m3, just add the device tree locally
16:40svenand if that change is confirmed like that probably just gate it on the pmu compatible instead of isinstance(..., int) if possible
16:41fl0_idsven i haven't tried that yet but could maybe do that this week. right now I am just kind of sick and trying to distract myself haha
16:42fl0_idyeah understanding would be good
16:42fl0_idok thx for the pointers. I would have to get a diff device tree then the one linked above anyway, as I only have the m3 max
16:44sventhat device tree already does way too much tbh :D
16:44sveninitially you should only need aic and uart plus dependencies I think
16:45svenalso skip all the pmgr nodes
16:45svenoh, and framebuffer maybe if you want penguins
16:48svenonce something like that boots i'll even walk you through upstreaming that to LKML if you want to :)
16:58nickchannote we use clkref now not clk24
16:59hdbngr has joined #asahi-dev
17:00nickchanDon't really need pinctrl for bringup I think but wdt can be good
17:00sveni'd also drop pinctrl there
17:00svenagreed
17:01hightower2 has quit [Remote host closed the connection]
17:03nickchanspeaking of 8015 ans2 fw already successfully booted now dealing with some command_id/tag weirdness, and there's no nvmmu or linear sq
17:03nickchan(in linux)
17:04nickchanafter that i will fix some tech debt like usb not having phy and using bootloader state for bus configuration and such
17:04nickchanwhich will also make it upstreamable
17:05svenugh, that's gonna require some invasive changes to nvme/apple.c then
17:06svenhow does command submission work then? more similar to regular nvme?
17:06nickchanit's nvme but less bastardized than m1
17:07svenmight make sense to create apple-iphone.c or something like that then
17:07hdbngr has quit [Ping timeout: 480 seconds]
17:09chrisl has joined #asahi-dev
17:12nickchanworking now:)
17:16nickchanmailbox - i2a and a2i control has different offsets that's about it; sart is sartv0 and uses a different set of allow flags and 36 bit pa
17:17chrisl has quit [Ping timeout: 480 seconds]
17:18svenv0? huh
17:18sveni think M1 was already v2
17:19nickchana14 is v1 appearently
17:19svenah well, don't think we'll ever support that one
17:20nickchansart is something that could be figured out just by reading out what iboot configured the register as and then try writing 0xffffffff to it
17:20nickchanand see which bits can be set
17:24nickchancurrently calling the mailboxes "apple,t8015-marin-mailbox", "apple,marin-mailbox" since the mbox for the kingfisher cores is most definitely different
17:24nickchanerm I mean mailboxes for the cortex-a7 cores
17:37hdbngr has joined #asahi-dev
17:40fl0_idsven thx. let's take it one step at a time ;)
17:44fugi has quit [Quit: bye]
17:44fugi has joined #asahi-dev
17:45hdbngr has quit [Ping timeout: 480 seconds]
17:58pb17 has quit [Ping timeout: 480 seconds]
18:00hdbngr has joined #asahi-dev
18:00svenwould be nice if someone could test https://github.com/AsahiLinux/m1n1/pull/447 on linux. seems to work fine on macos and with that i can finally get rid of my local patches that i keep stashing/unstashing to make proxyclient work here :D
18:01pb17 has joined #asahi-dev
18:01svenhttps://github.com/AsahiLinux/m1n1/pull/460 which cleans up chickens.c could also use some testing as stage1 on various devices if anyone is bored
18:03nickchani will review chickens tomorrow
18:05fugi has quit [Quit: bye]
18:06fugi has joined #asahi-dev
18:08hdbngr has quit [Ping timeout: 480 seconds]
18:08nickchansven: and a7-a11 cores definitely has more rev specific chickens it is just quite unlikely the chickens for previous revs will ever be used
18:09nickchanat least no one should run m1n1 on Alcatraz (A7) A0
18:09nickchanand that horrdenously *broken* given that it's an arm64 core fabbed in 2012
18:11svensure, i just wanted to get rid of all these if (part >= WHATEVER && part != SOMETHING_ELSE)
18:12svenespecially because with M4 we'd need && part <= T8132_DONAN all over the place
18:13nickchanthink it's a good idea to open code everything too since there's always some Apple Watch cores or ASC cores in the middle breaking the flfow
18:13nickchanwhich this refractor als odo
18:14nickchantalking about midr comparisons
18:14svenyeah, and also makes adding new things less scary because it's obvious to see what's going on
18:16chrisl has joined #asahi-dev
18:16nickchansven: i do think the CYC_OVRD_DISABLE_WFI_RET bit should be cleared on startup on cores that supports arch state retention
18:21aditya has quit [Quit: Connection closed for inactivity]
18:24chrisl has quit [Ping timeout: 480 seconds]
18:29hdbngr has joined #asahi-dev
18:37hdbngr has quit [Ping timeout: 480 seconds]
18:49___nick___ has joined #asahi-dev
19:01hdbngr has joined #asahi-dev
19:04nimprod3l has quit [Ping timeout: 480 seconds]
19:07chrisl has joined #asahi-dev
19:09hdbngr has quit [Ping timeout: 480 seconds]
19:15chrisl has quit [Ping timeout: 480 seconds]
19:34mattia013 has joined #asahi-dev
20:02hdbngr has joined #asahi-dev
20:03___nick___ has quit [Remote host closed the connection]
20:03pb17 has quit [Ping timeout: 480 seconds]
20:07pb17 has joined #asahi-dev
20:10hdbngr has quit [Ping timeout: 480 seconds]
20:46Larwive has quit [Ping timeout: 480 seconds]
20:55chrisl has joined #asahi-dev
21:03hdbngr has joined #asahi-dev
21:03chrisl has quit [Ping timeout: 480 seconds]
21:11hdbngr has quit [Ping timeout: 480 seconds]
21:36pb17 has quit [Ping timeout: 480 seconds]
21:49pb17 has joined #asahi-dev
21:56chrisl has joined #asahi-dev
22:04hdbngr has joined #asahi-dev
22:04chrisl has quit [Ping timeout: 480 seconds]
22:04lukeleppan has joined #asahi-dev
22:12hdbngr has quit [Ping timeout: 480 seconds]
22:13lukeleppan has quit [Ping timeout: 480 seconds]
22:17hdbngr has joined #asahi-dev
22:25hdbngr has quit [Ping timeout: 480 seconds]
22:57chrisl has joined #asahi-dev
23:01pb17 has quit [Ping timeout: 480 seconds]
23:05chrisl has quit [Ping timeout: 480 seconds]
23:11pb17 has joined #asahi-dev
23:39hdbngr has joined #asahi-dev
23:47hdbngr has quit [Ping timeout: 480 seconds]
23:55mini_ has quit [Quit: ZNC closing...]
…