Article View: linux.kernel.netdev
Article #14453Re: [PATCH net-next v3 01/14] dpll: dpllsim: Add simulated DPLL device driver
From: netdev-bot+sashiko
Date: Wed, 11 Nov 2026 09:37
Date: Wed, 11 Nov 2026 09:37
59 lines
10434 bytes
10434 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The commit message says configfs was chosen partly because
"Unlike sysfs, configfs does not imply a stable ABI, which suits aโฆ
--
dpll: dpllsim: Add simulated DPLL device driver
This commit adds dpllsim, a driver that provides simulated DPLL devices
for testing the DPLL subsystem without real hardware. Userspace creates
instances through configfs under /sys/kernel/config/dpllsim/, sets a
clock_id and writes 1 to live to register the device with the DPLL core.
The device registers as a PPS type DPLL with only the mode_get and
lock_status_get callbacks.
> Keeping registration separate from creation lets a test register and
> unregister the same device repeatedly, which is where the core bugs the
> driver is meant to catch tend to live, and it allows the structural
> attributes to be refused with EBUSY while the device is visible to
> userspace. Unlike sysfs, configfs does not imply a stable ABI, which
> suits a driver whose knobs exist only to drive tests.
[Severity: Low]
Is this statement about configfs accurate?
The kernel has no ABI exemption for configfs. Its attributes are
user-visible interfaces and fall under the same no-regression rule as
sysfs.
The tree already documents configfs interfaces as ABI in:
Documentation/ABI/testing/configfs-most
Documentation/ABI/testing/configfs-thunderbolt_stream
Documentation/ABI/testing/configfs-tsm-report
Neither Documentation/filesystems/configfs.rst nor Documentation/ABI/README
makes an exception for configfs.
The selftests in this series will use the layout added here,
/sys/kernel/config/dpllsim/<dev>/{clock_id,live}, which later patches extend
with pins/<pin>/{type,frequency,direction,prio}. External tooling may use it
too. After that, renaming or changing these attributes would break
userspace.
The layout is currently documented only in
Documentation/driver-api/dpllsim.rst. There is no Documentation/ABI entry
and no note saying the interface is unstable or for testing only.
Could the claim be dropped from the commit message, or the interface be
documented under Documentation/ABI/testing/?
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261109093523.931201-1-poros%40redhat.com
Technical Details
Message-ID:
<179438985979.2199510.15412273141557409959@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360948-linux-kernel-netdev=dewy.ruReferences:
<20261109093523.931201-2-poros@redhat.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360948-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 01/14] dpll: dpllsim: Add simulated DPLL device driver Date: Wed, 11 Nov 2026 09:37:39 +0000 Organization: Usenet Network Message-ID: <179438985979.2199510.15412273141557409959@kernel.org> References: <20261109093523.931201-2-poros@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="820739"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Jhsk+NrJ1FA9YnMqOgEan6kEDm4= sha256:M+tJLrduwGwDiOHaUumN/TwwfMP1f+PeDRssUN+VM1g= sha1:uKMnW88Zdf2VPCUp9D14V/tY/UE= sha256:BvEkNk1BcnPVYdGqZD5zYGfWgA3MWlqizvhaToBey1s= 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 96B25113E7A; Wed, 11 Nov 2026 12:39:11 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.4 X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (2048-bit key) header.d=kernel.org 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 jc5vXqhvWWkF; Wed, 11 Nov 2026 12:39:08 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360948-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id AE2A1113E79; Wed, 11 Nov 2026 12:38:59 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 8DCF166909; Wed, 11 Nov 2026 09:37:56 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794389867; b=XfkVrxDJyygvW+nDgkXW/9uVXnJeKssOEfK+A3NDivjCFw1V/kTlmre0EYHEdW+12ZCm DHgAVC+qCONmsa9GLoQReTwPi7lwPT3KrFs/6agpRqPNslD0081lDi5atj5YSb4fvqICq 8EvI0mdygcp0LLdcljHfaUomhTiYk1ZRV/83wbYU78CBLn4Qr1UE6r0BsXVqNUDDaawgZ oruMzHsv7BNj7dRRklxPPHBOCBaclIGehDx5RMP68hFUMbUIuvjqVSntaG91xNEKncv2M f+gKCb9irar5RR+VAXZBjcrOG9VGtY7XBh280TqR36BBmPOvNzmz1Eif+Ho/XuSxSEQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794389867; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=nnXnf7y1PhveoLpCg+02OBOmFeyqhtp88iWcIsSbdDc=; b=H9CiT18Wy/Gi1ZPpvDovzVSG4lSbb9Tr9bgHTq3nLypYA3C8gkOdgDNMRn+4rmY5i+fW mNmO988t7ly+bzHO+S8KnTKH+gXF2uBD8xrq0kZplsFZrGtRtdP+t3A2+sDLXA+DrR8r4 fsw5VCV5EE+4nAxt+s8vaobwuYe5BAWb9aYYpfTibK7veUk+h7ZRiK40oaZAng7fjzvMG 3+1P81KXPOEpEjDV3zxpIKfNiZ0PQILd9JjyQ726gj5NmVFD6zI66JaPSkQ6+jRepcPEw t8O9j0UZnL+MWJGHJtzmgclmEhGSfTKPW2AcId1ss0ftjmGTzVENN/gy3YPFdgfL3cg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nkjsJEtv; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9564860A260C; Wed, 11 Nov 2026 09:37:47 +0000 (UTC) X-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=nkjsJEtv X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794389861; b=NoaDeK+OT50J6/xxTSxYkS79oUi0DFQahHVG4fRTt3HbnTzszOfXgeKmcdSAnZ3ysY4C fsROQ4/TKdjhg9WJ61dQM6CoSTWOrvDu1x+/YGCvDh0uwLDGkgsH0QzGqRWguc7cqGQQY pmnU3y8E4C4nfvY8zOo049nQbQ6t3U6oefT1MYtLfttQJHnwHdoydwuBYWjAponHnygXS HYtGHfFeK8DXeP5HGsJc1X8EH9Sg8zA+6pi0X3d1GMzTkNZCozLLX3HQ7VbtP34A7R4tm C1E0Q4S8cW8ITaKTPp2bawUoQHskrmD6dRMsePA5Q7xe+GHW345z54qnAwhtspn42+w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794389861; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=nnXnf7y1PhveoLpCg+02OBOmFeyqhtp88iWcIsSbdDc=; b=tmMKoiXLTGFTGA1FvYTa7IAXE1w5olD3d2fma3a1CbhvVYAoVUzI75AdrMPWUtyQ+mQK +qMF9l+OkhliLz/R8gJSqU+kkYu1bJZk5RfvS/CQdWh2ae78EBERhSF0Li9CeHtB5e34c hImrY3PtJICi1hhR5wncMFAnUXo6s2mEYh3qq6boK7AmFV9SVJT8gA90fFCa0/gkrEI5W 7ILsU8O/ZcgnbuTWtBuJp3uiB9oGSSd5ChgY+c1kp9evnLqvjzQp0W0aIW/24j4ZYFN07 cLxaUgGfWrqUmO3X2s3rxCt9KMeVx6Q4796zB0qq1ZHrOhzqJ94UuGvb4Qi43ws36Jw== X-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=nkjsJEtv; arc=none smtp.remote-ip=100.103.45.18 X-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 B32DF606A31C; Wed, 11 Nov 2026 09:37:41 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 468AF1F00A05; Wed, 11 Nov 2026 09:37:40 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794389861; bh=nnXnf7y1PhveoLpCg+02OBOmFeyqhtp88iWcIsSbdDc=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=nkjsJEtvfVlzfinnaA9/WA2KaQ0FfUbPigA2eQLesbpUeUeewvuZxWrLNv6VOe/Zi 979hO6ET/mprcOx0suJozkL53ZRnqRoKSkJoIhz7lhEdvl9m3aBRla8c6OaveCCTyd WdikiYVnYekWNhADRJ/0fRd+CHBIqT9JgNLeYhs8v6gIEcFnoceEj6BbRYE4j3w09F YUZWKYAj/KlRw3IpXWf8grMO8fQUxTAPBwF65YeocoMHRz6cYgWePGrSW53q8PBMkr Ov3dSfS/JoNOhHKGm7N+ee6fJRdJh0hkMuHCtBSsXshQGkqByx8zJnc2X7lkc5d/Yv Pm8YhC6BwZMfA== X-Cc: netdev@vger.kernel.org, ivecera@redhat.com, jiri@nvidia.com, corbet@lwn.net, skhan@linuxfoundation.org, shuah@kernel.org, rdunlap@infradead.org, jani.nikula@intel.com, vadim.fedorenko@linux.dev, arkadiusz.kubalewski@intel.com, jiri@resnulli.us, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org X-In-Reply-To: <20261109093523.931201-2-poros@redhat.com> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list