summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: mtd: backport Macronix sector size fixMathias Kresin2016-09-031-0/+27
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: b53: force BCM531x5 port 5 link state if enabledRafał Miłecki2016-09-081-0/+13
| | | | | | | | | | | Some devices (e.g. Tenda AC9 based on BCM47189B0) have BCM53125 with port 5 connected to the second Ethernet interface on the SoC. In such case there is no PHY and we need to force link manually. This assumes port 5 can be marked as enabled for such devices. It's not implemented yet unfortunately. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: move bcma BCM53573 patch to bcma 4.9 backportsRafał Miłecki2016-09-081-22/+0
| | | | | | This patch has been accepted for 4.9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: merge a softirq performance improvement patchFelix Fietkau2016-09-081-0/+83
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport upstream overlayfs fixesRafał Miłecki2016-09-067-0/+749
| | | | | | | | | | | First two patches weren't marked for stable but are dependencies for laters ones. The rest of patches was marked for stable but most likely will be backported to 4.5+ only so we need to get them on our own. An important fix is eea2fb4851e9d ("ovl: proper cleanup of workdir") as it allows mounting overlayfs with dirty workdir, e.g. after power cut. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: add NET3380 UDC supportTim Harvey2016-09-041-0/+262
| | | | | | | | Add a patch to backport 5185c91385d73cdf79836eb8548e4726e43ae831 from Linux 4.8 adding USB2380 support to the NET2280 driver and create an OpenWrt menu option to select it as a module. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qaFelix Fietkau2016-08-303-2/+23
| | | | | | | | Add Support for the ESMT_F25L32QA and ESMT_F25L64QA. These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make serial port sysrq-disable patch more generic (FS#112)Felix Fietkau2016-08-293-25/+26
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport clk *_hw_* API for registering struct clk_hwRafał Miłecki2016-08-262-0/+416
| | | | | | | Drivers have been modified to use it and new ones have to be written this way, so we need it for backporting code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport patch for specifying USB ports/devices in DTRafał Miłecki2016-08-242-0/+287
| | | | | | | | This allows referencing USB ports/devices that are always present in a device. This applies to some internal devices, root hub ports and internal USB hubs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-2316-200/+27
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: bgmac: use upstream accepted patchesRafał Miłecki2016-08-224-11/+42
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: replace cosmetic UBIFS patches with what went upstreamDaniel Golle2016-08-194-53/+26
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bgmac: add support for BCM53573Rafał Miłecki2016-08-182-11/+171
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: fix regression in MII registrationRafał Miłecki2016-08-181-0/+29
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport 3 remaining small fixesRafał Miłecki2016-08-173-0/+95
| | | | | | This makes bgmac in sync with upstream verison. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch adding platform supportRafał Miłecki2016-08-172-25/+1287
| | | | | | It also reworks bcma support by moving specific code to separated file. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch switching to feature_flagsRafał Miłecki2016-08-173-5/+451
| | | | | | | It was needed upstream to avoid bcma references in the main code. To match this new code our patch adding SRAB was also updated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* arc: use patched .dts from sourcesAlexey Brodkin2016-08-161-0/+192
| | | | | | | | | | | | | | Instead of using off-the-tree .dts files for ARC boards we're switching to use in-tree ones. And for that to work properly we apply upstream patch that adds currently missing "model" property. Upstream patch and discussion could be found here: http://lists.infradead.org/pipermail/linux-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: John Crispin <john@phrozen.org>
* kernel: backport bgmac patch moving MDIO code into separated fileRafał Miłecki2016-08-172-9/+685
| | | | | | This prepares bgmac for the biggest change: dropping bcma dependency. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport simple bgmac cleanup & fix from JonRafał Miłecki2016-08-163-5/+524
| | | | | | | These 2 trivial patches will be followed by a bigger bgmac rework so they are worth backporting in a separated patch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add BCM53573 flash fix sent upstreamRafał Miłecki2016-08-161-0/+57
| | | | | | | This fixes flash corruptions. It touches bcm47xxsflash driver shared between brcm47xx and bcm53xx so put it in generic. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bgmac by adding Florian's upstream changesRafał Miłecki2016-08-165-4/+202
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-163-0/+92
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* kernel: support watchdog (and so reboot) on BCM53573Rafał Miłecki2016-08-161-0/+104
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-153-92/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: fix crashlog on x86/64Jo-Philipp Wich2016-08-151-2/+6
| | | | | | | | | | | | The bootmem area reserved for crashlog might be smaller than CRASHLOG_OFFSET bytes, leading to an integer underflow when calculating the memory address in crashlog_set_addr() which subsequently causes the kernel to crash when attempting to vmap() the crashlog pages. Change the logic to only consider the offset when the size of the used memory area is sufficient. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: backport upstream challenge ACK fix (CVE-2016-5696)Jo-Philipp Wich2016-08-133-0/+218
| | | | | | | | | | | | Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a patient attacker to hijack TCP sessions. He will soon provide details in an academic paper. Backports upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 to the used LEDE kernel versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: fix crashlog issues on highmem systemsFelix Fietkau2016-08-111-19/+32
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: adm6996: set carrier statusMathias Kresin2016-08-101-0/+5
| | | | | | | Due to the missing carrier status set, the interface wasn't usable on a BTHOMEHUB2B after ip link down and up as it is done in preinit. Signed-off-by: Mathias Kresin <dev@kresin.me>
* Revert "kernel: remove long obsolete gpio spi controller driver patch"Felix Fietkau2016-08-046-0/+1122
| | | | This reverts commit 9e62a7668c4085563a907da51a08819c88d04f33.
* kernel: add -mtune=34kc to MIPS CFLAGS when building for mips32r2Felix Fietkau2016-08-041-0/+17
| | | | | | | This provides a good tradeoff across at least 24Kc-74Kc, while also producing smaller code. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mark compression modules as hiddden to obsolete the compressor ↵Felix Fietkau2016-08-043-106/+0
| | | | | | kconfig hack Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mark kmod-udptunnel as hiddden to replace the NET_UDP_TUNNEL kconfig ↵Felix Fietkau2016-08-043-33/+0
| | | | | | hack Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove unused morse led trigger driverFelix Fietkau2016-08-0413-477/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove long obsolete gpio spi controller driver patchFelix Fietkau2016-08-046-1122/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove a long obsolete unlzo decompressor fixFelix Fietkau2016-08-043-69/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove obsolete slab tuning patchFelix Fietkau2016-08-043-39/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove esfq qdiscFelix Fietkau2016-08-046-2379/+0
| | | | | | It has been obsolete for years now Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: clean up 260-crypto_test_dependencies.patch to get rid of some more ↵Felix Fietkau2016-08-033-10/+15
| | | | | | kernel bloat Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolFelix Fietkau2016-08-021-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: re-enable CONFIG_SND_VERBOSE_PROCFS (FS#66)Felix Fietkau2016-08-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: silence a false positive uninitialized variable warningFelix Fietkau2016-08-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove hostap driverFelix Fietkau2016-07-313-462/+0
| | | | | | | It has been marked as broken for well over a month now and nobody has complained. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog regression on x86Felix Fietkau2016-07-301-20/+32
| | | | | | | | Check memblock regions for sufficient size before attempting to use them. Allow checks for multiple memblock regions until a suitable one is found. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog issues on various architecturesFelix Fietkau2016-07-281-13/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* b53: allow ports with higher numbers than CPU portRafał Miłecki2016-07-241-2/+1
| | | | | | | | | | | | | | Our code was assuming CPU port uses the highest number. My BCM53573 device has eth0 connected to port 8 and eth1 connected to port 5. While working on support for it I tried to: 1) Enable all ports (including port 8) 2) Set CPU port to 5 I noticed port 8 is not accessible anymore. It was just a development process but it seems like something worth fixing anyway. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* linux: Get rid of 000-keep_initrafs_the_default.patchAlexey Brodkin2016-07-233-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With that patch in place for initramfs no additional options are reported for "/" partition. What's really important is missing info about sizes. Which in its turn makes opkg think that there's no space on "/" partition to install software. I understand that's a sort of corner-case, people rarely install packages on ramfs but anyways why not? Just in case that's what I see with the patch: ---------------------->8-------------------- root@lede:/# cat /proc/mounts rootfs / rootfs rw 0 0 proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0 tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0 debugfs /sys/kernel/debug debugfs rw,noatime 0 0 ---------------------->8-------------------- And without: ---------------------->8-------------------- root@lede:/# cat /proc/mounts rootfs / rootfs rw,size=256168k,nr_inodes=32021 0 0 proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0 tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0 debugfs /sys/kernel/debug debugfs rw,noatime 0 0 ---------------------->8-------------------- Note how different is entry for rootfs. And given there's no known rationale for that patch we're getting rid of it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: Rafał Miłecki <zajec5@gmail.com> Cc: John Crispin <john@phrozen.org> Cc: Felix Fietkau <nbd@nbd.name>
* ledtrig-usbdev: fix duplicate match detectionFelix Fietkau2016-07-231-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: enable CONFIG_SND_PROC_FS by default (FS#54)Felix Fietkau2016-07-211-2/+2
| | | | | | Some user space code relies on it Signed-off-by: Felix Fietkau <nbd@nbd.name>