ARM: mvebu: Low level function to disable HW coherency support
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Apr 2014 15:10:09 +0000 (17:10 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 8 May 2014 16:18:55 +0000 (16:18 +0000)
commit1a6bfbc339b6a2b59a8f88fa494fe70073cdb85a
tree62e7f746b8de242c8dd975e8e9a2bde728599a62
parent2e8a5942f8751c03fdd50228a02909654d13f01d
ARM: mvebu: Low level function to disable HW coherency support

When going to deep idle we need to disable the SoC snooping (aka
hardware coherency support). Playing with the coherency fabric
requires to use assembly code to be sure that the compiler doesn't
reorder the instructions nor do wrong optimization.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397488214-20685-7-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/coherency_ll.S