| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
sunxi-6.18: dwmac-sun8i: fix Ethernet lost after warm reboot on external-PHY H616/H618 boards (#10492) * sunxi-6.18: dwmac-sun8i: reset the EMAC when opening, not when probing Fixes Ethernet dying after every warm reboot on Orange Pi Zero 3 and other H616/H618 boards with an external PHY: "EMAC reset timeout", probe fails with -110, eth0 never appears. Cold boot always works. The interface teardown powers the PHY down (phy_detach -> phy_suspend -> BMCR_PDOWN), and these boards have no PHY reset line and an always-on shared supply, so nothing powers it back up across a warm reboot. A powered-down PHY drives no receive clock, and the MAC soft reset is sequenced on that clock. Moves the soft reset into sun8i_dwmac_dma_reset(), the stmmac_dma_ops ->reset hook the driver already registers, which runs at ndo_open -- after phylib has attached and resumed the PHY. Submitted upstream: https://lore.kernel.org/netdev/20260822045641.19282-1-hartmnn.p@gmail.com/ Signed-off-by: Pedro Santos <hartmnn.p@gmail.com> * sunxi-7.1: dwmac-sun8i: reset the EMAC when opening, not when probing edge (7.1) carries the same defect as current (6.18): sun8i_dwmac_dma_reset() does not reset anything, and the external-PHY branch of the probe does the soft reset before phylib has powered the PHY back up. Verified against mainline v6.12, v7.1 and v7.2 -- all three have the probe reset and the no-op dma reset hook, so legacy, current and edge are all affected. The change is byte-identical to the 6.18 one apart from an upstream comment typo fix (previoulsy -> previously) and line numbers. Applies on top of the sunxi-7.1 series with zero fuzz. Signed-off-by: Pedro Santos <hartmnn.p@gmail.com> --------- Signed-off-by: Pedro Santos <hartmnn.p@gmail.com> | 21 小时前 | |
Switch canonical to vendor to keep more inline with other families | 1 年前 | |
`rk35xx`/`legacy`: rewrite-kernel-patches, no changes | 1 年前 | |
rk35xx-vendor: bump to 6.1.172 rkr7.2 sdk kernel Signed-off-by: nyanmisaka <nst799610810@gmail.com> Co-authored-by: vidplace7 <vidplace7@gmail.com> | 4 天前 | |
rv11xx-vendor: bump to 6.1.172 rkr7.2 sdk kernel Signed-off-by: nyanmisaka <nst799610810@gmail.com> Co-authored-by: vidplace7 <vidplace7@gmail.com> | 4 天前 | |
starfive2-vendor: fix img-rogue build on GNU Make 4.4 (trixie) kernel-starfive2-vendor fails to compile the PowerVR img-rogue GPU driver: make: *** .NOTINTERMEDIATE and .SECONDARY are mutually exclusive. Stop. make[6]: *** [scripts/Makefile.build:480: drivers/gpu/drm/img/img-rogue] Error 2 GNU Make 4.4 (Debian trixie) raises this only when a global '.SECONDARY:' and a global '.NOTINTERMEDIATE:' are both in effect. The img-rogue DDK's top Makefile declares a bare '.SECONDARY:'; Make 4.4 derives '.NOTINTERMEDIATE' implicitly for its rules, so the two collide. Make <= 4.3 had no '.NOTINTERMEDIATE' and built fine. Reproduced locally with GNU Make 4.4.1. Add a new starfive2-vendor kernel patchdir (none existed) with a patch that drops the redundant bare '.SECONDARY:'. Signed-off-by: Igor Pecovnik <igor@armbian.com> | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 21 小时前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 天前 | ||
| 4 天前 | ||
| 1 个月前 |