[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a23a584-0aac-4c6a-bca4-3e220607cae6@redhat.com>
Date: Wed, 28 May 2025 09:21:52 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
donald.hunter@...il.com, kuba@...nel.org, davem@...emloft.net,
edumazet@...gle.com, horms@...nel.org, vadim.fedorenko@...ux.dev,
jiri@...nulli.us, anthony.l.nguyen@...el.com, przemyslaw.kitszel@...el.com,
andrew+netdev@...n.ch, aleksandr.loktionov@...el.com,
milena.olech@...el.com, corbet@....net
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
intel-wired-lan@...ts.osuosl.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH net-next v4 0/3] dpll: add all inputs phase offset monitor
On 5/23/25 5:42 PM, Arkadiusz Kubalewski wrote:
> Add dpll device level feature: phase offset monitor.
>
> Phase offset measurement is typically performed against the current active
> source. However, some DPLL (Digital Phase-Locked Loop) devices may offer
> the capability to monitor phase offsets across all available inputs.
> The attribute and current feature state shall be included in the response
> message of the ``DPLL_CMD_DEVICE_GET`` command for supported DPLL devices.
> In such cases, users can also control the feature using the
> ``DPLL_CMD_DEVICE_SET`` command by setting the ``enum dpll_feature_state``
> values for the attribute.
>
> Implement feature support in ice driver for dpll-enabled devices.
>
> Verify capability:
> $ ./tools/net/ynl/pyynl/cli.py \
> --spec Documentation/netlink/specs/dpll.yaml \
> --dump device-get
> [{'clock-id': 4658613174691613800,
> 'id': 0,
> 'lock-status': 'locked-ho-acq',
> 'mode': 'automatic',
> 'mode-supported': ['automatic'],
> 'module-name': 'ice',
> 'type': 'eec'},
> {'clock-id': 4658613174691613800,
> 'id': 1,
> 'lock-status': 'locked-ho-acq',
> 'mode': 'automatic',
> 'mode-supported': ['automatic'],
> 'module-name': 'ice',
> 'phase-offset-monitor': 'disable',
> 'type': 'pps'}]
>
> Enable the feature:
> $ ./tools/net/ynl/pyynl/cli.py \
> --spec Documentation/netlink/specs/dpll.yaml \
> --do device-set --json '{"id":1, "phase-offset-monitor":"enable"}'
>
> Verify feature is enabled:
> $ ./tools/net/ynl/pyynl/cli.py \
> --spec Documentation/netlink/specs/dpll.yaml \
> --dump device-get
> [
> [...]
> {'capabilities': {'all-inputs-phase-offset-monitor'},
> 'clock-id': 4658613174691613800,
> 'id': 1,
> [...]
> 'phase-offset-monitor': 'enable',
> [...]]
I'm sorry, even if this has been posted (just) before the merge window,
I think an uAPI extension this late is a bit too dangerous, please
repost when net-next reopen after the merge window.
Thanks,
Paolo
Powered by blists - more mailing lists