aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6
Commit message (Collapse)AuthorAgeFilesLines
* 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
* kernel: add solos-pci patches from 3.8 for new hardwareGabor Juhos2012-12-201-16/+400
| | | | | | | | | [juhosg: refresh patches with quilt, skip the patch for 3.3] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34806
* generic: disable crashlog on ppcGabor Juhos2012-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It causes panic on boot: [ 0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs [ 0.200902] Unable to handle kernel paging request for data at address 0x00000000 [ 0.208347] Faulting instruction address: 0xc026cb10 [ 0.213282] Oops: Kernel access of bad area, sig: 11 [#1] [ 0.218586] PowerPC 40x Platform [ 0.221783] Modules linked in: [ 0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8 [ 0.229745] REGS: c1825ed0 TRAP: 0300 Not tainted (3.6.11) [ 0.235435] MSR: 00029030 <EE,ME,IR,DR> CR: 42004082 XER: 00000000 [ 0.241745] DEAR: 00000000, ESR: 00000000 [ 0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000 GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69 GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8 GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8 GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388 [ 0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0 [ 0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0 [ 0.289000] Call Trace: [ 0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable) [ 0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8 [ 0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4 [ 0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68 [ 0.314488] Instruction dump: [ 0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004 [ 0.325117] 2f830000 41be00a4 38804000 4bda2809 <81630000> 7c691b78 907ed388 6d605e11 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34773
* kernel: update linux 3.6 to 3.6.11Gabor Juhos2012-12-185-67/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34748
* kernel: fix a warning in the O_DIRECT debloat patchFelix Fietkau2012-12-171-11/+1
| | | | SVN-Revision: 34740
* kernel: add some debloat patches, strip down procfs and make O_DIRECT ↵Felix Fietkau2012-12-173-0/+491
| | | | | | support optional, saves ~15K after lzma on MIPS SVN-Revision: 34737