aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic/config-6.6
Commit message (Collapse)AuthorAge
* kernel: Reorder kernel configurationHauke Mehrtens2025-07-26
| | | | | | | | This was done by running: ./scripts/kconfig-reorder.sh Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: add mstc-boot mtdsplit parserINAGAKI Hiroshi2025-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new mtdsplit parser "mstc-boot" for the devices manufactured by MSTC (Mitra Star Technology Corp.). This is necessary to handle dual-boot on those devices. This parser splits kernel+rootfs or only rootfs(or UBI) based on the image in the firmware partition or pre-defined partitions in dts, and "bootnum" value in the "persist" (or "working") partition. Note: "bootnum" is used for switching active firmware partitions on the devices manufactured by MSTC and '1' or '2' are used on most devices. But some devices use '0' or '1'. (example: I-O DATA WN-DEAX1800GR) Sequence: 1. obtain "bootnum" value 2. child nodes exsist (regardless of bootnum) -> fixed partitions (active parts : without bootnum (ex.: "kernel", "rootfs") inactive parts: with bootnum (ex.: "kernel2", "rootfs2")) 3. current partition is active (dt bootnum == mtd bootnum) -> image-based partitions Device Tree: - common - mstc,bootnum : "bootnum" value for the mtd partition (0/1/2) - mstc,persist : phandle of "persist" partition containing "bootnum" value - fixed partitions - #address-cells: indicate cell count of address of child nodes (1) - #size-cells : indicate cell count of size of child nodes (1) - (child nodes) : define the child partitions - reg : define the offset and size - label-base : define the base name of the partition - (example) : base:"kernel"->"kernel"(active)/"kernel2"(inactive) example: partition@3c0000 { compatible = "mstc,boot"; reg = <0x3c0000 0x3240000>; label = "firmware1"; mstc,bootnum = <1>; mstc,persist = <&mtd_persist>; #address-cells = <1>; #size-cells = <1>; partition@0 { reg = <0x0 0x800000>; label-base = "kernel"; }; partition@800000 { reg = <0x800000 0x2a40000>; label-base = "ubi"; }; }; - image-based partitions (no additional properties) example: partition@5a0000 { compatible = "mstc,boot"; label = "firmware1"; reg = <0x5a0000 0x3200000>; mstc,bootnum = <1>; mstc,persist = <&mtd_persist>; }; Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18976 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: input: add modules for PS/2 mouse supportDaniel Golle2025-07-19
| | | | | | | | Package kernel modules for PS/2 mouse support, mostly to allow using touchpads and trackpoints built-into laptops (many of those are connected using classic i8052-compatible PS/2 I/O). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image: add support for EROFS rootfs image generationGao Xiang2025-07-05
| | | | | | | | | | | | | | | | | | | | Add support for generating EROFS rootfs images. The EROFS filesystem can offer competitive I/O performance while minimizing final image size when using the MicroLZMA compressor. Target platform: linux-x86_generic (target-i386_pentium4_musl) Filesystem Image Size ============= ========== root.erofs 4882432 root.ext4 109051904 root.squashfs 4903302 Co-Developed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://github.com/openwrt/openwrt/pull/19244 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: Add missing config optionHauke Mehrtens2025-06-22
| | | | | | | | This broke the armsr/armv8 build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/19200 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: add support for DesignWare I2C Platform controllerÁlvaro Fernández Rojas2025-06-10
| | | | | | | Add kernel package for DesignWare I2C platform controller. This controller is used on the RP1 SoC found on RPi 5 devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add support for DesignWare SPI MMIO controllerAlbrecht Lohofener2025-06-09
| | | | | | | | | | | Add kernel packages for DesignWare SPI core and MMIO controllers. This is needed for the RP1 SoC found on RPi 5 devices. Tested with a Microchip ENC28J60 Ethernet controller on a RPi 5. Signed-off-by: Albrecht Lohofener <albrechtloh@gmx.de> Link: https://github.com/openwrt/openwrt/pull/19049 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel/generic: Restore kernel files for v6.6Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/generic: Create kernel files for v6.12 (from v6.6)Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: reorder settingsMieczyslaw Nalewaj2025-03-27
| | | | | | | | Move "# CONFIG_NVMEM_LAYOUT_ASCII_ENV is not set" to the correct location. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18335 Signed-off-by: Nick Hainke <vincent@systemli.org>
* generic: import rtl8261n patches from mediatekAndrew LaMarche2025-03-16
| | | | | | | | | RTL8261N is used on some Airoha and Realtek devices. Move the driver from Mediatek to generic so it can be used everywhere. Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18163 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Activate CONFIG_NET_SWITCHDEV in generic configHauke Mehrtens2025-03-15
| | | | | | | | | | | | | | | | The CONFIG_NET_SWITCHDEV option is needed by CONFIG_DSA and some other options. It is boolean, we have to compile it into the kernel it self. Activate it for all targets in the generic configuration, it is already activated for most of them. This allows to install DSA drivers as a module. On the ramips/mt7620 target the kernel would grown by 4.5kB. For some small targets which do not support a DSA switch by default the option is deactivated. Link: https://github.com/openwrt/openwrt/pull/17668 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: enable CONFIG_USB_NET_DRIVERSRui Salvaterra2025-03-10
| | | | | | | | This is only relevant for devices with USB support, and in itself changes nothing in the kernel build. However, it is useful to further simplify the dependencies of some USB network devices. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* kernel: Add KERNEL_DCB (Data Center Bridging)Hauke Mehrtens2025-03-09
| | | | | | | | | | | | | | | The kmod-mlxsw-spectrum driver activated CONFIG_DCB indirectly already on all targets which are building this driver. All other DCB capable driver did not activate their DCB support. CONFIG_DCB increases the uncompressed kernel size by about 7.8KB. CONFIG_DCB is only needed some data center Ethernet cards and not used on normal routers. Activate it only on the x86_64 and the armsr_arm64 target which are used on normal servers or in VMs. Link: https://github.com/openwrt/openwrt/pull/17672 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: globally enable CONFIG_PCPU_DEV_REFCNTChristian Marangi2025-03-08
| | | | | | | | | | | | | | | | | | Quoting the kconfig description for CONFIG_PCPU_DEV_REFCNT: network device refcount are using per cpu variables if this option is set. This can be forced to N to detect underflows (with a performance drop). This was introduced from kernel 5.13 and was wrongly set as disabled. Some target actually enables it but this should be always enabled unless refcount needs to be debugged (unlikely for production images) Enable in generic and drop the entry in every other target. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18174 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: add pending support for NVMEM ASCII ENV layout driverChristian Marangi2025-02-03
| | | | | | | | | | | | | | Add pending patch to support NVMEM ASCII ENV layout driver. This is a generic driver to handle simple NVMEM partition that store environment in a simple text format. This is the case for Linksys devinfo partition that are litterally txt file with format "name=value\n" Such driver works similar to u-boot,env with a similar format. While at it also introduce a patch to generalize mac-base handling for also other layout driver. Link: https://github.com/openwrt/openwrt/pull/17839 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: add missing CONFIG_LEDS_ST1202 symbolRobert Marko2025-01-27
| | | | | | | | | ST1202 controller was added recently, but it was not disabled in the generic config, so lets avoid individual target configs disabling it and just disable it in generic config. Link: https://github.com/openwrt/openwrt/pull/17746 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: add missing CONFIG_LEDS_KTD202X symbolÁlvaro Fernández Rojas2024-12-27
| | | | | | | | | | Commit 56d97fff55f3 backported leds-ktd202x from upstream but didn't add the generic config symbol. Fixes: 56d97fff55f3 ("generic: backport support for KTD2026/7 rgb(w) led controller") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17396 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.6 to 6.6.66John Audia2024-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Update patch set for new release and add required kernel option CONFIG_ZRAM_TRACK_ENTRY_ACTIME to generic config Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.66 Manually rebased: bcm27xx/patches-6.6/950-0092-MMC-added-alternative-MMC-driver.patch bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch starfive/patches-6.6/1000-serial-8250_dw-Add-starfive-jh7100-hsuart-compatible.patch Removed upstreamed: bcm27xx/patches-6.6/950-0029-vc4_hdmi-Avoid-log-spam-for-audio-start-failure.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.66&id=e0388a95736abd1f5f5a94221dd1ac24eacbd4d7 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Run-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17271 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: enable pressure interfaceJohn Audia2024-11-25
| | | | | | | | | | | | | | | | | | | | | PSI provides a canonical way to see resource pressure increases as they develop, with pressure metrics for three major resources: memory, CPU, and IO. PSI stats are like barometers that provide fair warning of impending resource shortages, enabling users to take more proactive, granular, and nuanced steps when resources start becoming scarce. References: * https://www.kernel.org/doc/html/latest/accounting/psi.html * https://lwn.net/Articles/759781/ Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000 Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/13819 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: add CONFIG_FB_INTELRobert Marko2024-11-17
| | | | | | | CONFIG_FB_INTEL is now visible on x86 since i915 driver is packaged as kmod now and it stops compilation, so add it to the generic config. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: move CONFIG_INTEL_MEI settings to target genericMieczyslaw Nalewaj2024-11-17
| | | | | | | | | Move settings CONFIG_INTEL_MEI_GSC_PROXY, CONFIG_INTEL_MEI_HDCP and CONFIG_INTEL_MEI_PXP to target generic. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16971 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: add missing CONFIG_DM_AUDITMarius Dinu2024-10-27
| | | | | | | | The option shows up when kmod-dm and CONFIG_KERNEL_AUDIT are selected. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro> Link: https://github.com/openwrt/openwrt/pull/16793 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Reorder config filesHauke Mehrtens2024-10-22
| | | | | | | | | | Reorder the kernel configuration files. This was done uisng: ./scripts/kconfig-reorder.sh Link: https://github.com/openwrt/openwrt/pull/16743 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: move CONFIG_DRM_OFDRM to genericRosen Penev2024-10-22
| | | | | | | | Multiple platforms are affected by this, including mpc85xx's p1020. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16746 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.6 to 6.6.57John Audia2024-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Update target/linux/generic/config-6.6 for new ksym 2. Refresh patches Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.57 Added: generic/backport-6.6/777-netfilter-xtables-fix-typo-causing-some-targets-to-not-load-on-IPv6.patch[1] Manually rebased: generic/hack-6.6/645-netfilter-connmark-introduce-set-dscpmark.patch Removed upstreamed: gemini/patches-6.6/0001-net-ethernet-cortina-Drop-TSO-support.patch[2] gemini/patches-6.6/0004-net-ethernet-cortina-Restore-TSO-support.patch[3] All other patches automatically rebased. 1. https://lore.kernel.org/all/20241019-xtables-typos-v2-1-6b8b1735dc8e@0upti.me/ 2 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.57&id=452c0740d72c6a77a41f6ddc318a48f18c3d2346 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.57&id=611f74b0e7fb93ee2366d9d7edca546806b220e9 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/16726 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* linux: generic: net: dsa: mv88e6xxx LED supportLinus Walleij2024-10-12
| | | | | | | | | | | | | | | This solution that is needed for some routers to provide proper LED activity when controlled directly by the MV88E6xxx switch, has just been merged in upstream Linux. Make this patch 901 as other backports from earlier kernels are in patch 896 and this is the first free number after that. Patch offsets in pending patches are augmented as part of the refresh. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* kernel: bump 6.6 to 6.6.55John Audia2024-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.55 Added the following default ksym to target/linux/generic/config-6.6: CONFIG_PROC_MEM_ALWAYS_FORCE=y # CONFIG_PROC_MEM_FORCE_PTRACE is not set # CONFIG_PROC_MEM_NO_FORCE is not set Removed upstreamed: generic/backport-6.6/780-23-v6.12-r8169-Fix-spelling-mistake-tx_underun-tx_underrun.patch[1] generic/backport-6.6/780-25-v6.12-r8169-add-tally-counter-fields-added-with-RTL8125.patch[2] generic/pending-6.6/684-gso-fix-gso-fraglist-segmentation-after-pull-from-fr.patch[3] lantiq/patches-6.6/0025-v6.12-net-ethernet-lantiq_etop-fix-memory-disclosure.patch[4] Manually rebased: bcm27xx/patches-6.6/950-0086-Main-bcm2708-bcm2709-linux-port.patch bcm27xx/patches-6.6/950-0998-i2c-designware-Add-support-for-bus-clear-feature.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.56&id=f02fcb7283b1c25f7e3ae07d7a2c830e06eb1a62 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.56&id=1c723d785adb711496bc64c24240f952f4faaabf 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.56&id=af3122f5fdc0d00581d6e598a668df6bf54c9daa 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.56&id=e66e38d07b31e177ca430758ed97fbc79f27d966 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/16655 Signed-off-by: Nick Hainke <vincent@systemli.org>
* generic: backport BLOCK OF support patchChristian Marangi2024-10-11
| | | | | | | | | | | | | | | | Backport BLOCK OF support patch merged upstream and refresh pending BLOCK patches. This is a new way to declare partition table for BLOCK device (eMMC currently supported) with the use of DTS. Current pending patch are adapted to not cause regression with current downstream implementation of a similar functionality. Also enable the new OF_PARTITION config by default. Link: https://github.com/openwrt/openwrt/pull/16663 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* x86: generic: disable rust supportJohn Audia2024-09-23
| | | | | | | | | | | | | | | 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>
* at91: refresh config-6.6Mieczyslaw Nalewaj2024-09-17
| | | | | | | | 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>
* generic: enable RELR relocationsRobert Marko2024-09-16
| | | | | | | | | | | | | | | | | | | 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>
* kernel: backport nvmem changes from v6.12Rafał Miłecki2024-09-12
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* octeon: add support for testing kernel 6.6Rui Salvaterra2024-09-09
| | | | | | | | | | 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>
* generic: 6.6: add missing DCB symbolsTil Kaiser2024-08-29
| | | | | | | | | 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>
* generic: 6.6: disable EPAN supportRobert Marko2024-08-22
| | | | | | | | 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>
* kernel: add missing config symbolsDaniel Golle2024-08-22
| | | | | | | | | 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>
* kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memoryHauke Mehrtens2024-08-21
| | | | | | | | | | | | | | 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>
* kernel: Activate CONFIG_LIST_HARDENEDHauke Mehrtens2024-08-21
| | | | | | | | | | | | | | | 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>
* kernel: bump 6.6 to 6.6.46John Audia2024-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Revert "bcm27xx: align and enable hwmon/thermal symbols"Álvaro Fernández Rojas2024-08-20
| | | | | | | | | | | This reverts commit f98f95359b60ba25f7f458190f1da4835410003d. 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>
* config: kernel: Add support for configuring BTRFS to be built-inMarek Behún2024-08-15
| | | | | | | | | | | | | | | | | | 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>
* kernel: bump 6.6 to 6.6.45 and update config-6.6John Audia2024-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* bcm27xx: align and enable hwmon/thermal symbolsÁlvaro Fernández Rojas2024-08-07
| | | | | | | | - Enable CONFIG_HWMON and CONFIG_THERMAL_HWMON on all subtargets. - Drop kmod-thermal from bcm2712. - Add CONFIG_SENSORS_RASPBERRYPI_HWMON generic symbol. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: switch crc32 implementation back to defaultQingfang Deng2024-08-06
| | | | | | | | | Commit ec885796c05a switched the crc32 implementation from default to byte-at-a-time algorithm, which runs slower but consumes less memory. A decade has passed, and we have already abandoned targets that had small memory, so switch it back to default for faster speed. Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
* mvebu: 6.6: Backport Turris Omnia MCU patches from 6.11Marek Behún2024-08-02
| | | | | | | | | | | | | | | | | | | | This backports patches dt-bindings: firmware: add cznic,turris-omnia-mcu binding platform: cznic: Add preliminary support for Turris Omnia MCU platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup platform: cznic: turris-omnia-mcu: Add support for MCU watchdog platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG ARM: dts: turris-omnia: Add MCU system-controller node ARM: dts: turris-omnia: Add GPIO key node for front button platform: cznic: turris-omnia-mcu: Depend on OF platform: cznic: turris-omnia-mcu: Depend on WATCHDOG platform: cznic: turris-omnia-mcu: fix Kconfig dependencies that will be released in 6.11 into mvebu/patches-6.6. Signed-off-by: Marek Behún <kabel@kernel.org> Link: https://github.com/openwrt/openwrt/pull/13799 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: 6.6: backport upstream r8169 patchesÁlvaro Fernández Rojas2024-06-24
| | | | | | | | | | Backport a bunch of upstream r8169 patches: - RTL8168/RTL8101 LEDs support. - RTL8126A support. - RTL8125/RTL8126 LEDs support. - RTL8168M support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 6.6: update NVMEM-on-MMC seriesDaniel Golle2024-06-16
| | | | | | | | | | | | | | | Allow a wider audience to test this pending series. Use about to be submitted v3 which factors out block notification support. Apart from dropping the no longer needed (and problematic) fallback for for the 'partitions' node being present at the device parent there are no intended functional changes. As opening a block device as file is not supported yet in Kernel v6.6, use the previous method as backporting seems a bit too involving. Fixes: #15642 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: trim outdated kernel config symbolsShiji Yang2024-06-09
| | | | | | | | | | These symbols have already been removed from the upstream Linux source code. They are automatically compared and removed by a kernel config scanning script[1]. [1] https://github.com/openwrt/openwrt/pull/15324 Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* generic: kernel add 6.6 missing symbolsPawel Dembicki2024-05-25
| | | | | | Found durring works on layerscape. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>