#
…

2021-03-22

00:07raster has joined #asahi
00:07raster has joined #asahi
00:08raster has quit [Client Quit]
00:08raster has quit [Client Quit]
01:59Necrosporus has quit [Ping timeout: 264 seconds]
01:59Necrosporus has quit [Ping timeout: 264 seconds]
03:01inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
03:01inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
03:12inglor has joined #asahi
03:12inglor has joined #asahi
03:25Necrosporus has joined #asahi
03:25Necrosporus has joined #asahi
03:29omoiti has joined #asahi
03:29omoiti has joined #asahi
03:31phiologe has quit [Ping timeout: 240 seconds]
03:31phiologe has quit [Ping timeout: 240 seconds]
03:32phiologe has joined #asahi
03:32phiologe has joined #asahi
04:09odmir has quit [Remote host closed the connection]
04:09odmir has quit [Remote host closed the connection]
04:11marvin24 has quit [Ping timeout: 260 seconds]
04:11marvin24 has quit [Ping timeout: 260 seconds]
04:11marvin24 has joined #asahi
04:11marvin24 has joined #asahi
04:28Necrosporus_ has joined #asahi
04:28Necrosporus_ has joined #asahi
04:28Necrosporus is now known as Guest36649
04:28Necrosporus is now known as Guest36649
04:28Guest36649 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
04:28Necrosporus_ is now known as Necrosporus
04:28Necrosporus_ is now known as Necrosporus
05:01bbolli has quit [Remote host closed the connection]
05:01bbolli has quit [Remote host closed the connection]
05:01bbolli has joined #asahi
05:01bbolli has joined #asahi
05:02omoiti has quit [Ping timeout: 264 seconds]
05:02omoiti has quit [Ping timeout: 264 seconds]
05:11jeffmiw has joined #asahi
05:11jeffmiw has joined #asahi
05:16jeffmiw has quit [Ping timeout: 246 seconds]
05:16jeffmiw has quit [Ping timeout: 246 seconds]
05:45jeffmiw has joined #asahi
05:45jeffmiw has joined #asahi
05:49jeffmiw has quit [Ping timeout: 240 seconds]
05:49jeffmiw has quit [Ping timeout: 240 seconds]
05:56jeffmiw has joined #asahi
05:56jeffmiw has joined #asahi
06:00jeffmiw has quit [Ping timeout: 260 seconds]
06:00jeffmiw has quit [Ping timeout: 260 seconds]
06:15Necrosporus has quit [Ping timeout: 246 seconds]
06:15Necrosporus has quit [Ping timeout: 246 seconds]
06:29VinDuv has joined #asahi
06:29VinDuv has joined #asahi
06:40Necrosporus has joined #asahi
06:40Necrosporus has joined #asahi
06:52jeffmiw has joined #asahi
06:52jeffmiw has joined #asahi
06:55jeffmiw has quit [Read error: No route to host]
06:55jeffmiw has quit [Read error: No route to host]
07:18ephe_meral has joined #asahi
07:18ephe_meral has joined #asahi
07:21VinDuv has quit [Quit: Leaving.]
07:21VinDuv has quit [Quit: Leaving.]
07:22phiologe has quit [Ping timeout: 244 seconds]
07:22phiologe has quit [Ping timeout: 244 seconds]
07:23phiologe has joined #asahi
07:23phiologe has joined #asahi
08:06brandas has quit [Remote host closed the connection]
08:06brandas has quit [Remote host closed the connection]
08:07jeffmiw has joined #asahi
08:07jeffmiw has joined #asahi
08:12jeffmiw has quit [Ping timeout: 264 seconds]
08:12jeffmiw has quit [Ping timeout: 264 seconds]
08:43vimal has joined #asahi
08:43vimal has joined #asahi
09:00encounter[m] has quit [Quit: Idle for 30+ days]
09:00encounter[m] has quit [Quit: Idle for 30+ days]
09:00TellowKrinkle[m] has quit [Quit: Idle for 30+ days]
09:00TellowKrinkle[m] has quit [Quit: Idle for 30+ days]
09:07raster has joined #asahi
09:07raster has joined #asahi
09:10zkrx has quit [Ping timeout: 265 seconds]
09:10zkrx has quit [Ping timeout: 265 seconds]
09:25vimal has quit [Ping timeout: 244 seconds]
09:25vimal has quit [Ping timeout: 244 seconds]
09:30zkrx has joined #asahi
09:30zkrx has joined #asahi
09:44vimal has joined #asahi
09:44vimal has joined #asahi
09:57_whitelogger_ has quit [Remote host closed the connection]
10:00_whitelogger_ has joined #asahi
10:00_whitelogger_ has joined #asahi
10:58brandas has joined #asahi
10:58brandas has joined #asahi
11:30rjeffman has joined #asahi
11:30rjeffman has joined #asahi
11:36JusticeEX has quit [Ping timeout: 246 seconds]
11:36JusticeEX has quit [Ping timeout: 246 seconds]
11:37Bublik has quit [Ping timeout: 245 seconds]
11:37Bublik has quit [Ping timeout: 245 seconds]
11:40Bublik has joined #asahi
11:40Bublik has joined #asahi
11:57crabbedhaloablut has quit [Ping timeout: 240 seconds]
11:57crabbedhaloablut has quit [Ping timeout: 240 seconds]
11:57crabbedhaloablut has joined #asahi
11:57crabbedhaloablut has joined #asahi
12:04crabbedhaloablut has quit [Ping timeout: 265 seconds]
12:04crabbedhaloablut has quit [Ping timeout: 265 seconds]
12:05crabbedhaloablut has joined #asahi
12:05crabbedhaloablut has joined #asahi
12:14svenkettenis2: looks like the usb dart stream mapping isn't that simple. at least the event rings are translated with the DART I've also been using for device mode. the device context base array is also translated with that one, but the device contexts itself then seem to use the second DART.
12:14svenkettenis2: looks like the usb dart stream mapping isn't that simple. at least the event rings are translated with the DART I've also been using for device mode. the device context base array is also translated with that one, but the device contexts itself then seem to use the second DART.
12:15svenwe probably really just want to mirror the pagetables across both DARTs
12:15svenwe probably really just want to mirror the pagetables across both DARTs
12:30alvaro_f1 has quit [Ping timeout: 240 seconds]
12:30alvaro_f1 has quit [Ping timeout: 240 seconds]
12:31mazsven: do you have to mirror the PTs? or can you just point the two darts at the same PTs and issue TLB maintenance as a group?
12:31mazsven: do you have to mirror the PTs? or can you just point the two darts at the same PTs and issue TLB maintenance as a group?
12:31svenwe can point them to the same PTs and just issue the TLB maintenance as a group
12:31svenwe can point them to the same PTs and just issue the TLB maintenance as a group
12:32alvaro_fe has joined #asahi
12:32alvaro_fe has joined #asahi
12:37kettenis2that would simplify the binding isn't it?
12:37kettenis2that would simplify the binding isn't it?
12:38kettenis2you'd have a single node for the usb dart and a singly iommus reference in the usb controller node
12:38kettenis2you'd have a single node for the usb dart and a singly iommus reference in the usb controller node
12:39kettenis2and the dart driver would look at "regs" and notice that there are two sets of registers and decide to mirror the page tables?
12:39kettenis2and the dart driver would look at "regs" and notice that there are two sets of registers and decide to mirror the page tables?
12:43svenwhat's worse is that we need stream id 1 on the first and stream id 0 on the second dart
12:43svenwhat's worse is that we need stream id 1 on the first and stream id 0 on the second dart
12:43svenso we'd need an additional property in the dart node to configure that. and that still sounds like a hack to me tbh.
12:43svenso we'd need an additional property in the dart node to configure that. and that still sounds like a hack to me tbh.
12:45jn__what makes them "first" and "second"?
12:45jn__what makes them "first" and "second"?
12:46svenone of them starts at an earlier MMIO address than the other. but it doesn't matter really, I might've even swapped first and second there
12:46svenone of them starts at an earlier MMIO address than the other. but it doesn't matter really, I might've even swapped first and second there
12:47jn__first and second from the point of view of the dwc binding could just follow the stream IDs, i reckon
12:47jn__first and second from the point of view of the dwc binding could just follow the stream IDs, i reckon
12:48jn__rather than the order in which the IOMMUs' registers appear in MMIO
12:48jn__rather than the order in which the IOMMUs' registers appear in MMIO
12:49maor26 has joined #asahi
12:49maor26 has joined #asahi
13:03JusticeEX has joined #asahi
13:03JusticeEX has joined #asahi
13:07kettenis2correllium has a "sid-remap" option; the ADT has a "remap" option
13:07kettenis2correllium has a "sid-remap" option; the ADT has a "remap" option
13:21kettenis2and with option I mean property
13:21kettenis2and with option I mean property
13:22marcansven: huh, xhci is split across two DARTs?
13:22marcansven: huh, xhci is split across two DARTs?
13:23svenmarcan: yuuup. great, isn't it?
13:23svenmarcan: yuuup. great, isn't it?
13:23marcanbutwhy.jpg
13:23marcanbutwhy.jpg
13:24svenno idea. the split itself is also rather strange
13:24svenno idea. the split itself is also rather strange
13:25marcansomething something virtualization?
13:25marcansomething something virtualization?
13:25marcanbut it still seems real odd
13:25marcanbut it still seems real odd
13:25marcanlike, either this is a hacky hardware thing where the controller has two bus masters and they did this for some reason
13:25marcanlike, either this is a hacky hardware thing where the controller has two bus masters and they did this for some reason
13:25marcanor there is an underlying reason that that might dictate the right way to deal with it
13:25marcanor there is an underlying reason that that might dictate the right way to deal with it
13:25svenit sounds like some hack hw thing tbh
13:25svenit sounds like some hack hw thing tbh
13:26svenso there's this DCBAA thing which is really just a list of pointers to device contexts
13:26svenso there's this DCBAA thing which is really just a list of pointers to device contexts
13:26sventhe list of pointers goes through the first DART, the device contexts through the second one
13:26sventhe list of pointers goes through the first DART, the device contexts through the second one
13:27marcanI wrote qemu/hw/usb/hcd-xhci.c btw :)
13:27marcanI wrote qemu/hw/usb/hcd-xhci.c btw :)
13:27svenah, nice :)
13:27svenah, nice :)
13:27marcanbut this sounds so weird
13:27marcanbut this sounds so weird
13:27svenoh yes
13:27svenoh yes
13:28svenI checked it three times because I was convinced I messed something up
13:28svenI checked it three times because I was convinced I messed something up
13:38marcancontext at 0x00000000ffff1000, +c0 is EP3 out isn't it?
13:38marcancontext at 0x00000000ffff1000, +c0 is EP3 out isn't it?
13:38marcanis that really the device context? or some other structure?
13:38marcanis that really the device context? or some other structure?
13:38marcansince it looks like the device maxes out at ep2in
13:38marcansince it looks like the device maxes out at ep2in
13:39marcanand if it knows about endpoints it already completed some transactions, no?
13:39marcanand if it knows about endpoints it already completed some transactions, no?
13:40svener.. wtf.. it looks like it got further this time
13:40svener.. wtf.. it looks like it got further this time
13:42marcanbbiab, dinner and then let's see how awake I am :-)
13:42marcanbbiab, dinner and then let's see how awake I am :-)
13:42marcan(today was largely recovery day)
13:42marcan(today was largely recovery day)
13:43marcanbut if it's not deterministic then that's one *real* horrible hardware implementation hack
13:43marcanbut if it's not deterministic then that's one *real* horrible hardware implementation hack
13:44svenI'll try to reproduce the one where it failed earlier later
13:44svenI'll try to reproduce the one where it failed earlier later
14:01Baughn has quit [Ping timeout: 246 seconds]
14:01Baughn has quit [Ping timeout: 246 seconds]
14:12jeffmiw has joined #asahi
14:12jeffmiw has joined #asahi
14:15mechpilotace has quit [Ping timeout: 245 seconds]
14:15mechpilotace has quit [Ping timeout: 245 seconds]
14:16jeffmiw has quit [Ping timeout: 240 seconds]
14:16jeffmiw has quit [Ping timeout: 240 seconds]
14:18svenokay. weird. 0xc0 should actually not be used at all
14:18svenokay. weird. 0xc0 should actually not be used at all
14:29mechpilotace has joined #asahi
14:29mechpilotace has joined #asahi
14:38omoiti has joined #asahi
14:38omoiti has joined #asahi
15:00Baughn has joined #asahi
15:00Baughn has joined #asahi
15:04omoiti has quit [Ping timeout: 245 seconds]
15:04omoiti has quit [Ping timeout: 245 seconds]
15:15omoiti has joined #asahi
15:15omoiti has joined #asahi
15:25Baughn has quit [Ping timeout: 256 seconds]
15:25Baughn has quit [Ping timeout: 256 seconds]
15:30bisko has joined #asahi
15:30bisko has joined #asahi
15:48odmir has joined #asahi
15:48odmir has joined #asahi
16:31macc24 has quit [Changing host]
16:31macc24 has joined #asahi
16:31macc24 has quit [Changing host]
16:31macc24 has joined #asahi
16:52ephe_meral has quit [Ping timeout: 264 seconds]
16:52ephe_meral has quit [Ping timeout: 264 seconds]
17:30JusticeEX has quit [Ping timeout: 260 seconds]
17:30JusticeEX has quit [Ping timeout: 260 seconds]
17:32sveneven more weird: my usb storage device seems to work with just a single dart enabled
17:32sveneven more weird: my usb storage device seems to work with just a single dart enabled
17:38Baughn has joined #asahi
17:38Baughn has joined #asahi
18:13VinDuv has joined #asahi
18:13VinDuv has joined #asahi
18:18svenugh, still not sure if this is just timing related. it tries to use the second dart directly after queueing a stop EP for slot id 1 ep idx 2 which lines up with ffff10c0
18:18svenugh, still not sure if this is just timing related. it tries to use the second dart directly after queueing a stop EP for slot id 1 ep idx 2 which lines up with ffff10c0
18:19svenit does the same for my usbstorage device but that one takes longer to get to that point
18:19svenit does the same for my usbstorage device but that one takes longer to get to that point
18:23Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
18:23Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
18:26dacre[m] has joined #asahi
18:26dacre[m] has joined #asahi
18:27krbtgt_ is now known as k|r|b|t|g|t
18:27krbtgt_ is now known as k|r|b|t|g|t
18:29Baughn has joined #asahi
18:29Baughn has joined #asahi
18:41Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
18:41Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
18:47Baughn has joined #asahi
18:47Baughn has joined #asahi
19:32antekghost has joined #asahi
19:32antekghost has joined #asahi
19:32zopieux has quit [Ping timeout: 258 seconds]
19:32zopieux has quit [Ping timeout: 258 seconds]
19:33zopieux has joined #asahi
19:33zopieux has joined #asahi
19:39antekghost has left #asahi ["WeeChat 3.1"]
19:39antekghost has left #asahi ["WeeChat 3.1"]
20:06sungold has joined #asahi
20:06sungold has joined #asahi
20:09sungold has left #asahi ["User left"]
20:09sungold has left #asahi ["User left"]
20:17omoiti has quit [Ping timeout: 240 seconds]
20:17omoiti has quit [Ping timeout: 240 seconds]
20:21raster has quit [Quit: Gettin' stinky!]
20:21raster has quit [Quit: Gettin' stinky!]
20:21VinDuv1 has joined #asahi
20:21VinDuv1 has joined #asahi
20:21VinDuv1 has quit [Read error: Connection reset by peer]
20:21VinDuv has quit [Read error: Connection reset by peer]
20:21VinDuv1 has quit [Read error: Connection reset by peer]
20:21VinDuv has quit [Read error: Connection reset by peer]
20:22VinDuv has joined #asahi
20:22VinDuv has joined #asahi
20:25JusticeEX has joined #asahi
20:25JusticeEX has joined #asahi
21:03VinDuv has quit [Quit: Leaving.]
21:03VinDuv has quit [Quit: Leaving.]
21:12omoiti has joined #asahi
21:12omoiti has joined #asahi
21:20yrlf has quit [Quit: Ping timeout (120 seconds)]
21:20yrlf has quit [Quit: Ping timeout (120 seconds)]
21:20yrlf has joined #asahi
21:20yrlf has joined #asahi
22:02ifthenelse has quit [Quit: Ping timeout (120 seconds)]
22:02ifthenelse has quit [Quit: Ping timeout (120 seconds)]
22:02ifthenelse has joined #asahi
22:02ifthenelse has joined #asahi
22:08jeffmiw has joined #asahi
22:08jeffmiw has joined #asahi
22:12jeffmiw has quit [Ping timeout: 264 seconds]
22:12jeffmiw has quit [Ping timeout: 264 seconds]
22:32omoiti has quit [Ping timeout: 264 seconds]
22:32omoiti has quit [Ping timeout: 264 seconds]
22:33raster has joined #asahi
22:33raster has joined #asahi
22:36omoiti has joined #asahi
22:36omoiti has joined #asahi
23:22maor26 has quit [Ping timeout: 256 seconds]
23:22maor26 has quit [Ping timeout: 256 seconds]
…