]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Move TLBI range decoding to a helper
authorMarc Zyngier <maz@kernel.org>
Wed, 14 May 2025 10:34:48 +0000 (11:34 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 19 May 2025 06:59:46 +0000 (07:59 +0100)
commit85bba00425ae0b4b30938ebfdde6d986e5423aff
tree8e541f88ae4b3b012e5c676cb765b107ba190a4d
parenta0ec2b822caba9ccdefa397918071e591b19e144
KVM: arm64: nv: Move TLBI range decoding to a helper

As we are about to expand out TLB invalidation capabilities to support
recursive virtualisation, move the decoding of a TLBI by range into
a helper that returns the base, the range and the ASID.

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