From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796317663; b=5FAaQlksj45rkVb3kU3OYociTiOvsQON+f5gOkmFHZIvLwQq/fwTs+lulm6lfJDnteAo iAZ0Dc/O75Q4gt+i95pzVCgTDmxIBS5NmX/gaG0/DK+us8uOX0iTS9GpBDZAnjn7lv+qq w1XaUizK0k1Th9k4CYWXPK16GmMfyPcb/JIsZX+EUJATYSvPE15GVrODkfaoF0sCd0NCc 3Dj6iep6tywz5zuQdKtA/2M7CDuNaRTR9yyuJi5Fw7aghVYCE9LElVOXCUwmyq0oE3YAO PRe6uPNCRugEOTyM9vzDJdhdL1BA11jJQiE53OIxHfyAdVIs/d6g3YM9x83MMRQE44g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796317663; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=QjqxM/MzOiBg7810Ufm3noy34nLKCMDFnjZQ4qy3zCE=; b=thNr/PNuR5QgoBD0rTOsr0Er0yGSVVtIdmNyO8/jtPmVUJRSl2kdtsTsNlBjW3WyIfxa D8xTywmf6xf3A8soJwClJ9aP48CpcpRZFTLZgP4RAuEHua7BbijtUZueea/eWOk09yNfs Wzog2Sas6CeSybNRNzoI/pAKxLavdTyzb94ckBjCygyutYk6TjEijNyAw80TAW4Z0PeYA m/dAFViSCcJyduv41N3klvUDCudFZmrTi8eYtOPwe6Qm4wd8d+kUnNhlSMYIQE0iHZcAF cje8LgFdrmr2M6eXksA/kKYWug9QvSKgShacYW2HMiqfq7cOb0hHYl6cG6nV9+RtB9g== 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=Jfl+Kloc; 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 466DE606A334 for ; Thu, 3 Dec 2026 17:07:43 +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=Jfl+Kloc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EEC71F00936; Thu, 3 Dec 2026 17:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796317662; bh=QjqxM/MzOiBg7810Ufm3noy34nLKCMDFnjZQ4qy3zCE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Jfl+Kloc/OwNzW8bRaNNt58XmkK+QweFUvVzBKRRRiZjb9+NJ/zb4Q5SjO1fXJ2Xl tlOR9yeEj0+qWv/pqVlbaayTQIDo+FuzlkUEv9hgFw0QW12u6Zd3QxNdbkMnmj2RXH Ic8YTkUQiHW9Zh9Iw0RqQPlj2FzpKrvruLCVTQKVn08Wex15ppKn2yvYPQ+6rYC2rM sSpgocGFTJ1IsZsvLztD+XY8PucbBSMc77vWtutCNk+VH6qiKN7yLqfYlNz6XJHblW QRsD6JwaymMKRxj+tDV99hX0Rq4Ke1UYqpFbPcby3/K4pbIyHTZ9vdKl9PmwAdWEWQ EE2/gx1NBGVOw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 17/24] KVM: arm64: Add vcpu conduit for pkvm_hyp_req Reply-To: sashiko-reviews@lists.linux.dev To: "Vincent Donnefort" , kvmarm@lists.linux.dev Cc: "Oliver Upton" , "Marc Zyngier" In-Reply-To: <20261203115209.1690207-18-vdonnefort@google.com> References: <20261203115209.1690207-1-vdonnefort@google.com> <20261203115209.1690207-18-vdonnefort@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 17:07:42 +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: perf arm64_exception_types.h missing ARM_EXCEPTION_PKVM_HYP_REQ -- commit 430e724675738054bd2e1e50f9941d5eee114a81 Author: Vincent Donnefort KVM: arm64: Add vcpu conduit for pkvm_hyp_req This commit adds a per-vCPU pkvm_hyp_req conduit triggered via a new ARM_EXCEPTION_PKVM_HYP_REQ exit code so pKVM hypervisor requests can be handled in the normal vCPU exit path. > diff --git a/arch/arm64/include/asm/kvm_asm.h b/arch/arm64/include/asm/kv= m_asm.h > index 3efc63e1a8236..872185f9ac53b 100644 > --- a/arch/arm64/include/asm/kvm_asm.h > +++ b/arch/arm64/include/asm/kvm_asm.h > @@ -17,10 +17,11 @@ > #define ARM_EXCEPTION_IS_TRAP(x) (ARM_EXCEPTION_CODE((x)) =3D=3D ARM_EX= CEPTION_TRAP) > #define ARM_SERROR_PENDING(x) !!((x) & (1U << ARM_EXIT_WITH_SERROR_BIT= )) > =20 > -#define ARM_EXCEPTION_IRQ 0 > -#define ARM_EXCEPTION_EL1_SERROR 1 > -#define ARM_EXCEPTION_TRAP 2 > -#define ARM_EXCEPTION_IL 3 > +#define ARM_EXCEPTION_IRQ 0 > +#define ARM_EXCEPTION_EL1_SERROR 1 > +#define ARM_EXCEPTION_TRAP 2 > +#define ARM_EXCEPTION_IL 3 > +#define ARM_EXCEPTION_PKVM_HYP_REQ 4 > /* The hyp-stub will return this for any kvm_call_hyp() call */ > #define ARM_EXCEPTION_HYP_GONE HVC_STUB_ERR > =20 > @@ -28,6 +29,7 @@ > {ARM_EXCEPTION_IRQ, "IRQ" }, \ > {ARM_EXCEPTION_EL1_SERROR, "SERROR" }, \ > {ARM_EXCEPTION_TRAP, "TRAP" }, \ > + {ARM_EXCEPTION_PKVM_HYP_REQ, "PKVM_HYP_REQ" }, \ > {ARM_EXCEPTION_HYP_GONE, "HYP_GONE" } [Severity: Low] Should tools/perf/util/kvm-stat-arch/arm64_exception_types.h also be updated with ARM_EXCEPTION_PKVM_HYP_REQ? That header mirrors the ARM_EXCEPTION_* definitions and kvm_arm_exception_type for perf kvm stat on arm64. Without the new entry, get_exit_reason() in tools/perf/util/kvm-stat.c logs an unknown exit code error and aggregates ARM_EXCEPTION_PKVM_HYP_REQ exits under "UNKNOWN" when decoding kvm:kvm_exit events. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203115209.1690= 207-1-vdonnefort@google.com?part=3D17