openwrt/target/linux
Ryan Chen 150d05f8c6
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
airoha: fix EN7581 PCIe initialization and add x2 link support
Fix two hardware initialization issues in the EN7581 PCIe controller
and add support for x2 (2-lane) link mode.

Fixes:

The upstream EN7581 PCIe initialization writes EQ presets and PIPE
configuration registers before clk_bulk_prepare_enable(). Since the
MAC clocks are not yet running at that point, these register writes
are silently dropped, leaving the hardware with default values. This
can cause link training failures or suboptimal equalization.

Additionally, after link training the MAC may only advertise Gen1-Gen2
capability in the Link Capabilities 2 register despite the PHY being
configured for Gen3. A serdes reset toggle forces the MAC to re-read
PHY capability, recovering Gen3 8GT/s link speed.

Both issues are addressed by separating PERST from the clock callbacks
(patch 911), allowing the PCIe controller driver to properly sequence
PERST, clock enable, and register writes (patch 912).

New feature:

PCIe x2 mode support for EN7581 using the NP_SCU system controller
for serdes mux routing, PERST management, and lane configuration.
Both bonded MACs are configured for x2 operation with proper EQ
presets before link training begins.

Signed-off-by: Ryan Chen <rchen14b@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21978
Link: https://github.com/openwrt/openwrt/pull/22336
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-10 11:22:45 +01:00
..
airoha airoha: fix EN7581 PCIe initialization and add x2 link support 2026-03-10 11:22:45 +01:00
apm821xx kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
armsr kernel: drop CONFIG_ARM64_CONTPTE from target configs 2025-11-26 21:08:34 +02:00
at91 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
ath79 ath79: tiny: increment compat version for RE355/RE450 2026-03-10 10:10:49 +01:00
bcm27xx kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
bcm53xx bcm53xx: fix switch standalone ports (like "wan") 2026-03-01 01:54:19 +01:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-21 14:02:55 +01:00
d1 d1: refresh kernel config 2026-01-27 16:30:05 +01:00
econet econet: refresh patches 6.12 2026-01-11 19:10:38 +01:00
gemini gemini: select the right GPIO input package 2026-02-11 08:47:45 +01:00
generic kernel: add cake_mq fixes 2026-03-08 19:46:23 +01:00
imx Revert "imx: cortexa53: remove KSZ9477 static driver" 2026-03-02 18:06:48 +01:00
ipq40xx ipq40xx: re-enable MeshPoint.One target 2026-03-07 00:52:15 +01:00
ipq806x treewide: linksys: use nvmem MAC for hw_mac_addr 2026-03-06 12:07:42 +01:00
ixp4xx ixp4xx: fix bug in Actiontec DTS file 2026-01-04 18:20:34 +01:00
kirkwood kirkwood: add aliases and new partition for support D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq lantiq: add missing WAN MAC override 2026-03-06 11:36:24 +01:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-15 02:07:04 +01:00
loongarch64 kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek treewide: linksys: use nvmem MAC for hw_mac_addr 2026-03-06 12:07:42 +01:00
microchipsw microchipsw: lan969x: include ip-bridge and dcb tools 2026-01-25 22:14:23 +01:00
mpc85xx kernel: move patch from mpc85xx to pending 2026-02-14 01:15:12 +01:00
mvebu mvebu: add support for RIPE Atlas Probe v5 2026-02-17 01:40:00 +01:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-02-14 01:15:12 +01:00
qualcommax kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
qualcommbe kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
ramips treewide: linksys: use nvmem MAC for hw_mac_addr 2026-03-06 12:07:42 +01:00
realtek kernel: net: sfp: improve Huawei MA5671a fixup 2026-03-07 09:51:51 +01:00
rockchip kernel: bump 6.12 to 6.12.69 2026-02-15 02:07:04 +01:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
starfive kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
stm32 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
sunxi kernel: reorder configuration options 2026-01-26 23:59:37 +01:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 x86: base-files add support for Sophos 210r3 and 230r2 2026-02-13 00:18:14 +01:00
zynq zynq: drop support for kernel 6.6 2025-11-25 17:27:24 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00