summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix CVE-2013-1763 in older kernelsjogo2013-05-121-0/+27
| | | | | | | | Newer kernels were already fixed by upstream. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make zlib and lzo modules selectablejogo2013-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: add missing bcma defines and header file for bcrmfmacjogo2013-04-283-89/+112
| | | | | | | | 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
* kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULLnbd2013-04-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport SSB/BCMA changes in preparation for a compat-wireless updatenbd2013-04-192-121/+240
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport switch user API changes after r36283florian2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selectedhauke2013-03-211-1/+2
| | | | | | | | | | This was turned from a silent confg option without a text to a normal config option which could be selected without any other option depending on this. This could cause the situation where REGMAP_SPI was selected without SPI_MASTER being selected. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)florian2013-03-191-1/+8
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: set regmap-core module licenseflorian2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add detach callback to struct phy_driverjuhosg2013-02-072-1/+28
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: disable crashlog on PPCjuhosg2013-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It causes NULL pointer dereference: [ 0.638235] __ioremap(): phys addr 0x7f00000 is RAM lr c025d61c [ 0.644090] Unable to handle kernel paging request for data at address 0x00000000 [ 0.651533] Faulting instruction address: 0xc025d620 [ 0.656483] Oops: Kernel access of bad area, sig: 11 [#1] [ 0.661856] P1010 RDB [ 0.664113] Modules linked in: [ 0.667152] NIP: c025d620 LR: c025d61c CTR: c000dc38 [ 0.672101] REGS: c7831ef0 TRAP: 0300 Not tainted (3.3.8) [ 0.677740] MSR: 00029000 <CE,EE,ME> CR: 42022082 XER: 20000000 [ 0.683817] DEAR: 00000000, ESR: 00000000 [ 0.687811] TASK = c782c000[1] 'swapper' THREAD: c7830000 [ 0.693017] GPR00: a1ee0000 c7831fa0 c782c000 00000000 0000214c ffffffff c7831ea6 0001ffff [ 0.701350] GPR08: c03697cc c035fba0 c03697cc c0360000 42022022 00000000 00000000 00000000 [ 0.709682] GPR16: c0000a00 00000014 3fffffff 00ffa000 00000015 07fc42bc c0360000 00000000 [ 0.718015] GPR24: 00000000 00000000 00001680 c0360000 00000000 c025d5e8 c0390000 c038b824 [ 0.726535] NIP [c025d620] crashlog_init_fs+0x38/0xd8 [ 0.731560] LR [c025d61c] crashlog_init_fs+0x34/0xd8 [ 0.736503] Call Trace: [ 0.738939] [c7831fa0] [c025d61c] crashlog_init_fs+0x34/0xd8 (unreliable) [ 0.745712] [c7831fb0] [c0001e98] do_one_initcall+0xd4/0x198 [ 0.751357] [c7831fe0] [c02537f4] kernel_init+0x9c/0x120 [ 0.756647] [c7831ff0] [c000c2dc] kernel_thread+0x4c/0x68 [ 0.762022] Instruction dump: [ 0.764975] 3860fff4 bfc10008 3fc0c039 90010014 3bfeb824 801f0004 2f800000 41be00a0 [ 0.772699] 7c030378 38804000 4bdb38cd 3c00a1ee <81630000> 6000dead 7c691b78 907eb824 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix build failure in MIPS kexec code if SMP is enabledjuhosg2013-01-294-16/+14
| | | | | | | | Fix it for older kernels as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: add support for flushing conntrack via /procnbd2013-01-271-0/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add EHCI|OHCI platform driver fix to 3.[36]juhosg2013-01-172-0/+98
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2013-01-09 from wireless-testinghauke2013-01-103-152/+1041
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] missing underscore in 3.3 regmap patchblogic2013-01-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versionsnbd2013-01-051-8/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fix regmap debloat patchblogic2013-01-051-6/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move regmap bloat out of the kernel image if it is only being used ↵nbd2013-01-031-0/+21
| | | | | | in modules git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix UBIFS build error if XZ compression is disabledjuhosg2013-01-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashesnbd2012-12-271-118/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add solos-pci update for 3.3juhosg2012-12-211-16/+425
| | | | | | | | | | | | | | Same patches that I just merged for 3.6 and 3.7, except with one additional fix that went into v3.4 that needed to be included. Submitted more for the benefit of the AA branch than for trunk. [juhosg: refresh the patch with quilt] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: export include/linux/switch.h on 3.3, 3.6juhosg2012-12-141-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disintegrate UAPI from include/linux/switch.hjuhosg2012-12-141-0/+100
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: refresh patchesjuhosg2012-12-141-5/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix solos-pci skb double-free in DMA modejuhosg2012-12-131-0/+33
| | | | | | | | | [juhosg: refresh the patches with quilt] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix perf build with uclibc toolchains on x86florian2012-12-131-0/+32
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testinghauke2012-12-125-123/+895
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [adm8668] get rid of the specific UART driver and use AMBA PL010florian2012-12-062-14/+12
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.3: move OHCI and EHCI platform drivers to genericflorian2012-12-053-0/+565
| | | | | | | | | These patches are not specific to bcm47xx and will be used on other platforms as well. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix stripping symbol exportsnbd2012-12-021-17/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: patch in a working copy of elf.h instead of using relative path ↵nbd2012-12-021-2/+3012
| | | | | | based hackery in #include statements git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Update linux-atm fixes to reflect the final upstream pull requestjuhosg2012-12-021-88/+279
| | | | | | | | | [juhosg: refresh the patches with quilt] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQLjuhosg2012-11-291-0/+189
| | | | | | | | | Patches queued upstream in net-next.git Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)juhosg2012-11-292-0/+736
| | | | | | | | | Patches about to go into net-next.git Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: make it compatible with 3.7juhosg2012-11-211-0/+30
| | | | | | | | | | | | | | | | | | | swconfig does not compile with 3.7 because struct netlink_notify->pid has been renamed to struct netlink_notify->portid and struct genl_info->snd_pid has been renamed to struct genl_info->snd_portid Use the new names and add compatibility patches to 3.3 and 3.6. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] do not build crashlog on sparc tooflorian2012-11-161-1/+1
| | | | | | | | | This is crashing the kernel in crashlog_init_fs(), until fixed, disable it for SPARC too. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] move redboot boardconfig patch into target folderblogic2012-11-121-60/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ixp4xx:] add support for the Tonze AP-422/425kaloz2012-11-111-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: sanitize deps_initramfs listjuhosg2012-11-091-0/+28
| | | | | | | | | | | | | | | | If any filename in the intramfs dependency list contains a colon, that causes a kernel build error like this: /devel/openwrt/build_dir/linux-ar71xx_generic/linux-3.6.6/usr/Makefile:58: *** multiple target patterns. Stop. make[5]: *** [usr] Error 2 Fix it by removing such filenames from the deps_initramfs list. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: export bcm963xx_tag.h to userspacejogo2012-11-062-1/+220
| | | | | | | | | | | | Export bcm963xx_tag.h so mtd can use it without using kernel includes. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> [jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header from original location, refresh patches, use a more matching patch number, port to 3.6] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: backport an upstream GPIO patchjuhosg2012-11-051-0/+68
| | | | | | | | | | | | | The backported patch introduces new flags to automatically export GPIOs when using the convenience unctions gpio_request_one() or gpio_request_array(). This will be used by ar71xx/ramips platforms. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rename jffs2 patchesjuhosg2012-11-013-0/+0
| | | | | | | | | Make room for the upcoming yaffs patches. No functional changes. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: use mtd_* helpers in the yaffs codejuhosg2012-10-311-0/+160
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: split yaffs-3.2-fix patchjuhosg2012-10-314-247/+132
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: replace yaffs-2.6.39 patchjuhosg2012-10-315-200/+202
| | | | | | | | Use backported upstream patches instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: replace yaffs mutex_fix patchjuhosg2012-10-303-30/+139
| | | | | | | | Use a backported patch instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: replace yaffs symlink fix patchjuhosg2012-10-302-17/+31
| | | | | | | | Use a backported patch instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rename yaffs patchesjuhosg2012-10-306-0/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fold yaffs_git_2010_10_20 patch to generic/filesjuhosg2012-10-301-27068/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73