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=1796387657; b=v8WSkiHhednPqL8pITYBiDqbhAe6A7tKdF9CPT62zwboKeAllqz/AtdYpBaiz8gDFjZZ yzA88utcduVpKp+XcFEvGOXcj5Y+0+RbsuCVZnJb34Bjwb0Km2lIjLQSA6lMMWYh4GnP/ O23mfhFsB1jpMqe2gyyZNNa/WtytHRDbvs31VUZ3sTe0+3Z1DPhSht6hB7Pl3v7e8TLFn 9ZXqK0AwrWcWROfy1NYRXgnPVM3sRuj03gAqjXzHXfr4RZUtNB6f8agOWHq+Hoy8KLY0S os15VhU98zN9dqUJPAopvhA4EzGWZnutV79TQWTzJBFQcMT2C1+aDW+h5wKpSCdx1Jg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796387657; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=tADwtZqEApPmFuJaE/YfeH4b637M5xzSzvmAImXoQlc=; b=A6X3SHmNH+GD7nuhqzjnuwCx+48BGLm3rzN6RjcKQD05z+2k+C3AvG5sWLjpco7ewYbe dRxxvxfVVvBnhRWWXnQprtWpfngEF4MtnwRj2mS2FT49FF9L4I/eMP/wliUmhjY2UjCLd mziHh4+hhdfQuD7tB3oYJpMcNLK+zynKlTD34gsA4axBB3KOrzIog8jUKnRLvfUCz4RM1 HPmGNF7bCqKJ6nnEk9K3An6oxyu0EBXcqdvFMM+QUSdrxfITdas9JVXzx3Ih+BJXTPV41 6hVsHSc+D+K4+hos3e8MohNThMjb2Aq+6WumH9ER8wgb8NvIirJe5hxEBO9tKxbhBJw== 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=eHi2d50D; 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 C18AD606A32C; Fri, 4 Dec 2026 12:34:17 +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=eHi2d50D Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D8251F000C2; Fri, 4 Dec 2026 12:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796387657; bh=tADwtZqEApPmFuJaE/YfeH4b637M5xzSzvmAImXoQlc=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=eHi2d50DGpbnfImAdzDI4UCIW1PhMJi3JthwlQTSWezroVCwqz5eQGz9/atT42TVx UqhVD2DIt6Rtxm/Qe8aj2jgUVH7qv2Vnr7R9jQaOKaz5CL7rYNtx6Bkodz5TkhzD+u oqDZH6yU1xdstCcMFwUyvJ1OIilOcLZGhC05yDXIVsdnBIlbfjbjAPm5Zz2A2ZR1X6 n5QWRHbys6hSc4bwZsqy56s9ufpZecwYNc79GpJ5v/m+sXRbpEVvlVvPxUSIVcncNd u5wiQT9UfCTxPDkpjAGbEPRS20CjNkkOspdNwz94sSqCLLr6R1e72P0PgThxNrsdlq 5peX13AiYRk1A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 08/10] KVM: s390: arm64: Enable SError injection Reply-To: sashiko-reviews@lists.linux.dev To: "Andreas Grapentin" Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-perf-users@vger.kernel.org, "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" In-Reply-To: <20261204-host-irq-v1-8-a8387ee8a380@linux.ibm.com> References: <20261204-host-irq-v1-0-a8387ee8a380@linux.ibm.com> <20261204-host-irq-v1-8-a8387ee8a380@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 12:34:16 +0000 X-Mailing-List: kvm@vger.kernel.org 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: s390: arm64: missing Return doc in kvm_inject_serror_esr() -- commit 6ed9dfe85ab1085bc1d412968b2749877826595b Author: Steffen Eiden KVM: s390: arm64: Enable SError injection This commit adds kvm_inject_serror_esr() to inject a virtual SError into an arm64 guest on s390 and re-syncs HCR_EL2.VSE on SAE exit. > diff --git a/arch/s390/kvm/arm64/inject_fault.c b/arch/s390/kvm/arm64/inj= ect_fault.c > index 33f40c5188c98..82c924c45a816 100644 > --- a/arch/s390/kvm/arm64/inject_fault.c > +++ b/arch/s390/kvm/arm64/inject_fault.c [ ... ] > @@ -80,3 +81,17 @@ void kvm_inject_sync(struct kvm_vcpu *vcpu, u64 esr) > pend_sync_exception(vcpu); > vcpu_write_sys_reg(vcpu, esr, ESR_EL1); > } > + > +/** > + * kvm_inject_serror_esr() - inject a virtual SError into the guest > + * @vcpu: The vCPU in which to inject the SError > + * @esr: The ESR ISS value describing the SError > + */ > +int kvm_inject_serror_esr(struct kvm_vcpu *vcpu, u64 esr) > +{ > + lockdep_assert_held(&vcpu->mutex); > + > + vcpu_write_host_sys_reg(vcpu, esr & ESR_ELx_ISS_MASK, SYS_VSESR_EL2); > + vcpu->arch.hcr_el2 |=3D HCR_EL2_VSE; > + return 1; > +} [Severity: Low] Should this kernel-doc comment include a Return: section? Since kvm_inject_serror_esr() returns int (always 1), omitting it triggers a kernel-doc warning under make W=3D2 (kernel-doc -Wall) and leaves the return value convention undocumented. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-host-irq-v= 1-0-a8387ee8a380@linux.ibm.com?part=3D8