]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: arm64: Write MDCR_EL2 directly from kvm_arm_setup_mdcr_el2()
authorOliver Upton <oliver.upton@linux.dev>
Thu, 19 Dec 2024 22:41:02 +0000 (14:41 -0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 09:01:25 +0000 (09:01 +0000)
commitb47ffd13fda8275733d573e5799e63e66b5f5361
treec2d4d11681eea1b588a61003dc96a4c0786d7c7d
parentd381e53384a69e35aac417cd6e66afc6c8c11583
KVM: arm64: Write MDCR_EL2 directly from kvm_arm_setup_mdcr_el2()

Expecting the callee to know when MDCR_EL2 needs to be written to
hardware asking for trouble. Do the deed from kvm_arm_setup_mdcr_el2()
instead.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241219224116.3941496-6-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/debug.c