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)
commit823066d9edcdfe4cedb06216c2b1f91efaf68a87
tree842c741d4a6b8fba2400be099094f5aef26fc399
parent290622efc76ece22ef76a30bf117755891ab27f6
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