aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport ARM memset fixes for GCC 4.7/4.8Florian Fainelli2014-03-122-0/+338
| | | | | | | | | Now that GCC 4.8 is the default, make sure that we have the relevant memset fixes to avoid nasty kernel crashes. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39902
* kernel/3.8: update pci_disable_usb_common_quirks patchGabor Juhos2014-01-251-12/+12
| | | | | | | | | Fix build errors caused by undefined 'usb_disable_xhci_ports' symbol. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39393
* kernel: update yaffs codeGabor Juhos2013-12-1615-1625/+155
| | | | | | | | | | | | | | | | Use the latest version of the yaffs code. Fetched from the yaffs2 git tree and it is based on the following commit: commit bc76682d93955cfb33051beb503ad9f8a5450578 Merge: 3a8580e ffa781d Author: Charles Manning <cdhmanning@gmail.com> Date: Thu Jul 11 17:46:25 2013 +1200 Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39084
* kernel: refresh patchesHauke Mehrtens2013-10-023-17/+7
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38291
* kernel: bcma: update to wireless-testing master-2013-10-01Hauke Mehrtens2013-10-021-13/+17
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38290
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-123-189/+395
| | | | SVN-Revision: 37957
* kernel: align the skb padding to power of twoFelix Fietkau2013-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skb is usually started by a padding which allows the protocols in the network stack to add their headers in front of the payload. The skb can be reallocated in case the preallocated padding is not large enough. This can for example happen in the function __skb_cow which will check the requested extra headroom and allocate more buffer when the requested headroom is bigger than the available one. The extra buffer is aligned again to the multiple of the NET_SKB_PAD of the target architecture. The macro used to create the multiple of the NET_SKB_PAD is written in a way which allows only values power two as alignment parameter. The currently used value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80, 128, 144 and so on. The generated values are also not monotonic (48 requested bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64 allocated bytes). These unexpected small values result in more reallocations of the buffer. This was noticed prominently during tests between two QCA9558 720 MHz devices which were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each other. The throughput PC-to-PC during iperf TCP runs increased reliable from 186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s in the other direction. This is a performance increase of ~14% just by reducing the amount of reallocations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 37948
* kernel: allow hwmon GSC driver for all targetsLuka Perkov2013-09-101-1/+1
| | | | | | | | | - enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37933
* kernel: fix arch-dependent bug in hso moduleFelix Fietkau2013-09-102-0/+98
| | | | | | | | | | Currently, the module causes an oops at least on rt5350. These patches have been accepted upstream at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 37931
* kernel: don't hide the 'Warning: unable to open an initial console' messageGabor Juhos2013-08-271-11/+0
| | | | | | | | | | The 'Warning: unable to open an initial console' message indicates an error in the rootfs. Remove the patch which hides the warning. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37848
* kernel: ensure that /dev/console exists in initramfsGabor Juhos2013-08-271-0/+30
| | | | | | | | | | | Linux expects that the /dev/console node is present in the rootfs image. Create the node in initramfs, in order to make std{in,out,err} usable even in early init process. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37846
* kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9Felix Fietkau2013-08-261-1/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 37842
* kernel: crashlog: Avoid out-of-bounds writeFelix Fietkau2013-08-211-1/+1
| | | | | | | | | | | | | | | | vsnprintf returns the number of chars that would have been written, not the actual number of chars written. This can lead to crashlog_buf->len being too big which in turn can lead to get_maxlen() returning negative numbers. The length argument of kmsg_dump_get_buffer will be casted to a size_t which makes a negative input a big positive number allowing kmsg_dump_get_buffer to write out of bounds. Fix this by using vscnprintf which returns the actually written number of chars. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 37820
* kernel: drop dead glamo codeLuka Perkov2013-08-181-21/+0
| | | | | | | | The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37809
* kernel: fix DMA error when BCM4331 is connected to BCM4706Hauke Mehrtens2013-08-051-0/+167
| | | | | | | | | | | The BCM4331 supports a PCIe max request size of 512 bytes and uses that, but the PCIe controller in the BCM4706 just supports 128 Bytes and that causes a DMA error for packages bigger than 126 bytes. This fixes the problem by setting the BCM4331 also to 128 Bytes. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37709
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on ↵Felix Fietkau2013-07-291-10/+0
| | | | | | | | recent compilers Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37598
* strict_strtoul is obsolete, use kstrtoul insteadJohn Crispin2013-07-272-10/+10
| | | | | | | | based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37562
* kernel: Remove gpio-pwm patchesLars-Peter Clausen2013-07-211-21/+0
| | | | | | | | | There is no platform using the gpio-pwm driver, yet these patches break the generic PWM framework that is in upstream. So just remove them. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> SVN-Revision: 37490
* kernel: update bcma and ssb to version from wireless-testing/master tag ↵Hauke Mehrtens2013-07-192-46/+717
| | | | | | | | | | master-2013-07-18 This should fix some build problems in b43 with kernel 3.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37432
* kernel: refresh patches for kernel 3.8.13Hauke Mehrtens2013-07-135-88/+69
| | | | SVN-Revision: 37276
* kernel: add a patch that reduces module size by removing non-essential ↵Felix Fietkau2013-07-111-0/+200
| | | | | | | | information (reduces default rootfs size by ~5k after lzma) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37255
* kernel: debloat the lzma compress/decompress code some moreFelix Fietkau2013-07-091-87/+623
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37211
* kernel: do not accept sysrq characters via serial portFelix Fietkau2013-07-091-0/+24
| | | | | | | | | many boards have a disconnected TTL level serial which can generate some garbage that can lead to spurious false sysrq detects. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37210
* kernel: fix a reference counting bug in overlayfsFelix Fietkau2013-06-221-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37014
* linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)Felix Fietkau2013-06-181-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36968
* linux: add ipv6 failed-policy routing action (by Jonas Gorski)Steven Barth2013-06-111-0/+263
| | | | SVN-Revision: 36911
* lantiq: enable retrieving kernel args from bootloaderJohn Crispin2013-05-301-0/+12
| | | | | | | | | | This patch is a device tree enhancement that IMHO is worthy of mainline. It allows the bootloader's commandline to be preserved even when the device tree specifies one. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 36780
* kernel: make zlib and lzo modules selectableJonas Gorski2013-05-091-0/+23
| | | | | | | | Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36592
* kernel: allow building zsmalloc as a module againJonas Gorski2013-05-091-0/+9
| | | | | | | | | | | zsmalloc was changed to a bool because of missing exports in the kernel, but we already export the required symbol, so change it back to tristate. Closes #13481. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36587
* kernel: update linux 3.8 to 3.8.12Gabor Juhos2013-05-081-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36576
* kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is ↵Felix Fietkau2013-05-021-13/+0
| | | | | | | | used by iproute2 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36529
* kernel: generic: don't strip /proc/irq on SMPJonas Gorski2013-05-021-3/+3
| | | | | | | | /proc/irq is needed for changing the SMP affinity of interrupts. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36525
* kernel: update linux 3.8 to 3.8.11Gabor Juhos2013-05-013-7/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36507
* linux/3.8: use backported pcibios_get_phb_of_node patchesGabor Juhos2013-04-303-153/+44
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36494
* kernel: fix a memory leak in split_rootfs_data()Hauke Mehrtens2013-04-281-21/+10
| | | | | | allocate_partition() copies all the content of dpart into a new struct. SVN-Revision: 36475
* kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing ↵Hauke Mehrtens2013-04-282-142/+1401
| | | | | | master-2013-04-26. SVN-Revision: 36473
* kernel: add missing bcma defines and header file for bcrmfmacJonas Gorski2013-04-281-1/+31
| | | | | | | | Fixes build failure when having kmod-mmc and brcmfmac selected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36468
* kernel: update linux 3.8 to 3.8.9Gabor Juhos2013-04-263-70/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36453
* kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULLFelix Fietkau2013-04-221-1/+1
| | | | SVN-Revision: 36378
* kernel: backport SSB/BCMA changes in preparation for a compat-wireless updateFelix Fietkau2013-04-192-6/+268
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36367
* linux/3.[89]: update bridge_remove_ipv6_dependency patchGabor Juhos2013-04-191-5/+5
| | | | | | | | | | | | Fixes the following warning: CC [M] net/ipv6/addrconf.o net/ipv6/addrconf.c: In function 'addrconf_init': net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36364
* kernel: update linux 3.8 to 3.8.8Gabor Juhos2013-04-191-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36363
* kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)Felix Fietkau2013-04-151-2/+5
| | | | SVN-Revision: 36342
* kernel: update linux 3.8 to 3.8.7Gabor Juhos2013-04-144-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36332
* linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9Gabor Juhos2013-04-121-0/+37
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36328
* kernel: calibrate the TWD timer even when booting with only one CPU, it is ↵Felix Fietkau2013-04-101-0/+23
| | | | | | | | | | used for the watchdog timer base Fixes booting on single-core CNS3xxx devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36308
* kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still ↵Felix Fietkau2013-04-101-11/+0
| | | | | | | | use it Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36307
* kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fastFelix Fietkau2013-04-102-0/+216
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36304
* kernel: keep dropped stats in fq_codelFelix Fietkau2013-04-101-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36303