🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #342

Re: [PATCH net] ptp: ocp: fix PCIe delay estimation calculation

#342
From: Vadim Fedorenko
Date: Wed, 07 Oct 2026 21:25
28 lines
6896 bytes
On 07/10/2026 21:44, netdev-bot+sinfo@kernel.org wrote:
> Hi!
> 
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
> 
>   - How the issue was discovered, e.g. hit in production, hit during
>     development, syzbot report, manual code inspection, LLM or static
>     analysis tool scan.
> 
>   - Whether the issue was actually triggered, or is only theoretical
>     (e.g. found by code inspection). If it was triggered please include
>     the symptoms, like the stack trace or error messages.
> 
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account. If the series needs another revision for
> other reasons, please include the information in the commit messages
> then.
> 
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.

The issue was hit in production (a negative value is observed):

# cat /sys/class/timecard/ocp0/ts_window_adjust
-3
Technical Details
Message-ID: <fcf0d6dd-c36e-460a-8c12-6f078f7d9ba3@linux.dev>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342551-linux-kernel-netdev=dewy.ru
References: <20261007203359.417270-1-vadim.fedorenko@linux.dev> <179140589723.2527009.3097475687199168486@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342551-linux-kernel-netdev=dewy.ru
From: vadim.fedorenko@linux.dev (Vadim Fedorenko)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] ptp: ocp: fix PCIe delay estimation calculation
Date: Wed, 7 Oct 2026 22:25:33 +0100
Organization: Usenet Network
Message-ID: <fcf0d6dd-c36e-460a-8c12-6f078f7d9ba3@linux.dev>
References: <20261007203359.417270-1-vadim.fedorenko@linux.dev>
 <179140589723.2527009.3097475687199168486@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="741955"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KU1aTrn1vPu2Xm7aLSdVN/zxg6A= sha256:XFGl5tw4xSoVZr+6ECR0Shmm2JZ4xCKAYyb4AFKR/Zw=
	sha1:J8IASNLkOw0eyu0MhcVr8+g/Evs= sha256:hl+eD9FOvgYjxIHYFCp5sznPc+hcjyRCYkuwFwwG8nA=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 9740A10F24E; Thu,  8 Oct 2026 00:25:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.dev
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jVpJ9ABb-G0r;
	Thu,  8 Oct 2026 00:25:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342551-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id D141C10F023; Thu,  8 Oct 2026 00:25:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 7CB3127289; Wed,  7 Oct 2026 21:25:47 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AECB73D9DD6;
	Wed,  7 Oct 2026 21:25:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pyUO9Gdj"
X-Received: from mta1.migadu.com (out-118.mta1.migadu.com [95.215.58.118])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72149370AD7
	for <netdev@vger.kernel.org>; Wed,  7 Oct 2026 21:25:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.118
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791408346; cv=none; b=uGxTc7/g6z+by+Q4vACCzMikYYSIeBVuzUFkw05zxlnk5+q41/bgliOZAc/4jvCANhdIB5VXwoFo0Mn2q2Jm9hTbU6VqOd9lge4xBYFvc/2ZBPUP1tqpiIOisUbFlyKA6RxWY4osr5p1eEutgU7F3pkuzTDfgQOEl+uTAIcziXg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791408346; c=relaxed/simple;
	bh=DXULOpRTxpLmHOeR+sswIpDcE/DrdAQBx/IP6UcQnJI=;
	h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:
	 In-Reply-To:Content-Type; b=Uto+fGjeVbhuFcOmwVnZk/rwO/uZ3IlPDRWQwuj+Ct5Ma03OQMATa7zoJSKcL36TT1FPlH4Ll5pd8dCGFTOA3Q5bCwfhYCMRuDuqFgko1U5wtZGH7VarzJph4Mz0j3XEjv7nh0tMWdOaWzizHZFFd6FDvuMJoEab84XNwznyiuA=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pyUO9Gdj; arc=none smtp.client-ip=95.215.58.118
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=DXULOpRTxpLmHOeR+sswIpDcE/DrdAQBx/IP6UcQnJI=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1791408342; v=1; x=1792013142;
 b=pyUO9GdjBEIM7lnRpwdA1WOZn6uqX0CbMdm6lAeJfPM4mm7CeBg28BCRGR4WsMXl7jpEBvPj
 zE2225llVAq3Er981atbQ1DcQe8C6VXkWapHw0CQTHx7jRBa8UKkF2gez2h1GAjVZbg3bCvF8em
 QxXbkD+O3WLhtMnQCBFi8zsI=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by smtp.migadu.com with ESMTPS id 71950cc7f1f25315;
	Wed, 07 Oct 2026 21:25:34 +0000
X-Mizu-Trace-ID: 71950cc7f1f25315
X-Migadu-Flow: FLOW_OUT
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-User-Agent: Mozilla Thunderbird
X-Cc: Richard Cochran <richardcochran@gmail.com>,
 Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller"
 <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>,
 Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
 netdev@vger.kernel.org
X-In-Reply-To: <179140589723.2527009.3097475687199168486@kernel.org>