summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-11-24 08:16:25 +0100
committerJakub Kicinski <kuba@kernel.org>2021-11-24 18:19:58 -0800
commitddb826c2c92d461f290a7bab89e7c28696191875 (patch)
treefdd33d30e829ef339d29cfef2f619d1901ed302d /tools/perf/scripts/python/libxed.py
parent4e1fddc98d2585ddd4792b5e44433dcee7ece001 (diff)
downloadkernel-ddb826c2c92d461f290a7bab89e7c28696191875.tar.gz
lan743x: fix deadlock in lan743x_phy_link_status_change()
Usage of phy_ethtool_get_link_ksettings() in the link status change handler isn't needed, and in combination with the referenced change it results in a deadlock. Simply remove the call and replace it with direct access to phydev->speed. The duplex argument of lan743x_phy_update_flowcontrol() isn't used and can be removed. Fixes: c10a485c3de5 ("phy: phy_ethtool_ksettings_get: Lock the phy for consistency") Reported-by: Alessandro B Maurici <abmaurici@gmail.com> Tested-by: Alessandro B Maurici <abmaurici@gmail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/40e27f76-0ba3-dcef-ee32-a78b9df38b0f@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
-07-29PCI: plda: Silence 'set affinity failed' warningMarek Vasut 2024-05-28PCI: starfive: Add JH7110 PCIe controllerMinda Chen 2024-05-28PCI: plda: Pass pci_host_bridge to plda_pcie_setup_iomems()Minda Chen 2024-05-28PCI: plda: Add host init/deinit and map bus functionsMinda Chen 2024-05-28PCI: plda: Add event bitmap field to struct plda_pcie_rpMinda Chen 2024-05-28PCI: microchip: Move IRQ functions to pcie-plda-host.cMinda Chen 2024-05-28PCI: microchip: Add event irqchip field to host port and add PLDA irqchipMinda Chen 2024-05-28PCI: microchip: Add get_events() callback and PLDA get_event()Minda Chen 2024-05-28PCI: microchip: Add INTx and MSI event num to struct plda_eventMinda Chen 2024-05-28PCI: microchip: Add request_event_irq() callback functionMinda Chen 2024-05-28PCI: microchip: Add num_events field to struct plda_pcie_rpMinda Chen 2024-05-28PCI: microchip: Rename interrupt related functionsMinda Chen 2024-05-28PCI: microchip: Move PLDA functions to pcie-plda-host.cMinda Chen 2024-05-28PCI: microchip: Rename PLDA functions to be genericMinda Chen 2024-05-28PCI: microchip: Move PLDA structures to plda-pcie.hMinda Chen 2024-05-28PCI: microchip: Rename PLDA structures to be genericMinda Chen 2024-05-28PCI: microchip: Add bridge_addr field to struct mc_pcieMinda Chen 2024-05-28PCI: microchip: Move PLDA IP register macros to pcie-plda.hMinda Chen 2024-05-28PCI: microchip: Move pcie-microchip-host.c to PLDA directoryMinda Chen