]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: include alternative handling in dcache_by_line_op
authorAndre Przywara <andre.przywara@arm.com>
Tue, 28 Jun 2016 17:07:29 +0000 (18:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 1 Jul 2016 10:28:16 +0000 (11:28 +0100)
commitdbdb5d55103acf102941f13ea3a6ebadf997f855
tree842c741d4a6b8fba2400be099094f5aef26fc399
parent2f036d24753cdf4288937f92a89c1e26e0c77cb5
arm64: include alternative handling in dcache_by_line_op

The newly introduced dcache_by_line_op macro is used at least in
one occassion at the moment to issue a "dc cvau" instruction,
which is affected by ARM errata 819472, 826319, 827319 and 824069.
Change the macro to allow for alternative patching in there to
protect affected Cortex-A53 cores.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
[catalin.marinas@arm.com: indentation fixups]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/assembler.h