aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Fix usb-chipidea dependency on ulpi.ko for 4.19Petr Štetiar2018-12-181-1/+2
| | | | | | | | | | | | | | | | | | | It seems, that since Linux 4.18-rc2 ci_hdrc depends on ulpi. commit a930d8bd94d8db7715d1af74299f710b1fb22fc8 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: Wed Jul 4 10:09:58 2018 -0300 usb: chipidea: Always build ULPI code Commit 03e6275ae381 ("usb: chipidea: Fix ULPI on imx51") causes a kernel hang on imx51 systems that use the ULPI interface and do not select the CONFIG_USB_CHIPIDEA_ULPI option. In order to avoid such potential misuse, let's always build the chipidea ULPI code into the final ci_hdrc object. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel/modules: HMC5843 3D-compass kernel module support enabled.Roman Bazalevsky2018-12-161-0/+17
| | | | Signed-off-by: Roman Bazalevsky <rvb@rvb.name>
* netfilter: Add fib support for nftablesBrett Mastbergen2018-12-161-0/+12
| | | | Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
* kernel: netfilter: chain filters merged into nf_tables.koHauke Mehrtens2018-12-151-1/+1
| | | | | | | | | | | | | | | | | | In mainline kernel commit 02c7b25e5f5 ("netfilter: nf_tables: build-in filter chain type") all chain filters were merged into one file and into one kernel module to save some memory. The code protected by these configuration options CONFIG_NF_TABLES_BRIDGE, CONFIG_NF_TABLES_IPV4, CONFIG_NF_TABLES_ARP, CONFIG_NF_TABLES_IPV6, CONFIG_NF_TABLES_NETDEV and CONFIG_NF_TABLES_INET was merged into the nft_chain_filter.c file which is now always compiled into the nf_tables.ko file. This only happened in kernel 4.19 and OpenWrt has to select these as modules in older kennel versions. Mark them as build-in in the kernel 4.19 specific kernel configuration file which will then not be overwritten by the package specific settings which try to make them modular again. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19Hauke Mehrtens2018-12-151-1/+1
| | | | | | Like on kernel 4.14 this dependency is deactivated in OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add missing dependency to kmod-regmapHauke Mehrtens2018-12-151-2/+2
| | | | | | Like on kernel 4.14 some kernel modules depend now on regmap. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make video-gspca-core depend on vidobuf2Hauke Mehrtens2018-12-151-1/+1
| | | | | | This new dependency is needed for kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Always activate CONFIG_HW_RANDOM_TPMHauke Mehrtens2018-12-151-1/+1
| | | | | | | CONFIG_HW_RANDOM_TPM does not activate a separate kernel module any more, but it only activates the random code in the tpm.ko. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make kmod-mpls depend on iptunnel in kernel 4.19Hauke Mehrtens2018-12-151-1/+1
| | | | | | This new dependency is needed with kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Adapt to move of autofs4 in kernel 4.19Hauke Mehrtens2018-12-151-2/+6
| | | | | | autofs4 is now in the fs/autofs/ folder in kernel 4.19 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Adapt to new location of video-videobuf2 in kernel 4.19Hauke Mehrtens2018-12-151-5/+9
| | | | | | | | The video-videobuf2 kernel modules were moved to a new folder in kernel 4.19. videobuf2-v4l2.ko is only available since kernel 4.4, blacklist this kmod completely on kernel 3.18. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add dependencies for kernel 4.19Hauke Mehrtens2018-12-153-3/+3
| | | | | | These dependencies are needed on kernel 4.14 and kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Use crypto_simd.ko instead of lrw.ko for x86Hauke Mehrtens2018-12-151-2/+3
| | | | | | | | The x86 optimized cryptographic algorithm kernel modules now mostly use crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to the kmod-crypto-misc package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove crypto/ablk_helper.ko on kernel 4.19Hauke Mehrtens2018-12-151-4/+4
| | | | | | | This module was removed in kernel 4.17, all users are refactored to not need this any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: extract asn1_decoder.koHauke Mehrtens2018-12-153-3/+13
| | | | | | | The asn1_decoder.ko module is needed by the kmod-nf-nathelper-extra package in kernel 4.19, extract it and add the missing dependencies. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add missing dependency to kmod-crypto-acompressHauke Mehrtens2018-12-152-3/+3
| | | | | | | Like kernel on 4.14 some modules need the dependency to kmod-crypto-acompress on kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Adapt to moved kvaser_usb.ko in kernel 4.19Hauke Mehrtens2018-12-151-1/+3
| | | | | | In kernel 4.19 the kvaser_usb.ko file moved into its own directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Use kmod-dax on kernel 4.19Hauke Mehrtens2018-12-151-2/+2
| | | | | | Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add kmod-phy-realtekHauke Mehrtens2018-12-151-1/+17
| | | | | | | | The r8169 driver uses the phy lib with the realtek phy driver in kernel 4.19 instead of integrating the phy driver into the mac driver. Add the new phy driver and add this missing dependency. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Replace ledtrig-netdev with upstream backportHauke Mehrtens2018-12-151-1/+1
| | | | | | | | | | | The ledtrig-netdev was added to upstream Linux kernel 4.16, replace our own version with the patch based on the upstream version. This will remove the ledtrig-netdev support from kernel 3.18, because I not want to spend time on backporting it to 3.18. This will make it easier to use the upstream version with kernel 4.19, by just not applying this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kmod-dma-buf: fix build with external kernelStijn Tintel2018-12-121-1/+5
| | | | | | | | | | In hack/904-debloat_dma_buf.patch, DMA_SHARED_BUFFER is changed from bool to tristate. As this patch is not applied to external kernel sources, build fails if kmod-dma-buf is enabled. Fix this by only including the module file if CONFIG_EXTERNAL_KERNEL_TREE and CONFIG_KERNEL_GIT_CLONE_URI are not enabled. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: nf-nathelper-extra depends on ipt-rawSteven Honson2018-11-261-1/+1
| | | | | | | | | | | | | | | | The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. As automatic helper assignment is disabled in recent Linux kernels, explicit rules must be added to the raw table for each helper. While commit f50a524 in the firewall3 project added a set of default rules and other additional related functionality, both this and the alternative manual methods of defining these rules require kmod-ipt-raw. Signed-off-by: Steven Honson <steven@honson.id.au>
* kernel/modules: TI ADS1015 kernel module support enabled.Roman Bazalevsky2018-11-251-0/+14
| | | | Signed-off-by: Roman Bazalevsky <rvb@rvb.name>
* kernel/modules: ROHM BH1750 ALS IIO kernel module support enabled.Roman Bazalevsky2018-11-251-0/+13
| | | | Signed-off-by: Roman Bazalevsky <rvb@rvb.name>
* kernel: drop old bluetooth config symbolsStijn Tintel2018-11-121-13/+1
| | | | | | They do not exist in any of the supported kernel versions. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: Remove dependencies on old kernelsRosen Penev2018-11-015-7/+7
| | | | | | Kernels 4.1 and 4.4 are not part of the tree anymore. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: add kmod-usb-serial-mos7840Thomas Fuzeau2018-11-011-0/+15
| | | | | | Enable build of kernel module for mos7840 usb-serial devices. Signed-off-by: Thomas Fuzeau <tfuzeau@loocla.com>
* kernel/modules: Aosong AM2315/AM2320 IIO kernel module support enabled.Roman Bazalevskiy2018-10-201-0/+13
| | | | Signed-off-by: Roman Bazalevskiy <rvb@rvb.name>
* kernel/modules: add kmod-fou6 packageDeng Qingfang2018-10-201-0/+21
| | | | | | IPv6 support for Foo-over-UDP tunnel Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
* gemini: Break out USB to packagesLinus Walleij2018-10-201-0/+11
| | | | | | | | | | | | This creates a new kernel package for the fotg210 host controller and uses that with the gemini to shrink the kernel. The SQ201 needs the USB2 PCI package as well. The build system required me to make kernel_oldconfig beofore it would build without errors so some minor unrelated Kconfig entries are changed. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* netfilter: add missing dependency for kernel 4.14Koen Vandeputte2018-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since kernel 4.14.75 commit ("netfilter: xt_cluster: add dependency on conntrack module") a dependency is required on kmod-nf-conntrack. It seems this was already present for kmod-ipt-clusterip but not yet for kmod-ipt-cluster Add it fixing a build error when including kmod-ipt-cluster: Package kmod-ipt-cluster is missing dependencies for the following libraries: nf_conntrack.ko modules/netfilter.mk:665: recipe for target '/mnt/ramdisk/koen/firmware/builds/openwrt/bin/targets/cns3xxx/generic/packages/kmod-ipt-cluster_4.14.75-1_arm_mpcore_vfp.ipk' failed make[3]: *** [/mnt/ramdisk/koen/firmware/builds/openwrt/bin/targets/cns3xxx/generic/packages/kmod-ipt-cluster_4.14.75-1_arm_mpcore_vfp.ipk] Error 1 make[3]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/openwrt/package/kernel/linux' Command exited with non-zero status 2 time: package/kernel/linux/compile#1.80#0.05#2.07 package/Makefile:107: recipe for target 'package/kernel/linux/compile' failed make[2]: *** [package/kernel/linux/compile] Error 2 make[2]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/openwrt' package/Makefile:103: recipe for target '/mnt/ramdisk/koen/firmware/builds/openwrt/staging_dir/target-arm_mpcore+vfp_musl_eabi/stamp/.package_compile' failed make[1]: *** [/mnt/ramdisk/koen/firmware/builds/openwrt/staging_dir/target-arm_mpcore+vfp_musl_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/openwrt' /mnt/ramdisk/koen/firmware/builds/openwrt/include/toplevel.mk:216: recipe for target 'world' failed make: *** [world] Error 2 Fixes: f983956a8b72 ("kernel: bump 4.14 to 4.14.75") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v4.14.75&id=b969656b46626a674232c0eadf92a394b89df07c
* kernel: Add missing config option for NFSDv4Hauke Mehrtens2018-09-291-0/+1
| | | | | | | | This configuration option is not set when building the layerscape/armv8_64b target. Fixes: 92aa21497b2 ("kernel: build support for NFSv4 in nfsd") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: build support for NFSv4 in nfsdW. Michael Petullo2018-09-291-1/+5
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* samsung: Add missing dependencies to kmod-of-mdioHauke Mehrtens2018-09-291-2/+2
| | | | | | | The samsung target builds of_mdio.ko as a module, add the needed dependency to it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netfilter: add IPVS kernel module supportMauro Mozzarelli2018-09-241-0/+92
| | | | | | | | | | | | | | | | IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it can direct requests for TCP/UDP based services to the real servers, and makes services of the real servers to appear as a virtual service on a single IP address. This change adds the following kmod packages - kmod-nf-ipvs - kmod-nf-ipvs-ftp - kmod-nf-ipvs-sip Signed-off-by: Mauro Mozzarelli <mauro@ezplanet.org> Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: add Si7020 relative humidity/temperature sensor driverHartmut Knaack2018-09-221-0/+18
| | | | | | | Add support for the Silicon Labs Si7020 family of relative humidity and temperature sensors using the I2C bus. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
* kernel: add TSL4531 ambient light sensor driverHartmut Knaack2018-09-221-0/+18
| | | | | | | Add support for the TAOS TSL4531x family of ambient light sensors using the I2C bus. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
* kernel: add missing dependency to regmap to kmod-gpio-mcp23s08Hauke Mehrtens2018-08-251-1/+1
| | | | | | | This fixes a build problem recently introduced. Fixes: a904003b9b5f ("kernel: fix kmod-gpio-mcp23s08 for linux 4.14") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-tcp-bbrKeith Wong2018-08-253-0/+40
| | | | | | | | | | | | This adds support for BBR (Bottleneck Bandwidth and RTT) TCP congestion control. Applications (e.g. webservers, VPN client/server) which initiate connections from router side can benefit from this. This provide an easier way for users to use BBR by selecting / installing kmod-tcp-bbr instead of altering kernel config and compiling firmware by themselves. Signed-off-by: Keith Wong <keithwky@gmail.com>
* kernel: fix kmod-gpio-mcp23s08 for linux 4.14Martin Schiller2018-08-251-3/+7
| | | | Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* Revert "netfilter: separate IPv6 relevant kernel modules from IPv4"Jo-Philipp Wich2018-08-061-58/+5
| | | | | | | | | This reverts commit 42a3c6465a230a4e03f2a185f4db5ac57b89f673. The change was apparently never build-tested with all kmods enabled. I took a brief look but found no simple way to untangle this, so revert it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* netfilter: separate IPv6 relevant kernel modules from IPv4Rosy Song2018-08-061-5/+58
| | | | Signed-off-by: Rosy Song <rosysong@rosinson.com>
* kernel: modules: fix kmod-regmap reduxChristian Lamparter2018-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jonas Gorski commented on the previous patch: |This is actually the wrong fix and papers over an issue in one of our |local patches. | |We intentionally allow regmap to be built as a module, see | |/target/linux/generic/hack-4.14/259-regmap_dynamic.patch |[...] |[The regulator code] optionally supports regmap thanks to the stubs |provided if regmap is disabled - which breaks if you compile regmap |as a module. In order to mitigate this issue, this patch reverts the previous patch and replaces the existing IS_ENABLED(CONFIG_REGMAP) with IS_REACHABLE(CONFIG_REGMAP). This solves this particular issue as the regulator code will now automatically fallback to the regmap stubs in case the kmod-regmap module is enabled, but nothing else sets CONFIG_REGMAP=y. Note: There's still a potential issue that this patch doesn't solve: If someone ever wants to make a OpenWrt kernel package for a regulator module that requires the REGMAP feature for a target that doesn't set CONFIG_REGMAP=y but has CONFIG_REGULATOR=y, the resulting kmod-regulator-xyz package will not work on the target. Luckily, there aren't any in-tree OpenWrt kernel module packages for regulators at the moment. On the bright side: regmap is a critical part nowadays and all new and upcoming architectures require it by default. This will likely only ever be a problem for legacy targets and devices that cannot afford to enable REGMAP. Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: John Crispin <john@phrozen.org> Fixes: d00913d1215b ("kernel: modules: fix kmod-regmap") Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: modules: fix kmod-regmapChristian Lamparter2018-07-301-1/+1
| | | | | | | | | | | | | | | | | | | This patch fixes the a compile issue that was triggered by apm821xx/sata when kmod-regmap was selected. The CONFIG_REGMAP is declared in drivers/base/regmap/Kconfig as type "bool" and not "tristate". Hence the symbol should never be set to module, as this confuses the #if CONFIG_REGMAP guards in include/linux/regmap.h: |.../drivers/regulator/core.c:4041: undefined reference to `dev_get_regmap' |.../drivers/regulator/core.c:4042: undefined reference to `dev_get_regmap' |.../drivers/regulator/core.c:4044: undefined reference to `dev_get_regmap' |.../drivers/regulator/helpers.o: In function `regulator_is_enabled_regmap': |.../drivers/regulator/helpers.c:36: undefined reference to `regmap_read' |... Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: add kmod-iio-htu21Torbjörn Jansson2018-07-301-0/+22
| | | | | | | | | | | | | This adds support for the htu21 humidity and temperature sensor. To get it to work you have to do something like this: echo "htu21 0x40" >/sys/class/i2c-dev/i2c-1/device/new_device for example by adding it to rc.local Compile tested on brcm2708 and I have used an earlier version of this patch for more than a year. Signed-off-by: Torbjörn Jansson <torbjorn.jansson@mbox200.swipnet.se>
* kernel: package x86-optimized crypto-misc modulesDaniel Gimpelevich2018-07-301-2/+50
| | | | | | | | | | | | Some of the modules in the crypto-misc package have alternate implementations optimized for different x86 instruction set extensions, but only one of these was built for this package until now: twofish-i586.ko Tested with insmod, on both x86 and x86_64. The modules now have an autoload, which they previous didn't, loading the dependencies in the correct order. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* include: add netdev family support for nftablesRosy Song2018-07-301-0/+20
| | | | Signed-off-by: Rosy Song <rosysong@rosinson.com>
* kernel: insmod phy-broadcom module during preinitSteffen Förster2018-07-161-1/+1
| | | | | | | | | Some HP Thin clients use the broadcom nextreme chip as integrated NIC. It is connected via PCI express and will only be found automatically if phy-broadcom is loaded before tg3. This small change makes the thin client usable for Freifunk with gluon out of the box. Signed-off-by: Steffen Förster <steffen@chemnitz.freifunk.net>
* linux: update license tag to use correct SPDX tagFlorian Eckert2018-07-071-1/+1
| | | | | | Use SPDX tag. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* netfilter: add bpf match supportAlin Nastac2018-06-261-0/+1
| | | | | | | | | Add xt_bpf modules to {kmod-ipt,iptables-mod}-filter. Match using Linux Socket Filter. Expects a BPF program in decimal format. This is the format generated by the nfbpf_compile utility. Signed-off-by: Alin Nastac <alin.nastac@gmail.com>