Re: [microblaze-uclinux] [PATCHv2] [RFC] Xilinx MPMC SDMA subsystem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sergey Temerkhanov
Date: Wednesday, April 28, 2010 - 2:58 pm

On Wednesday 28 April 2010 09:13:06 you wrote:

I've changed it to XILINX_SDMA in the current version.


It's because the appropriate line in drivers/Makefile is
obj-$(CONFIG_DMA_ENGINE)	 += dma/

instead of
obj-$(CONFIG_DMADEVICES) += dma/


Well, I can do this but it will require moving of register definitions to 
xllsdma.h


There can be more than 1 MPMC and the outer loops iterates over MPMSs and the 
inner one iterates over SDMA LocalLinks belonging to the appropriate MPMC 
(SDMA channels only have access to memory connected to their MPMC).


Yes, it is.


Well, practically I've never seen a working configuration with more than 1 
MPMC (I think, it would need some pseudo-NUMA as well but with a hard binding 
of physical address ranges to SDMA devices). 
However, I can drop the multiple MPMC support.


It was intended for error handling. I'll look into that.


xllsdma_init() tries to allocate some resources etc. xllsdma_of_remove() calls 
xllsdma_cleanup() which cleans the things up depending on what had been really 
done.


This code is rather aged, so I'll update this.


It will simplify the code, I think.


Maybe old kernel versions?


Looks reasonable.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCHv2] [RFC] Xilinx MPMC SDMA subsystem, Sergey Temerkhanov, (Tue Apr 27, 3:06 pm)
Re: [microblaze-uclinux] [PATCHv2] [RFC] Xilinx MPMC SDMA ..., Steven J. Magnani, (Tue Apr 27, 7:29 pm)
Re: [microblaze-uclinux] [PATCHv2] [RFC] Xilinx MPMC SDMA ..., Steven J. Magnani, (Wed Apr 28, 10:35 am)
Re: [microblaze-uclinux] [PATCHv2] [RFC] Xilinx MPMC SDMA ..., Sergey Temerkhanov, (Wed Apr 28, 2:58 pm)