Jonas Gorski
bbd02c6fb7
kernel: fix CVE-2013-1763 in older kernels
...
Newer kernels were already fixed by upstream.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36607
12 years ago
Jonas Gorski
0b03ff2028
kernel: make zlib and lzo modules selectable
...
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
12 years ago
Felix Fietkau
30c4360345
kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36529
12 years ago
Jonas Gorski
8f15326acc
kernel: generic: don't strip /proc/irq on SMP
...
/proc/irq is needed for changing the SMP affinity of interrupts.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36525
12 years ago
Jonas Gorski
a33dd13c98
kernel: add missing bcma defines and header file for bcrmfmac
...
Fixes build failure when having kmod-mmc and brcmfmac selected.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36468
12 years ago
Felix Fietkau
a8a01b42ae
kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL
...
SVN-Revision: 36378
12 years ago
Felix Fietkau
f58dcb59c6
kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36367
12 years ago
Florian Fainelli
c3366cd164
kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
...
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
12 years ago
Florian Fainelli
518d6a9273
kernel: backport switch user API changes after r36283
...
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
12 years ago
Florian Fainelli
b1cc7a90a4
kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection ( #13193 )
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36091
12 years ago
Florian Fainelli
6a7100c760
kernel: set regmap-core module license
...
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
12 years ago
Gabor Juhos
fe61fc2d7d
generic: add detach callback to struct phy_driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35510
12 years ago
Gabor Juhos
fb936218a1
linux/3.6: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35440
12 years ago
John Crispin
c6744513a3
fix mtd_mp25p80_add_gd25q32_gd25q64.patch
...
SVN-Revision: 35378
12 years ago
Florian Fainelli
714b2cfef3
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
...
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
12 years ago
Gabor Juhos
e252a1492c
generic: fix build failure in MIPS kexec code if SMP is enabled
...
Fix it for older kernels as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35366
12 years ago
Felix Fietkau
8193bbe59a
netfilter: add support for flushing conntrack via /proc
...
SVN-Revision: 35330
12 years ago
Jonas Gorski
bb0118c66f
generic: add b53 swconfig switch driver
...
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
12 years ago
Gabor Juhos
57f7408b8a
generic: add EHCI|OHCI platform driver fix to 3.[36]
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35194
12 years ago
Hauke Mehrtens
885eea1842
kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
...
SVN-Revision: 35080
12 years ago
Felix Fietkau
2e8409cce3
kernel: port the regmap fix to 3.6 ( #12749 ), refresh patches for other versions
...
SVN-Revision: 35016
12 years ago
Felix Fietkau
96f3911981
kernel: move regmap bloat out of the kernel image if it is only being used in modules
...
SVN-Revision: 34999
12 years ago
Gabor Juhos
373b0b9ad1
generic: fix UBIFS build error if XZ compression is disabled
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34959
12 years ago
Felix Fietkau
41a039f464
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
...
SVN-Revision: 34909
12 years ago
Felix Fietkau
9bb8b9fadb
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
...
SVN-Revision: 34901
12 years ago
Gabor Juhos
c0e1a6f342
generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
...
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
12 years ago
Gabor Juhos
2d6a41cf5d
kernel: add solos-pci patches from 3.8 for new hardware
...
[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
12 years ago
Gabor Juhos
2143de1a3d
generic: disable crashlog on ppc
...
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
12 years ago
Gabor Juhos
44b9898251
kernel: update linux 3.6 to 3.6.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34748
12 years ago
Felix Fietkau
1bdea42662
kernel: fix a warning in the O_DIRECT debloat patch
...
SVN-Revision: 34740
12 years ago
Felix Fietkau
2bda7a5b41
kernel: add some debloat patches, strip down procfs and make O_DIRECT support optional, saves ~15K after lzma on MIPS
...
SVN-Revision: 34737
12 years ago
Gabor Juhos
57d7df3a35
generic: export include/linux/switch.h on 3.3, 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34678
12 years ago
Gabor Juhos
a860153cce
generic: disintegrate UAPI from include/linux/switch.h
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34677
12 years ago
Gabor Juhos
8aed692309
generic: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34676
12 years ago
Gabor Juhos
272ef8ac00
generic: update pci_disable_usb_common_quirks patch
...
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>
SVN-Revision: 34675
12 years ago
Gabor Juhos
6e4082f170
kernel: fix solos-pci skb double-free in DMA mode
...
[juhosg: refresh the patches with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34667
12 years ago
Florian Fainelli
321852348f
kernel: fix perf build with uclibc toolchains on x86
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34666
12 years ago
Florian Fainelli
5e7d69554e
kernel/3.6: backport an upstream build for perf with uClibc
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34662
12 years ago
Felix Fietkau
2bb7f82d8a
kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes
...
SVN-Revision: 34657
12 years ago
Hauke Mehrtens
1bd8db0bd6
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
...
SVN-Revision: 34651
12 years ago
Gabor Juhos
eece71be56
generic: fix 8139cp patch for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34640
12 years ago
Gabor Juhos
2b378d11c8
kernel: update linux 3.6 to 3.6.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34639
12 years ago
Florian Fainelli
cbfca35c76
generic: backport a fix for the input keymap-matrix module
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34620
12 years ago
Florian Fainelli
5c28c5255f
generic: backport an upstream fix for building snd-soc-pcm as a module
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34617
12 years ago
Florian Fainelli
67e85c0018
kernel/generic: fix build failure on missing uhci symbol
...
linux-3.6.8/drivers/usb/host/pci-quirks.c:471: undefined reference to
`uhci_check_and_reset_hc'
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34599
12 years ago
Gabor Juhos
2581173660
kernel: update linux 3.6 to 3.6.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34578
12 years ago
Felix Fietkau
a3843e7ec7
kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
...
SVN-Revision: 34506
12 years ago
Felix Fietkau
a7220cd9f8
kernel: disable more pci quirks to save space on platforms that don't need them
...
SVN-Revision: 34467
12 years ago
Felix Fietkau
24b31c9428
kernel: fix stripping symbol exports
...
SVN-Revision: 34458
12 years ago
Felix Fietkau
38d3b8d0ea
kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements
...
SVN-Revision: 34449
12 years ago