Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796305589; b=m1+m3p2KBktDJeNBFQPW7oeO9zdV6ljB3ymbSX2dYPpTs9QS9D762c8eVAknQddNMpDw aXuhf/vp9TTf9HHbIohoxmtf44otvPBwlJvgSVOMCF3PNUGtu/U7o0td9A4tTPpXjewxp XVMFJyr96gplkmab9EI1gUx8p8IcHKrC4FIYi5GUOHKNCelU12DTB/9zTqExkxpbr8b1n EE/DdynsTfyymYwux8R+2Cnios61v4RUd74JGZpooNBJitq99G8Q61Ho0AGYXroc/XwcO JA75fG6CvBq/bPUz04gOnnofzFQiJw5dYBmr1829sUHHGSulVhn95Pz7I2biWi6pN8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796305589; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=0mgOm/QfIUx+fOIeZt+RkfNtA9Vr7C2Eli0ANal9qeU=; b=r/cqY62eSEgMLB+jyFRVqSL6UxQwhNdPpIvqo4SVuvAeUMNEOtzvioi2z+aJcreMf18k ij2tfwoBqcHaS1NoiwF8y4AyxvUIl2km9w3hmBdftrPzkRkdMvpSZ59VEvqDkiZwbeR9T HEm9GIL+XlH8XSm7ymGQ/ZySwgR5tYv59wgyC+CoJ1oo5bKfotiFCcKZwMWuMpJUl6D28 drIYHD0Zs+f+EJqrcPV4mx+hgi58T/ICexLUCGIczIPEVyj4HMLoZ1BKPuC6SIUuf9qQA rCGGg+YpiH9HBC3rLZosNfi0pmnQA6hZ3VATCr8vMSj2oxzJEtN4VGOYFxeUncTBmYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AxmxwSmX; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 562D4606A322 for ; Thu, 3 Dec 2026 13:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AxmxwSmX Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9C601F00893; Thu, 3 Dec 2026 13:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796305588; bh=0mgOm/QfIUx+fOIeZt+RkfNtA9Vr7C2Eli0ANal9qeU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AxmxwSmXU/eDYA1bJWjbNTjyJKJUcTtLkrWwdwIeUZepmq3SOJxhBfU78ANfBAkP5 gSbVuzSBSqCNnzihl6lTOfB5pEMwBQJSW7bZDRsHeZwqF4gkCeteZk5vvnW5TlxMV1 dW36+lC2w+td0rUB1z2nYZxC82pD396K03GEX0Af4l5CsXwYz0dH5A6zgvKeolprVC oYaqmJ78tSPqh6H8dFeBOPZpUGZhPP5pa6ygmNJqvKfSjiZLR+Fh1mKBVkswtfwsPV wi+/G3bOWY8rFhwwPxqOzyLELKVcUkRYzMlnE12zUOzGrpDwoRZbasqFEUmRQMuDCP nER1L0XX4INew== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 07/24] KVM: arm64: Add a range to __pkvm_host_share/unshare_hyp() Reply-To: sashiko-reviews@lists.linux.dev To: "Vincent Donnefort" , kvmarm@lists.linux.dev Cc: "Oliver Upton" , "Marc Zyngier" In-Reply-To: <20261203115209.1690207-8-vdonnefort@google.com> References: <20261203115209.1690207-1-vdonnefort@google.com> <20261203115209.1690207-8-vdonnefort@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 13:46:28 +0000 X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] KVM: arm64: commit message says hypercalls gain range while ABI stays 1 page -- commit 43a888e5880d5dd8131f2b84615fc229cfac4c11 Author: Vincent Donnefort KVM: arm64: Add a range to __pkvm_host_share/unshare_hyp() This commit adds an nr_pages parameter to __pkvm_host_share_hyp() and __pkvm_host_unshare_hyp() in mem_protect.c and updates existing callers to pass 1. > Nothing prevents the host/hyp sharing transition from working on a > range. In preparation for testing huge mappings with the pKVM ownership > selftest, add a range to these hypercalls to allow them to be tested > just like the others without any special case. [Severity: Low] Should this refer to the EL2 helpers rather than the hypercalls? The host-to-hyp hypercall ABI in arch/arm64/include/asm/kvm_hcall.h still takes only pfn, and the handlers in arch/arm64/kvm/hyp/nvhe/hyp-main.c hardcode nr_pages to 1. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203115209.1690= 207-1-vdonnefort@google.com?part=3D7