#
✕ nick:sven
#asahi-dev · 2022-03-27 10:59
svenj`ey: that was the first bug actually! jannau already ran into that one
#asahi-dev · 2022-03-27 10:22
svenfor the combined fuses: is it just bit 31 of fuse 0 followed by bit 0,1,2,3 of fuse 1?
#asahi-dev · 2022-03-27 10:22
svennice!
#asahi-dev · 2022-03-26 16:44
svenpain is always a good motivation to fix bugs ;)
#asahi-dev · 2022-03-26 16:44
svenyeah, and I think that's good
#asahi-dev · 2022-03-26 16:44
sven*i haven't had
#asahi-dev · 2022-03-26 16:44
svenbut that swiotlb thing is a bit tricky and i've had a chance to grab some pencil+paper to work out how to make that happen together with this min_dma_align_mask or however it was called
#asahi-dev · 2022-03-26 16:43
svenif we make swiotlb work with > PAGE_SIZE alignments we can just re-submit that 4k thing. I have a branch somewhere that addresses the other review comments fwiw
#asahi-dev · 2022-03-26 16:34
sveni'm writing replies to the nvme review comments from my couch right now and yet you people are already distracting me again :-P
#asahi-dev · 2022-03-26 16:34
svenlol
#asahi-dev · 2022-03-26 16:24
svenah, right, i keep forgetting
#asahi-dev · 2022-03-26 16:21
svendon't think so. at least not for the stuff I still need to upstream
#asahi-dev · 2022-03-26 16:20
sventhe main problem is that writing new drivers and/or reversing new hardware is usually more fun :D
#asahi-dev · 2022-03-26 16:20
svenjeffmiw: we just need to stop being lazy ;)
#asahi-dev · 2022-03-26 15:57
svenspeaking of which, time to write some replies to the nvme comments
#asahi-dev · 2022-03-26 15:57
svenwe just need to get better at upstreaming all that stuff ;)
#asahi-dev · 2022-03-24 21:26
sven^—
#asahi-dev · 2022-03-24 18:36
svenhuh, interesting. so nvme is on die 1 for some reason
#asahi-dev · 2022-03-24 18:21
sventhat’s kinda what we hoped for ;)
#asahi-dev · 2022-03-24 18:17
svenat least it’s behind a DART which so far only allows 32bit IOVA space anyway
#asahi-dev · 2022-03-24 18:12
svennext wild guess: maybe it needs firmware like that controller on the iMac
#asahi-dev · 2022-03-24 18:10
svenah, okay. I guess I just never noticed them then
#asahi-dev · 2022-03-24 18:03
svencan it just not dma and fails when it tries to setup its event/command rings?
#asahi-dev · 2022-03-24 18:02
svenno iommu-map translation for id 0x10 on (null) <— don’t think I saw that one before either
#asahi-dev · 2022-03-24 18:00
sventhat’d surprising. I assumed it would be dwc3/atcphy again that caused trouble
#asahi-dev · 2022-03-24 17:59
svenoh, it’s the one attached to pcie that has issues?
#asahi-dev · 2022-03-24 17:55
svenSo i guess there’s some usb issue?
#asahi-dev · 2022-03-24 17:55
svenxHCI host controller not responding, assume dead
#asahi-dev · 2022-03-24 16:14
svenhuh, I wondered where that weird enum format thing I did in rtkit.c came from because I couldn’t remember doing that. It’s clang-format :/
#asahi-dev · 2022-03-22 20:36
sven*task
#asahi-dev · 2022-03-22 20:36
sventasked failed successfully 🤷🏻‍♂️
#asahi-dev · 2022-03-22 20:33
svenwho needs WiFi anyway ;)
#asahi-dev · 2022-03-22 20:32
svenah, that’s something in the wifi driver I think
#asahi-dev · 2022-03-22 20:31
svenlooks like kettenis knows :-)
#asahi-dev · 2022-03-22 20:29
svenso I’d assume it’s the same for pcie but who knows
#asahi-dev · 2022-03-22 20:29
svenalyssa: just guessing, but atcphy loses all tunables if I power it down in pmgr
#asahi-dev · 2022-03-22 20:28
sventhen it’s a bigger issue I guess
#asahi-dev · 2022-03-22 20:28
svenoh, suspend already fails?
#asahi-dev · 2022-03-22 20:27
svenpcie resume probably “just” needs the phy init and tunables applied
#asahi-dev · 2022-03-22 20:06
svenerm, atc-WIP
#asahi-dev · 2022-03-22 20:05
svenjannau: atc-PHY has a more complete usb 2 phy init sequence as well fwiw
#asahi-dev · 2022-03-22 12:58
sven*commented
#asahi-dev · 2022-03-22 12:58
svenyeah, the queuing doesn't fit well for the FIFO-backed mailboxes we have. but that could be fixed and IIRC the maintainer comment something like "no need to do this right now unless you have a good reason" back when I made that a better fit for v1
#asahi-dev · 2022-03-22 12:56
svens/find/fine/
#asahi-dev · 2022-03-22 12:56
svenfair enough. I think it was find for the very basic single channel thing but I didn't bother with the atomic API there
#asahi-dev · 2022-03-22 12:55
sveneven though you dislike mailbox so much I still think that is the correct place for the low-level HW stuff
#asahi-dev · 2022-03-22 12:51
svenand DCP does both
#asahi-dev · 2022-03-22 12:51
svendifferent co-processors also need a different way to hibernate them for suspend and/or reset. if you send them to the wrong power state they just won't come up again. and ofc that state differs between most of them
#asahi-dev · 2022-03-22 12:49
svenfor some reason macos tells ANS the current time during startup using one of those e.g.
#asahi-dev · 2022-03-22 12:49
sventhere are some vendor specific commands that all require SART for their buffers because they don't use the common PRPs thing

plus ›