#
…

2026-04-09

00:16gargantu1 has quit [Ping timeout: 480 seconds]
00:18gargantua has joined #asahi-dev
01:52gargantua has quit [Ping timeout: 480 seconds]
01:54marvin24 has quit [Ping timeout: 480 seconds]
02:13fumnanya has quit [Ping timeout: 480 seconds]
02:22voidah has quit [Remote host closed the connection]
02:22voidah has joined #asahi-dev
02:24fumnanya has joined #asahi-dev
02:28pb17 has quit [Ping timeout: 480 seconds]
02:29pb17 has joined #asahi-dev
02:34fumnanya has quit [Ping timeout: 480 seconds]
02:35hexdump01 has joined #asahi-dev
02:37hexdump0815 has quit [Ping timeout: 480 seconds]
02:37gargantua has joined #asahi-dev
02:55tobhe_ has joined #asahi-dev
02:59voidah has quit [Remote host closed the connection]
02:59voidah has joined #asahi-dev
03:02tobhe has quit [Ping timeout: 480 seconds]
03:08voidah has quit [Remote host closed the connection]
03:17fumnanya has joined #asahi-dev
03:17berzrk has quit [Read error: Connection reset by peer]
03:17berzrk has joined #asahi-dev
03:26fumnanya has quit [Ping timeout: 480 seconds]
03:26nora_ has joined #asahi-dev
03:28nora has quit [Ping timeout: 480 seconds]
03:53voidah has joined #asahi-dev
04:00nnym__ is now known as nnym
04:18vimproved has quit [Ping timeout: 480 seconds]
04:45voidah has quit [Remote host closed the connection]
05:13vimproved has joined #asahi-dev
05:25fumnanya has joined #asahi-dev
05:35fumnanya has quit [Ping timeout: 480 seconds]
06:03fumnanya has joined #asahi-dev
06:12gargantua has quit [Ping timeout: 480 seconds]
06:12fumnanya has quit [Ping timeout: 480 seconds]
06:25gargantua has joined #asahi-dev
06:38tbodt has quit []
06:38tbodt has joined #asahi-dev
06:42vup has quit []
06:42vup has joined #asahi-dev
06:50vup has quit [Ping timeout: 480 seconds]
06:55Z750 has quit [Quit: bye]
06:55Z750 has joined #asahi-dev
07:10fumnanya has joined #asahi-dev
07:13ravikant_ has joined #asahi-dev
07:19opticron has quit [Read error: Connection reset by peer]
07:20opticron has joined #asahi-dev
07:30chadmed has quit [Quit: Konversation terminated!]
08:56fumnanya has quit [Ping timeout: 480 seconds]
08:57fumnanya has joined #asahi-dev
09:05___nick___ has joined #asahi-dev
09:36michaelros4 has quit [Read error: Connection reset by peer]
09:36michaelros4 has joined #asahi-dev
09:46KongrooParadox has joined #asahi-dev
09:48[KongrooParadox] has quit [Ping timeout: 480 seconds]
09:52vup has joined #asahi-dev
10:09gargantua has quit [Ping timeout: 480 seconds]
10:11gargantua has joined #asahi-dev
10:40fumnanya has quit [Ping timeout: 480 seconds]
10:40fumnanya has joined #asahi-dev
10:40fumnanya has quit [Remote host closed the connection]
11:00[KongrooParadox] has joined #asahi-dev
11:03KongrooParadox has quit [Ping timeout: 480 seconds]
11:08l1rox3[m] has joined #asahi-dev
11:16tryhard[m]is there a way to access adt from rust? or should i just hardcode the data
11:20tryhard[m]no, in the kernel
11:20chaos_princessyou don't. neither from rust nor c.
11:20chaos_princessuse m1n1's kboot.c to copy data from adt to fdt
11:20tryhard[m]oh alright
11:21tryhard[m]then i access the fdt?
11:21chaos_princessyes. look at how gpu/aop/pmp v2 drivers use "device properties"
11:22tryhard[m]got it. thx
11:56l1rox3[m]Hey, I've been looking into the SPTM on M4 (t8132) and put together an experimental m1n1 patch that tries to handle the SPTM bootstrap sequence. It's very much a work in progress and untested. If anyone happens to have an M4 Mac and a UART cable and wouldn't mind flashing a test binary and sharing the serial output, I'd love to see what happens. No worries if not. Feel free to DM me.
12:12tryhard[m]do i need to parse pmp registers as well?
12:12tryhard[m]in kboot.c
12:14john-cabaj has joined #asahi-dev
12:15chaos_princessno, those are put into dts files
12:15chaos_princesslook at how everything else in t8103.dtsi is done
12:19tryhard[m]and then its accessed by dev.fwnode()?
12:58chadmed has joined #asahi-dev
13:11__nick__ has joined #asahi-dev
13:14___nick___ has quit [Ping timeout: 480 seconds]
13:25tobhe has joined #asahi-dev
13:29tobhe_ has quit [Ping timeout: 480 seconds]
13:41mini_ has quit [Quit: ZNC closing...]
13:42mini_ has joined #asahi-dev
13:58__nick__ has quit []
14:01___nick___ has joined #asahi-dev
14:01___nick___ has quit []
14:03___nick___ has joined #asahi-dev
14:58__nick__ has joined #asahi-dev
15:01___nick___ has quit [Ping timeout: 480 seconds]
15:19tryhard[m]chaos_princess: from where did you get the addresses for the different pmp_report?
15:20chaos_princessbut those are inapplicable for v1
15:20chaos_princessas that uses the pmgr ids
15:22tryhard[m]yeah i just need to change it id2
15:23chaos_princessyou probably also don't need to subtract one
15:23tryhard[m]yeah that's right
15:23chaos_princess(that took me an embarrassing amount of time to figure out)
15:23tryhard[m]don't worry i'm also embarrassing
15:24tryhard[m]also, about the interrupts numbers, where can i find what they mean?
15:24tryhard[m]this dtsi thing is tedious i need some intern to do this kind of stuff
15:24chaos_princesswhich ones, for the asc mailbox?
15:25tryhard[m]its also in pmp_dart
15:25chaos_princessdart sends interrupts on violations and some other things. just copy the number from adt
15:26tryhard[m]but there is more stuff
15:26tryhard[m]like this AIC and whats after
15:27chaos_princessfor t8103 darts it is "AIC_IRQ number-from-adt-here IRQ_TYPE_LEVEL_HIGH"
15:28tryhard[m]alright. also, which .dtsi files should i modify? i only have access to m1 air
15:28tryhard[m]i modified t8103.dtsi, but there is like others for mini or pro
15:28tryhard[m]i assume they're similar
15:29chaos_princesst8103.dtsi is for everything that uses the vanilla m1
15:29chaos_princessthe "i" at the end means "include", it is pulled from other dts files
15:29chaos_princessair is j313 iirc
15:30tryhard[m]tho looking at your pr i can see you put similar pio ranges but a bit different
15:30tryhard[m]at different dtsi files
15:31chaos_princessfor t600x there is a complicated setup to avoid copy-paste for Mx Ultra
15:31chaos_princessas that is two Mx Max glued together
15:32tryhard[m]so i should probably only care about t8103.dtsi
15:34chaos_princessand you shouldn't care about pio-ranges, that is v2 specific
15:34chaos_princesseven t600X specific, it is not there on t8112
15:35tryhard[m]tho it appears in the adt
15:38chaos_princessv2-specific nonsense.
15:38chaos_princessat least in t6000, pmp is controlled both via the pmp node and via reg 41 in pmgr node
15:39tryhard[m]i thought this is the one that reports to pmp about different units
15:39chaos_princessfor v1 you don't need a pmp-reporting node, just hang the pmp-report-entry nodes off the pmp node
15:40chaos_princessyes, that is the one, but for pmp v2 they use a shared sram area instead of talking over rtkit
15:40chaos_princessrtkit is only used for initialization there
15:41chaos_princess(there is logic to it)
15:41aissen_ has joined #asahi-dev
15:42tryhard[m]whats the logic
15:42chaos_princesseasier to use from an atomic context
15:42aissen has quit [Remote host closed the connection]
15:43tryhard[m]thats specific
15:44tryhard[m]i mean i don't think pmp is something that an atomic context is helpful
15:45chaos_princessbut you don't really have a choice, if you need to power something up while atomic
15:47tryhard[m]i guess it has its use cases
15:59ddxtanx has joined #asahi-dev
16:12gargantua has quit [Ping timeout: 480 seconds]
16:27ravikant_ has quit [Ping timeout: 480 seconds]
17:26fumnanya has joined #asahi-dev
17:35okb has joined #asahi-dev
17:38ravikant_ has joined #asahi-dev
17:40tryhard[m]chaos_princess: what are the 3 first regions in regs? first one is pmp region, second is asc i think, and what is the third one?
17:40tryhard[m]regs in pmp
17:42fumnanya has quit [Ping timeout: 480 seconds]
17:45chaos_princessidk what the third is
17:45chaos_princessand wasn't first the asc?
17:46tryhard[m]i dont think so
17:47ravikant_ has quit []
17:52fumnanya has joined #asahi-dev
18:08fumnanya has quit [Ping timeout: 480 seconds]
18:27fumnanya has joined #asahi-dev
18:30okb has quit [Ping timeout: 480 seconds]
18:36pb17 has quit [Ping timeout: 480 seconds]
18:37okb has joined #asahi-dev
18:41pb17 has joined #asahi-dev
19:00okb has quit [Ping timeout: 480 seconds]
19:40marvin24 has joined #asahi-dev
19:49fumnanya has quit [Ping timeout: 480 seconds]
20:08__nick__ has quit [Ping timeout: 480 seconds]
20:09fumnanya has joined #asahi-dev
20:26gargantua has joined #asahi-dev
20:39voidah has joined #asahi-dev
20:58voidah has quit [Ping timeout: 480 seconds]
21:06voidah has joined #asahi-dev
21:08cyrinux949075 has quit []
21:11cyrinux949075 has joined #asahi-dev
21:18voidah has quit [Ping timeout: 480 seconds]
21:23john-cabaj has quit [Ping timeout: 480 seconds]
21:25voidah has joined #asahi-dev
21:35voidah has quit [Ping timeout: 480 seconds]
21:39voidah has joined #asahi-dev
21:39KongrooParadox has joined #asahi-dev
21:42[KongrooParadox] has quit [Ping timeout: 480 seconds]
22:09gargantua has quit [Ping timeout: 480 seconds]
23:09voidah has quit [Read error: Connection reset by peer]
23:09voidah has joined #asahi-dev
23:14histopson[m] has joined #asahi-dev
23:17histopson[m] has quit [Killed (MoranServ (Possible spambot -- mail support@oftc.net with questions.))]
23:18histopson[m] has joined #asahi-dev
23:28gargantua has joined #asahi-dev
…