[PATCH v3 8/8] irqchip, gicv3-its, cma: Use CMA for allocation of large device tables

2017-08-08 Thread Robert Richter
The gicv3-its device table may have a size of up to 16MB. With 4k pagesize the maximum size of memory allocation is 4MB. Use CMA for allocation of large tables. We use the device managed version of dma_alloc_coherent(). Thus, we don't need to release it manually on device removal. Signed-off-by:

[PATCH v3 8/8] irqchip, gicv3-its, cma: Use CMA for allocation of large device tables

2017-08-08 Thread Robert Richter
The gicv3-its device table may have a size of up to 16MB. With 4k pagesize the maximum size of memory allocation is 4MB. Use CMA for allocation of large tables. We use the device managed version of dma_alloc_coherent(). Thus, we don't need to release it manually on device removal. Signed-off-by: