Hello, Here is a short series adding support for DMAs to the SMC controller of the Aspeed SoCs. It uses coroutines to spawn the DMA requests in bottom halves. This method is inspired from the block layer, the code looks nice but maybe, this is unnecessarily complex. Paolo, could you provide some feedback ?
Thanks, C. Cédric Le Goater (2): aspeed/smc: add a 'sdram_base' property aspeed/smc: add support for DMAs hw/arm/aspeed_soc.c | 5 +- hw/ssi/aspeed_smc.c | 233 ++++++++++++++++++++++++++++++++++++++++++-- include/hw/ssi/aspeed_smc.h | 3 + 3 files changed, 233 insertions(+), 8 deletions(-) -- 2.7.4