linux-stable/drivers/net/phy
Horatiu Vultur de99e1ea3a net: phy: micrel: lan8814: Fix when enabling/disabling 1-step timestamping
There are 2 issues with the blamed commit.
1. When the phy is initialized, it would enable the disabled of UDPv4
   checksums. The UDPv6 checksum is already enabled by default. So when
   1-step is configured then it would clear these flags.
2. After the 1-step is configured, then if 2-step is configured then the
   1-step would be still configured because it is not clearing the flag.
   So the sync frames will still have origin timestamps set.

Fix this by reading first the value of the register and then
just change bit 12 as this one determines if the timestamp needs to
be inserted in the frame, without changing any other bits.

Fixes: ece1950283 ("net: phy: micrel: 1588 support for LAN8814 phy")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Divya Koppera <divya.koppera@microchip.com>
Link: https://lore.kernel.org/r/20240402071634.2483524-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-03 19:23:17 -07:00
..
aquantia net: phy: aquantia: add AQR813 PHY ID 2024-02-18 14:27:58 +00:00
mscc net: phy: extend PHY package API to support multiple global address 2023-12-17 20:10:07 +00:00
qcom net: phy: qcom: at803x: fix kernel panic with at8031_probe 2024-03-28 10:42:22 +01:00
Kconfig net: phy: marvell-88q2xxx: add support for temperature sensor 2024-02-21 14:56:59 -08:00
Makefile net: phy: move at803x PHY driver to dedicated directory 2024-01-31 16:25:16 -08:00
adin.c net: phy: adin: allow control of Fast Link Down 2023-11-29 19:49:38 -08:00
adin1100.c net: phy: adin1100: Add interrupt support for link change 2024-01-31 16:22:29 -08:00
amd.c net: phy: amd: Support the Altima AMI101L 2023-10-03 11:44:09 +02:00
ax88796b.c net: phy: fix regression with AX88772A PHY driver 2023-09-19 17:03:44 +02:00
ax88796b_rust.rs net: phy: add Rust Asix PHY driver 2023-12-15 09:35:50 +00:00
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: Add support for setting LED brightness 2023-06-09 10:38:43 +01:00
bcm-phy-lib.h net: phy: broadcom: Add support for setting LED brightness 2023-06-09 10:38:43 +01:00
bcm-phy-ptp.c net: partial revert of the "Make timestamping selectable: series 2023-11-18 18:42:37 -08:00
bcm7xxx.c net: phy: bcm7xxx: Add missing 16nm EPHY statistics 2023-10-18 18:13:13 -07:00
bcm63xx.c
bcm87xx.c net: phy: fill in missing MODULE_DESCRIPTION()s 2023-11-01 21:50:56 -07:00
bcm54140.c net: phy: extend PHY package API to support multiple global address 2023-12-17 20:10:07 +00:00
bcm84881.c net: phy: bcm84881: fill in possible_interfaces 2023-11-27 18:04:12 -08:00
broadcom.c net: phy: provide whether link has changed in c37_read_status 2024-02-10 15:36:19 +00:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83td510.c net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver 2023-06-22 19:43:55 -07:00
dp83tg720.c net: phy: Add support for the DP83TG720S Ethernet PHY 2023-12-13 18:01:08 -08:00
dp83640.c net: partial revert of the "Make timestamping selectable: series 2023-11-18 18:42:37 -08:00
dp83640_reg.h
dp83822.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-03-11 20:38:36 -07:00
dp83848.c
dp83867.c net: phy: dp83867: Add support for active-low LEDs 2024-02-02 10:12:21 +00:00
dp83869.c net: phy: dp83869: support mii mode when rgmii strap cfg is used 2023-05-09 11:57:53 +02:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
linkmode.c
lxt.c
marvell-88q2xxx.c net: phy: marvell-88q2xxx: move interrupt configuration 2024-02-21 14:57:00 -08:00
marvell-88x2222.c net: phy: marvell-88x2222: Remove unused of_gpio.h 2024-03-11 13:46:01 -07:00
marvell.c net: phy: marvell: add comment about m88e1111_config_init_1000basex() 2024-03-07 20:48:51 -08:00
marvell10g.c Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -08:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h
mdio_bus.c net: mdio_bus: Remove unused of_gpio.h 2024-03-11 13:45:12 -07:00
mdio_device.c net: phy: mdio_device: Reset device only when necessary 2023-11-30 23:11:21 -08:00
mdio_devres.c net: fill in MODULE_DESCRIPTION()s for mdio_devres 2024-02-15 08:03:46 -08:00
mediatek-ge-soc.c net: phy: mediatek-ge-soc: sync driver with MediaTek SDK 2024-01-25 17:34:57 -08:00
mediatek-ge.c net: phy: add driver for MediaTek SoC built-in GE PHYs 2023-06-12 11:55:04 +01:00
meson-gxl.c
micrel.c net: phy: micrel: lan8814: Fix when enabling/disabling 1-step timestamping 2024-04-03 19:23:17 -07:00
microchip.c
microchip_t1.c
microchip_t1s.c net: phy: microchip_t1s: add support for Microchip LAN865x Rev.B0 PHYs 2023-05-30 11:49:55 +02:00
mii_timestamper.c
motorcomm.c net: phy: motorcomm: Add pad drive strength cfg support 2023-07-24 10:36:45 +01:00
mxl-gpy.c net: phy: mxl-gpy: fill in possible_interfaces for GPY21x chipset 2024-02-21 14:34:05 -08:00
national.c
ncn26000.c
nxp-c45-tja11xx-macsec.c net: phy: nxp-c45-tja11xx: implement mdo_insert_tx_tag 2023-12-27 13:08:10 +00:00
nxp-c45-tja11xx.c net: phy: nxp-c45-tja11xx: add MACsec support 2023-12-27 13:08:10 +00:00
nxp-c45-tja11xx.h net: phy: nxp-c45-tja11xx: add MACsec support 2023-12-27 13:08:10 +00:00
nxp-cbtx.c net: phy: add basic driver for NXP CBTX PHY 2023-04-21 20:04:09 -07:00
nxp-tja11xx.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
phy-c45.c net: phy: Immediately call adjust_link if only tx_lpi_enabled changes 2024-03-05 19:21:17 -08:00
phy-core.c net: phy: add support for PHY package MMD read/write 2023-12-17 20:10:07 +00:00
phy.c net: phy: simplify a check in phy_check_link_status 2024-03-11 13:46:27 -07:00
phy_device.c net: phy: fix phy_read_poll_timeout argument type in genphy_loopback 2024-03-19 16:09:34 +01:00
phy_led_triggers.c
phylink.c ethtool: replace struct ethtool_eee with a new struct ethtool_keee on kernel side 2024-01-31 12:30:47 +00:00
qsemi.c
realtek.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-02-22 15:29:26 -08:00
rockchip.c
sfp-bus.c net: sfp-bus: fix SFP mode detect from bitrate 2024-01-16 17:49:49 -08:00
sfp.c net: sfp: fix PHY discovery for FS SFP-10G-T module 2023-12-25 06:20:14 +00:00
sfp.h net: sfp: Remove unused function declaration sfp_link_configure() 2023-08-07 08:53:55 +01:00
smsc.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
spi_ks8995.c
ste10Xp.c
stubs.c net: phy: provide phylib stubs for hardware timestamping operations 2023-08-02 19:11:06 -07:00
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c net: phy: constify phydev->drv 2024-02-06 12:44:40 +01:00