ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<qzed>
hmm, it doesn't even try to init the ucode/sqe yet... so gmu is initialized before ucode, is that correct?
<HdkR>
,,,,,,,,.
<HdkR>
oops.
<robclark>
qzed: so for newer a660+ fw, the afuc disasm actually needs to use emulation mode enough to run thru the bootstrap code (which loads the pm4 packet jumptables).. if it is stuck in a loop, it could be because the initial sqe register values are not correct, so I'd have to look at that.. but gmu is loaded first, it is what powers up the gpu, so you can ignore sqe for a bit
<robclark>
zero length block might be zero-init (thinking in terms of elf binaries.. although that might not be exactly how they represent it embedded in the driver)
<qzed>
thanks! I'll upload the files in a bit (after I'm done cleaning up some other patches...) so you can have a look if you want
<qzed>
I'll also try to have another look at the windows driver gmu loader thing, I guess that could make sense with zero-init
<robclark>
no hurry on the sqe, I won't really have time to look until at least the weekend (but I guess figuring out the couple bits of initial state needed to not get stuck in an infinite loop in the afuc bootstrap emulation isn't really necessary for bringing up the kernel driver)