aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ubus: update to latest git HEADHans Dedecker2018-10-061-3/+3
| | | | | | | | | | 221ce7e ubusd_acl: event send access list support da503db ubusd_acl: event listen access list support c035bab ubusd_acl: rework wildcard support 73bd847 ubusd_event: move strmatch_len to ubus_common.h 0327a91 ubus/lua: add support for BLOBMSG_TYPE_DOUBLE Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* wireguard: bump to 0.0.20181006Jason A. Donenfeld2018-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Account for big-endian 2^26 conversion in Poly1305. * Account for big-endian NEON in Curve25519. * Fix macros in big-endian AArch64 code so that this will actually run there at all. * Prefer if (IS_ENABLED(...)) over ifdef mazes when possible. * Call simd_relax() within any preempt-disabling glue code every once in a while so as not to increase latency if folks pass in super long buffers. * Prefer compiler-defined architecture macros in assembly code, which puts us in closer alignment with upstream CRYPTOGAMS code, and is cleaner. * Non-static symbols are prefixed with wg_ to avoid polluting the global namespace. * Return a bool from simd_relax() indicating whether or not we were rescheduled. * Reflect the proper simd conditions on arm. * Do not reorder lines in Kbuild files for the simd asm-generic addition, since we don't want to cause merge conflicts. * WARN() if the selftests fail in Zinc, since if this is an initcall, it won't block module loading, so we want to be loud. * Document some interdependencies beside include statements. * Add missing static statement to fpu init functions. * Use union in chacha to access state words as a flat matrix, instead of casting a struct to a u8 and hoping all goes well. Then, by passing around that array as a struct for as long as possible, we can update counter[0] instead of state[12] in the generic blocks, which makes it clearer what's happening. * Remove __aligned(32) for chacha20_ctx since we no longer use vmovdqa on x86, and the other implementations do not require that kind of alignment either. * Submit patch to ARM tree for adjusting RiscPC's cflags to be -march=armv3 so that we can build code that uses umull. * Allow CONFIG_ARM[64] to imply [!]CONFIG_64BIT, and use zinc arch config variables consistently throughout. * Document rationale for the 2^26->2^64/32 conversion in code comments. * Convert all of remaining BUG_ON to WARN_ON. * Replace `bxeq lr` with `reteq lr` in ARM assembler to be compatible with old ISAs via the macro in <asm/assembler.h>. * Do not allow WireGuard to be a built-in if IPv6 is a module. * Writeback the base register and reorder multiplications in the NEON x25519 implementation. * Try all combinations of different implementations in selftests, so that potential bugs are more immediately unearthed. * Self tests and SIMD glue code work with #include, which lets the compiler optimize these. Previously these files were .h, because they were included, but a simple grep of the kernel tree shows 259 other files that carry out this same pattern. Only they prefer to instead name the files with a .c instead of a .h, so we now follow the convention. * Support many more platforms in QEMU, especially big endian ones. * Kernels < 3.17 don't have read_cpuid_part, so fix building there. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mt76: fix dependenciesFelix Fietkau2018-10-061-1/+2
| | | | | | | - make kmod-mt76-core hidden - select kmod-mt76-core and kmod-usb-core from mt76-usb Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-10-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 053de5c mt76x0: pci: add mt76x0e_cleanup routine c6b1926 mt76x2: move mt76x2 source files to mt76x2 folder 6afb1b8 mt76: fix header guard macro define names 05c7f24 mt76: fix frag length allocation for usb 6856ef6 mt76: usb: fix hw initialization sequence 3d43146 mt76x0: usb: stop cal/mac workqueues at hw stop bef08cc mt76: move mt76x02_tx_get_max_txpwr_adj in mt76x02_util.c cd42111 mt76: add get_tx_txpwr_adj function pointer to mt76_driver_ops c49a3ae mt76: move mt76x02_mac_write_txwi in mt76x02-lib module 4bae980 mt76: usb: use mt76x02u_tx_prepare_skb to fill txwi e0847b4 mt76x0: init: remove unnecessary configurations e802b5c mt76: move mt76x02_phy_get_min_avg_rssi in mt76x02_phy.c 2742847 mt76: move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid in mt76x02_util.h c26f9fd mt76x0: mac: use sta ewma estimation for rssi tracking 330fbe3 mt76x0: remove unused variable in mt76x0_dev a56efc5 mt76x0: remove hw_atomic_mutex mutex in mt76x0_dev abd1daa mt76x2: move mt76x2_dev in mt76x02_util.h d5d1e59 mt76x0: merge mt76x0_dev in mt76x02_dev e236ba5 mt76: move mt76x02_mac_process_rx in mt76x02-lib module 724d547 mt76: unify rxwi parsing between mt76x2 and mt76x0 drivers ec3d829 mt76: move mt76x02_tx in mt76x02-lib module 159f767 mt76: move txrx shared routines in mt76x02_txrx.c 9c874cd mt76: rename mt76x02_util.h in mt76x02.h fd9174f mt76x2: remove leftover function declatarions 608708a mt76: move tpc routines in mt76x02-lib module 45b8f5e mt76: move mt76x02_tx_prepare_skb in mt76x02_txrx.c 9a39521 mt76: usb: move mt76x02u_tx_complete_skb in mt76x02_usb_core.c 3770c54 mt76: move mt76x02_mac_poll_tx_status in mt76x02-lib moudle 9730290 mt76: move mt76x02_tx_complete in mt76x02-lib module 99e0486 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mmio.c 3d2cfe3 mt76: move tx_tasklet management in mt76x02-lib moudle e61671e mt76: move irq handler in mt76x02-lib moudle d533f13 mt76x0: pci: report firmware version using ethtool Signed-off-by: Felix Fietkau <nbd@nbd.name>
* iw: add iw-full package without size reduction hacksFelix Fietkau2018-10-062-20/+43
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move marvell packaging code to marvell.mkFelix Fietkau2018-10-062-87/+91
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move intel packaging code to intel.mkFelix Fietkau2018-10-062-200/+201
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move realtek packaging code to realtek.mkFelix Fietkau2018-10-062-169/+171
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move broadcom packaging code to broadcom.mkFelix Fietkau2018-10-062-484/+489
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move atheros/qca packaging code to ath.mkFelix Fietkau2018-10-062-270/+278
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move rt2x00 packaging code to ralink.mkFelix Fietkau2018-10-062-203/+209
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: remove duplicated lines for building packages, use PKG_DRIVERS insteadFelix Fietkau2018-10-061-78/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: insert blank line after KernelPackage template to allow chaining ↵Felix Fietkau2018-10-061-0/+1
| | | | | | calls to it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/lldp: don't link against libbsd on !USE_GLIBC buildsAlexander Couzens2018-10-051-0/+3
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: fix pci irq init on kernel 4.14Koen Vandeputte2018-10-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IRQ init structs are marked as __initconst which means this memory can be free after init. On this platform, the PCI IRQ init happens very late _after_ the kernel already freed the memory allocated for these structs. During IRQ allocation, the allocation function is passed with invalid data at this point leading to following error: [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 [ 2.382828] Freeing unused kernel memory: 264K [ 34.414816] pci 0000:00:00.0: no irq found for pin 1 and [ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0 [ 2.125401] Freeing unused kernel memory: 284K [ 9.526479] pci 0000:00:00.0: no irq found for pin 1 After this patch: [ 14.960814] pci 0000:00:00.0: using irq 40 for pin 1 Commit 318e19ba6755 ("ar71xx: add v4.14 support") fixed this for the default targets already present in the source by default but forgot to remove the __initconst attribute for targets QCA953x and QCA956x which are only added later through platform patches. Fixes: 318e19ba6755 ("ar71xx: add v4.14 support") Reported-by: Sven Schönhoff <sven.schoenhoff@gmail.com> Reported-by: Dirk Brenken <dev@brenken.org> Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Dirk Brenken <dev@brenken.org>
* kernel: bump 4.14 to 4.14.74Koen Vandeputte2018-10-046-15/+15
| | | | | | | | | | | | | Refreshed all patches. Fixes CVE: - CVE-2018-7755 Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.131Koen Vandeputte2018-10-042-11/+11
| | | | | | | | | | | | | | Refreshed all patches. Fixes CVE: - CVE-2018-10880 - CVE-2018-7755 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ipset: update to 6.38Syrone Wong2018-10-042-27/+2
| | | | | | dropped already upstream patch Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* sunxi: Turn on CONFIG_SUN4I_A10_CCU for A20Florian Fainelli2018-10-021-1/+0
| | | | | | | | | | CONFIG_SUN4I_A10_CCU controls both the A10 and the A20 enabling of the CCU (LCCF) driver, this will be necessary once we move beyond kernel 4.14 because 4.15 has commit f18698e1c66338b902de386e4ad97b8b1b9d999d ("ARM: dts: sun7i: Convert to CCU") which requires this driver. Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* kmod-sched-cake: bump to 20181002Kevin Darbyshire-Bryant2018-10-022-26/+4
| | | | | | | | Revert "Add workaround for wrong skb->mac_len values after splitting GSO" Remove our local patch which did the same thing. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* strace: add option to enable libdw stack tracingStijn Tintel2018-10-021-1/+7
| | | | | | Fixes build with CONFIG_libdw=y. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: bump 4.14 to 4.14.73Koen Vandeputte2018-10-028-107/+11
| | | | | | | | | | | | Refreshed all patches. Removed upstreamed: - 192-Revert-ubifs-xattr-Don-t-operate-on-deleted-inodes.patch Compile-tested on: cns3xxx, imx6, x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.130Koen Vandeputte2018-10-024-6/+6
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* netifd: update to latest git HEAD (FS#1875)Hans Dedecker2018-10-021-3/+3
| | | | | | | 83428fa iprule: coding style fixes aeec2a0 iprule: fix segfault (FS#1875) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* kmod-sched-cake: don't gso fixup on fixed kernelsKevin Darbyshire-Bryant2018-10-022-1/+23
| | | | | | | | Kernels 4.14.73 & 4.9.140 include the gso fixup fix, so cake doesn't need to do it. Let's not waste cpu cycles by doing it in cake which could be really important on cpu constrained devices. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* mt76: update to the latest version, fixes mt76x2 beacon issueFelix Fietkau2018-10-011-3/+3
| | | | | | 94d4445 mt76: mt76x2: fix multi-interface beacon configuration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* odhcpd-ipv6only: fix dependency for IPV6Rosy Song2018-09-301-1/+2
| | | | Signed-off-by: Rosy Song <rosysong@rosinson.com>
* netifd: update to latest git HEADHans Dedecker2018-09-301-3/+3
| | | | | | | 94e156f scripts: fix previous commit 3c8ac1c netifd: fix wpa mixed mode matching Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* 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>
* uml: update to linux 4.14Felix Fietkau2018-09-299-353/+68
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix kernel headers install for umlFelix Fietkau2018-09-291-1/+1
| | | | | | The kernel headers makefile needs to override LINUX_KARCH Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove linux 4.9 supportFelix Fietkau2018-09-295-580/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove linux 4.9 supportFelix Fietkau2018-09-292-747/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: remove linux 4.9 supportFelix Fietkau2018-09-296-2060/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* malta: remove linux 4.9 supportFelix Fietkau2018-09-291-307/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove linux 4.9 supportFelix Fietkau2018-09-2916-1487/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm47xx: remove linux 4.9 supportFelix Fietkau2018-09-2925-2991/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* armvirt: remove linux 4.9 supportFelix Fietkau2018-09-291-180/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: remove linux 4.9 supportFelix Fietkau2018-09-2962-21169/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: add acs feature indicationEnrique Giraldo2018-09-291-0/+4
| | | | Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
* kernel: build support for NFSv4 in nfsdW. Michael Petullo2018-09-291-1/+5
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* build: use CMAKE_SOURCE_SUBDIR variable to cmake.mkAmol Bhave2018-09-291-2/+2
| | | | | | | | Sometimes, the CMakeLists.txt file is not in the root directory of a repo. In those cases, the CMAKE_SOURCE_SUBDIR variable can be specified to use CMakeLists.txt from a subdirectory instead. Signed-off-by: Amol Bhave <ambhave@fb.com>
* zram-swap: bump pkg versionEmil Muratov2018-09-291-1/+1
| | | | Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* zram-swap: Add "max compression streams" configuration optionEmil Muratov2018-09-291-0/+14
| | | | | | | | | | Config option to limit maximum compression streams per zram dev for multicore CPU's. This could be defined via 'zram_comp_streams' option in the 'system' section of '/etc/config/system' file or via cli (for e.x. with 'uci set system.@System[0].zram_comp_streams=2 && uci commit system'). Default is number of logical CPU cores. Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* zram-swap: fix number of created zram devices for multicore CPU'sEmil Muratov2018-09-291-45/+29
| | | | | | | | | Use only one zram swap device of the specified $size instead of [N x $size] devices for multicore CPUs Now zram module uses multiple compression streams for each dev by default, so we do not need to create several zram devs to utilize multicore CPUs. Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* zram-swap: fix zram dev reset for multicore cpu devicesEmil Muratov2018-09-291-12/+10
| | | | | | | | | | * "zram stop" could reset up to $(num_of_cores) zram devices even if some of those were not mounted as swap dev's. This fix tries to enumerate mounted swap zram dev's before making a reset * remove hot-added zram devs on stop (except zram0) Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* zram-swap: compression algorithm configuration optionEmil Muratov2018-09-291-0/+18
| | | | | | | | | | | | Compression algorithms for zram are provided by kernel crypto API, could be any of [lzo|zl4|deflate|<some_more>] depending on kernel modules. Compress algo for zram-swap could be defined via 'zram_comp_algo' option in 'system' section of '/etc/config/system' file, or via cli (for e.x. with 'uci set system.@System[0].zram_comp_algo=lz4 && uci commit system'). check available algo's via 'cat /sys/block/zram0 /comp_algorithm' Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* layerscape: fix Ethernet/DPAA/FMAN on Traverse boards after DTS refreshMathew McBride2018-09-291-2/+8
| | | | | | | | | | | Patch 303 is required for Traverse LS1043 targets when using the NXP DPAA1 driver. The recent refresh of 4.9 patches on layerscape changed how FMan/BMan memory regions were defined and meant Ethernet stopped working on these boards. (Note that these definitions are only required for NXP's Ethernet driver, the new upstream driver in >=4.15 works using the DTS provided in files/) Signed-off-by: Mathew McBride <matt@traverse.com.au>
* apm821xx: net: emac: fix fixed-link setup for the RTL8363SB switchChristian Lamparter2018-09-292-1/+49
| | | | | | | | | | | On the Netgear WNDAP620, the emac ethernet isn't receiving nor xmitting any frames from/to the RTL8363SB (identifies itself as a RTL8367RB). This is caused by hardware not knowing the right forced link settings (speed, duplex, pause, etc.) settings. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* base-files: make it possible to specify switch led modeChristian Lamparter2018-09-293-4/+9
| | | | | | | | | | | | | | | | | The swconfig switch led driver has the ability to switch between a "link, rx and/or tx" mode. However, this feature was not implemented in uci, the led init script and config_generate. This patch adds a seventh parameter to the ucidef_set_led_switch() function. The accepted values for this parameter are: link, rx and tx. Any permutations of these three values are supported, as long as they are properly encased with quotes. If the parameter is not specified it will default to "all" (link rx tx). Signed-off-by: Christian Lamparter <chunkeey@gmail.com>