summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6
Commit message (Collapse)AuthorAgeFilesLines
* kernel: remove kernel 3.6Hauke Mehrtens2014-07-26163-33721/+0
| | | | | | | | kernel 3.6 is not used by any target any more, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41834
* 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> SVN-Revision: 41733
* kernel: fix pkt_type filter mask for packet socketsFelix Fietkau2014-06-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41178
* 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> SVN-Revision: 40864
* kernel: add a ssb backport required for a new mac80211 updateFelix Fietkau2014-05-231-9/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40833
* kernel/3.6: remove yaffs supportGabor Juhos2013-12-1615-1643/+0
| | | | | | | | It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39082
* 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-210/+378
| | | | 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: fix broken depends syntax introduced in r37933Florian Fainelli2013-09-111-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37942
* 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-190/+2473
| | | | | | | | | | 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: fix CVE-2013-1763 in older kernelsJonas Gorski2013-05-121-0/+27
| | | | | | | | Newer kernels were already fixed by upstream. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36607
* 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: 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: add missing bcma defines and header file for bcrmfmacJonas Gorski2013-04-285-18/+44
| | | | | | | | Fixes build failure when having kmod-mmc and brcmfmac selected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36468
* 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-26/+234
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36367
* kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.cFlorian Fainelli2013-04-091-0/+10
| | | | | | | | | 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> SVN-Revision: 36296
* kernel: backport switch user API changes after r36283Florian Fainelli2013-04-092-5/+14
| | | | | | | | | 3.3 and 3.6 kernels do not make use of the UAPI headers, still they need to provide an up-to-date switch.h copy for swconfig to build. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36295
* kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)Florian Fainelli2013-03-191-1/+8
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36091
* kernel: set regmap-core module licenseFlorian Fainelli2013-03-171-0/+16
| | | | | | | | | | | | | | | | | | | | Fixes the following issues: [ 7.660000] regmap_core: module license 'unspecified' taints kernel [ 7.690000] Disabling lock debugging due to kernel [ 7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0 [ 7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0 [ 7.720000] regmap_core: Unknown symbol devres_add (err 0 [ 7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0 [ 7.750000] regmap_core: Unknown symbol devres_alloc (err 0 [ 7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0 [ 7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0 [ 7.780000] regmap_core: Unknown symbol devres_free (err 0 [ 7.800000] regmap_core: Unknown symbol devres_find (err 0 [ 7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0) Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36070
* generic: add detach callback to struct phy_driverGabor Juhos2013-02-072-1/+28
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35510
* linux/3.6: refresh patchesGabor Juhos2013-02-016-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35440
* fix mtd_mp25p80_add_gd25q32_gd25q64.patchJohn Crispin2013-01-291-0/+0
| | | | SVN-Revision: 35378
* Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commitFlorian Fainelli2013-01-291-0/+13
| | | | | | | | | | | | | Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit. The patch was added to "linux/generic/patches-3.6" instead of "target/linux/generic/patches-3.6". I also fixed a missing patch space and refreshed generic patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35367
* generic: fix build failure in MIPS kexec code if SMP is enabledGabor Juhos2013-01-294-16/+14
| | | | | | | | Fix it for older kernels as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35366
* netfilter: add support for flushing conntrack via /procFelix Fietkau2013-01-271-0/+46
| | | | SVN-Revision: 35330
* generic: add b53 swconfig switch driverJonas Gorski2013-01-231-0/+21
| | | | | | | | | | | | | Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports switches connected through MDIO, SPI or memory mapped registers, and supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch chips. Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35305
* generic: add EHCI|OHCI platform driver fix to 3.[36]Gabor Juhos2013-01-172-0/+98
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35194
* kernel: update bcma and ssb to master-2013-01-09 from wireless-testingHauke Mehrtens2013-01-103-120/+1055
| | | | SVN-Revision: 35080
* kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versionsFelix Fietkau2013-01-051-0/+14
| | | | SVN-Revision: 35016
* kernel: move regmap bloat out of the kernel image if it is only being used ↵Felix Fietkau2013-01-031-0/+37
| | | | | | in modules SVN-Revision: 34999
* generic: fix UBIFS build error if XZ compression is disabledGabor Juhos2013-01-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34959
* mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel ↵Felix Fietkau2012-12-282-1/+12
| | | | | | size after lzma and ~12k squashfs size in the default configuration SVN-Revision: 34909
* kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashesFelix Fietkau2012-12-271-118/+0
| | | | SVN-Revision: 34901
* generic/3.6: add platform specific power callbacks to {e,o}hci_platform driversGabor Juhos2012-12-224-0/+305
| | | | | | | | | | | | | Backport of upstream commits: 86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe 04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34842