[PATCHv2 0/3] hwmem: Hardware memory driver

2011-03-09 Thread johan.xx.mossberg
Hello everyone, The following patchset implements a "hardware memory driver". The main purpose of hwmem is: * To allocate buffers suitable for use with hardware. Currently this means contiguous buffers. * To synchronize the caches for the allocated buffers. This is achieved by keeping track of w

[PATCHv2 2/3] hwmem: Add hwmem (part 2)

2011-03-09 Thread johan.xx.mossberg
Add hardware memory driver, part 2. The main purpose of hwmem is: * To allocate buffers suitable for use with hardware. Currently this means contiguous buffers. * To synchronize the caches for the allocated buffers. This is achieved by keeping track of when the CPU uses a buffer and when other ha

[PATCHv2 1/3] hwmem: Add hwmem (part 1)

2011-03-09 Thread johan.xx.mossberg
Add hardware memory driver, part 1. The main purpose of hwmem is: * To allocate buffers suitable for use with hardware. Currently this means contiguous buffers. * To synchronize the caches for the allocated buffers. This is achieved by keeping track of when the CPU uses a buffer and when other ha

[PATCHv2 3/3] hwmem: Add hwmem to ux500

2011-03-09 Thread johan.xx.mossberg
Signed-off-by: Johan Mossberg --- arch/arm/mach-ux500/Makefile |2 +- arch/arm/mach-ux500/board-mop500.c |1 + arch/arm/mach-ux500/dcache.c | 266 arch/arm/mach-ux500/devices.c | 31 arch/arm/mach-ux500/