Repository navigation
zynq: add sdcard image generation support - #31
Conversation
Signed-off-by: Mike Qin <[email protected]>
Signed-off-by: Mike Qin <[email protected]>
Signed-off-by: Mike Qin <[email protected]>
|
The patches make sense on the first look - I'll do a test build and get back to you. Can you add some docs for zynq on the wiki please? :) Thanks, |
|
Why not. I will try to write and update the zynq wiki in the next stage during the development. Can you tell me how to run test build? buildbot or shell script ? |
|
make[4]: Entering directory `/store/ftp/openwrt/zynq/openwrt/build_dir/target-arm_cortex-a9+neon_musl-1.1.14_eabi/u-boot-zc702/u-boot-2016.07' Can you please check:
define Build/Compile DTCDIR=$(LINUX_DIR)/scripts/dtc/Thanks, |
Signed-off-by: Mike Qin <[email protected]>
|
I install device-tree-compiler on my Debian server before. |
|
Builds like a charm, thanks. :) For build testing, usually selecting your target, and selecting "Global build settings / Select all kernel/userspace packages" will tell if any package is broken. Thanks, |
Merge upstream patch from Tamizh chelvam <[email protected]> for OpenWrt's backports package: https://patchwork.kernel.org/patch/10356157/ Commit-ID: 4b190675ad06f5a6ecbeef0b01890c5fb372e3eb * When attempt to read tpc_stats for the chipsets which support * more than 3 tx chain will trigger kernel panic(kernel stack is corrupted) * due to writing values on rate_code array out of range. * This patch changes the array size depends on the WMI_TPC_TX_N_CHAIN and * added check to avoid write values on the array if the num tx chain * get in tpc config event is greater than WMI_TPC_TX_N_CHAIN. * * Tested on QCA9984 with firmware-5.bin_10.4-3.5.3-00057 * * Kernel panic log : * * [ 323.510944] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: bf90c654 * [ 323.510944] * [ 323.524390] CPU: 0 PID: 1908 Comm: cat Not tainted 3.14.77 openwrt#31 * [ 323.530224] [<c021db48>] (unwind_backtrace) from [<c021ac08>] (show_stack+0x10/0x14) * [ 323.537941] [<c021ac08>] (show_stack) from [<c03c53c0>] (dump_stack+0x80/0xa0) * [ 323.545146] [<c03c53c0>] (dump_stack) from [<c022e4ac>] (panic+0x84/0x1e4) * [ 323.552000] [<c022e4ac>] (panic) from [<c022e61c>] (__stack_chk_fail+0x10/0x14) * [ 323.559350] [<c022e61c>] (__stack_chk_fail) from [<bf90c654>] (ath10k_wmi_event_pdev_tpc_config+0x424/0x438 [ath10k_core]) * [ 323.570471] [<bf90c654>] (ath10k_wmi_event_pdev_tpc_config [ath10k_core]) from [<bf90d800>] (ath10k_wmi_10_4_op_rx+0x2f0/0x39c [ath10k_core]) * [ 323.583047] [<bf90d800>] (ath10k_wmi_10_4_op_rx [ath10k_core]) from [<bf8fcc18>] (ath10k_htc_rx_completion_handler+0x170/0x1a0 [ath10k_core]) * [ 323.595702] [<bf8fcc18>] (ath10k_htc_rx_completion_handler [ath10k_core]) from [<bf961f44>] (ath10k_pci_hif_send_complete_check+0x1f0/0x220 [ath10k_pci]) * [ 323.609421] [<bf961f44>] (ath10k_pci_hif_send_complete_check [ath10k_pci]) from [<bf96562c>] (ath10k_ce_per_engine_service+0x74/0xc4 [ath10k_pci]) * [ 323.622490] [<bf96562c>] (ath10k_ce_per_engine_service [ath10k_pci]) from [<bf9656f0>] (ath10k_ce_per_engine_service_any+0x74/0x80 [ath10k_pci]) * [ 323.635423] [<bf9656f0>] (ath10k_ce_per_engine_service_any [ath10k_pci]) from [<bf96365c>] (ath10k_pci_napi_poll+0x44/0xe8 [ath10k_pci]) * [ 323.647665] [<bf96365c>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c0599994>] (net_rx_action+0xac/0x160) * [ 323.657208] [<c0599994>] (net_rx_action) from [<c02324a4>] (__do_softirq+0x104/0x294) * [ 323.665017] [<c02324a4>] (__do_softirq) from [<c0232920>] (irq_exit+0x9c/0x11c) * [ 323.672314] [<c0232920>] (irq_exit) from [<c0217fc0>] (handle_IRQ+0x6c/0x90) * [ 323.679341] [<c0217fc0>] (handle_IRQ) from [<c02084e0>] (gic_handle_irq+0x3c/0x60) * [ 323.686893] [<c02084e0>] (gic_handle_irq) from [<c02095c0>] (__irq_svc+0x40/0x70) * [ 323.694349] Exception stack(0xdd489c58 to 0xdd489ca0) * [ 323.699384] 9c40: 00000000 a0000013 * [ 323.707547] 9c60: 00000000 dc4bce40 60000013 ddc1d800 dd488000 00000990 00000000 c085c800 * [ 323.715707] 9c80: 00000000 dd489d44 0000092d dd489ca0 c026e664 c026e668 60000013 ffffffff * [ 323.723877] [<c02095c0>] (__irq_svc) from [<c026e668>] (rcu_note_context_switch+0x170/0x184) * [ 323.732298] [<c026e668>] (rcu_note_context_switch) from [<c020e928>] (__schedule+0x50/0x4d4) * [ 323.740716] [<c020e928>] (__schedule) from [<c020e490>] (schedule_timeout+0x148/0x178) * [ 323.748611] [<c020e490>] (schedule_timeout) from [<c020f804>] (wait_for_common+0x114/0x154) * [ 323.756972] [<c020f804>] (wait_for_common) from [<bf8f6ef0>] (ath10k_tpc_stats_open+0xc8/0x340 [ath10k_core]) * [ 323.766873] [<bf8f6ef0>] (ath10k_tpc_stats_open [ath10k_core]) from [<c02bb598>] (do_dentry_open+0x1ac/0x274) * [ 323.776741] [<c02bb598>] (do_dentry_open) from [<c02c838c>] (do_last+0x8c0/0xb08) * [ 323.784201] [<c02c838c>] (do_last) from [<c02c87e4>] (path_openat+0x210/0x598) * [ 323.791408] [<c02c87e4>] (path_openat) from [<c02c9d1c>] (do_filp_open+0x2c/0x78) * [ 323.798873] [<c02c9d1c>] (do_filp_open) from [<c02bc85c>] (do_sys_open+0x114/0x1b4) * [ 323.806509] [<c02bc85c>] (do_sys_open) from [<c0208c80>] (ret_fast_syscall+0x0/0x44) * [ 323.814241] CPU1: stopping * [ 323.816927] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.14.77 openwrt#31 * [ 323.823008] [<c021db48>] (unwind_backtrace) from [<c021ac08>] (show_stack+0x10/0x14) * [ 323.830731] [<c021ac08>] (show_stack) from [<c03c53c0>] (dump_stack+0x80/0xa0) * [ 323.837934] [<c03c53c0>] (dump_stack) from [<c021cfac>] (handle_IPI+0xb8/0x140) * [ 323.845224] [<c021cfac>] (handle_IPI) from [<c02084fc>] (gic_handle_irq+0x58/0x60) * [ 323.852774] [<c02084fc>] (gic_handle_irq) from [<c02095c0>] (__irq_svc+0x40/0x70) * [ 323.860233] Exception stack(0xdd499fa0 to 0xdd499fe8) * [ 323.865273] 9fa0: ffffffed 00000000 1d3c9000 00000000 dd498000 dd498030 10c0387d c08b62c8 * [ 323.873432] 9fc0: 4220406a 512f04d0 00000000 00000000 00000001 dd499fe8 c021838c c0218390 * [ 323.881588] 9fe0: 60000013 ffffffff * [ 323.885070] [<c02095c0>] (__irq_svc) from [<c0218390>] (arch_cpu_idle+0x30/0x50) * [ 323.892454] [<c0218390>] (arch_cpu_idle) from [<c026500c>] (cpu_startup_entry+0xa4/0x108) * [ 323.900690] [<c026500c>] (cpu_startup_entry) from [<422085a4>] (0x422085a4) * * Signed-off-by: Tamizh chelvam <[email protected]> * Signed-off-by: Kalle Valo <[email protected]> [slh: backport to wt-2017-11-01-0-gfe248fc2c180/ v4.14-rc2-1-31-g86cf0e5d] Signed-off-by: Stefan Lippers-Hollmann <[email protected]>
d9bc161 nat46-core: Fix typo since day one (#31) 840e235 Fix coverity issues observed so far (#30) Signed-off-by: Hans Dedecker <[email protected]>
d9bc161 nat46-core: Fix typo since day one (openwrt#31) 840e235 Fix coverity issues observed so far (openwrt#30) Signed-off-by: Hans Dedecker <[email protected]>
* firmware: intel-microcode: update to 20220809 Debian's changelog by Henrique de Moraes Holschuh <[email protected]>: * New upstream microcode datafile 20220809 * Fixes INTEL-SA-00657, CVE-2022-21233 Stale data from APIC leaks SGX memory (AEPIC leak) * Fixes unspecified errata (functional issues) on Xeon Scalable * Updated Microcodes: sig 0x00050653, pf_mask 0x97, 2022-03-14, rev 0x100015e, size 34816 sig 0x00050654, pf_mask 0xb7, 2022-03-08, rev 0x2006e05, size 44032 sig 0x000606a6, pf_mask 0x87, 2022-04-07, rev 0xd000375, size 293888 sig 0x000706a1, pf_mask 0x01, 2022-03-23, rev 0x003c, size 75776 sig 0x000706a8, pf_mask 0x01, 2022-03-23, rev 0x0020, size 75776 sig 0x000706e5, pf_mask 0x80, 2022-03-17, rev 0x00b2, size 112640 sig 0x000806c2, pf_mask 0xc2, 2022-03-19, rev 0x0028, size 97280 sig 0x000806d1, pf_mask 0xc2, 2022-03-28, rev 0x0040, size 102400 sig 0x00090672, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x00090675, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x000906a3, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064 sig 0x000906a4, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064 sig 0x000a0671, pf_mask 0x02, 2022-03-17, rev 0x0054, size 103424 sig 0x000b06f2, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x000b06f5, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 Signed-off-by: Christian Lamparter <[email protected]> * bcm27xx-gpu-fw: update to latest version Multiple firmware fixes needed for kernel updates. Signed-off-by: Álvaro Fernández Rojas <[email protected]> * bcm27xx-gpu-fw: update to latest version Latest GPU FW contains multiple fixes and improvements. Signed-off-by: Álvaro Fernández Rojas <[email protected]> * bcm63xx-cfe: update to the latest master e5050f3 linksys: ea9500-v2: add cferam file Signed-off-by: Rafał Miłecki <[email protected]> * nat46: fix translation of ICMP protocols parameter problem and unreachable 9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (openwrt#27) Signed-off-by: Hans Dedecker <[email protected]> * nat46: update to latest git HEAD 1fdf2a3 Fix kernel panic due to device deletion (openwrt#29) e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (openwrt#28) Signed-off-by: Hans Dedecker <[email protected]> * nat46: update to latest git HEAD d9bc161 nat46-core: Fix typo since day one (openwrt#31) 840e235 Fix coverity issues observed so far (openwrt#30) Signed-off-by: Hans Dedecker <[email protected]> * nat46: update to git HEAD 95ca1c3 nat46-core: ignore IPv4 options when translating packets 39778c2 add a module argument to ignore TOS translate for IPv4 9a36ee1 add a module argument to ignore TOS translate for IPv4 79190a8 add a module argument to ignore TOS translate for IPv4 Signed-off-by: Hans Dedecker <[email protected]> * mwlwifi: fix 5.15 kernel support Fix compilation and usage under kernel 5.15 for the mwlwifi driver. For detailed description of changes, check individual patches. Signed-off-by: Robert Marko <[email protected]> * rtl8812au-ct: Fix compile Replace the extern inline with a static inline. With extern inline the compiler will generate the function in all compile units including this file which breaks linking later. Signed-off-by: Hauke Mehrtens <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> Signed-off-by: Álvaro Fernández Rojas <[email protected]> Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: Hans Dedecker <[email protected]> Signed-off-by: Robert Marko <[email protected]> Signed-off-by: Hauke Mehrtens <[email protected]> Co-authored-by: Christian Lamparter <[email protected]> Co-authored-by: Álvaro Fernández Rojas <[email protected]> Co-authored-by: Rafał Miłecki <[email protected]> Co-authored-by: Hans Dedecker <[email protected]> Co-authored-by: Robert Marko <[email protected]> Co-authored-by: Hauke Mehrtens <[email protected]>
d9bc161 nat46-core: Fix typo since day one (openwrt#31) 840e235 Fix coverity issues observed so far (openwrt#30) Signed-off-by: Hans Dedecker <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
I have test image generation for zc702,zed and zybo, and test the firmware on zed.
@blogic @wigyori Could you help me review and merge these changes ? Thanks.