kernel_samsung_a53x/drivers/net/phy
Ioana Ciornei b9e9ea8747 net: phy: ti: take into account all possible interrupt sources
commit 73f476aa1975bae6a792b340f5b26ffcfba869a6 upstream.

The previous implementation of .handle_interrupt() did not take into
account the fact that all the interrupt status registers should be
acknowledged since multiple interrupt sources could be asserted.

Fix this by reading all the status registers before exiting with
IRQ_NONE or triggering the PHY state machine.

Fixes: 1d1ae3c6ca3f ("net: phy: ti: implement generic .handle_interrupt() callback")
Reported-by: Sven Schuchmann <schuchmann@schleissheimer.de>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210226153020.867852-1-ciorneiioana@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:27 +01:00
..
mscc net: phy: mscc: macsec: reject PN update requests 2024-11-08 11:25:46 +01:00
adin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
at803x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ax88796b.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-cygnus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm7xxx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm87xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm54140.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm84881.c Revert "net: phy: bcm84881: Fix some error handling paths" 2024-11-24 00:22:57 +01:00
broadcom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cicada.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cortina.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davicom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83tc811.c net: phy: ti: take into account all possible interrupt sources 2024-11-30 02:33:27 +01:00
dp83640.c net: phy: ti: implement generic .handle_interrupt() callback 2024-11-30 02:33:22 +01:00
dp83640_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83822.c net: phy: ti: take into account all possible interrupt sources 2024-11-30 02:33:27 +01:00
dp83848.c net: phy: ti: add PHY_RST_AFTER_CLK_EN flag 2024-11-30 02:33:22 +01:00
dp83867.c net: phy: ti: implement generic .handle_interrupt() callback 2024-11-30 02:33:22 +01:00
dp83869.c net: phy: ti: implement generic .handle_interrupt() callback 2024-11-30 02:33:22 +01:00
et1011c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixed_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
icplus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-xway.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkmode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lxt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell10g.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_devres.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meson-gxl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
micrel.c net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-11-19 14:19:31 +01:00
microchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
microchip_t1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mii_timestamper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
national.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nxp-tja11xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-c45.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c net: phy: export phy_error and phy_trigger_machine 2024-11-30 02:33:22 +01:00
phy_device.c net: phy: fix phy_get_internal_delay accessing an empty array 2024-11-19 08:44:49 +01:00
phy_led_triggers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phylink.c net: phylink: initialize carrier state at creation 2024-11-18 11:43:30 +01:00
qsemi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp-bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp.c net: sfp: Always call sfp_sm_mod_remove() on remove 2024-11-19 14:19:03 +01:00
sfp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spi_ks8995.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ste10Xp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
teranetics.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uPD60620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse.c Revert "net: phy: vitesse: repair vsc73xx autonegotiation" 2024-11-24 00:23:36 +01:00
xilinx_gmii2rgmii.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00