]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2
authorOliver Upton <oliver.upton@linux.dev>
Fri, 25 Oct 2024 18:23:40 +0000 (18:23 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 19:00:39 +0000 (19:00 +0000)
commiteb609638da5578c59fd28baf9825f1dd19b61d7a
treea1c7a83ce88805000c8f633c9649b3ca2e8b532f
parent3ecb1fe3842c8783d8cd94a192aec4225f72b652
KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2

Add support for sanitising MDCR_EL2 and describe the RES0/RES1 bits
according to the feature set exposed to the VM.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025182354.3364124-6-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/nested.c