#
…

2023-01-09

00:19emptynine has joined #asahi-dev
01:07hampus has quit [Ping timeout: 480 seconds]
02:07cylm_ has quit [Ping timeout: 480 seconds]
04:05winter has quit [Quit: The Lounge - https://thelounge.chat]
04:07drubrkletern has joined #asahi-dev
04:18marcanjannau: ha (but also ew, means we need to map it at a fixed address on reload?)
04:24drubrkletern has quit [Remote host closed the connection]
05:17greguu has quit [Quit: WeeChat 3.0]
05:37tobhe_ has joined #asahi-dev
05:42tobhe has quit [Ping timeout: 480 seconds]
05:58timokrgr has joined #asahi-dev
06:05drubrkletern has joined #asahi-dev
06:39mini0n has quit []
06:41jannaumarcan: there's a misunderstanding. DCP updates its shared mem pointer on second SetShmem message. it just doesn't acknowledge the message like it does on the initial SetShmem message
06:46drubrkletern has quit [Quit: Leaving]
06:48jannauso it is mostly an annoyance since we have to assume it's safe to start sending messages using shmem after the SetShmem message and we have to start it on our own instead of after receiving the initialized mbox message
06:51hightower2 has quit [Remote host closed the connection]
06:51minecrell has quit [Quit: Ping timeout (120 seconds)]
06:52minecrell has joined #asahi-dev
06:52hightower2 has joined #asahi-dev
06:57DarkShadow44 has quit [Quit: ZNC - https://znc.in]
06:57DarkShadow44 has joined #asahi-dev
06:58hightower2 has quit [Remote host closed the connection]
06:58minecrell has quit [Quit: Ping timeout (120 seconds)]
06:58hightower2 has joined #asahi-dev
06:59minecrell has joined #asahi-dev
07:05SSJ_GZ has joined #asahi-dev
07:38bps2 has joined #asahi-dev
08:12kujeger has quit [Remote host closed the connection]
08:21chadmed_ has joined #asahi-dev
08:24chadmed_ has quit [Remote host closed the connection]
08:25chadmed_ has joined #asahi-dev
08:25cyrozapQuick question about the IOMMU behavior under macOS--will macOS log IOMMU faults somewhere? Like, if I have a PCIe device plugged in over Thunderbolt, and the PCIe device tries accessing memory it doesn't have permission to access, will that be logged somewhere I can see it?
08:51svenat least for the non-thunderbolt iommus macOS kernel panics on any fault
08:52svenwouldn’t surprise me if it does the same for the thunderbolt iommus as well
09:11dottedmagSounds like a way to make a simple "killmac" device
09:13chadmed_ has quit [Remote host closed the connection]
09:14mazdottedmag: there are simpler ways to do this rather than dealing with PCIe TLPs to force a fault. USB-C VDMs, for example.
09:19chadmed_ has joined #asahi-dev
09:25regalramp has joined #asahi-dev
09:43kujeger has joined #asahi-dev
09:55chadmed_ has quit [Remote host closed the connection]
10:03j`ey has quit [Remote host closed the connection]
10:03j`ey has joined #asahi-dev
10:20chadmed_ has joined #asahi-dev
10:23Cyrinux has quit []
10:23Cyrinux has joined #asahi-dev
10:25Cyrinux has quit []
10:27Cyrinux has joined #asahi-dev
10:34flying_sausages has joined #asahi-dev
10:34chadmed_ has quit [Remote host closed the connection]
10:46chadmed_ has joined #asahi-dev
11:05cylm_ has joined #asahi-dev
11:12kettenisjust pull out the power cord?
11:13maztoo easy?
11:13kettenisadmittedly not instant on a laptop with a full battery...
11:15_jannau_press the power butten for ~10 seconds
11:19as400 has quit [Remote host closed the connection]
11:22as400 has joined #asahi-dev
11:33chadmed_ has quit [Remote host closed the connection]
11:38bluetail07 has quit [Quit: The Lounge - https://thelounge.chat]
11:51chadmed_ has joined #asahi-dev
11:54bluetail07 has joined #asahi-dev
11:54bluetail07 has quit []
12:00chengsun_ has joined #asahi-dev
12:01chengsun has quit [Ping timeout: 480 seconds]
12:07bluetail07 has joined #asahi-dev
12:12chadmed_idle core power: 3.57 W, idle total system power: 6.59 W
12:13chadmed_playing a 16/44.1 flac resampled to 96kHz with the pipewire dsp: 3.78 W/7.30 W
12:13chadmed_finally a win with EAS
12:21MajorBiscuit has joined #asahi-dev
12:24bluetail07 is now known as bluetail
12:25bluetail has quit [Quit: The Lounge - https://thelounge.chat]
12:33MajorBiscuit has quit [Quit: WeeChat 3.6]
12:37bluetail has joined #asahi-dev
12:38MajorBiscuit has joined #asahi-dev
12:46flying_sausages has quit []
12:48MajorBiscuit has quit [Quit: WeeChat 3.6]
12:49hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:51MajorBiscuit has joined #asahi-dev
13:01flying_sausages has joined #asahi-dev
13:33Cyrinux has quit [Remote host closed the connection]
13:44hightower2 has quit [Ping timeout: 480 seconds]
14:03Cyrinux has joined #asahi-dev
14:22marcanjannau: stupid idea, does setting it to 0 make it acknowledge it again next time?
14:22marcanchadmed_: nice!
14:27svenhah, I think I can access some of the thunderbolt pciec regs. I guess the rest just needs some additional init on the pciec side before they stop reading as 0xffffffff
14:27_jannau_marcan: unfortunately not. That's how I discovered that it reports the current dva. it crashes immediately with .dva = 0 and .flag = 4. if .flag is not set to 4 it just reports the current dva with 0x...0140
14:30MajorBiscuit has quit [Quit: WeeChat 3.6]
14:31_jannau_not sure what the additional set bit signifies
14:52_jannau_marcan: iomfb has A400/A402 free_signal/stop_signal which sound promising but I couldn't figure out what I have to do to prevent dcp from crashing when I use them. stop_signal issues a few callbacks before it crashes. free_signal crashes immediately
15:37hightower2 has joined #asahi-dev
15:37hampus has joined #asahi-dev
15:38marcan_jannau_: try sending it msg type 1 (the initcomplete msg)
15:56bcrumb has joined #asahi-dev
15:56bcrumb has quit []
16:15r0ni has joined #asahi-dev
16:17kaal has joined #asahi-dev
16:24kaal has quit [Quit: Konversation terminated!]
16:28bcrumb has joined #asahi-dev
16:41marcan_jannau_: I think that "ack" is more like a state report, and it only gets sent on first init (but you can request another one)
16:57bcrumb has quit [Quit: WeeChat 3.7.1]
17:01roxfan2 has joined #asahi-dev
17:02_jannau_not sure if that buys me much. I still need to determine when to request that
17:02jluthra has quit [Remote host closed the connection]
17:03jluthra has joined #asahi-dev
17:06r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
17:08mini0n has joined #asahi-dev
17:09roxfan has quit [Ping timeout: 480 seconds]
17:30DarkShadow44 has quit [Quit: ZNC - https://znc.in]
17:30DarkShadow44 has joined #asahi-dev
18:05roxfan2 is now known as roxfan
19:29WindowPa- has joined #asahi-dev
19:34WindowPain has quit [Ping timeout: 480 seconds]
19:41___nick___ has joined #asahi-dev
19:42___nick___ has quit []
19:43___nick___ has joined #asahi-dev
20:04kettenisU-Boot 2023.01 was released today
20:04kettenisso I rebased the asahi branch to the upstream release and rebased asahi-next on top of the upstream master branch
20:05kettenisthere isn't much interesting stuff for us in the release
20:05landscape15 has joined #asahi-dev
20:05kettenisI already cherry-picked a few interesting commit a few months ago
20:08kettenisit'll probably take me a few days to clean up the dart/pci/usb changes a bit
20:08hertz has joined #asahi-dev
20:09hertz has quit []
20:16landscape15 has quit [Remote host closed the connection]
20:17hertz has joined #asahi-dev
20:42mpswill someone make tagged u-boot release
20:48tom has joined #asahi-dev
20:48StupidYui has joined #asahi-dev
20:58kettenisI don't think there is a point in doing that at this point
20:58kettenis2022.10 is fine for us
20:59kettenisand I would like to make sure that u-boot has the latest asahi device trees before marcan does another asahi release
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:16chadmed_ has quit [Read error: No route to host]
21:26lewurm has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
21:27lewurm has joined #asahi-dev
21:41lewurm has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
21:41lewurm has joined #asahi-dev
21:52tom_ has joined #asahi-dev
21:56tom has quit [Ping timeout: 480 seconds]
22:17mini0n has quit [Ping timeout: 480 seconds]
22:26hightower3 has joined #asahi-dev
22:32hightower2 has quit [Ping timeout: 480 seconds]
22:48SSJ_GZ has quit [Ping timeout: 480 seconds]
22:57tom_ has quit [Read error: Connection reset by peer]
22:59Ariadne_ is now known as Ariadne
23:08hampus has quit [Ping timeout: 480 seconds]
23:13bps2 has quit [Ping timeout: 480 seconds]
23:36hampus has joined #asahi-dev
…