diff options
author | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:50:34 -0700 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:50:34 -0700 |
commit | 5f6e00709c16b63c7a93552ed4ab2b48a0dd47ac (patch) | |
tree | 8ef11771d25b2443767591836ef0146fdec95c86 /arch/arm64/kernel | |
parent | f7214e6023c86cbb66d3ebead0b27ac1a4ebb8dc (diff) | |
parent | 7606e07856e0148e540fb67d68418400fd6b33b4 (diff) |
Merge remote-tracking branch 'rutland/kvm/common-sysreg' into next-fix
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/head.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index 4fb6ccd886d1..95ae40ac3f40 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -594,14 +594,14 @@ set_hcr: cmp x0, #1 b.ne 3f - mrs_s x0, ICC_SRE_EL2 + mrs_s x0, SYS_ICC_SRE_EL2 orr x0, x0, #ICC_SRE_EL2_SRE // Set ICC_SRE_EL2.SRE==1 orr x0, x0, #ICC_SRE_EL2_ENABLE // Set ICC_SRE_EL2.Enable==1 - msr_s ICC_SRE_EL2, x0 + msr_s SYS_ICC_SRE_EL2, x0 isb // Make sure SRE is now set - mrs_s x0, ICC_SRE_EL2 // Read SRE back, + mrs_s x0, SYS_ICC_SRE_EL2 // Read SRE back, tbz x0, #0, 3f // and check that it sticks - msr_s ICH_HCR_EL2, xzr // Reset ICC_HCR_EL2 to defaults + msr_s SYS_ICH_HCR_EL2, xzr // Reset ICC_HCR_EL2 to defaults 3: #endif |