1
1
openwrt/target/linux
Jonas Jelonek 80a44d6a52
realtek: pcs: reject SerDes modes unsupported by the instance
Add a per-SerDes supported_modes bitmap, filled at probe by each
variant from the SerDes id or type, and reject unsupported modes in
determine_hw_mode() via test_bit().

This replaces the rtl838x is_hw_mode_supported() switch and adds the
same gating to rtl839x/rtl93xx, which previously relied only on the
per-variant mode-value table. Unlike that table, the bitmap is per
SerDes instance, so it also rejects modes the table can encode but that
a given SerDes cannot actually use. Rejection uses the uapi -EOPNOTSUPP
instead of the internal -ENOTSUPP.

Link: https://github.com/openwrt/openwrt/pull/23608
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-06-01 09:17:15 +02:00
..
airoha airoha: Fix max RX size configuration 2026-05-31 12:12:49 +02:00
apm821xx apm821xx: slightly improve routing performance 2026-05-25 10:16:50 +02:00
armsr armsr: enable 6.18 as a testing kernel 2026-05-25 22:12:04 +02:00
at91 kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
ath79 ath79: add Cisco Meraki Z1 2026-05-28 10:38:36 +02:00
bcm27xx kernel: bump 6.12 to 6.12.91 2026-05-25 21:02:13 +02:00
bcm47xx bcm47xx: base-files: hack sysinfo to allow ASU sysupgrades 2026-05-25 23:27:34 +02:00
bcm53xx bcm53xx: enable 6.18 testing kernel 2026-05-24 20:36:09 +02:00
bcm4908 kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
bmips treewide: use _scoped for loop 2026-04-16 21:17:43 +02:00
d1 d1: drop support for 6.12 2026-04-21 16:13:37 +02:00
econet econet: add EN751627 subtarget and Zyxel EX3301-T0 board 2026-05-14 21:12:46 +02:00
gemini gemini/kernel: drop v6.12 and default to v6.18 2026-04-17 18:01:06 +02:00
generic generic: 6.18: update MxL862xx DSA switch driver 2026-05-27 19:01:52 +01:00
imx imx: cortexa9: ventana, fix profiles names in profiles.json 2026-04-23 01:13:36 +02:00
ipq40xx kernel: bump 6.18 to 6.18.33 2026-05-25 21:04:53 +02:00
ipq806x ipq806x: fix caldata loading for mr42/mr52 2026-05-18 21:14:22 +02:00
ixp4xx ixp4xx/kernel: drop v6.12 and default to v6.18 2026-04-16 08:35:38 +02:00
kirkwood kirkwood: switch to 6.18 kernel 2026-04-27 09:39:21 +02:00
lantiq kernel: bump 6.18 to 6.18.33 2026-05-25 21:04:53 +02:00
layerscape generic: 6.12: backport PCS standalone feature 2026-05-13 00:19:29 +02:00
loongarch64 loongarch64: add upstream dwmac-loongson patches for 2K3000/3B6000M 2026-05-26 00:58:05 +02:00
malta malta: drop 6.12 support 2026-05-07 18:15:54 +02:00
mediatek mediatek: mt7622: enable CONFIG_MTD_VIRT_CONCAT 2026-06-01 00:32:38 +02:00
microchipsw kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
mpc85xx mpc85xx: unify wrapper address of simple image devices 2026-05-05 14:09:38 +02:00
mvebu mvebu: cortexa53: uDPU/eDPU: update active bootscript as well 2026-05-26 19:35:42 +02:00
mxs mxs: drop support for 6.12 2026-04-16 14:55:36 +02:00
octeon octeon: drop v6.12 and default to v6.18 2026-05-23 19:13:22 +02:00
omap kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
pistachio pistachio: drop support for 6.12 2026-04-18 12:02:48 +02:00
qoriq qoriq: drop kernel config for 6.12 2026-05-24 23:43:54 +02:00
qualcommax qualcommax: ipq50xx: add support for ELECOM WRC-X3000GST2 2026-05-26 18:56:17 +02:00
qualcommbe qualcommbe: 6.18: refresh config 2026-05-28 10:47:03 +02:00
ramips ramips: add support for ELECOM WMC-C2533GST 2026-05-29 08:27:50 +02:00
realtek realtek: pcs: reject SerDes modes unsupported by the instance 2026-06-01 09:17:15 +02:00
rockchip rockchip: enable maskrom button for NanoPi R5C/R5S 2026-05-29 08:29:03 +02:00
sifiveu sifiveu: drop support for 6.12 2026-04-19 13:21:21 +02:00
siflower kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
starfive kernel: bump 6.18 to 6.18.33 2026-05-25 21:04:53 +02:00
stm32 kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
sunxi sunxi: add T113-S3 support 2026-05-09 11:19:22 +02:00
tegra kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
uml kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
x86 x86: onie-installer: wire up sysupgrade via ONIE install mode 2026-05-23 17:23:54 +02:00
zynq kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00