linux-stable/drivers/net/phy
Andre Werner 3419ee39e3 net: phy: phy_device: Prevent nullptr exceptions on ISR
[ Upstream commit 61c8187281 ]

If phydev->irq is set unconditionally, check
for valid interrupt handler or fall back to polling mode to prevent
nullptr exceptions in interrupt service routine.

Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240129135734.18975-2-andre.werner@systec-electronic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 13:09:57 +02:00
..
aquantia net: phy: aquantia: switch to crc_itu_t() 2024-01-04 13:14:31 -08:00
mscc net: phy: extend PHY package API to support multiple global address 2023-12-17 20:10:07 +00:00
adin.c net: phy: adin: allow control of Fast Link Down 2023-11-29 19:49:38 -08:00
adin1100.c
amd.c net: phy: amd: Support the Altima AMI101L 2023-10-03 11:44:09 +02:00
at803x.c net: phy: qcom: at803x: fix kernel panic with at8031_probe 2024-04-03 15:32:41 +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
bcm-phy-lib.h
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: broadcom: Wire suspend/resume for BCM54612E 2023-11-17 02:45:47 +00:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83td510.c
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 net: phy: dp83822: Fix RGMII TX delay configuration 2024-03-26 18:16:56 -04:00
dp83848.c
dp83867.c net: phy: dp83867: Add support for hardware blinking LEDs 2023-10-06 11:38:19 +01:00
dp83869.c
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
Kconfig net: phy: nxp-c45-tja11xx: add MACsec support 2023-12-27 13:08:10 +00:00
linkmode.c
lxt.c
Makefile Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -08:00
marvell-88q2xxx.c
marvell-88x2222.c Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -08:00
marvell.c Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -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: add refcounting for fwnodes to mdiobus 2024-01-04 11:24:55 +00: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
meson-gxl.c
micrel.c net: phy: micrel: Fix potential null pointer dereference 2024-04-10 16:38:05 +02:00
microchip.c
microchip_t1.c
microchip_t1s.c
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
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
nxp-tja11xx.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
phy-c45.c net: phy: c45: add genphy_c45_pma_read_ext_abilities() function 2023-12-13 18:01:07 -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: Remove the call to phy_mii_ioctl in phy_hwstamp_get/set 2023-11-18 14:52:56 +00:00
phy_device.c net: phy: phy_device: Prevent nullptr exceptions on ISR 2024-04-13 13:09:57 +02:00
phy_led_triggers.c
phylink.c Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -08:00
qsemi.c
realtek.c net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY 2024-02-22 09:53:54 +01: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