On Wed, May 07, 2025 at 03:49:15PM -0400, Rodrigo Vivi wrote: > One last thing since I have your attention here. Was any time in the previous > fwctl discussions talked about the possibility of some extra usages for like > FW flashing or in-field-repair/tests where big data needs to filled bypassing > lockdown mode?
For FW flash I do suggest you try to use devlink's firmware flashing interface. I think it would be really great if that could become a cross-subsystem standard in Linux. If that isn't going to work out then yes I would say fwctl should be considered for flashing. Saeed's original version had a "big data" memory pinned DMA capable interface as well. With justification it could come into the fwctl version. I'm not against it, but mindful that it widens what is possible by quite a bit. But you might not need something like that just for flash. Some internal improvement kernel side to allow streaming from large user-space RPC buffers instead of a single alloc and copy would be sufficient.. Jason