aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/cache.S
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-06-01 10:47:40 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2015-06-05 10:38:53 +0100
commit7616fc8bcd7ef4975a294337d6cd3007b8c18746 (patch)
treee68b756ae0e477bbdc8ea64daedaa5f11ca7cee4 /arch/arm64/mm/cache.S
parentarm64: Rework alternate sequence for ARM erratum 845719 (diff)
downloadlinux-dev-7616fc8bcd7ef4975a294337d6cd3007b8c18746.tar.xz
linux-dev-7616fc8bcd7ef4975a294337d6cd3007b8c18746.zip
arm64: alternative: Allow immediate branch as alternative instruction
Since all branches are PC-relative on AArch64, these instructions cannot be used as an alternative with the simplistic approach we currently have (the immediate has been computed from the .altinstr_replacement section, and end-up being completely off if the target is outside of the replacement sequence). This patch handles the branch instructions in a different way, using the insn framework to recompute the immediate, and generate the right displacement in the above case. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/cache.S')
0 files changed, 0 insertions, 0 deletions