On 19.12.14 10:39, Gerd Hoffmann wrote: > Hi, > > Attached is a patch drafting a dma interface for fw_cfg, lousily based > on the ideas I've outlined a few days ago on this list. Applies on top > of this patch series. > > Host side only, unfinished, untested. Mainly sending this out as > notification that I've looked into this, to avoid duplicating work. > I'll go disappear into xmas vacation in a few hours and will not > continue with this until next year. > > My plan is to coordinate in January with Laszlo how to go forward. If > someone feels bored during the holidays feel free to grab it and run > with it.
Nice first draft :). The major thing I would do differently is the way to access the DMA registers. Instead of making them even more PIO/MMIO ports, I'd rather just make them one big 256 bit fw_cfg entry. That way we don't need to modify (and synchronize) any machine port layout to support DMA. Alex