]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Inherit RESx bits from FGT register descriptors
authorMarc Zyngier <maz@kernel.org>
Mon, 2 Feb 2026 18:43:15 +0000 (18:43 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 5 Feb 2026 08:59:28 +0000 (08:59 +0000)
commitbbea27636e660df907ebf0d36e3dfca5c77cfbc0
tree9fcb04e7e2d0bf08991111e898555ec764209bfc
parentf9d58956423844237e18a758dc0f1b2cf6480042
KVM: arm64: Inherit RESx bits from FGT register descriptors

The FGT registers have their computed RESx bits stashed in specific
descriptors, which we can easily use when computing the masks used
for the guest.

This removes a bit of boilerplate code.

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