summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.7
Commit message (Collapse)AuthorAgeFilesLines
* 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: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is ↵nbd2013-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 SMPjogo2013-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
* kernel: add missing bcma defines and header file for bcrmfmacjogo2013-04-284-19/+45
| | | | | | | | 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-26/+241
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.cflorian2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36296 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
* kernel: update linux 3.7 to 3.7.10juhosg2013-03-031-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.8juhosg2013-02-153-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.7juhosg2013-02-122-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 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
* kernel: generic: add back the patch exporting bcm63xx tag headerjogo2013-02-043-2/+235
| | | | | | | | It went missing when adding linux 3.7 support. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.6juhosg2013-02-043-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix gc_sections patchjuhosg2013-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the patch, essential '.data..*' sections are merged into the '.data' section: --- vmlinux.good.sect 2013-02-01 23:49:16.000000000 +0100 +++ vmlinux.bad.sect 2013-02-01 23:49:02.000000000 +0100 @@ -1,5 +1,5 @@ -vmlinux.good: file format elf32-powerpc +vmlinux.bad: file format elf32-powerpc Sections: Idx Name Size VMA LMA File off Algn @@ -53,43 +53,35 @@ CONTENTS, ALLOC, LOAD, READONLY, DATA 24 .machine.desc 00000460 c04e1000 004e1000 004f1000 2**2 CONTENTS, ALLOC, LOAD, DATA - 25 .data 0000f6a0 c04e2000 004e2000 004f2000 2**12 + 25 .data 0001635c c04e2000 004e2000 004f2000 2**12 CONTENTS, ALLOC, LOAD, DATA - 26 .data..init_task 00002000 c04f2000 004f2000 00502000 2**3 - CONTENTS, ALLOC, LOAD, DATA - 27 .data..page_aligned 00002000 c04f4000 004f4000 00504000 2**12 - CONTENTS, ALLOC, LOAD, DATA - 28 .data..cacheline_aligned 00000c00 c04f6000 004f6000 00506000 2**5 - CONTENTS, ALLOC, LOAD, DATA - 29 .data..read_mostly 000015e0 c04f6c00 004f6c00 00506c00 2**3 - CONTENTS, ALLOC, LOAD, DATA - 30 .sbss 000002e0 c04f9000 004f9000 005081e0 2**3 + 26 .sbss 000002e0 c04fa000 004fa000 0050835c 2**3 <...> This causes boot hang on powerpc. Modify the patch to ensure that the kernel specific '.data..*' sections remain separate. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix default compression selection in ubifsjuhosg2013-01-291-0/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.5juhosg2013-01-297-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fix mtd_mp25p80_add_gd25q32_gd25q64.patchblogic2013-01-291-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix build failure in MIPS kexec code if SMP is enabledjuhosg2013-01-294-16/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] refresh patchesblogic2013-01-2814-23/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35355 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
* kernel: prevent cryptomgr from pulling in useless extra dependencies for ↵nbd2013-01-271-0/+37
| | | | | | | | tests that are not run Reduces kernel size after LZMA by about 5k on MIPS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mipsnbd2013-01-2617-49/+418
| | | | | | | in combination with kernel symbol export stripping this significantly reduces the kernel image size git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove the cisco sip phone patch for 3.7 and 3.8 as wellnbd2013-01-231-118/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add b53 swconfig switch driverjogo2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.3juhosg2013-01-182-11/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add EHCI|OHCI platform driver fix from the cns21xx targetjuhosg2013-01-142-0/+98
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a config option for keeping the kallsyms table uncompressed, ↵nbd2013-01-141-0/+108
| | | | | | saving ~9kb kernel size after lzma on ar71xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add back the mips module relocation patchnbd2013-01-131-0/+350
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.2juhosg2013-01-127-44/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2013-01-09 from wireless-testinghauke2013-01-103-115/+1057
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versionsnbd2013-01-051-13/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fix regmap debloat patchblogic2013-01-051-8/+30
| | | | 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/+39
| | | | | | 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
* mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel ↵nbd2012-12-281-0/+11
| | | | | | size after lzma and ~12k squashfs size in the default configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add solos-pci patches from 3.8 for new hardwarejuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disable crashlog on ppcjuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34773 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.1juhosg2012-12-183-14/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix Cisco SIP NAT patch to build with 3.7juhosg2012-12-181-8/+14
| | | | | | | 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@34753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a warning in the O_DIRECT debloat patchnbd2012-12-171-11/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some debloat patches, strip down procfs and make O_DIRECT ↵nbd2012-12-173-0/+491
| | | | | | support optional, saves ~15K after lzma on MIPS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disintegrate UAPI from include/linux/switch.hjuhosg2012-12-141-0/+10
| | | | | | 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-142-10/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: update pci_disable_usb_common_quirks patchjuhosg2012-12-141-8/+3
| | | | | | | | | Fixes the following compiler warning: drivers/usb/host/pci-quirks.c:459:23: warning: 'quirk_usb_handoff_uhci' defined but not used [-Wunused-function] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34675 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: fix porting mistakes on the 3.6+ SIP NAT patch causing crashesnbd2012-12-131-23/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34657 3c298f89-4303-0410-b956-a3cf2f4a3e73