aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic
Commit message (Collapse)AuthorAge
* kernel: fix NVMEM looking for OTP NVMEM cells in wrong DT nodeRafał Miłecki2024-03-28
| | | | | | It was breaking NAND controllers drivers. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: 6.1: backport AXP PMIC supportChukun Pan2024-03-26
| | | | | | | | | Backport AXP15060, AXP313a and AXP192 support. The AXP15060 PMIC is used for starfive boards, and the AXP313a PMIC is used for sunxi boards. Remove conflicting patches from starfive target. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* generic: phy-mediatek-xfi-tphy: fix SGMII issueDaniel Golle2024-03-25
| | | | | | | | | Fix issue of transmitting abnormal data which leads to link problems in 1G and 2.5G SerDes modes (SGMII, 1000Base-X, 2500Base-X) on the MediaTek MT7988 SoC. Link: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/b72d6cba92bf9e29fb035c03052fa1e86664a25b Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: generic: add missing symbolPawel Dembicki2024-03-24
| | | | | | Found durring 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: fix iptables offload build without nftablesQingfang Deng2024-03-23
| | | | | | | | | | When rebasing patches on top of 6.1, a change that removed NF_TABLES from NF_FLOW_TABLE's dependency was dropped accidentally, and iptables flow offload module can only be built when nftables is selected. Restore the change to fix it. Fixes: 19a246bb6503 ("generic: 6.1: manually refresh hack patches") Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* kernel: support RISC-V PMUQingfang Deng2024-03-23
| | | | | | Add RISC-V PMU config symbols and enable them for riscv64. Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* kernel: config: 6.6: add missing ARM64 SM4 CE symbolsRobert Marko2024-03-22
| | | | | | | | | Disable CONFIG_CRYPTO_SM4_ARM64_CE_CCM and CONFIG_CRYPTO_SM4_ARM64_CE_GCM in the generic config like we do with similar CE symbols. This avoids the need to disable them in individual targets. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.1 to 6.1.82John Audia2024-03-19
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.82 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* generic: kernel: fix libata ledtrig support in 6.6Pawel Dembicki2024-03-18
| | | | | | | | | | Upstream commit e298d8a38b23 [0] changed method how to blink delays are pased to function. Downstream commit must follow it. [0] https://lore.kernel.org/r/20230510162234.291439-2-hdegoede@redhat.com Reported-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: backport some useful LED_FUNCTION_* defines for DTRafał Miłecki2024-03-17
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bump 6.6 to 6.6.22John Audia2024-03-17
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.22 Affected Patch automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.6 to 6.6.21John Audia2024-03-17
| | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.21 All patches automatically rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: xt_FLOWOFFLOAD: fix use of uninitialized dir variableQingfang Deng2024-03-16
| | | | | | | | The dir variable has been used uninitialized since the port to 5.10, and somehow this remains undetected by GCC. Fixes: b10d6044599d ("kernel: add linux 5.10 support") Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
* generic: 6.6: backport support for SDX75-based MHI 5G modemsDaniel Golle2024-03-15
| | | | | | | Also backport most recent MHI modem additions to Linux 6.6. Adds support for generic SDX75-based modems. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1: backport support for various MHI 5G modemsDaniel Golle2024-03-15
| | | | | | | | | | | | | | * Dell DW5932e * Foxconn T99W175 (HP variant) * Foxconn T99W510 * Generic SDX75-based * Quectel EM160R-GL (newer variants) * Quectel RM520 * Quectel RM520N-GL (Lenovo variant) * SC8280XP Compute Reference Design * Telit FE990 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: Activate CONFIG_NET_VENDOR_DAVICOMHauke Mehrtens2024-03-14
| | | | | | | | CONFIG_NET_VENDOR_DAVICOM is needed to activate the CONFIG_DM9000 option which builds the kmod-dm9000. This fixes the following warning: logs/package/kernel/linux/compile.txt:WARNING: kmod-dm9000 is not available in the kernel config - generating empty package Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-can: Fix build of can driversHauke Mehrtens2024-03-14
| | | | | | | | | | | | | | | | | | | | | Many can kernel modules are now gated by the newly introduced CONFIG_CAN_NETLINK configuration option. Activate it to build the can drivers again. This was changed in this upstream Linux commit: https://git.kernel.org/linus/df6ad5dd838e0fa543ca28ca6154901fa65a9443 This should fix these warnings with kernel 6.1 and 6.6: logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can-pci is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can-platform is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-mcp251x is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-slcan is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-8dev is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-ems is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-kvaser is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-peak is not available in the kernel config - generating empty package Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: mtk_eth_soc: fix PPE hanging issueDaniel Golle2024-03-13
| | | | | | | | | | | | | | A patch to resolve an issue was found in MediaTek's GPL-licensed SDK: In the mtk_ppe_stop() function, the PPE scan mode is not disabled before disabling the PPE. This can potentially lead to a hang during the process of disabling the PPE. Without this patch, the PPE may experience a hang during the reboot test. Reference: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/b40da332dfe763932a82f9f62a4709457a15dd6c Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 5.15: mtk_eth_soc: backport fix for hang on link upDaniel Golle2024-03-13
| | | | | | | Backport commit faa5f17fe2 ("kernel: mtk_eth_soc: release MAC_MCR_FORCE_LINK only when MAC is up") to Linux 5.15 as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: config: 6.6: disable ZSTD debug info compression by defaultRobert Marko2024-03-12
| | | | | | | | | | | | | When kernel 6.6 is being compiled with GCC13 it will prompt for: Compressed Debug information > 1. Don't compress debug information (DEBUG_INFO_COMPRESSED_NONE) 2. Compress debugging information with zlib (DEBUG_INFO_COMPRESSED_ZLIB) 3. Compress debugging information with zstd (DEBUG_INFO_COMPRESSED_ZSTD) (NEW) This is because kernel now also has support for compressing debug info with ZSTD, so add the missing symbol and disable it by default. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: config: add missing symbol for kenrel 6.6Weijie Gao2024-03-12
| | | | | | | | | | | | CONFIG_HID_SUPPORT: Set default value for kmod-hid CONFIG_USB_CDNS3_IMX: CONFIG_USB_CDNS3_PCI_WRAP: CONFIG_USB_CDNSP_PCI: Introduced by db0d7cf6a1 (usb: add cdns3 support) Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* Revert "kernel: config: add symbol introduced with 6.2"Robert Marko2024-03-12
| | | | | | | | | This reverts commit 7ea82bc17d1583f4d9d46397846b0eb63e6651eb. This commit does not meet formal requirments, and has been merged due to my error. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: config: add symbol introduced with 6.2CharlesMengCA2024-03-12
| | | | | | | | CONFIG_DEBUG_INFO_COMPRESSED_ZSTD, required by GCC 13.0+ Compress the debug information using zstd. This may provide better compression than zlib, for about the same time costs, but requires newer toolchain support. Requires GCC 13.0+ or Clang 16.0+, binutils 2.40+, and zstd. Signed-off-by: CharlesMengCA <58993776+CharlesMengCA@users.noreply.github.com>
* generic: 6.6: fix copy & refreshDaniel Golle2024-03-11
| | | | | | | A new patch was added meanwhile which will go as fix via netdev tree. Copy & refresh it for Linux 6.6 as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: config: add symbol introduced with 6.1.81John Audia2024-03-11
| | | | | | | | Add CONFIG_EFI_HANDOVER_PROTOCOL=y to the default config[1] and disable CONFIG_NFSD_V2 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.81&id2=v6.1.80 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.81John Audia2024-03-11
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.81 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* generic: 6.6: fix realtek PHY detection patchDaniel Golle2024-03-11
| | | | | | | Avoid crashing the kernel when trying to detect early versions of RealTek RTL8221B 2.5G Ethernet PHY. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.6: fix uncompressed kallsymsRobert Marko2024-03-11
| | | | | | | | | | | | | | | Currently, the existing uncompressed kallsym support is causing qualcommax boards to hang on boot, and only after earlycon and verbose BUG() prints are enabled the trace is visible: [ 0.000000] ------------[ cut here ]------------ [ 0.000000] kernel BUG at kernel/kallsyms.c:340! [ 0.000000] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Felix has fixed up the uncompressed kallsyms support so modify the current patch with the fix. All credits for the code go to Felix. Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: v6.6: update fitblk driver to work with Linux 6.6Daniel Golle2024-03-11
| | | | | | | Update fitblk driver which has previously been backported to Linux 6.1 so it can build and work with Linux 6.6. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.6: refresh config symbolsWeijie Gao2024-03-11
| | | | | | | | | | Sort generic config for 6.6. The sort commands: $ ./scripts/kconfig.pl '+' target/linux/generic/config-6.6 /dev/null > target/linux/generic/config-6.6-new $ mv target/linux/generic/config-6.6-new target/linux/generic/config-6.6 Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: add missing symbolsWeijie Gao2024-03-11
| | | | | | | | Add missing symbols to config for 6.6. Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: refresh hack patchesWeijie Gao2024-03-11
| | | | | | Refresh hack patches with make target/linux/refresh. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: refresh pending patchesWeijie Gao2024-03-11
| | | | | | Refresh pending patches with make target/linux/refresh. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: refresh backport patchesWeijie Gao2024-03-11
| | | | | | Refresh backport patches with make target/linux/refresh. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: manually refresh hack patchesWeijie Gao2024-03-11
| | | | | | Refresh hack patches for kernel 6.6. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: manually refresh pending patchesWeijie Gao2024-03-11
| | | | | | | Refresh pending patches for kernel 6.6. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: manually refresh backport patchesWeijie Gao2024-03-11
| | | | | | Refresh backport patches that still needs to be merged for kernel 6.6. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: drop pending patch backported as fixesWeijie Gao2024-03-11
| | | | | | Drop pending patch backported as fixes in later kernel version. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: drop backport patchesWeijie Gao2024-03-11
| | | | | | Drop all backport patches that are now included in kernel 6.6. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: copy backport, hack, pending patch and config from 6.1 to 6.6Weijie Gao2024-03-11
| | | | | | Copy backport, hack, pending patch and config from 6.1 to 6.6. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* kernel: mtk_eth_soc: release MAC_MCR_FORCE_LINK only when MAC is upDaniel Golle2024-03-11
| | | | | | | | | | | Clearing bit MAC_MCR_FORCE_LINK which forces the link down too early can result in MAC ending up in a broken/blocked state. Fix this by handling this bit in the .mac_link_up and .mac_link_down calls instead of in .mac_finish. Suggested-by: Mason-cw Chang <Mason-cw.Chang@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* usb: add cdns3 supportZoltan HERPAI2024-03-10
| | | | | | | | | | CDNS3 is a SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD) controller from Cadence. Add support for this device, and add the required symbols into the generic configs. Compile-tested: apm821xx, bcm4908, imx, mpc85xx, pistachio, starfive Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: 6.1: add missing config symbol for tracingTony Ambardar2024-03-07
| | | | | | | Add missing option CONFIG_FPROBE to generic config, found building x86_64 arch with tracing enabled. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: Remove unused schedulersHauke Mehrtens2024-03-07
| | | | | | These schedulers were removed in kernel 5.15.150 and 6.1.180. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 5.15 to 5.15.150Hauke Mehrtens2024-03-07
| | | | | | | | | | | | | | | | | | | | | | | Removed because it is upstream: bcm53xx/patches-5.15/030-v5.16-0019-ARM-dts-BCM53573-Describe-on-SoC-BCM53125-rev-4-swit.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb1003c07e746e4e82bdd3959c9ea37018ed41a3 Removed because it is upstream: bcm53xx/patches-5.15/037-v6.6-0004-ARM-dts-BCM53573-Drop-nonexistent-default-off-LED-tr.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c65a23e98e38dc991f495d6bdb3cfa6163a88a0c Removed because it is upstream: bcm53xx/patches-5.15/037-v6.6-0005-ARM-dts-BCM53573-Drop-nonexistent-usb-cells.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=71475bcee001cae3844644c2787eef93b26489d1 Adapted hack-5.15/650-netfilter-add-xt_FLOWOFFLOAD-target.patch to match the changes from the upstream flow offload patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c71b831220edeab7ce603d818dc1708d9ea4137 Manually Adapted the following patch: bcm53xx/patches-5.15/035-v6.2-0004-ARM-dts-broadcom-align-LED-node-names-with-dtschema.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 5.15 to 5.15.149Hauke Mehrtens2024-03-07
| | | | | | | | | | | Removed because it is upstream: generic/pending-5.15/540-ksmbd-only-v2-leases-handle-the-directory.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=81ea755b8fa57ce186f56f14b709cf491c2a5505 Manually Adapted the following patch: ath79/patches-5.15/900-unaligned_access_hacks.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath25: drop targetRobert Marko2024-03-07
| | | | | | | | | | | | | | ath25 has been on life support for the last couple of releases, eventually leading to marking it as source-only in 2023. It has been basically only touched to do a kernel bump so that we can make the new OpenWrt release which was a challenge due to small RAM amount. However, with the attempt of kernel 6.1 update it turns out that kernel cannot even finish booting due to RAM constraints, so its time to let this target go. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.1 to 6.1.80John Audia2024-03-05
| | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.80 Manually rebased: generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch[1] All other patches automatically rebased. 1. Acknowledgement to @heheb and @DragonBluep. Upstream commit for ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.80&id=9c5662e95a8dcc232c3ef4deb21033badcd260f6 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* generic l2tp: drop flow hash on forwardDavid Bauer2024-02-26
| | | | | | | | | | | | | Drop the flow-hash of the skb when forwarding to the L2TP netdev. This avoids the L2TP qdisc from using the flow-hash from the outer packet, which is identical for every flow within the tunnel. This does not affect every platform but is specific for the ethernet driver. It depends on the platform including L4 information in the flow-hash. Signed-off-by: David Bauer <mail@david-bauer.net>
* generic vxlan: don't learn non-unicast L2 destinationsDavid Bauer2024-02-26
| | | | | | | | | | | This patch avoids learning non-unicast targets in the vxlan FDB. They are non-unicast and thus should be sent to the broadcast-IPv6 instead of a unicast address Link: https://lore.kernel.org/netdev/15ee0cc7-9252-466b-8ce7-5225d605dde8@david-bauer.net/ Link: https://github.com/freifunk-gluon/gluon/issues/3191 Signed-off-by: David Bauer <mail@david-bauer.net>