2021-10-22
00:07FireFox317 has joined #asahi-dev
00:46yuyichao has joined #asahi-dev
01:30riker77_ has joined #asahi-dev
01:35riker77 has quit [Ping timeout: 480 seconds]
01:35riker77_ is now known as riker77
01:49rohin2 has joined #asahi-dev
01:51bgb_ has quit [Ping timeout: 480 seconds]
02:00bgb_ has joined #asahi-dev
02:09bgb_ has quit [Ping timeout: 480 seconds]
02:15PhilippvK has joined #asahi-dev
02:18bgb_ has joined #asahi-dev
02:18phiologe has quit [Ping timeout: 480 seconds]
02:26bgb_ has quit [Ping timeout: 480 seconds]
02:27weems_ has joined #asahi-dev
02:31weems has quit [Ping timeout: 480 seconds]
02:35bgb_ has joined #asahi-dev
02:43bgb_ has quit [Ping timeout: 480 seconds]
02:50bgb_ has joined #asahi-dev
03:02riker77 has quit [Quit: Quitting IRC - gone for good...]
03:02riker77 has joined #asahi-dev
03:25bgb has joined #asahi-dev
03:28Gue___________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:31bgb_ has quit [Ping timeout: 480 seconds]
03:34kov has quit [Quit: Coyote finally caught me]
03:55Gue___________________________ has joined #asahi-dev
04:16rohin2 has quit [Ping timeout: 480 seconds]
04:52rohin has quit [Quit: Konversation terminated!]
05:25jeffmiw has quit [Ping timeout: 480 seconds]
05:38maor26 has joined #asahi-dev
05:55bgb_ has joined #asahi-dev
06:00bgb has quit [Ping timeout: 480 seconds]
06:02bgb has joined #asahi-dev
06:08bgb_ has quit [Ping timeout: 480 seconds]
06:54aleasto has joined #asahi-dev
06:56aleasto has quit [Remote host closed the connection]
06:56aleasto has joined #asahi-dev
06:57aleasto has quit [Remote host closed the connection]
06:59aleasto has joined #asahi-dev
08:12sveni think he dislikes that i have to attach a device to a domain and then maybe detach it directly afterwards which, to be fair, is awkward.
08:12svenand that's required because before attaching the first device to an empty domain i might have no idea what the actual i/o pagesize(s) will be. and that's really caused by the original design decision that a single bus can only have a single iommu type.
08:14svenapple had a previous iphone SoC where there were some DARTs that could only do 4k pages and other that could only to 16k pages on the same bus
08:14svenand i think arm's smmu also only decides the actual pagesize after the first device is attached, but i'd have to read that code again to confirm that
08:15mazsven: sure, the domain part is a bit of a quirk. but keeping the status quo of "the driver knows better" is counter productive.
08:25Gue___________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:30svenah, yes. but anyway, if the only complaint is about that attach-check-detach quirk in the end i can work around that. either i just introduce something like get_pgsize_for_dev to the iommu driver ops or i just limit the DART driver to 16k for now and kick the issue down the road if apple ever decides to bring back 4k DARTs
08:37bps has joined #asahi-dev
10:10riker77 has quit [Quit: Quitting IRC - gone for good...]
10:10riker77 has joined #asahi-dev
10:39X-Scale` has joined #asahi-dev
10:45X-Scale has quit [Ping timeout: 480 seconds]
10:55aleasto has quit [Remote host closed the connection]
10:57aleasto has joined #asahi-dev
11:08m42uko_ is now known as m42uko
11:09X-Scale has joined #asahi-dev
11:13gabuscus_ has quit [Read error: Connection reset by peer]
11:13X-Scale` has quit [Ping timeout: 480 seconds]
12:01gabuscus has joined #asahi-dev
12:59jbowen has joined #asahi-dev
13:16nsklaus has joined #asahi-dev
13:19nsklaus_ has joined #asahi-dev
13:22nskl has quit [Ping timeout: 480 seconds]
13:22aleasto has quit [Remote host closed the connection]
13:24nsklaus has quit [Ping timeout: 480 seconds]
13:27chadmed has quit [Quit: Konversation terminated!]
13:28chadmed has joined #asahi-dev
13:30aleasto has joined #asahi-dev
13:49aleasto has quit [Remote host closed the connection]
13:51aleasto has joined #asahi-dev
14:00yuyichao has quit [Ping timeout: 480 seconds]
14:03vmcs_ has joined #asahi-dev
14:04alyssa has joined #asahi-dev
14:27yuyichao has joined #asahi-dev
15:24svenkettenis: i just tested it with a bit of a hack: i only cleared BIT(1) in the PTE and i got the "region protection" exception
16:12bps has quit [Remote host closed the connection]
16:12bps has joined #asahi-dev
16:14loop0 has joined #asahi-dev
16:17bps has quit [Remote host closed the connection]
16:22aleasto has quit [Quit: Konversation terminated!]
16:22aleasto has joined #asahi-dev
16:23aleasto has quit [Remote host closed the connection]
16:24aleasto has joined #asahi-dev
16:28jbowen_ has joined #asahi-dev
16:28jbowen has quit [Read error: Connection reset by peer]
16:36Gues__________________________ has joined #asahi-dev
16:57___nick___ has joined #asahi-dev
16:57___nick___ has quit []
16:58___nick___ has joined #asahi-dev
16:59loop0 has quit [Quit: Leaving.]
17:17jbowen_ has quit []
17:20loop0 has joined #asahi-dev
17:24loop0 has quit []
17:46vmcs_ has quit [Ping timeout: 480 seconds]
17:49rohin has joined #asahi-dev
17:55Fanfwe has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
17:57Fanfwe has joined #asahi-dev
18:10Fanfwe has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
18:12Fanfwe has joined #asahi-dev
18:29bps has joined #asahi-dev
18:31Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:57aleasto has quit [Remote host closed the connection]
19:08Gues__________________________ has joined #asahi-dev
19:18alexstore06 has joined #asahi-dev
19:32jeffmiw has joined #asahi-dev
19:52rohin has quit [Quit: Konversation terminated!]
19:54alexstore06 has quit [Ping timeout: 480 seconds]
20:03Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:14Gues__________________________ has joined #asahi-dev
20:25stzsch has quit [Read error: Connection reset by peer]
20:26stzsch has joined #asahi-dev
20:33alexstore06 has joined #asahi-dev
20:51Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:25Gues__________________________ has joined #asahi-dev
21:41Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:51Gues__________________________ has joined #asahi-dev
22:20rohin2 has joined #asahi-dev
22:23yuyichao has quit [Ping timeout: 480 seconds]
22:55X-Scale` has joined #asahi-dev
23:00X-Scale has quit [Ping timeout: 480 seconds]
23:15Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:19rohin2 has quit [Ping timeout: 480 seconds]
23:38maor26 has quit [Ping timeout: 480 seconds]