Re: use generic DMA mapping code in powerpc V4
From: Christoph Hellwig
Date: Thu Nov 29 2018 - 12:03:07 EST
> > Please don't apply the new DMA mapping code if you don't be sure if it
> > works on all supported PowerPC machines. Is the new DMA mapping code
> > really necessary? It's not really nice, to rewrote code if the old code
> > works perfect. We must not forget, that we work for the end users. Does
> > the end user have advantages with this new code? Is it faster? The old
> > code works without any problems.
>
> There is another service provided to the users as well: new code that is
> cleaner and simpler which allows easier bug fixes and new features.
> Without being familiar with the DMA mapping code I cannot really say if
> that's the case here.
Yes, the main point is to move all architecturs to common code for the
dma direct mapping code. This means we have one code bases that sees
bugs fixed and features introduced the same way for everyone.