On Wed, Feb 10, 2010 at 12:01 AM, Anthony Liguori <aligu...@us.ibm.com> wrote: > This is a work in progress that I wanted to share giving some of the > discussions > around rwhandlers. The idea is to make PCI devices have a common set of > functions to interact with the CPU that is driven entirely through the PCI > bus. > > I've tested the network card conversions, but have not yet tested the other > bits.
By itself, the patches look OK. But given that the conclusion of the generic DMA discussion was to aim for mapping approach (in order to prepare for zero copy DMA), I wonder how the patches fit to the larger picture. Perhaps instead of pci specific functions, a more generic memory object with read and write methods could be introduced, which would be more useful in the longer term?