Thread (53 messages) 53 messages, 3 authors, 2026-02-02

Re: [PATCH 02/20] KVM: arm64: Remove duplicate configuration for SCTLR_EL1.{EE,E0E}

From: Fuad Tabba <tabba@google.com>
Date: 2026-01-26 18:05:36
Also in: kvm, kvmarm

On Mon, 26 Jan 2026 at 12:17, Marc Zyngier [off-list ref] wrote:
We already have specific constraints for SCTLR_EL1.{EE,E0E}, and
making them depend on FEAT_AA64EL1 is just buggy.
Looking at the spec, I see that they depend on FEAT_MixedEnd and
FEAT_MixedEndEL0, not on FEAT_AA64EL1. They are already in the right
place in config.c.

Reviewed-by: Fuad Tabba <tabba@google.com>

Cheers,
/fuad





quoted hunk ↗ jump to hunk
Fixes: 6bd4a274b026e ("KVM: arm64: Convert SCTLR_EL1 to config-driven sanitisation")
Signed-off-by: Marc Zyngier <maz@kernel.org>
---
 arch/arm64/kvm/config.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/arch/arm64/kvm/config.c b/arch/arm64/kvm/config.c
index 9c04f895d3769..0bcdb39885734 100644
--- a/arch/arm64/kvm/config.c
+++ b/arch/arm64/kvm/config.c
@@ -1140,8 +1140,6 @@ static const struct reg_bits_to_feat_map sctlr_el1_feat_map[] = {
                   SCTLR_EL1_TWEDEn,
                   FEAT_TWED),
        NEEDS_FEAT(SCTLR_EL1_UCI        |
-                  SCTLR_EL1_EE         |
-                  SCTLR_EL1_E0E        |
                   SCTLR_EL1_WXN        |
                   SCTLR_EL1_nTWE       |
                   SCTLR_EL1_nTWI       |
--
2.47.3
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help