#
✕ nick:sven
#asahi · 2021-11-23 12:54
sveni know it's also involved in what macOS claims to be SPI DMA
#asahi · 2021-11-23 12:53
svenfair :D
#asahi · 2021-11-23 12:53
svendid you look into sio in detail? i'm curious if it's really just a co-processor that just reades/writes the registers in busy loops and then pretends it's actually DMA for the main CPU
#asahi · 2021-11-23 08:46
svenpossibly even the mess that will be the type c phy (atc-phy)
#asahi · 2021-11-22 22:59
svenlikely something dumb, just need to find some time to debug it
#asahi · 2021-11-22 22:59
svenlinux
#asahi · 2021-11-22 22:57
sven1200 or so
#asahi · 2021-11-22 22:52
svenalready much happier than I was with the previous one so far
#asahi · 2021-11-22 22:52
svenand I can explain what all those custom Apple register so now :-)
#asahi · 2021-11-22 22:49
svenIt also looks simpler now. (Except for that fact that it just crashes right now, but that’s details :D)
#asahi · 2021-11-22 22:48
svenit should also recover correctly from timeouts etc. now that I can actually reset the co-processor
#asahi · 2021-11-22 22:47
svenj_ey: yes. that was the only way for me to understand how the driver actually works
#asahi · 2021-11-22 22:46
svenuntil that’s ready it probably doesn’t matter what version you use. the two that are around should be very similar
#asahi · 2021-11-22 22:45
svenbut so far it can only bring up the admin queue and crash then
#asahi · 2021-11-22 22:45
sveni actually understand the nvme subsystem at this point and am working on a version locally right now
#asahi · 2021-11-22 22:44
svenThere’s no correct source yet
#asahi · 2021-11-22 22:42
sven:D
#asahi · 2021-11-22 09:47
svenu-boot should also allow network boot
#asahi · 2021-11-22 09:44
svenworks on a t8103 mini for me
#asahi · 2021-11-21 20:42
svenyeah, but that's different
#asahi · 2021-11-21 20:41
svenANS2.5 then i guess
#asahi · 2021-11-21 20:41
sven:D
#asahi · 2021-11-21 20:39
sveni think the M1 actually has ANS3 fwiw: +-o AppleANS3NVMeController <class AppleANS3NVMeController, id 0x1000003c2, registered, matched, active, busy 0 (159 ms), retain 20>
#asahi · 2021-11-21 19:56
svenkettenis: yes. afaict most endpoint numbers are hardcoded inside the drivers
#asahi · 2021-11-21 19:22
sveni2c should also be a separate commit from cd321x imho
#asahi · 2021-11-20 16:15
svenI think you need to fix the compatible in the example as well though
#asahi · 2021-11-20 16:14
svenfine with me
#asahi · 2021-11-20 16:13
svennot sure it matters much at this point though since the i2c nodes aren’t in the dt yet
#asahi · 2021-11-20 16:13
svenjannau: that i2c dt binding fix looks reasonable to me as well. Maybe just keep the old “wrong” compatible as deprecated in there (see e.g. snps,dwc3 for how that’s done)
#asahi · 2021-11-19 22:18
sveni think you could even add the cd321x nodes without the connection to the usb nodes
#asahi · 2021-11-19 22:18
svenyup
#asahi · 2021-11-19 22:14
svenand maybe even one to add the i2c nodes
#asahi · 2021-11-19 22:14
sveni think you could at least send the #interrupt-cells patch already
#asahi · 2021-11-19 22:09
sven:)
#asahi · 2021-11-19 22:01
sveniirc i didn't have that in my dt that passed validation
#asahi · 2021-11-19 22:00
svenjannau: try to get rid of the address/size-cells stuff and the @0 in the usb node
#asahi · 2021-11-19 21:59
svenhrm, can't find it anymore now ofc :D
#asahi · 2021-11-19 21:56
svenhrm... maybe it was somewhere else. but i'm pretty sure ports are allowed there because that's how the role-switch infrastructure works
#asahi · 2021-11-19 21:50
sveni know that at least some rockchip devicetree has a port under dwc3
#asahi · 2021-11-19 21:50
svenlet me check again
#asahi · 2021-11-19 21:50
svensnps,dwc3 should allow it
#asahi · 2021-11-19 21:50
svenjannau: uh, that's not true
#asahi · 2021-11-19 21:48
svenjannau: "Does not verify since the apple,dwc3 binding doesn't allow ports." huh... that's weird
#asahi · 2021-11-19 21:46
sven... and it's just 40 patches we still have to upstream
#asahi · 2021-11-19 20:58
svennice :)
#asahi · 2021-11-19 20:07
sven*undef
#asahi · 2021-11-19 20:07
svenhuh, that’s an under instruction error isn’t it?
#asahi · 2021-11-19 20:05
svenoh, I didn’t read the backlog
#asahi · 2021-11-19 20:04
svenm1n1 seems to disable all secondary CPUs
#asahi · 2021-11-19 20:04
svenLooks like something with SMP goes wrong

plus ›