mirror-linux/drivers/net/phy
Russell King (Oracle) 1942b1c6f6 net: phylink: make configuring clock-stop dependent on MAC support
We should not be configuring the PHYs clock-stop settings unless the
MAC supports phylink managed EEE. Make this dependent on MAC support.

This was noticed in a suspicious RCU usage report from the kernel
test robot (the suspicious RCU usage due to calling phy_detach()
remains unaddressed, but is triggered by the error this was
generating.)

Fixes: 03abf2a7c6 ("net: phylink: add EEE management")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1tgjNn-003q0w-Pw@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-11 16:08:34 -08:00
..
aquantia net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
mediatek net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
mscc net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
qcom net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
realtek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-01-21 10:24:33 +01:00
Kconfig net: phy: move realtek PHY driver to its own subdirectory 2025-01-14 14:51:32 -08:00
Makefile net: phy: move realtek PHY driver to its own subdirectory 2025-01-14 14:51:32 -08:00
adin.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
adin1100.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
air_en8811h.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
amd.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ax88796b.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ax88796b_rust.rs rust: net::phy unified read/write API for C22 and C45 registers 2024-08-30 10:27:35 +01:00
bcm-cygnus.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm-phy-lib.c net: phy: broadcom: use genphy_c45_an_config_eee_aneg in bcm_config_lre_aneg 2024-11-07 20:31:06 -08:00
bcm-phy-lib.h net: phy: bcm-phy-lib: Implement BroadR-Reach link modes 2024-07-14 20:38:35 -07:00
bcm-phy-ptp.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
bcm7xxx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm63xx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm87xx.c
bcm54140.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm84881.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
broadcom.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
cicada.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
cortina.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
davicom.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83tc811.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83td510.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83tg720.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83640.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83640_reg.h
dp83822.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83848.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83867.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83869.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
et1011c.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
fixed_phy.c
icplus.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
intel-xway.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
linkmode.c
lxt.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
marvell-88q2xxx.c net: phy: marvell-88q2xxx: Fix temperature measurement with reset-gpios 2025-01-23 09:55:06 +01:00
marvell-88x2222.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
marvell.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
marvell10g.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h
mdio_bus.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
mdio_device.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
mdio_devres.c
meson-gxl.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
micrel.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
microchip.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
microchip_rds_ptp.c net: phy: microchip_rds_ptp : Add PEROUT feature library for RDS PTP supported Microchip phys 2025-01-16 17:27:57 -08:00
microchip_rds_ptp.h net: phy: microchip_rds_ptp: Header file library changes for PEROUT 2025-01-16 17:27:56 -08:00
microchip_t1.c net: phy: microchip_t1: Enable pin out specific to lan887x phy for PEROUT signal 2025-01-16 17:27:56 -08:00
microchip_t1s.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
mii_timestamper.c
motorcomm.c net: phy: Add driver for Motorcomm yt8821 2.5G ethernet phy 2024-09-05 15:21:12 +02:00
mxl-gpy.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
national.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ncn26000.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
nxp-c45-tja11xx-macsec.c
nxp-c45-tja11xx.c net: phy: c45-tjaxx: add delay between MDIO write and read in soft_reset 2025-01-27 15:02:51 -08:00
nxp-c45-tja11xx.h net: phy: c45-tja11xx: add support for outputting RMII reference clock 2024-10-15 10:44:52 +02:00
nxp-cbtx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
nxp-tja11xx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
open_alliance_helpers.c phy: Add Open Alliance helpers for the PHY framework 2024-08-16 10:16:26 -07:00
open_alliance_helpers.h phy: Add Open Alliance helpers for the PHY framework 2024-08-16 10:16:26 -07:00
phy-c45.c net: phy: remove genphy_c45_eee_is_active()'s is_enabled arg 2024-12-06 17:47:31 -08:00
phy-core.c net: phy: convert eee_broken_modes to a linkmode bitmap 2024-11-14 18:01:37 -08:00
phy.c net: phy: add support for querying PHY clock stop capability 2025-01-16 17:22:59 -08:00
phy_device.c net: phy: remove leftovers from switch to linkmode bitmaps 2025-01-18 17:40:10 -08:00
phy_led_triggers.c
phy_link_topology.c net: phy: Introduce ethernet link topology representation 2024-08-23 13:04:34 +01:00
phylink.c net: phylink: make configuring clock-stop dependent on MAC support 2025-02-11 16:08:34 -08:00
qsemi.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
qt2025.rs net: phy: qt2025: Fix warning: unused import DeviceId 2024-10-02 17:44:00 -07:00
rockchip.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
sfp-bus.c net: sfp: Add helper to return the SFP bus name 2024-08-23 13:04:34 +01:00
sfp.c net: sfp: change quirks for Alcatel Lucent G-010S-P 2024-10-21 10:33:22 +02:00
sfp.h
smsc.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
spi_ks8995.c net: phy: ks8995: constify 'struct bin_attribute' 2024-12-17 19:00:44 -08:00
ste10Xp.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
stubs.c
swphy.c
swphy.h
teranetics.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
uPD60620.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
vitesse.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
xilinx_gmii2rgmii.c net: phy: xilinx-gmii2rgmii: Adopt clock support 2024-05-29 13:10:57 +01:00