#
…

2021-05-28

00:02cdesai is now known as ircdesai
00:04ircdesai has quit [Quit: ircdesai]
00:05cdesai has joined #asahi-dev
00:05cdesai is now known as ircdesai
00:07ircdesai is now known as cdesai
00:09cdesai has quit []
00:09ircdesai has joined #asahi-dev
00:09ircdesai is now known as cdesai
00:10cdesai is now known as ircdesai
00:11ircdesai has quit []
00:11ircdesai has joined #asahi-dev
02:25PhilippvK has joined #asahi-dev
02:28phiologe has quit [Ping timeout: 480 seconds]
03:22randomdud_ has joined #asahi-dev
03:59randomdud_ has quit [Remote host closed the connection]
05:18marcansven: you should have branch write access to asahilinux/linux now, only `main` is excluded
05:19marcanbloom: added you too, *hint hint*
05:21marcankettenis_: let me know if you want access too; I'm fine with the external fork process too, but I think it's helpful to have regulars doing dev directly in upstream repo branches :)
05:22marcanI think for m1n1 we want to keep the PR model (though I might just merge stuff outside of PRs too, it's not required), but we don't need PRs for the kernel as all of that is coordinated with upstream
05:23marcanI want to eventually set up some kind of auto-merge-bot to build `main` out of golden feature branches or something like that
05:26VinDuv has joined #asahi-dev
05:28jannaumarcan: did you see the pull requests in https://github.com/AsahiLinux/vdmtool/pulls? there is one from february
05:28marcanoh, no, thanks, totally missed those
06:24VinDuv has quit [Quit: Leaving.]
06:55EmantorI have modified the original reclaimerlabs PD USB Breakout to include a header for the SBU pins: https://github.com/Emantor/USB-PD-Breakout/tree/topic/separate_sbu_port
07:12svenmarcan: sounds good, will push my stuff later today
07:12kettenis_marcan: might make sense for coordinating work on DT bindings and device tree updates
07:18kettenis_and while on the subject of DT bindings: Linus Walleij is taking my pinctrl binding through the pinctrl tree but the actual device tree changes need to go through some other tree
07:19svenprobably through marcan and then through arnd's soc tree i guess
07:20kettenis_would make it easier to patch up the interaction with your clock bindings
07:21kettenis_meant to say that makes it easier to deal with the clock stuff in the pinctrl nodes
07:30marcankettenis_: invited :)
07:34marcankettenis_, sven: I think for the upcoming changes, which are mostly to "small" subsystems, it makes sense to keep a nice merge pipeline going in our tree so we can test everything together and make sure it's cohesive before/while submitting upstream
07:34marcankeep our tree a couple steps ahead of mainline, just enough to validate that the ideas work, and then submit as things fall into place
07:35marcanit's kind of a balance between "wasting" work if things need to be changed after upstream review and blocking on said review; bit of an optimization problem :)
07:37svensure, especially with the clock/DART stuff will will need to work together with almost everything else
07:39marcandon't want us to move too slowly to get everything super kosher for upstream; the initial bring-up was very hairy with all the arch/ stuff, but it ought to be much easier to do git cleanups for submission for all of these drivers and bindings
07:40svendart is gonna be a little bit hairy since I'll probably need to change something in the iommu subsystem to allow 4k cpu / 16k iommu pages
07:40svenbut the rest should be fine
07:40marcansure, but that still hopefully doesn't have much impact elsewhere
07:41svenand for the clock I'll have to discuss with the maintainers how to encode the non-leafs in the device tree such that we don't have to have that in the drive
07:41marcanwe should do something like dart/{dev,for-next} pinctrl/{dev,for-next} etc
07:41svenbut that won't have an impact anywhere else either
07:41marcanhave a dev branch to hack on with impunity, and a for-next for cleaned up series
07:41svensounds good
07:41marcanalso we make zero promises about not force pushing for any of this
07:41svenofc :D
07:42marcan`main` will also be endlessly rewritten by a bot at some point, I should set up an action for that
07:42marcanand then i'll have a `base` or something which is whatever linus tree base we are currently working off of
07:44* emilazydefinitely welcomes a canonical "asahi linux tree" for testing/packaging/building stuff off of (but then, I currently own no AS hardware, so my opinion probably shouldn't count for much...)
07:44arndsven: I agree that there should be something in the dart driver to allow booting with 4K pages, but I don't think it's necessary to have isolation in that case for the initial merge. Falling back to a fixed linear map (plus swiotlb if necessary), but having proper iommu support for 16KB pages should give us enough confidence in the binding that we can change the iommu core code for small pages later
07:45marcansven: have we confirmed that dart can't do 4K pages?
07:46marcanthat kind of screws up isolation for distro kernels
07:46sventhere's even a field in one of the write-only registers at the beginning that indicates the page shift
07:47svenit's probably hard-wired when they synthesise the hw block :/
07:47marcanread-only you mean?
07:47svener, yes
08:02marcansven: maz doesn't think we can mix page sizes btw (other channel)
08:06svenwell, even better for me!
08:06svenI mean, it'll kinda boot in bypass-only mode if we can somehow convince pcie to support that
08:12svendwc3 almost works there. for some reason it ignores dma-ranges though and refuses to use >32 bit addresses
08:12marcanIIRC there's a flag for 32b vs 64b DMA?
08:13marcanI remember something from the ps4 thing
08:13svenmaybe, didn't really look into it in much detail
08:14svenjust patched some hack in there to force 64bit and then bypass mode worked
08:34j_eyso maybe 'standard' distro kernels can just bypass dart, thats the suggestion sven ?
08:34svenmaybe, but we shouldn't enable thunderbolt there then
08:40kettenis has joined #asahi-dev
08:41sventhis also depends on pcie working in bypass mode
08:41svenwhich may or may not be possible
08:42svensince the last time someone tried I found another bypass bit. maybe that thing helps
08:42kettenis_ has quit [Ping timeout: 480 seconds]
08:45robinp_ has joined #asahi-dev
08:52marcandepending on how the GPU does things, we might not be able to get away with bypass mode there
08:52marcane.g. userspace command buffers
08:53robinp has quit [Ping timeout: 480 seconds]
09:02bih420 has joined #asahi-dev
09:26bih420 has quit [Read error: Connection reset by peer]
09:42bisko has joined #asahi-dev
09:54pcm720_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
09:54pcm720 has joined #asahi-dev
10:44svenI'm not sure if the gpu is behind a dart
10:56gladiac has quit [Quit: k thx bye]
10:57bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:57gladiac has joined #asahi-dev
12:24ircdesai is now known as desairc
12:24desairc is now known as cdesai
12:25cdesai is now known as desairc
12:25desairc is now known as cdesai
12:25cdesai is now known as desairc
12:28desairc has quit [Quit: desairc]
12:29desairc has joined #asahi-dev
12:37marcansven: it definitely needs page tables
13:14mini has quit [Quit: ZNC closing...]
13:16mini has joined #asahi-dev
13:34bloommarcan: wink wink
13:46rafaelmartins has quit [Quit: https://rgm.io/]
13:46rafaelmartins has joined #asahi-dev
15:08svenmarcan: sure, but i don't think there's an iommu node in the ADT for the gpu (or maybe i missed it)
15:08svenmight be yet another iommu
15:09svenand who knows what that one supports
15:09marcanyeah, heh
15:15bloom GPU definitely has its own MMU
15:15bloommight not be related to the MM on the rest of the SoC
15:24balrogbloom: huh interesting!
15:24* balrogwonders if it's sophisticated enough for multiple instancing, like what nvidia is advertising with their high end A100
15:57robinp has joined #asahi-dev
16:01robinp_ has quit [Ping timeout: 480 seconds]
16:06hir0pro has joined #asahi-dev
16:37VinDuv has joined #asahi-dev
16:48Glanzmann has joined #asahi-dev
17:15desairc is now known as cdesai
17:17cdesai is now known as desairc
17:17desairc is now known as cdesai
17:17cdesai is now known as desairc
17:44pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
17:45pcm720 has joined #asahi-dev
18:16pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
18:16thunfisch has quit [Remote host closed the connection]
18:17pcm720 has joined #asahi-dev
18:17thunfisch has joined #asahi-dev
18:44VinDuv has quit [Quit: Leaving.]
19:28VinDuv has joined #asahi-dev
19:48jkkm has joined #asahi-dev
20:02hir0pro has quit [Ping timeout: 480 seconds]
20:24yuyichao has joined #asahi-dev
20:30VinDuv has quit [Quit: Leaving.]
21:55yuyichao has quit [Quit: Konversation terminated!]
23:13pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
23:13pcm720 has joined #asahi-dev
23:50StupidYui has quit [Remote host closed the connection]
…