]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Remove extra argument for __pvkm_host_{share,unshare}_hyp()
authorAlexandru Elisei <alexandru.elisei@arm.com>
Tue, 16 Dec 2025 10:30:52 +0000 (10:30 +0000)
committerOliver Upton <oupton@kernel.org>
Thu, 8 Jan 2026 20:56:17 +0000 (12:56 -0800)
commit26cdea4893c2b26cad58926d8f29792386219332
tree40547ccd9725c1758eb89d332f06d56acb0fa86a
parentaba963cb98c6d9d42490262a39c3d383cfebc6a9
KVM: arm64: Remove extra argument for __pvkm_host_{share,unshare}_hyp()

__pvkm_host_share_hyp() and __pkvm_host_unshare_hyp() both have one
parameter, the pfn, not two. Even though correctness isn't impacted because
the SMCCC handlers pass the first argument and ignore the second one, let's
call the functions with the proper number of arguments.

Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://msgid.link/20251216103053.47224-4-alexandru.elisei@arm.com
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/mmu.c