Re: [PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator

2020-02-25 Thread Stafford Horne
On Mon, Feb 24, 2020 at 08:45:28PM +0100, Christoph Hellwig wrote: > On Sat, Feb 22, 2020 at 07:14:47AM +0900, Stafford Horne wrote: > > On Thu, Feb 20, 2020 at 09:01:39AM -0800, Christoph Hellwig wrote: > > > Switch openrisc to use the dma-direct allocator and just provide the > > > hooks for

Re: [PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator

2020-02-24 Thread Christoph Hellwig
On Sat, Feb 22, 2020 at 07:14:47AM +0900, Stafford Horne wrote: > On Thu, Feb 20, 2020 at 09:01:39AM -0800, Christoph Hellwig wrote: > > Switch openrisc to use the dma-direct allocator and just provide the > > hooks for setting memory uncached or cached. > > > > Signed-off-by: Christoph Hellwig

Re: [PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator

2020-02-21 Thread Stafford Horne
On Thu, Feb 20, 2020 at 09:01:39AM -0800, Christoph Hellwig wrote: > Switch openrisc to use the dma-direct allocator and just provide the > hooks for setting memory uncached or cached. > > Signed-off-by: Christoph Hellwig Reviewed-by: Stafford Horne Also, I test booted openrisc with linux 5.5

[PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator

2020-02-20 Thread Christoph Hellwig
Switch openrisc to use the dma-direct allocator and just provide the hooks for setting memory uncached or cached. Signed-off-by: Christoph Hellwig --- arch/openrisc/Kconfig | 1 + arch/openrisc/kernel/dma.c | 51 +- 2 files changed, 7 insertions(+), 45

[PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator

2019-11-07 Thread Christoph Hellwig
Switch openrisc to use the dma-direct allocator and just provide the hooks for setting memory uncached or cached. Signed-off-by: Christoph Hellwig --- arch/openrisc/Kconfig | 1 + arch/openrisc/kernel/dma.c | 51 +- 2 files changed, 7 insertions(+), 45