aboutsummaryrefslogtreecommitdiff
path: root/package/kernel
Commit message (Collapse)AuthorAge
* kernel: add NILFS2 fs modulePavlo Samko7 days
| | | | | | | | | | | NILFS is a log-structured file system developed for Linux. NILFS provides versioning capability of an entire file system and continuous snapshotting that allows users to restore files mistakenly overwritten or destroyed a while ago. Signed-off-by: Pavlo Samko <bulldozerbsg@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18247 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: remove rt2x00_platform_dataRosen Penev11 days
| | | | | | | | All of this uses OF now. No need to keep platform data around. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19804 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/modules: add BQ32000 I2C RTC kernel module supportOndrej Kolar2025-08-14
| | | | | | | | | | Add support for the Texas Instruments BQ32000 I2C real-time clock chip. Tested on a custom board based on Hi-Link HLK-7628N. Signed-off-by: Ondrej Kolar <ondrej@kolarovo.cz> Link: https://github.com/openwrt/openwrt/pull/19764 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to Git HEAD (2025-08-14)Felix Fietkau2025-08-14
| | | | | | | 5f61f34087c5 wifi: mt76: mt7996: fix crash on some tx status reports Fixes: https://github.com/openwrt/openwrt/issues/19638 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to Git HEAD (2025-08-13)Felix Fietkau2025-08-13
| | | | | | | | | | | | | | | | | | | | | 00275548ba8f wifi: mt76: mt7996: Overwrite unspecified link_id in mt7996_tx() 2601bb91e078 wifi: mt76: mt7996: Fix mt7996_mcu_sta_ba wcid configuration 110ecc331123 wifi: mt76: mt7996: Fix mt7996_mcu_bss_mld_tlv routine 449a1aca9f72 wifi: mt76: mt7996: Initialize hdr before passing to skb_put_data() 1de707e73fc7 wifi: mt76: mt7921: don't disconnect when CSA to DFS chan fce683dbcfc9 wifi: mt76: mt7925: fix locking in mt7925_change_vif_links() 11f721bce235 wifi: mt76: mt7925: fix the wrong bss cleanup for SAP b3613d9a317d wifi: mt76: mt7996: Set def_wcid pointer in mt7996_mac_sta_init_link() d1a2900a390d wifi: mt76: mt7996: Set proper link destination address in mt7996_tx() 56990ce9289a wifi: mt76: mt7925u: Add VID/PID for Netgear A9000 e796542a0585 wifi: mt76: mt7925: add MBSSID support e35e4f8fcf8a wifi: mt76: fix potential memory leak in mt76_wmac_probe() aa2f13c3be79 wifi: mt76: mt7996: disable beacons when going offchannel 630e166c958d wifi: mt76: prevent non-offchannel mgmt tx during scan/roc d3e7c2051aae wifi: mt76: mt7996: use the correct vif link for scanning/roc 903a7e0ace79 wifi: mt76: mt7921: add MBSSID support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to version 6.16Felix Fietkau2025-08-13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix division by zero in expected throughput estimationFelix Fietkau2025-08-09
| | | | | | Fixes: https://github.com/openwrt/openwrt/issues/19729 Fixes: f10732fb5632 ("mac80211: estimate expected throughput if not provided by driver/rc") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: usb: fix dependencies for kmod-cdns3 and kmod-cdnsThomas Richard2025-08-08
| | | | | | | | | The cdns3 driver can be built without usb host mode support. Fix dependencies to handle the case it is built with only gadget support. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/19246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: usb: kmod-usb-dwc3: add gadget and dual-role modes supportThomas Richard2025-08-08
| | | | | | | | | | | Build DWC3 driver in the right mode: - host mode if kernel have usb host support only. - gadget mode if kernel have usbgadget support only. - dual-role mode if kernel have both usb host and usbgadget support. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/19246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: usb: fix dependencies for kmod-usb-roles packageThomas Richard2025-08-08
| | | | | | | | | | | | | | The usb role driver does not depend on the kernel config CONFIG_USB (host side support). It only depends on the kernel config CONFIG_USB_SUPPORT. Now it depends on the OpenWrt configurations USB_SUPPORT or USB_GADGET_SUPPORT (usb and usbgadget features). We can assume that if usb or usbgadget features are set, CONFIG_USB_SUPPORT has been set in the target/subtarget kernel config. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/19246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: usb: gadget drivers do not depend on usb host supportThomas Richard2025-08-08
| | | | | | | | | The usb gadget drivers don't depend on usb host support, so fix the package dependencies accordingly. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/19246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: usb: add kmod-usb-common packageThomas Richard2025-08-08
| | | | | | | | | | Move usb-common driver from usb-core package to a new usb-common package. The usb-common driver is needed by usb-gadget driver which can be used without host support. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/19246 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add kmod-w1-slave-ds2438Andres Heinloo2025-08-07
| | | | | | | | This patch adds support for building the ds2438 one-wire kernel module. Signed-off-by: Andres Heinloo <andres@gfz.de> Link: https://github.com/openwrt/openwrt/pull/19694 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add kmod-sfc-siena for Solarflare SFN5000/6000 series NICsSteve Wavler2025-08-07
| | | | | | | | | | | | | | | | | | | | | | | kmod-sfc should add support for Solarflare SFC9000 series based cards. However after kernel 5.19, support for the 'Siena' subclass of SFN5000/6000 devices has been separated out since they went EOL as they are no longer being actively developed. As kmod-sfc no longer provides driver support for these cards and hasn't since kernel 5.2, a new kernel module is needed to support these 10Gb Ethernet cards. More info here: https://cateee.net/lkddb/web-lkddb/SFC_SIENA.html and here: https://www.phoronix.com/news/Solarflare-SFC-Siena-Linux-5.19 The module can be compiled in separately and works if kernel is custom compiled; OpenWRT has made these changes already with the SFC 'falcon' subclass of drivers already. See 3c5d70a and e5ba6e9 This is building on excellent work by @ynezz and @nasbdh9 Signed-off-by: Steve Wavler <trenchcoatjedi@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19647 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ltq-ptm: add NVMEM MAC supportRosen Penev2025-08-06
| | | | | | | | | This will be used in the following commit to move MAC assignment of the DSL interface to NVMEM. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17289 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/modules: add MCP342x I2C ADCs kernel module supportOndrej Kolar2025-08-06
| | | | | | | | | | This commit adds kernel module support for Microchip MCP342x family of I2C ADCs. Tested on a custom board based on Hi-Link HLK-7628N. Signed-off-by: Ondrej Kolar <ondrej@kolarovo.cz> Link: https://github.com/openwrt/openwrt/pull/19619 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mac80211: estimate expected throughput if not provided by driver/rcFelix Fietkau2025-08-06
| | | | | | | | Estimate the tx throughput based on the expected per-packet tx time. This is useful for mesh implementations that rely on expected throughput, e.g. 802.11s or batman-adv. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport upstream fixesFelix Fietkau2025-08-06
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: kmod-drm-imx-hdmi: Fix kmod-drm-display-helper dependencyHauke Mehrtens2025-07-27
| | | | | | | | | | | | Select the kmod-drm-display-helper package instead of depending on it. kmod-drm-display-helper is hidden now, so the user can not manually select it. This fixes the build of the imx target. Fixes: 8bcc6d1894eb ("kernel: kmod-drm-display-helper: Mark hidden") Link: https://github.com/openwrt/openwrt/pull/19532 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-crypto-lib-aescfb: Remove packageHauke Mehrtens2025-07-27
| | | | | | | | | | | | | kmod-crypto-lib-aescfb is marked hidden and not selected by any other package, it can not be build. The Kconfig option in the kernel has no title, so it can not be selected, it is only selected by CONFIG_TCG_TPM2_HMAC in the kernel. Fixes: ef2310b031a9 ("kernel: modules: update dependency for kmod-tpm") Fixes: aa51a1c13a3a ("kernel: kmod-crypto-lib-aescfb: Mark hidden") Link: https://github.com/openwrt/openwrt/pull/19532 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-fs-nfs-v4: Package nfs_layout*.ko filesHauke Mehrtens2025-07-26
| | | | | | | | | | The nfs_layout_flexfiles.ko and nfs_layout_nfsv41_files.ko file are build automatically when CONFIG_NFS_V4_1 is selected, we can not deactivate them. Pack them into the NFS package too. I do not know if we should also load them automatically. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-dsa-notag: Add driverHauke Mehrtens2025-07-26
| | | | | | | | | The CONFIG_B53 kernel config option will select this driver. Add the driver to the kernel config menu and make kmod-dsa-b53 depend on it. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-phy-bcm7xxx: Add driverHauke Mehrtens2025-07-26
| | | | | | | | | The CONFIG_BCMGENET kernel config option will select this driver. Add the driver to the kernel config menu and make kmod-bcmgenet depend on it. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-lib-parman: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_PARMAN has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-lib-objagg: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_OBJAGG has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-drm-display-helper: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_DRM_DISPLAY_HELPER has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-drm-buddy: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_DRM_BUDDY has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-async: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_V4L2_ASYNC has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-fwnode: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_V4L2_FWNODE has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-crypto-lib-aescfb: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_CRYPTO_LIB_AESCFB has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-crypto-engine: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_CRYPTO_ENGINE has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-industrialio-backend: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_IIO_BACKEND has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-pinctrl-mcp23s08: Depend on PINCTRLHauke Mehrtens2025-07-26
| | | | | | | | The kernel driver configuration depends on PINCTRL. Show this driver only on targets supporting pinctrl. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-backlight-pwm/kmod-hwmon-pwmfan: Depend on PWM_SUPPORTHauke Mehrtens2025-07-26
| | | | | | | | These drivers depend on the kernel option CONFIG_PWM, only add them to OpenWrt for targets which have PWM support. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-ag71xx: Depend on ath79 onlyHauke Mehrtens2025-07-26
| | | | | | | | The kernel driver configuration depends on ath79 or compile test and not on PCI. Allow this package in OpenWrt only for the ath79 target. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-cpia2: Remove driverHauke Mehrtens2025-07-26
| | | | | | | | | This driver was removed in kernel 6.3 [0], remove it from OpenWrt too. [0]: https://git.kernel.org/linus/9ea8a9c72a9b4d24e6045ee25f5e465dc22f9f55 Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-ledtrig-audio: Depend on kernel 6.6Hauke Mehrtens2025-07-26
| | | | | | | | | | This driver was removed in kernel 6.10 [0], make it depend on kernel 6.6 for now. [0]: https://git.kernel.org/linus/a24de38de8046c075777bd6b8a291ae1ee56f71c Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-sched-act-ipt: Depend on kernel 6.6Hauke Mehrtens2025-07-26
| | | | | | | | | | This driver was removed in kernel 6.8 [0], make it depend on kernel 6.6 for now. [0]: https://git.kernel.org/linus/ba24ea129126362e7139fed4e13701ca5b71ac0b Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-hwmon-max6642: Depend on kernel 6.6Hauke Mehrtens2025-07-26
| | | | | | | | | | This driver was removed in kernel 6.11 [0], make it depend on kernel 6.6 for now. [0]: https://git.kernel.org/linus/ed99ae74f2328e42286880c946953a8f9dd95a7e Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-md-multipath: Depend on kernel 6.6Hauke Mehrtens2025-07-26
| | | | | | | | | | This driver was removed in kernel 6.8 [0], make it depend on kernel 6.6 for now. [0]: https://git.kernel.org/linus/d8730f0cf4effa015bc5e8840d8f8fb3cdb01aab Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: video: package driver for TC358762Daniel Golle2025-07-20
| | | | | | Create module package for Toshiba TC358762 DSI/DPI bridge driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: video: individually package simple-panel.koDaniel Golle2025-07-20
| | | | | | | | The DRM modules for simple (ie. raw, non-eDP) panels can be used also by platforms others than Freescale i.MX. Create an individual package for it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: i2c: package i2c-mux-pinctrlDaniel Golle2025-07-19
| | | | | | Create kernel module package for i2c-mux-pinctrl. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>
* kernel: add missing dependency on kmod-drm to kmod-i2c-hidDaniel Golle2025-07-19
| | | | | | | | | Buildbot revealed that on the x86/geode target, on which CONFIG_DRM=y isn't set, kmod-i2c-hid misses the dependency on kmod-drm. Fix that to fix the build for x86/geode. Fixes: c83e275c9b ("kernel: package modules for I2C HID devices") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ltq-adsl-mei: check status register before reading mailbox messagesJan Hoffmann2025-07-17
| | | | | | | | | | | | | | | | | | | | | The interrupt handler reads from the mailbox if no other reason for the interrupt is known. If a spurious interrupt is received just after a mailbox message has been sent, this means that the response to the previous message is read again and returned by DSL_BSP_SendCMV instead of the actual response. To fix this, check the status register before reading from the mailbox in the interrupt handler. Tested on Fritzbox 7320. Without this change, there is occasionally a kernel panic due to an out-of-bounds memory access in the ltq-adsl driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times. Signed-off-by: Jan Hoffmann <jan@3e8.eu> Link: https://github.com/openwrt/openwrt/pull/19385 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: package hid-alps moduleDaniel Golle2025-07-16
| | | | | | | Package driver module fuer ALPS touchpads and trackpoints found in some laptops. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: package modules for I2C HID devicesDaniel Golle2025-07-16
| | | | | | | | | Package driver modules for I2C HID devices such as touchpads, touchscreens and trackpoints found on some laptops. Only the ACPI firmware variant of the driver is packaged for now as that's what I got for testing. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: make tty count for 8250 configurableFlorian Eckert2025-07-13
| | | | | | | | | | | | The number of serial interfaces for the chip 8250 can be configured at build time. This is currently not configurable and is always set to 16 interfaces. This is too little for some small embedded devices and too much for others (x86_64). Therefore, this commit creates the possibility to set this at compile time. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Link: https://github.com/openwrt/openwrt/pull/19217 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: package userspace consumer regulatorTomasz Maciej Nowak2025-07-13
| | | | | | | | | | Allows to enable/disable attached regulators from userspace, i.e. by simply writing value to a sysfs exported state file. Useful in case of USB port VBUS toggled by GPIO. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250529202033.28250-1-tmn505@terefe.re/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>