ARM: bcm283x: Allocate all mailbox buffers cacheline aligned
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:12 +0000 (09:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:25:46 +0000 (08:25 +0200)
commit7f1e24ecb06dc447bdb33d05f4b47cbe1ca9c824
tree043b8cb213d894c3961b1139b104daeb68e71ab1
parent5a3fd5ffa4ed5f3851e824a6d276cfaf1b5458ba
ARM: bcm283x: Allocate all mailbox buffers cacheline aligned

The mailbox buffer is required to be at least 16 bytes aligned, but for
cache invalidation and/or flush it needs to be cacheline aligned.
Use ALLOC_CACHE_ALIGN_BUFFER for all mailbox buffer allocations.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c
drivers/video/bcm2835.c