2026-04-03
00:58pb17 has quit [Ping timeout: 480 seconds]
01:05pb17 has joined #asahi-dev
01:32KongrooParadox has quit [Ping timeout: 480 seconds]
01:41KongrooParadox has joined #asahi-dev
02:16tobhe has joined #asahi-dev
02:23tobhe_ has quit [Ping timeout: 480 seconds]
02:42hexdump01 has joined #asahi-dev
02:44hexdump0815 has quit [Ping timeout: 480 seconds]
02:49pb17 has quit [Ping timeout: 480 seconds]
02:52pb17 has joined #asahi-dev
03:14ipatch has quit [Read error: Connection reset by peer]
03:14r0ni has joined #asahi-dev
03:33nora_ has joined #asahi-dev
03:35nora has quit [Ping timeout: 480 seconds]
03:43fumnanya has quit [Ping timeout: 480 seconds]
03:43fumnanya has joined #asahi-dev
04:03fumnanya has quit [Ping timeout: 480 seconds]
04:03fumnanya has joined #asahi-dev
04:12fumnanya has quit [Ping timeout: 480 seconds]
04:21pb17 has quit [Ping timeout: 480 seconds]
04:22fumnanya has joined #asahi-dev
04:29eluks has quit [Remote host closed the connection]
04:30fumnanya has quit [Ping timeout: 480 seconds]
04:30eluks has joined #asahi-dev
04:32pb17 has joined #asahi-dev
05:05Yushi has quit [Ping timeout: 480 seconds]
05:05fumnanya has joined #asahi-dev
05:14fumnanya has quit [Ping timeout: 480 seconds]
05:18Yushi has joined #asahi-dev
05:22fumnanya has joined #asahi-dev
05:30fumnanya has quit [Ping timeout: 480 seconds]
05:46leah has quit [Ping timeout: 480 seconds]
05:48voidah has quit [Ping timeout: 480 seconds]
05:57voidah has joined #asahi-dev
06:07voidah has quit [Ping timeout: 480 seconds]
06:14voidah has joined #asahi-dev
06:44gargantua has joined #asahi-dev
06:49voidah has quit [Ping timeout: 480 seconds]
06:57voidah has joined #asahi-dev
07:09voidah has quit [Ping timeout: 480 seconds]
07:18___nick___ has joined #asahi-dev
07:19voidah has joined #asahi-dev
07:26pb17 has quit [Ping timeout: 480 seconds]
07:27pb17 has joined #asahi-dev
08:12gargantua has quit [Ping timeout: 480 seconds]
08:34voidah has quit [Ping timeout: 480 seconds]
08:39pb17 has quit [Ping timeout: 480 seconds]
08:41pb17 has joined #asahi-dev
08:41voidah has joined #asahi-dev
08:51voidah has quit [Ping timeout: 480 seconds]
08:57fumnanya has joined #asahi-dev
08:58voidah has joined #asahi-dev
09:06fumnanya has quit [Ping timeout: 480 seconds]
09:07voidah has quit [Ping timeout: 480 seconds]
09:15voidah has joined #asahi-dev
09:24voidah has quit [Ping timeout: 480 seconds]
09:33voidah has joined #asahi-dev
09:41freetolga has joined #asahi-dev
09:41chaos_princess has quit [Quit: chaos_princess]
09:45chaos_princess has joined #asahi-dev
09:54voidah has quit [Ping timeout: 480 seconds]
10:02voidah has joined #asahi-dev
10:11voidah has quit [Ping timeout: 480 seconds]
10:14fumnanya has joined #asahi-dev
10:21voidah has joined #asahi-dev
10:22fumnanya has quit [Ping timeout: 480 seconds]
10:23fumnanya has joined #asahi-dev
10:30voidah has quit [Ping timeout: 480 seconds]
10:38voidah has joined #asahi-dev
10:46pb17 has quit [Ping timeout: 480 seconds]
11:05pb17 has joined #asahi-dev
11:15tryhard[m]how can i read from a shared memory in the shell?
11:15tryhard[m]i have this for example: # pmpep.shmem@0003c000 (0x3c000..0x4bfff), and i wanna read from 0x3c000 and onward
11:35jannaunoopwafel: are you sure about the phy0 reg value for t8122's pcie node? I think it should be 0x59E00C000 based on t6020
11:42voidah has quit [Ping timeout: 480 seconds]
11:43voidah has joined #asahi-dev
11:45mripard has quit [Quit: WeeChat 4.8.2]
11:52noopwafel(or rather: it has been a while, so maybe I should look at it before spouting nonsense)
11:53voidah has quit [Ping timeout: 480 seconds]
12:01voidah has joined #asahi-dev
12:03noopwafelhttps://noopwafel.net/asahi/pcie_m3_trace_notes.txt (probably the notes can be ignored, I was still puzzling it out)
12:10voidah has quit [Ping timeout: 480 seconds]
12:13noopwafelmy local dts has 0x59e00c000 for phy0 commented out with a note saying 'nope' :) so building a tree to try on hw
12:18voidah has joined #asahi-dev
12:18c10l has quit [Ping timeout: 480 seconds]
12:20noopwafeland if it's indeed 0x59e00c000 then the other phy reg values are predictable at least. sorry for the chaos, thank you for checking!
12:22freetolga has quit [Quit: Connection closed for inactivity]
12:23jannaunot just predicable but can be derived from the adt assuming the per port registers use the same pattern and/or are identical to t6020
12:27voidah has quit [Ping timeout: 480 seconds]
12:34voidah has joined #asahi-dev
12:34jannauok, I'll skip it for now then. Incompatible in just a few details or something requiring larger changes
12:39noopwafelpreliminary SPMI patches on top of mildsunrise's tree are at https://noopwafel.net/asahi/ (the usb-typec-tipd series) which work for tipd, but you also need https://noopwafel.net/asahi/unfinished_t8122_atcphy_bringup.txt
12:44voidah has quit [Ping timeout: 480 seconds]
12:44voidah has joined #asahi-dev
12:54voidah has quit [Ping timeout: 480 seconds]
13:03voidah has joined #asahi-dev
13:06tryhard[m]so i'm having a bunch of text being written:... (full message at <https://matrix.org/oftc/media/v1/media/download/AUpgq1Ar0G6EXLTXLqOyPa0asVwF-pL1b5q_HhgEYKEUws64mCVyn7wj0lWzKQMkGHYWa1_rZVfji6PKZ-V9ABBCedm4zzNgAG1hdHJpeC5vcmcvRkZYUUlqS3FIY2lSYkpneFVXQWJxdW1j>)
13:11tryhard[m]so what i should just copy this?
13:13voidah has quit [Ping timeout: 480 seconds]
13:22voidah has joined #asahi-dev
13:31fumnanya has quit [Ping timeout: 480 seconds]
13:37tryhard[m]so what i understand from is this is basically a bunch of info about how to manage power for different socs. there is also this fast die which AI suggests its basically thermal mitigation
13:40chadmedplease refrain from using AI in your contributions if for no other reason than potential copyright/legal issues
13:48tryhard[m]sure i was just asking what is fast die
13:49chaos_princessi can assure you that llms are almost worthless for it
13:50tryhard[m]yeah they havent been very helpful
13:52tryhard[m]i'm trying to make sure about something: we want to make the apple's firmware run on linux right? i mean we don't reimplement the firmware.
13:52chaos_princessno, the firmware runs on a dedicated cpu core in the SoC, we just want to talk to it and let it do it's thing
13:54tryhard[m]yep, thanks.
14:05Yushi has quit [Remote host closed the connection]
14:11voidah has quit [Ping timeout: 480 seconds]
14:13john-cabaj has joined #asahi-dev
14:20voidah has joined #asahi-dev
14:23Yushi has joined #asahi-dev
14:29voidah has quit [Ping timeout: 480 seconds]
14:37voidah has joined #asahi-dev
14:46voidah has quit [Ping timeout: 480 seconds]
14:47pb17 has quit [Ping timeout: 480 seconds]
14:54voidah has joined #asahi-dev
14:58* tryhard[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AfXVv_DfnQmgoLctz6LQ5IQhKeaXQQQeywZQosxxeKzEsIlLVP8EvY1WiHh8HtrLtmqNrIMZcXmR7FJOBaR4W6BCedm_NBDAAG1hdHJpeC5vcmcvZEVlaHpQQkpZRG5sdWdjbkdXeUR2VnBZ
15:03voidah has quit [Ping timeout: 480 seconds]
15:04chaos_princessthat is most likely it. in pmgr ISP_SYS has id = 100
15:12voidah has joined #asahi-dev
15:12tryhard[m]where did u see it
15:13tryhard[m]ok. do know also anything about DISPX?
15:13tryhard[m]do we*
15:14chaos_princessmost likely for displays, pmp v2 gets notified about display controllers being turned off and on, so i assume v1 does too
15:15chaos_princessyou can look in the pmgr node for things with notify_pmp = True
15:15tryhard[m]:like:
15:16tryhard[m]:+1: i mean lol
15:16chaos_princessjfyi, i am on irc, neither of those render as images :P
15:17tryhard[m]there arent any clients that support emoji?
15:17chaos_princessmine doesn't and i can't be bothered making it do so
15:18tryhard[m]this is unacceptable.
15:18tryhard[m]jk ofc
15:21voidah has quit [Ping timeout: 480 seconds]
15:29voidah has joined #asahi-dev
15:34tryhard[m]btw, i see that id = 100 is actually for GFX?
15:34chaos_princessvanilla m1 is v1, m1 pro/max/ultra and m2 are v2
15:34leioVarious IRC clients support emoji fine. But you sent some stuff between colons, not an emoji.
15:34chaos_princesstryhard[m]: you are reading it wrong
15:35tryhard[m]chaos_princess: id2 = 100 is before isp_sys
15:35leio(read: the IRC bridge isn't converting their idea of emoji representation into a proper unicode emoji glyph)
15:36tryhard[m]leio: yeah no more emoji
15:36chaos_princesstryhard[m]: again, you are reading it wrong, as the python formatting is confusing
15:36tryhard[m]i abandon the idea of emoji
15:37tryhard[m]chaos_princess: you mean like the format isnt correct? or itsm e
15:37tryhard[m]i ran m1n1.adt and dumped into a file
15:38tryhard[m]oh ok gotcha. though why for you it says id and for me it says id2?
15:38voidah has quit [Ping timeout: 480 seconds]
15:39chaos_princess'cause it is a dump using an ancient version of m1n1
15:42tryhard[m]i rebased and its the same
15:42chaos_princessmine is ancient
15:42tryhard[m]dayum
15:43chaos_princessthe file with my adt dump has a creation date in oct 2022
15:43tryhard[m]if it works it works
15:48voidah has joined #asahi-dev
15:52ksnznsjsjsk has joined #asahi-dev
15:53ksnznsjsjsk has left #asahi-dev [#asahi-dev]
15:57gargantua has joined #asahi-dev
15:58voidah has quit [Ping timeout: 480 seconds]
16:02voidah has joined #asahi-dev
16:05pb17 has joined #asahi-dev
16:06c10l has joined #asahi-dev
16:12voidah has quit [Ping timeout: 480 seconds]
16:20voidah has joined #asahi-dev
16:28___nick___ has quit []
16:29voidah has quit [Ping timeout: 480 seconds]
16:30___nick___ has joined #asahi-dev
16:30___nick___ has quit []
16:38voidah has joined #asahi-dev
16:41jannauI've tagged asahi-6.19.11-1 with additional M3 support (NVMe, PCIe, smc (input/reboot/rtc)), mtp)
16:48voidah has quit [Ping timeout: 480 seconds]
16:53chaos_princessthat's vanilla m3 only, right?
16:55voidah has joined #asahi-dev
17:00chaos_princesscan you post the output?
17:00noopwafelld: drivers/soc/apple/pmp.o: in function `<kernel::io::Io<1048576>>::io_addr_assert::<u32>':
17:00noopwafel/home/fuzzie/dev/linux/rust/kernel/build_assert.rs:78:(.text+0x27a0): undefined reference to `rust_build_error'
17:04noopwafel(and sounds like it's nothing asahi specific, so I will poke at it and see if I can solve)
17:06chaos_princessno, i don't think so, it is one of those things where they check if addresses are in range at compile time
17:06chaos_princessbut i don't see anything that has an offset of 1048576 in the driver
17:09noopwafelthere's a linux kernel list post which says it needs to be inlined, and that commit is in the tree
17:12jannauthat was only my 1.92 test build because I forgot `rustup component add rust-src` asfter switching to it
17:13voidah has quit [Ping timeout: 480 seconds]
17:22voidah has joined #asahi-dev
17:31voidah has quit [Ping timeout: 480 seconds]
17:34alessaba has quit [Ping timeout: 480 seconds]
17:34alessaba has joined #asahi-dev
17:36noopwafelit's (seemingly?) a io_addr_assert in pmp_read32 (the unaligned check?). io_addr_assert does have the inline(always).
17:40voidah has joined #asahi-dev
17:47noopwafel(I assume because then the offsets are known, and so the alignment check can be statically resolved)
17:49voidah has quit [Ping timeout: 480 seconds]
17:54pb17 has quit [Ping timeout: 480 seconds]
17:55pb17 has joined #asahi-dev
17:57voidah has joined #asahi-dev
18:01noopwafeljannau: in the binary I see 80000 only btw, so 🤷. and trivial change, but just in case it helps, https://noopwafel.net/asahi/0001-soc-apple-pmp-Force-inlining-of-pmp_read32.patch
18:14gargantua has quit [Ping timeout: 480 seconds]
18:14voidah has quit [Ping timeout: 480 seconds]
18:23voidah has joined #asahi-dev
18:24ipatch has joined #asahi-dev
18:32voidah has quit [Ping timeout: 480 seconds]
18:41voidah has joined #asahi-dev
18:42fumnanya has joined #asahi-dev
18:50voidah has quit [Ping timeout: 480 seconds]
18:52leah has joined #asahi-dev
18:59voidah has joined #asahi-dev
19:15voidah has quit [Ping timeout: 480 seconds]
19:15fumnanya has quit [Ping timeout: 480 seconds]
19:16voidah has joined #asahi-dev
19:25voidah has quit [Ping timeout: 480 seconds]
19:32fumnanya has joined #asahi-dev
19:32pb17 has quit [Ping timeout: 480 seconds]
19:32voidah has joined #asahi-dev
19:38pb17 has joined #asahi-dev
19:42voidah has quit [Ping timeout: 480 seconds]
19:49voidah has joined #asahi-dev
19:51fumnanya has quit [Ping timeout: 480 seconds]
19:58voidah has quit [Ping timeout: 480 seconds]
20:06voidah has joined #asahi-dev
20:16voidah has quit [Ping timeout: 480 seconds]
20:25voidah has joined #asahi-dev
20:34voidah has quit [Ping timeout: 480 seconds]
20:42voidah has joined #asahi-dev
20:52voidah has quit [Ping timeout: 480 seconds]
21:01voidah has joined #asahi-dev
21:08voidah has quit [Remote host closed the connection]
21:09fumnanya has joined #asahi-dev
21:17fumnanya has quit [Remote host closed the connection]
21:18fumnanya has joined #asahi-dev
21:45fumnanya has quit [Read error: Connection reset by peer]
21:58voidah has joined #asahi-dev
22:09john-cabaj has quit [Ping timeout: 480 seconds]
22:14lynndotpy7 has quit [Quit: bye bye]
22:15lynndotpy7 has joined #asahi-dev
22:18voidah has quit [Ping timeout: 480 seconds]
22:26voidah has joined #asahi-dev
22:35voidah has quit [Ping timeout: 480 seconds]
22:42voidah has joined #asahi-dev
22:51voidah has quit [Ping timeout: 480 seconds]
22:59voidah has joined #asahi-dev
23:09voidah has quit [Remote host closed the connection]
23:10voidah has joined #asahi-dev
23:27voidah has quit [Ping timeout: 480 seconds]
23:36voidah has joined #asahi-dev
23:45voidah has quit [Ping timeout: 480 seconds]