aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.10
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel/3.10: move OpenWrt MTD options into a submenuGabor Juhos2013-09-151-6/+10
| | | | | | | | | | Separate OpenWrt specific MTD options from the mainline option by moving those into a new submenu in the kernel configuration interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: remove unused defines from the rootfs split patchGabor Juhos2013-09-141-9/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: reduce number of ifdefs in the rootfs split codeGabor Juhos2013-09-141-14/+14
| | | | | | | | Use the config_enabled() macro where it is possible. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: refresh patchesGabor Juhos2013-09-133-19/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: rename mtd patchesGabor Juhos2013-09-1312-3/+3
| | | | | | | | | | - change patch numbers to group the related stuff together, - add mtd prefix where it is missing, - use hyphens in the patch names Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-123-176/+429
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for ESMT F25L32PA with upstream submissionLuka Perkov2013-09-121-0/+37
| | | | | | Signed-off-by: Flavio Silveira <fggs@terra.com.br> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix FIQ code on VIVT CPUs (#14145)Florian Fainelli2013-09-111-0/+55
| | | | | | | | Backport an upstream patch to fix FIQ code on VIVT CPUs Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix booting issues on imx23 and imx6 targetsFelix Fietkau2013-08-281-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-2333-81/+78
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: backport of_pci_get_devfn function from 3.11Gabor Juhos2013-08-231-0/+78
| | | | | | | | | | | | | | | | | Fixes the following build error on ramips/rt3883: arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \ 'of_pci_get_devfn' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Although the function is only used by the PCI driver of the RT3883 SoC but at the moment but it might be useful for other targets as well. Signed-off-by: Michael Lee <igvtee@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add back missing declaration in the MIPS DMA patch that broke octeonFelix Fietkau2013-08-181-9/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: replace local m25p80 patches with upstream submissionLuka Perkov2013-08-173-49/+78
| | | | | | | | | http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html http://patchwork.ozlabs.org/patch/268019/ Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patchLuka Perkov2013-08-171-13/+0
| | | | | | | | | | The patch in question has been accepted upstream in commit: 55bf75b7dd8ec875d048824f3cdecf8254e292e5 Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 110-fix_mtd_include.patchLuka Perkov2013-08-171-10/+0
| | | | | | | | Kernel builds just fine without this patch so we can just remove it. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a small #ifdef bug in the noncoherent dma check reworkFelix Fietkau2013-08-151-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: improve dma ops inlining patchesFelix Fietkau2013-08-153-40/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patch to inline mips dma mapping functions - reduces code size ↵Felix Fietkau2013-08-123-1/+834
| | | | | | | | and improves performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: make the module reloc pacth work on mips64John Crispin2013-08-041-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to linux 3.10.4, refresh patchesFelix Fietkau2013-07-2923-67/+64
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: rework MIPS FPU emulation disable patchGabor Juhos2013-07-221-124/+78
| | | | | | | | | Get rid of some ifdefs, and make sure that the microMIPS specific code is disabled as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.2Gabor Juhos2013-07-2224-112/+77
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix crash in act_connmark in 3.9 and 3.10 (fixes #13916, #13876)Felix Fietkau2013-07-211-12/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: merge a proposed fix from LKML for fixing infinite data returned by ↵Felix Fietkau2013-07-201-0/+45
| | | | | | | | /proc/timer_list Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: add a generic patch for cpu_has_mmips overrideGabor Juhos2013-07-201-0/+45
| | | | | | | | | | Backport of commit 3ddc14add5e6341cf8ef4058c34c67ba7fd15317 from 3.11-rc1 Suggested-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: make emulate_load_store_microMIPS staticGabor Juhos2013-07-201-0/+32
| | | | | | | | | | | | This allows the compiler to remove the emulate_load_store_microMIPS function if cpu_has_mmips is defined as zero. Backport of commit 74338805ec6869594d583535f941cb478c94dd73 from 3.11-rc1. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to version from wireless-testing/master tag ↵Hauke Mehrtens2013-07-192-0/+802
| | | | | | | | | | | 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
* kernel: v3.10 has no GENERIC_GPIO anymoreJohn Crispin2013-07-152-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.10 patchesFelix Fietkau2013-07-1526-58/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix another corner case in the bridge state patch (#13874)Felix Fietkau2013-07-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a bridge issue that broke WDS client handling in 3.9+Felix Fietkau2013-07-152-2/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix block2mtd build after removing the device refresh ioctlFelix Fietkau2013-07-152-270/+2
| | | | | | | | fixes #13882 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable the yaffs2 /proc code to make it compile on linux 3.10 (#13848)Felix Fietkau2013-07-141-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: implement automatic rootfs split from the firmware partition in ↵Felix Fietkau2013-07-141-77/+178
| | | | | | | | linux 3.10 (disabled by default) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/base-files: clean up old code related to refreshing mtd partitions, ↵Felix Fietkau2013-07-141-139/+4
| | | | | | | | it is no longer used anywhere Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to kernel 3.10.1 and refresh patchesHauke Mehrtens2013-07-132-20/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37255 3c298f89-4303-0410-b956-a3cf2f4a3e73