[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240828181219.3965579-1-vadfed@meta.com>
Date: Wed, 28 Aug 2024 11:12:16 -0700
From: Vadim Fedorenko <vadfed@...a.com>
To: Vadim Fedorenko <vadim.fedorenko@...ux.dev>,
Jakub Kicinski
<kuba@...nel.org>,
Jonathan Lemon <jonathan.lemon@...il.com>,
Jiri Slaby
<jirislaby@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Vadim Fedorenko <vadfed@...a.com>, <netdev@...r.kernel.org>
Subject: [PATCH net v6 0/3] ptp: ocp: fix serial port information export
Starting v6.8 the serial port subsystem changed the hierarchy of devices
and symlinks are not working anymore. Previous discussion made it clear
that the idea of symlinks for tty devices was wrong by design [1].
This series implements additional attributes to expose the information
and removes symlinks for tty devices.
[1] https://lore.kernel.org/netdev/2024060503-subsonic-pupil-bbee@gregkh/
v5 -> v6:
- split conversion to array to separate patch per Jiri's feedback
- move changelog to cover letter
v4 -> v5:
- remove unused variable in ptp_ocp_tty_show
v3 -> v4:
- re-organize info printing to use ptp_ocp_tty_port_name()
- keep uintptr_t to be consistent with other code
v2 -> v3:
- replace serial ports definitions with array and enum for index
- replace pointer math with direct array access
- nit in documentation spelling
v1 -> v2:
- add Documentation/ABI changes
Vadim Fedorenko (3):
ptp: ocp: convert serial ports to array
ptp: ocp: adjust sysfs entries to expose tty information
docs: ABI: update OCP TimeCard sysfs entries
Documentation/ABI/testing/sysfs-timecard | 31 +++--
drivers/ptp/ptp_ocp.c | 168 ++++++++++++++---------
2 files changed, 119 insertions(+), 80 deletions(-)
--
2.43.5
Powered by blists - more mailing lists