]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Allow coarse-grained trap combos to use complex traps
authorOliver Upton <oliver.upton@linux.dev>
Fri, 25 Oct 2024 18:23:41 +0000 (18:23 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 19:00:39 +0000 (19:00 +0000)
commit18aeeeb57b93f5038ad9b1bac2102640e786b1d1
tree63f68e3974a63cd73fd5297ed8bb20ef60a869d9
parenteb609638da5578c59fd28baf9825f1dd19b61d7a
KVM: arm64: nv: Allow coarse-grained trap combos to use complex traps

KVM uses a sanity-check to avoid infinite recursion in trap combinations
that could potentially depend on itself. Narrow the scope of this sanity
check to the exact CGT IDs that correspond w/ trap combos, opening the
door to using 'complex' traps as part of a combination.

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