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=1796221577; b=p31vN0BbOzi9/eJ31n7UzyyR3ZpyI8rYbz6ssAeG0ZmWr/EWV5pibhtuL89F74eK+0Ln G4DxOEE7HE3UU6kilkJlKwqGNY1vKLqXqAkTnfaReSXJtDa5g9TXGh/0puPXbxkMNFJpc Owc1moKWvxzAzc+dxtLG7EPmQ2EQMTiMtconRI7/YK4hR1gqHORgPUYWf1Y2cMYoE2ZUs pEDP1H+01WvFqwZq53mJAB0+88tso8etWG5wmiSja6ipq3zkVRr2P8+6udU83Bt3KdpS1 V+NcSpS1IL4Dy9ElWt0xtFfQqRwusRphM2KjYUO2KL6f1FTNcTJaTXX9DYGN97CZ1/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796221577; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Hoho4mo3GYsmaUswChvH2Io1fe+RC2ZhLaqeVgM3ztk=; b=e/FxTNgiJRguAx0UDY3Ertdj5Tfs4ovQ4dA5drKCAr/gVHDm7X2m9C1Us6qRcaPl24Vn eowGgvotqk1IQU2WP2Leyu6zXjG7F68Ios2TG1rlL4B82P2dFsY17vwiMo3dqYiW05ah5 vZkg1KBWK7R44K0uYP90Lz1zS+XnyFthM/3IN8GHOJFbqbbDNVFpCxlpnhpTiFY7NXR6L ehzQIOhviKwCPsctuRUBVXcy8sV77uYqEKm64CEBEIlNQfbcuCT+zKSsqwoneR3xvexv7 A3KieKFIsi2ps6vEMD0Pkoxgo2A0Ih9ZFq9Ckoab17fikJ99y1bj7VvDpTN9VyrDxMw== 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=E8DJ7iGq; 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 0C34D606A323; Wed, 2 Dec 2026 14:26:16 +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=E8DJ7iGq Received: by smtp.kernel.org (Postfix) with ESMTPSA id C272D1F00927; Wed, 2 Dec 2026 14:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796221576; bh=Hoho4mo3GYsmaUswChvH2Io1fe+RC2ZhLaqeVgM3ztk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=E8DJ7iGqhfvIDHYNbrZB1xRGufI6k/6tD9fvXV80wUmAZcFbyetugt0N6eM2xILxM fWpVg3+9C1zvycX5cXxVxVbryYd6+yACHa6XhrA7DoHP3o3EZfXo/cBzyCynr3Swwk ypq3gqIRALc+XP0Cx0jaPCE81zLrqVFVdWiXrA3Z9Oi7AtJbQj87yh0xZe9ysund5U Aqk/0oWqng2AzdpPKVynWddMWkRKKSbaHF5iyQCEPcB56DqSrcBMoTQEsXo8BQl4fi xnOkKdWaDm6P+DBKosdrvum3hWb4IydlY2kKG/a3E4YW4ozmcuJGFHYmkkqyB4pbgg eXFuGN71ya2aQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 09/12] KVM: s390: arm64: Provide timer infrastructure Reply-To: sashiko-reviews@lists.linux.dev To: "Steffen Eiden" Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-s390@vger.kernel.org, "Oliver Upton" , "Marc Zyngier" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" In-Reply-To: <20261202-smccc-v1-9-48340e2737b6@linux.ibm.com> References: <20261202-smccc-v1-0-48340e2737b6@linux.ibm.com> <20261202-smccc-v1-9-48340e2737b6@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 14:26:14 +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: s390: arm64: duplicate CNTFRQ_EL0 read in kvm_timer_vcpu_init() -- commit 3f84c2d2b67205dc8582a4940d22e1a2782707bb Author: Gautam Gala KVM: s390: arm64: Provide timer infrastructure This commit adds virtual and physical architected timer support for arm64 guests on s390 by building the shared arm64 arch_timer.c with s390-specific backends. > diff --git a/arch/s390/kvm/arm64/arch_timer.c b/arch/s390/kvm/arm64/arch_= timer.c > new file mode 100644 > index 0000000000000..f5b486afc2ad7 > --- /dev/null > +++ b/arch/s390/kvm/arm64/arch_timer.c > @@ -0,0 +1,224 @@ [ ... ] > +void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu) > +{ > + u64 cntfrq_el0 =3D kvm_qaaf_read_ftr_reg(SYS_CNTFRQ_EL0); > + struct arch_timer_cpu *timer =3D vcpu_timer(vcpu); > + > + cntfrq_el0 =3D kvm_qaaf_read_ftr_reg(SYS_CNTFRQ_EL0); > + if (cntfrq_el0 !=3D HZ_PER_GHZ) > + pr_warn_once( > + "CNTFRQ_EL0 is %llu Hz. KVM expects 1GHz. Wakeups may arrive early or= late.", > + cntfrq_el0); [Severity: Low] cntfrq_el0 is initialized from kvm_qaaf_read_ftr_reg(SYS_CNTFRQ_EL0) and immediately overwritten with a second identical call. Also, the pr_warn_once() format string is missing a trailing newline. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202-smccc-v1-0= -48340e2737b6@linux.ibm.com?part=3D9