]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: Simplify handling of HCR_EL2.E2H RESx
authorMarc Zyngier <maz@kernel.org>
Mon, 2 Feb 2026 18:43:23 +0000 (18:43 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 5 Feb 2026 09:02:13 +0000 (09:02 +0000)
commitf01e3429cf0e4b1ab20c9d51ebfa0d8514d8fe4d
tree2d714d276db684d9c3d6687edc6b4e9a31fa19ad
parentd2f629aa75bef1c346f17ca195271582dafc6f3b
KVM: arm64: Simplify handling of HCR_EL2.E2H RESx

Now that we can link the RESx behaviour with the value of HCR_EL2.E2H,
we can trivially express the tautological constraint that makes E2H
a reserved value at all times.

Fun, isn't it?

Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260202184329.2724080-15-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c