aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9
Commit message (Collapse)AuthorAgeFilesLines
* kernel: drop 3.9 supportHauke Mehrtens2014-09-08160-29400/+0
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: consider reply direction on selective flushingJo-Philipp Wich2014-08-101-6/+9
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: support /proc conntrack flushing of specific ip addressesJo-Philipp Wich2014-08-091-10/+47
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: when using --gc-sections, add --sort-section=name to get a more ↵Felix Fietkau2014-08-023-4/+4
| | | | | | | | stable sorting order Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: introduce xt_id matchJo-Philipp Wich2014-08-011-0/+95
| | | | | | | | | This commit implements a new netfilter match "xt_id" which can be used to attach unsigned 32bit IDs to iptables rules. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesHauke Mehrtens2014-07-314-9/+9
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma to version master-2014-07-29-1Hauke Mehrtens2014-07-301-2/+5
| | | | | | | | | | | | This is a backport of bcma from wireless-tesing/master tag master-2014-07-29-1. For kernel < 3.10 this only adds the header changes needed by more recent b43 versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mtd: allow partial block eraseFelix Fietkau2014-07-181-3/+4
| | | | | | | | | | This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix pkt_type filter mask for packet socketsFelix Fietkau2014-06-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbolFelix Fietkau2014-05-271-3/+1
| | | | | | | | | | | | | | 550-ubifs-symlink-xattr-support.patch contains a reference to the by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to the functionality originally added by the patch in r30794 being left-out during compile since commit 1bdcc63112a0 ("UBIFS: remove xattr Kconnfig option") in v3.5. Fix this by removing the #ifdef from all affected kernels as XATTR support is now always enabled for UBIFS as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a ssb backport required for a new mac80211 updateFelix Fietkau2014-05-231-7/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.9: remove yaffs patchesGabor Juhos2013-12-1615-1643/+0
| | | | | | | | It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesHauke Mehrtens2013-10-023-17/+7
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bcma: update to wireless-testing master-2013-10-01Hauke Mehrtens2013-10-021-13/+17
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-123-187/+422
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37957 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: 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: 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: 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37842 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: 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: 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
* 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: update 3.9 to 3.9.11Gabor Juhos2013-07-221-2/+2
| | | | | | | | Also refresh 3.9 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37501 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: update bcma and ssb to version from wireless-testing/master tag ↵Hauke Mehrtens2013-07-192-29/+781
| | | | | | | | | | | 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: 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: update to kernel 3.9.10 and refresh patchesHauke Mehrtens2013-07-133-22/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37274 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
* kernel: debloat the lzma compress/decompress code some moreFelix Fietkau2013-07-091-87/+623
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.9 to 3.9.8Jonas Gorski2013-06-306-53/+31
| | | | | | | | Includes memory allocation fixes as well as several networking fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a reference counting bug in overlayfsFelix Fietkau2013-06-221-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: add ipv6 failed-policy routing action (by Jonas Gorski)Steven Barth2013-06-111-0/+263
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.9 to 3.9.3Jonas Gorski2013-05-204-11/+11
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: don't remove of_tablesJonas Gorski2013-05-191-0/+33
| | | | | | | | These are needed for OF setup of clocksource, clocks and irqchips. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.9 to 3.9.1Gabor Juhos2013-05-081-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.9: implement pcibios_get_phb_of_node for MIPSGabor Juhos2013-04-302-0/+88
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36475 3c298f89-4303-0410-b956-a3cf2f4a3e73