John Audia
123cb3793f
kernel: bump 6.6 to 6.6.53
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.53
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod
Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/16554
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-10-02 00:05:38 +02:00
Robert Marko
7e972fe242
generic: backport ("net: free_netdev: exit earlier if dummy")
...
Currently, when removing ath11k or any other driver that uses dummy netdev
kernel will crash with:
[ 365.004961] ------------[ cut here ]------------
[ 365.004992] kernel BUG at net/core/dev.c:10979!
[ 365.008642] Internal error: Oops - BUG: 00000000f2000800 [#1 ] SMP
[ 365.012898] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_inet ath11k_ahb(O) ath11k(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_c
[ 365.064794] CPU: 3 PID: 3896 Comm: procd Tainted: G O 6.6.52 #0
[ 365.087031] Hardware name: QNAP 301w (DT)
[ 365.094058] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 365.098229] pc : free_netdev+0x164/0x1a0
[ 365.104994] lr : free_netdev+0xec/0x1a0
[ 365.109159] sp : ffffffc081d33b90
[ 365.112718] x29: ffffffc081d33b90 x28: ffffff80039d3c00 x27: ffffff800307f000
[ 365.116199] x26: ffffff800538a000 x25: ffffff8005388000 x24: ffffff800538a4c0
[ 365.123317] x23: 00000000000023a4 x22: ffffff8005388f68 x21: ffffff8004e37050
[ 365.130434] x20: ffffff8004e37000 x19: ffffff8004e36ee8 x18: 0000000000000152
[ 365.137552] x17: 63775f357636712e x16: 3030303030646320 x15: ffffffc081436e20
[ 365.144670] x14: ffffff80033f261c x13: 00000000000000d9 x12: 0000000000000002
[ 365.151789] x11: 0000000000000000 x10: 00000000000008a0 x9 : ffffffc081d33980
[ 365.158906] x8 : ffffff80039d4500 x7 : ffffff803fdda6c0 x6 : 0000000000000007
[ 365.166025] x5 : 0000000000000000 x4 : 00000000000000c1 x3 : 00000000000001f4
[ 365.173143] x2 : ffffff803fdd4b78 x1 : ffffff8004e37050 x0 : 0000000000000005
[ 365.180261] Call trace:
[ 365.187370] free_netdev+0x164/0x1a0
[ 365.189630] 0xffffffc079b373f0
[ 365.193447] 0xffffffc079b374c0
[ 365.196311] platform_shutdown+0x24/0x34
[ 365.199438] device_shutdown+0x160/0x268
[ 365.203605] kernel_restart+0x40/0xc0
[ 365.207510] __do_sys_reboot+0x104/0x220
[ 365.211070] __arm64_sys_reboot+0x24/0x30
[ 365.215063] invoke_syscall.constprop.0+0x5c/0x108
[ 365.218971] do_el0_svc+0x40/0xc8
[ 365.223655] el0_svc+0x30/0xb8
[ 365.227041] el0t_64_sync_handler+0x120/0x12c
[ 365.229995] el0t_64_sync+0x178/0x17c
[ 365.234424] Code: f94013f5 a8c37bfd d50323bf d65f03c0 (d4210000)
[ 365.238072] ---[ end trace 0000000000000000 ]---
Wireless backports include alloc_netdev_dummy() backport but they dont have
the required free_netdev change first, so backport it.
Fixes : #16531
Fixes: 384d079fd8 ("mac80211: update to version 6.11")
Link: https://github.com/openwrt/openwrt/pull/16549
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-30 21:12:00 +02:00
Tianling Shen
17ea41eabb
kernel: make 'no port node found' output a debug message
...
There are cases where an unavailable port is not an error, making
this error message a false-positive. The kernel log is flooded with
the messages like:
OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/usb-typec@50
Silence this message by making it a debug message.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org >
Link: https://github.com/openwrt/openwrt/pull/16524
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-28 18:47:42 +02:00
Felix Fietkau
774badd8a8
kernel: fix crashes after linearizing fraglist GSO skbs
...
This fixes some corner cases triggered by enabling fraglist GRO, where some
protocols may accidentally or intentionally linearize fraglist skbs.
Previously, these skbs became unusable and segmenting them led to crashes.
With this patch, they are properly handled by passing them to skb_segment
instead of skb_segment_list.
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-09-26 11:00:26 +02:00
Felix Fietkau
d23e0a0086
kernel: backport MHI patch required by an upcoming mac80211 update
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-09-26 10:55:11 +02:00
Robert Marko
7f46e231eb
generic: phy: aquantia: fix MDI pair property parsing
...
of_property_read_u32 returns -EINVAL when property does not exist,
according to the documentation -ENOENT is not a valid return code.
So, instead of checking for -ENOENT check for -EINVAL as otherwise the
blamed commit breaks AQR probe since it will return -EINVAL during probe.
Fixes: cb2a11f49c ("generic: phy: aquantia: add pending patch to force MDI pair order")
Link: https://github.com/openwrt/openwrt/pull/16466
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-23 18:38:44 +02:00
John Audia
2eb39308c9
x86: generic: disable rust support
...
Add missing ksym CONFIG_RUST
Building r27563 without this commit will fail due to this ksym
being undefined in the generic config.
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/16464
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-23 15:51:13 +02:00
Mieczyslaw Nalewaj
13aa1fad5d
generic: mtd: spinand: winbond: more serial NAND flash types
...
Add support for W25N01JW, W25N02JWZEIF, W25N512GW, W25N02KWZEIR and W25N01GWZEIG.
Add support for W25N04KV.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/16272
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-22 19:03:22 +02:00
Oskari Lemmela
cf8d32745e
ath79: qca955x ag71xx upstream driver fix
...
Fix mdio probe in qca95xx devices and add mandatory clocks to dtsi
Signed-off-by: Oskari Lemmela <oskari@lemmela.net >
Link: https://github.com/openwrt/openwrt/pull/15926
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-09-22 18:42:58 +02:00
Daniel Golle
cb2a11f49c
generic: phy: aquantia: add pending patch to force MDI pair order
...
Import pending patch to force MDI pair order.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 22:47:05 +01:00
Daniel Golle
8181f09049
generic: remove support for older kernels from swconfig
...
The legacy swconfig switch driver framework supports kernels older than
Linux 6.6 by using #ifdef'ery with LINUX_VERSION_CODE. Remove all that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2024-09-20 19:26:52 +01:00
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