diff options
author | Will Deacon <will.deacon@arm.com> | 2018-01-29 12:59:57 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-02-06 23:53:21 +0100 |
commit | fa0465fc07c2f9f47bd1198ab368d341bd7c7e4e (patch) | |
tree | 1015b0bb0f69b0b88e21af1c15924c7102871321 /arch/arm64/kvm/hyp-init.S | |
parent | arm64: Force KPTI to be disabled on Cavium ThunderX (diff) | |
download | linux-fa0465fc07c2f9f47bd1198ab368d341bd7c7e4e.tar.xz linux-fa0465fc07c2f9f47bd1198ab368d341bd7c7e4e.zip |
arm64: assembler: Change order of macro arguments in phys_to_ttbr
Since AArch64 assembly instructions take the destination register as
their first operand, do the same thing for the phys_to_ttbr macro.
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp-init.S')
-rw-r--r-- | arch/arm64/kvm/hyp-init.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp-init.S b/arch/arm64/kvm/hyp-init.S index e086c6eff8c6..5aa9ccf6db99 100644 --- a/arch/arm64/kvm/hyp-init.S +++ b/arch/arm64/kvm/hyp-init.S @@ -63,7 +63,7 @@ __do_hyp_init: cmp x0, #HVC_STUB_HCALL_NR b.lo __kvm_handle_stub_hvc - phys_to_ttbr x0, x4 + phys_to_ttbr x4, x0 msr ttbr0_el2, x4 mrs x4, tcr_el1 |