On Wed, Dec 08, 2021 at 07:28:10PM +0000, Fuad Tabba wrote:
> Replace the hardcoded value with the existing definition.
> 
> No functional change intended.
> 
> Signed-off-by: Fuad Tabba <[email protected]>
> ---
>  arch/arm64/include/asm/kvm_emulate.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/include/asm/kvm_emulate.h 
> b/arch/arm64/include/asm/kvm_emulate.h
> index f4871e47b2d0..cd5fd9b92b04 100644
> --- a/arch/arm64/include/asm/kvm_emulate.h
> +++ b/arch/arm64/include/asm/kvm_emulate.h
> @@ -386,7 +386,7 @@ static inline void kvm_vcpu_set_be(struct kvm_vcpu *vcpu)
>               *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT;
>       } else {
>               u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1);
> -             sctlr |= (1 << 25);
> +             sctlr |= SCTLR_ELx_EE;
>               vcpu_write_sys_reg(vcpu, sctlr, SCTLR_EL1);

Acked-by: Will Deacon <[email protected]>

Will
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to