[PATCH fpga 8/9] fpga socfpga: Use the scatterlist interface

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Mon Nov 14 20:35:37 PST 2016


On Sun, Nov 13, 2016 at 10:02:00PM -0600, atull wrote:
> > I'd add a newop 'write_fragment' and a driver must define write_sg
> > write_fragment, if write_fragment is used then the core supplies
> > that loop.
> 
> Sure, but isn't that just the old op? :)

I'm fine with that too, but it is semantically different since write
is called multiple times in this new world.. All the drivers seem fine
with that today so it is probably OK ..

> There may also be common code that you added to configure_init
> that should go in the core unless it's fpga-specific.

Sure, the alignment test is easy enough to pull out..

Jason



More information about the linux-arm-kernel mailing list