@balaton
Quote:
If you have a handler already for MCE that would probably dump state to serial so maybe just check that in MSR the ME bit is enabled and you might get a dump without having to write your own handler.
Spend 5 hours to learn how install a stub and make it works (that was not easy) , so in end i just run "mce_stub" and it install stub, i then jump on 0x200, and when reboot, on address 0x7f000000 i have all the info i need. I even wrote simple external command which call the 0x200 , when my stub in : yes, stub works, and write data i need. I was so happy that now yes, i will see something which will point on , but then bah, THAT ISN'T MCE !
CPU died, soft-int died, hardware interrupts died, and this is not MCE too. Then what to check next ? I mean, BUS lockup ? Busy-wait ?
Quote:
When you write these descriptors you may need to translate addresses to physical as the card only sees phys addresses.
Not with IOB on x1000, they ECAM, so direct physical writing, no translation/remapping there.
Quote:
If the DMA engine is shared with other usage you might need to go through the dma.resource to make sure not trying to use same channel by different parts. I think in A1222 one channel is reserved for network, maybe it's the same on X1000?
At least in unix sources it shown clear : for network they use "5" (same as me).
Quote:
We could look at it if you published the source. The title says opensource driver and you used Linux code so it should be GPL anyway. Maybe if you show the source people could help better.
As usual need to clean mess, some ai-cruft and then will upload on github in a day or two.
Edited by kas1e on 2026/3/15 21:58:17