summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.8
AgeCommit message (Collapse)Author
2013-09-12kernel: update bcma and ssb to wireless-testing master-2013-09-09hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11kernel: align the skb padding to power of twonbd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10kernel: allow hwmon GSC driver for all targetsluka
- enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10kernel: fix arch-dependent bug in hso modulenbd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27kernel: don't hide the 'Warning: unable to open an initial console' messagejuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27kernel: ensure that /dev/console exists in initramfsjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9nbd
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-21kernel: crashlog: Avoid out-of-bounds writenbd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-18kernel: drop dead glamo codeluka
The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05kernel: fix DMA error when BCM4331 is connected to BCM4706hauke
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29build: unify target independent optimization optionsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on ↵nbd
recent compilers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-27strict_strtoul is obsolete, use kstrtoul insteadblogic
based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21kernel: Remove gpio-pwm patcheslars
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19kernel: update bcma and ssb to version from wireless-testing/master tag ↵hauke
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13kernel: refresh patches for kernel 3.8.13hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11kernel: add a patch that reduces module size by removing non-essential ↵nbd
information (reduces default rootfs size by ~5k after lzma) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09kernel: debloat the lzma compress/decompress code some morenbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09kernel: do not accept sysrq characters via serial portnbd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22kernel: fix a reference counting bug in overlayfsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)nbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11linux: add ipv6 failed-policy routing action (by Jonas Gorski)cyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30lantiq: enable retrieving kernel args from bootloaderblogic
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09kernel: make zlib and lzo modules selectablejogo
Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09kernel: allow building zsmalloc as a module againjogo
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08kernel: update linux 3.8 to 3.8.12juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is ↵nbd
used by iproute2 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02kernel: generic: don't strip /proc/irq on SMPjogo
/proc/irq is needed for changing the SMP affinity of interrupts. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-01kernel: update linux 3.8 to 3.8.11juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30linux/3.8: use backported pcibios_get_phb_of_node patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28kernel: fix a memory leak in split_rootfs_data()hauke
allocate_partition() copies all the content of dpart into a new struct. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing ↵hauke
master-2013-04-26. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28kernel: add missing bcma defines and header file for bcrmfmacjogo
Fixes build failure when having kmod-mmc and brcmfmac selected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26kernel: update linux 3.8 to 3.8.9juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULLnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19kernel: backport SSB/BCMA changes in preparation for a compat-wireless updatenbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19linux/3.[89]: update bridge_remove_ipv6_dependency patchjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19kernel: update linux 3.8 to 3.8.8juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-14kernel: update linux 3.8 to 3.8.7juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: calibrate the TWD timer even when booting with only one CPU, it is ↵nbd
used for the watchdog timer base Fixes booting on single-core CNS3xxx devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still ↵nbd
use it Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fastnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: keep dropped stats in fq_codelnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: tune fq_codel defaults for common netdevice speedsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10kernel: add patches by Dave Täht to reduce buffer size in longer queues to ↵nbd
reduce memory pressure Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.cflorian
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones. Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06linux/3.8: implement pcibios_get_phb_of_node for MIPSjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06linux/3.8: backport devm_ioremap_resource from 3.9juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36232 3c298f89-4303-0410-b956-a3cf2f4a3e73