ARM: bcm283x: Allocate all mailbox buffers cacheline aligned
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:12 +0000 (09:22 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:42 +0000 (20:47 -0400)
commit927753aeb93f100d73b7ed034238633df41891bc
tree7364fc01c6bc707aa5859bb41863bbacde49ee00
parent060f9bf57b1dc1f9260bc1b999d054141b87d7d2
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