Daniel Golle
3660ddb8ab
generic: ar8216: remove support for Linux before version 6.1
...
Drop support for older kernel versions from legacy AR8216 switch driver.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 19:24:17 +01:00
Daniel Golle
3f01b29146
generic: drop 6.1 support
...
Drop config and files for Linux 6.1.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 18:57:33 +01:00
Daniel Golle
852ed0379a
generic: 6.6: mtk_eth_soc: increase QDMA RESV_BUF size
...
Increase QDMA RESV_BUF from 2K to 3K for netsys v2 to match Mediatek SDK.
This helps reduce the possibility of Ethernet transmit timeouts.
Link: 19d8456c30
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 16:35:41 +01:00
Daniel Golle
0787d95f06
generic: 6.6: mtk_eth_soc: reset all TX queues on DMA free
...
The purpose of resetting the TX queue is to reset the
byte and packet count as well as to clear the software
flow control XOFF bit.
MediaTek developers pointed out that netdev_reset_queue would only
resets queue 0 of the network device.
Queues that are not reset may cause unexpected issues.
Packets may stop being sent after reset and "transmit timeout" log may
be displayed.
Import fix from MediaTek's SDK to resolve this issue.
Link: 5746a94456
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 16:35:41 +01:00
Mieczyslaw Nalewaj
82a5971688
generic: drop 5.15 support
...
Drop config and files for Linux 5.15.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/16417
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-20 11:16:02 +02:00
John Audia
85161b432f
kernel: bump 6.6 to 6.6.52
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.52
Removed upstreamed:
backport-6.6/819-v6.8-0010-nvmem-core-add-nvmem_dev_size-helper.patch[1]
backport-6.6/819-v6.8-0011-nvmem-u-boot-env-use-nvmem_add_one_cell-nvmemsubsys.patch[2]
backport-6.6/819-v6.8-0012-nvmem-u-boot-env-use-nvmem-device-helpers.patch[3]
backport-6.6/819-v6.8-0013-nvmem-u-boot-env-improve-coding-style.patch[4]
backport-6.6/822-v6.11-0011-nvmem-u-boot-env-error-if-NVMEM-device-is-too-small.patch[5]
Manually rebased:
starfive/patches-6.6/0048-riscv-dts-starfive-Add-full-support-except-VIN-and-V.patch
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.52&id=820b1b981aeb8b8e60db2835ddd430c9d1bc6072
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.52&id=ae91c9c7b67d4d47206fe8cbb2ab89687d283dcc
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.52&id=2eea394c31cbc3d853a26ef2ddb8f5bd24d4d002
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.52&id=368fa77b7945bdbdf0e3bb26b5abcae4fba25a20
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.52&id=2278629c3ebb1a912fe0a1f19f088312600742a4
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16422
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-19 22:57:53 +02:00
Daniel Golle
5b4131dfe8
generic: 6.6: backport pending fix for Aquantia PHY LEDs
...
The 'active-low' property was not applied correctly and two fixes
are required to make inverted LEDs work as expected.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-17 19:07:53 +01:00
Mieczyslaw Nalewaj
2fb2213b2a
at91: refresh config-6.6
...
Refresh kernel config for Linux 6.6.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/16058
Signed-off-by: Nick Hainke <vincent@systemli.org >
2024-09-17 17:31:26 +02:00
Robert Marko
7e1d092552
generic: enable RELR relocations
...
RELR is a relocation packing format for relative relocations.
Linux has supported using it for ARM64 since 5.4, and more recently
for LoongArch as well.
It requires compatible tooling as well, so only with binutils 2.43
TOOLS_SUPPORT_RELR is set and thus RELR available.
RELR should always decrease the binary size and while testing this
the default build for Dynalink WRX-36 (qualcommax/ipq807x) reduced
the compressed kernel size by 38k and uncompressed one by 640k.
So, lets enable it in the default config.
Link: https://github.com/openwrt/openwrt/pull/16403
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-16 22:47:44 +02:00
John Audia
01d8e41c16
kernel: bump 6.6 to 6.6.51
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.51
Removed upstreamed:
generic/backport-6.6/200-regmap-maple-work-around-false-positive-warning.patch
generic/backport-6.6/822-v6.11-0012-nvmem-Fix-return-type-of-devm_nvmem_device_get-in-ke.patch
bcm27xx/patches-6.6/950-1018-drivers-mmc-apply-SD-quirks-earlier-during-probe.patch
Manually rebased:
bcm27xx/patches-6.6/950-0993-drivers-mmc-cqhci-clear-CQHCI_CTL-if-halt-fails.patch
ramips/patches-6.6/311-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch[4]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.51&id=e42ea96d6d36a16526cb82b8aa2e5422814c3250
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.51&id=3d1baf322a3a69b38b6b2d511cfe0d611d1b5462
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.51&id=115a755bb38db5a1175be44e6a9a93a0a8233885
4. Adapted the changes from Hauke Mehrtens' modification in PR#16366 to 5.15.167
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16370
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-15 16:32:48 +02:00
Rafał Miłecki
e39ae96f88
kernel: backport nvmem changes from v6.12
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl >
2024-09-12 08:59:36 +02:00
Rafał Miłecki
7d3789de99
kernel: backport nvmem changes from v6.11
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl >
2024-09-10 13:43:03 +02:00
Rafał Miłecki
8616d9db34
kernel: backport nvmem changes from v6.10
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl >
2024-09-10 13:42:59 +02:00
Rafał Miłecki
944dfb1ed6
kernel: backport nvmem changes from v6.9
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl >
2024-09-10 13:42:55 +02:00
Rui Salvaterra
c366f63c40
octeon: add support for testing kernel 6.6
...
A rather trivial addition. Patches automatically rebased. Also add the new
CONFIG_USB_DWC3_OCTEON (disabled) to the generic 6.6 config and sort it, while
at it.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/15838
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-09 18:24:34 +02:00
Zxl hhyccc
527bad0d50
kernel: bump 6.1 to 6.1.108
...
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.108
All patches automatically rebased.
Build system: bcm53xx octeon
Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/16325
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-06 22:38:55 +02:00
John Audia
77886246e0
kernel: bump 6.6 to 6.6.49
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.49
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16328
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-06 22:36:43 +02:00
Felix Fietkau
66559946ac
kernel: bridge: fix switchdev host mdb entry updates
...
Avoid imbalance in host multicast database updates
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-09-04 12:39:36 +02:00
Zxl hhyccc
8b6c63cfaf
kernel: bump 6.1 to 6.1.107
...
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.107
All patches automatically rebased.
Build system: bcm53xx octeon
Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/16283
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-31 20:11:41 +02:00
John Audia
93cca95434
kernel: bump 6.6 to 6.6.48
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.48
Removed upstreamed:
generic/backport-6.6/752-04-v6.6-net-ethernet-mtk_wed-check-update_wo_rx_stats-in-mtk.patch[1]
generic/pending-6.6/601-udp-fix-receiving-fraglist-GSO_packets.patch[2]
mediatek/patches-6.6/951-net-ethernet-mtk_wed-fix-use-after-free-panic-in-mtk.patch[3]
rockchip/patches-6.6/302-mmc-allow-probe-to-defer-if-clock-is-not-ready.patch[4]
Manually rebased:
bcm27xx/patches-6.6/950-0058-Revert-Bluetooth-Always-request-for-user-confirmatio.patch
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=7ede6ef04c9ffc466844a297d3d68bea8a06093d
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=cfa692e7e71b22d35174a796d10b9111bafa0686
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=326a89321f9d5fe399fe6f9ff7c0fc766582a6a0
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=7bbf8f8b8861dd2a6215f1aded425c66e6c376a0
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16282
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-31 20:08:13 +02:00
Mieczyslaw Nalewaj
9232fdeb86
kernel: set vlan mc emulation for rtl8367d family chips
...
Set vlan mc emulation for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
c288f2034d
kernel: set RGMII mode for rtl8367d family chips
...
Set RGMII mode for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
035bb34f26
kernel: set vlan mc for rtl8367d family chips
...
Set vlan mc for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
fe71f37bc1
kernel: set and get vlan 4k for rtl8367d family chips
...
Set and get vlan 4k for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
dd2af4711a
kernel: set and get mc index for rtl8367d family chips
...
Set and get mc index for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
2283e746d8
kernel: set and get ports speed for rtl8367d family chips
...
Set and get ports speed for rtl8367d family chips
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Mieczyslaw Nalewaj
5c8862a649
kernel: rtl8367b: detect rtl8367d chip family
...
Detect the RTL8367D chip family and set the appropriate extif
Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:50:01 +02:00
Til Kaiser
55bbd5f5c0
generic: 6.6: add missing DCB symbols
...
Disables Data Center Bridging support for some network drivers by
default to avoid compilation errors when CONFIG_DCB is enabled.
Signed-off-by: Til Kaiser <mail@tk154.de >
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-29 20:39:48 +02:00
Daniel Golle
2de5528fc6
generic: hack: fix patch description
...
That patch title of 911-kobject_add_broadcast_uevent.patch has been
wrongly copied from 910-kobject_uevent.patch.
Change the description from "lib: add uevent_next_seqnum()" to
"lib: add broadcast_uevent()", so that the git history doesn't look
all weird when importing both patches to a git tree.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-08-28 15:10:54 +01:00
Álvaro Fernández Rojas
ae5489e578
generic: 6.6: backport upstream Realtek PHY patch
...
- Fix setting of PHY LEDs Mode B bit on RTL8211F.
- Rename pending Realtek PHY patches.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2024-08-24 15:14:40 +02:00
Robert Marko
b42f7a1b30
generic: 5.15, 6.1: enable CNP support
...
Ever since CONFIG_ARM64_PAN was enabled Common Not Private (CNP) is now
visible and kernel builds will stop as they are not set in kernel config
for 5.15 and 6.1.
So, lets enable Common Not Private (CNP) which is ARMv8.2 feature and will
be NOP of CPU-s that dont support it.
Fixes: a2662309aa ("kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory")
Link: https://github.com/openwrt/openwrt/pull/16211
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-08-22 13:36:15 +02:00
Robert Marko
9c0179ff13
generic: 6.6: disable EPAN support
...
Enhanced Privileged Access Never (EPAN) is an ARMv8.7 feature, and since
we dont have any SoC-s implementing it lets disable it.
Link: https://github.com/openwrt/openwrt/pull/16211
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-08-22 13:36:15 +02:00
Daniel Golle
963be1423f
kernel: add missing config symbols
...
Kconfig symbols CONFIG_ARM64_CNP and CONFIG_ARM64_EPAN got exposed
by enabling CONFIG_ARM64_PAN. Enable them as well, as just like for
PAN, also EPAN and CNP will be detected at runtime at no cost.
Fixes: a2662309aa ("kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory")
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-08-22 00:20:02 +01:00
Hauke Mehrtens
a2662309aa
kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory
...
Enable the CONFIG_ARM64_PAN kernel security option, which leverages the
ARMv8.1 Privileged Access Never (PAN) extension to prevent the kernel
from directly accessing user space memory.
Instead, copy_to_user and similar functions must be used for data
transfer between kernel and user space. This feature is automatically
disabled at runtime on CPUs without PAN support, making it a no-op in
those cases.
Link: https://github.com/openwrt/openwrt/pull/16189
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-21 00:21:05 +02:00
Hauke Mehrtens
fd6ce0dea9
kernel: Activate CONFIG_LIST_HARDENED
...
Activate the kernel option CONFIG_LIST_HARDENED for all targets.
This adds some inline checks to list_add() and list_del() operations
in the kernel. Before kernel 6.6 these checks were only available with
CONFIG_DEBUG_LIST option, but now a light version is available which
should only add very few extra instructions to such operations.
The performance penalty is very low from my point of view. It should
make it much harder to use bugs in Linux kernel list handling when
exploiting the Linux kernel.
Link: https://github.com/openwrt/openwrt/pull/16189
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-21 00:20:27 +02:00
Zxl hhyccc
c296141d92
kernel: bump 6.1 to 6.1.105
...
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.105
Removed upstreamed:
generic/backport-6.1/860-v6.6-bus-mhi-host-pci_generic-add-support-for-Telit-FE990.patch
See: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/bus/mhi/host/pci_generic.c?h=v6.1.105&id=da578d3b2d236b50e356b1a9d770ad19165de31c
All other patches automatically rebased.
Build system: bcm4908 bcm53xx
Adjusted generic/config-6.1 for new ksym: ARM64_ERRATUM_3194386 and 3312417[2]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?h=linux-6.1.y&id=286c8ca924b220212fdeab81cb652fdaa77e38fe
Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/16174
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-20 23:45:07 +02:00
John Audia
00aa9017fa
kernel: bump 6.6 to 6.6.47
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.47
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16173
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-20 23:41:08 +02:00
John Audia
3eb08538c4
kernel: bump 6.6 to 6.6.46
...
This commit makes three changes all needed for the update of the 6.6 kernel.
1. Upstream kernel bump to 6.6.46
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.46
Manually rebased:
bcm27xx/patches-6.6/950-0320-spi-spidev-Restore-loading-from-Device-Tree.patch
All other patches automatically rebased.
2. Adjusted the following for new ksym[1] enabling it:
armsr/config-6.6
bcm27xx/bcm2712/config-6.6
3. Added a fix to receiving fraglist GSO packets:
generic/pending-6.6/601-udp-fix-receiving-fraglist-GSO_packets.patch[2]
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v6.6.46&id2=v6.6.45
2. https://marc.info/?l=linux-netdev&m=172407994500599&w=2
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16173
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-20 23:41:08 +02:00
Álvaro Fernández Rojas
2ae5bea856
Revert "bcm27xx: align and enable hwmon/thermal symbols"
...
This reverts commit f98f95359b .
It seems that this commit is causing issues with the PWM fan on the RPi 5 as
reported here: https://github.com/openwrt/openwrt/issues/16191
So let's revert this for now.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2024-08-20 18:01:33 +02:00
Álvaro Fernández Rojas
27b816d545
generic: 6.6: backport upstream r8169 patches
...
- improve RTL8411b phy-down fixup
- remove not needed check in rtl_fw_write_firmware
- remove multicast filter limit
- improve handling task scheduling
- simplify EEE handling
- simplify code by using core-provided pcpu stats allocation
- add generic rtl_set_eee_txidle_timer function
- support setting the EEE tx idle timer on RTL8168h
- add support for returning tx_lpi_timer in ethtool get_eee
- annotate writes on dev->mtu from ndo_change_mtu()
- disable interrupt source RxOverflow
- remove detection of chip version 11 (early RTL8168b)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2024-08-19 20:40:59 +02:00
Álvaro Fernández Rojas
052732bddb
generic: 6.6: fix early RTL8221B detection
...
Fixes the issue of RTL8221B-VB-CG not being detected correctly after ca44690 .
Fixes: ca4469045f ("generic: 6.6: backport upstream RealTek PHY patches")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-08-19 18:46:18 +01:00
Álvaro Fernández Rojas
5eec1df01e
generic: 6.6: backport realtek phy patches from v6.11
...
- add support for rtl8224 2.5Gbps PHY
- add support for PHY LEDs on RTL8211F
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2024-08-19 18:46:18 +01:00
Felix Fietkau
17f07040e7
kernel: prevent tunnel drivers from mangling fraglist GSO packets
...
Fixes crashes on segmenting packets, mainly when dereferencing a no longer
existing fragment chain.
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-08-16 10:07:01 +02:00
Felix Fietkau
79fce42404
kernel: backport upstream GSO improvements
...
Fixes some corner cases regarding segmenting packets that were assembled
by GRO.
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-08-16 10:07:01 +02:00
Romanov Danila
089c25f466
kernel: Fix section mismatch in ubi
...
Fix ubiblock_create_from_param() ubiblock_create_auto_rootfs section mismatch.
Without this, the system upgrade will not work if the kernel was compiled with clang-18.
WARNING: modpost: vmlinux: section mismatch in reference: ubiblock_notify+0x190 (section: .text) -> ubiblock_create_auto_rootfs (section: .init.text)
```
[33342.080771] Call trace:
[33342.083205] ubiblock_create_auto_rootfs+0x0/0xd0
[33342.087902] blocking_notifier_call_chain+0xb0/0x1a0
[33342.092857] ubi_volume_notify+0xcc/0xdc
[33342.096773] ubi_create_volume+0x520/0x684
[33342.100861] ubi_cdev_ioctl+0x2ac/0x834
[33342.104688] __arm64_sys_ioctl+0x14f0/0x15f4
[33342.108947] invoke_syscall+0x44/0xc8
[33342.112601] do_el0_svc+0x78/0xa8
[33342.115907] el0_svc+0x24/0x50
[33342.118951] el0t_64_sync_handler+0x88/0xf0
[33342.123126] el0t_64_sync+0x150/0x154
[33342.126784] Code: ???????? ???????? ???????? ???????? (????????)
```
Signed-off-by: Romanov Danila <pervokur@gmail.com >
2024-08-15 02:00:22 +01:00
Marek Behún
b51abacb5f
config: kernel: Add support for configuring BTRFS to be built-in
...
Add the KERNEL_BTRFS_FS config option so that targets can select
whether BTRFS support must be built-in.
Select this option (alongside KERNEL_BTRFS_FS_POSIX_ACL) from the
layerscape/armv8_64b subtarget instead of enabling it in
target/linux/layerscape/armv8_64b/config-* files.
Move disabling of CONFIG_BTRFS_FS_CHECK_INTEGRITY into generic configs.
This makes it possible for OpenWRT to be built with built-in BTRFS
support on specific boards, instead of whole targets.
Signed-off-by: Marek Behún <kabel@kernel.org >
Link: https://github.com/openwrt/openwrt/pull/15990
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-15 00:35:17 +02:00
Zxl hhyccc
46317659e1
kernel: bump 6.1 to 6.1.104
...
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.104
All patches automatically rebased.
1 mm: restrict the pcp batch scale factor to avoid too long latency
a new kconfig option (PCP_BATCH_SCALE_MAX) is added to
set the max batch scale factor.Whose default value is 5,
and users can reduce it when necessary.
https://lore.kernel.org/all/20231016053002.756205-5-ying.huang@intel.com/T/#u
Build system: bcm4908 bcm53xx
Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/16141
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-13 00:40:39 +02:00
John Audia
626fa75526
kernel: bump 6.6 to 6.6.45 and update config-6.6
...
Build on at leasst x86/64 failed without adding the new ksym:
CONFIG_PCP_BATCH_SCALE_MAX=5
According to www.kernelconfig.io[1], this option seems to apply
to all arches so I placed it in target/linux/generic/config-6.6
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.45
Removed upstreamed:
generic/backport-6.6/719-v6.11-net-phy-realtek-add-support-for-RTL8366S-Gigabit-PHY.patch[2]
All other patches automatically rebased.
1. https://www.kernelconfig.io/config_pcp_batch_scale_max?q=&kernelversion=6.10.3&arch=x86
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.45&id=b45cbfa204b2a0985eb85dcb33d51714ee089bb9
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16144
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-08-13 00:34:16 +02:00
Daniel Golle
1554af4c43
generic: import patch lowering bitflip_threshold on SPI-NAND
...
Reporting an unclean read from SPI-NAND only when the maximum number
of correctable bitflip errors has been hit seems a bit late.
UBI LEB scrubbing, which depends on the lower MTD device reporting
correctable bitflips, then only kicks in when it's almost too late.
Set bitflip_threshold to 75% of the ECC strength, which is also the
default for raw NAND.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-08-12 11:31:37 +01:00
Robert Marko
81481c805a
generic: 6.6: add Winbond W25N01KV support
...
It seems that some Xiaomi AX3000T boards changed to using Winbond W25N01KV
SPI-NAND which is not supported in OpenWrt nor upstream kernel.
So, add a pending patch to support it as upstream supports rest of the KV
revision models.
Fixes : #16002
Link: https://github.com/openwrt/openwrt/pull/16088
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-08-12 11:15:13 +02:00