* [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE
@ 2021-12-08 19:28 Fuad Tabba
2021-12-13 13:10 ` Will Deacon
2021-12-20 14:05 ` Marc Zyngier
0 siblings, 2 replies; 3+ messages in thread
From: Fuad Tabba @ 2021-12-08 19:28 UTC (permalink / raw)
To: kvmarm; +Cc: kernel-team, maz, will
Replace the hardcoded value with the existing definition.
No functional change intended.
Signed-off-by: Fuad Tabba <tabba@google.com>
---
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);
}
}
--
2.34.1.400.ga245620fadb-goog
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE
2021-12-08 19:28 [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE Fuad Tabba
@ 2021-12-13 13:10 ` Will Deacon
2021-12-20 14:05 ` Marc Zyngier
1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2021-12-13 13:10 UTC (permalink / raw)
To: Fuad Tabba; +Cc: kernel-team, maz, kvmarm
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 <tabba@google.com>
> ---
> 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 <will@kernel.org>
Will
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE
2021-12-08 19:28 [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE Fuad Tabba
2021-12-13 13:10 ` Will Deacon
@ 2021-12-20 14:05 ` Marc Zyngier
1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2021-12-20 14:05 UTC (permalink / raw)
To: Fuad Tabba, kvmarm; +Cc: will, kernel-team
On Wed, 8 Dec 2021 19:28:10 +0000, Fuad Tabba wrote:
> Replace the hardcoded value with the existing definition.
>
> No functional change intended.
Applied to next, thanks!
[1/1] KVM: arm64: Use defined value for SCTLR_ELx_EE
commit: 500ca5241bf8054c8a973e54cb28629614f43178
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-20 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-08 19:28 [PATCH] KVM: arm64: Use defined value for SCTLR_ELx_EE Fuad Tabba
2021-12-13 13:10 ` Will Deacon
2021-12-20 14:05 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox