microblaze: Fix kmalloc alignment on non-coherent DMA platforms
Based on PowerPC patche 52142e75 PowerPC description: On platforms doing non-coherent DMA (4xx, 8xx, ...), it's important that the kmalloc minimum alignment is set to the cache line size, to avoid sharing cache lines between different objects, so that DMA to one of the objects doesn't corrupt the other. Signed-off-by: NMichal Simek <monstr@monstr.eu>
Showing
想要评论请 注册 或 登录