]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Allow RES1 bits to be inferred from configuration
authorMarc Zyngier <maz@kernel.org>
Mon, 2 Feb 2026 18:43:16 +0000 (18:43 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 5 Feb 2026 09:01:38 +0000 (09:01 +0000)
commit459fc4e77e1ac932e47cb4a6d1a01b3be79fd41c
tree39b1b0bd6f70c873736ee2f4b03fcb1c897b9cbe
parentbbea27636e660df907ebf0d36e3dfca5c77cfbc0
KVM: arm64: Allow RES1 bits to be inferred from configuration

So far, when a bit field is tied to an unsupported feature, we set
it as RES0. This is almost correct, but there are a few exceptions
where the bits become RES1.

Add a AS_RES1 qualifier that instruct the RESx computing code to
simply do that.

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-8-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c