aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-10-06 17:52:27 -0700
committerJakub Kicinski <kuba@kernel.org>2026-10-06 17:52:27 -0700
commit921f4ad1157d69e5c51fc29779925ab342f7a326 (patch)
treecab1ad1f1ce1204826cddaeee649ebbe2716df8a /scripts/Makefile.thinlto
parenttap: report IFF_DETACH_QUEUE in TUNGETIFF (diff)
parentnet: dsa: qca8k: fail mgmt Ethernet MDIO access on busy wait errors (diff)
Merge branch 'net-dsa-qca8k-fix-mdio-error-handling'
Yongzhao Chen says: ==================== net: dsa: qca8k: fix MDIO error handling This series fixes qca8k MDIO error-handling bugs found by code inspection and the Sashiko review of v1 [1]. I am not aware of reports of actual MDIO failures, so v3 targets net-next without Fixes tags, as Andrew requested [2]. The patches propagate register and PHY access errors, skip MASTER_EN cleanup after a failed page select, invalidate the uncertain page cache, and return management Ethernet busy-wait errors so MDIO fallback can run. They apply directly to net-next; the separate qca8k MTU series depends on the write-error propagation provided here. Testing: the base and each patch build with W=1 for arm64 (drivers/net/dsa/qca, net/dsa, drivers/net/phy/qcom). A userspace model compiles the driver's own MDIO functions against a simulated paged switch and a scripted management Ethernet responder, with phylib's read-modify-write helper as a consumer. Fault injection leaves 15 failing cases on the base, 10 after patch 1, seven after patch 2, and none after patch 3. These are model tests, not kernel selftests or hardware error injection. A Redmi AX5400 (RA74, IPQ5018 + QCA8337) passed connectivity checks with a 6.18.52 OpenWrt backport of v2 after boot, reboot, one cold boot, link re-initialization and MTU changes. Its switch PHYs are on the SoC MDIO bus and it has no CPU port 0. This covers normal register access through page selection; the internal MDIO master and management Ethernet paths remain tested only in the model. ==================== Link: https://patch.msgid.link/20261003172405.342-1-yongzhao.derek@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions