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
2012-12-28 19:17:19 +00:00
Felix Fietkau
9bb8b9fadb
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
...
SVN-Revision: 34901
2012-12-27 22:59:51 +00:00
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
2012-12-22 12:11:06 +00:00
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
2012-12-20 17:14:57 +00:00
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
2012-12-18 20:10:02 +00:00
Gabor Juhos
44b9898251
kernel: update linux 3.6 to 3.6.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Felix Fietkau
1bdea42662
kernel: fix a warning in the O_DIRECT debloat patch
...
SVN-Revision: 34740
2012-12-17 20:55:49 +00:00
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
2012-12-17 15:11:39 +00:00
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
2012-12-14 12:11:48 +00:00
Gabor Juhos
a860153cce
generic: disintegrate UAPI from include/linux/switch.h
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34677
2012-12-14 12:11:41 +00:00
Gabor Juhos
8aed692309
generic: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34676
2012-12-14 08:47:39 +00:00
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
2012-12-14 08:32:56 +00:00
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
2012-12-13 18:39:31 +00:00
Florian Fainelli
321852348f
kernel: fix perf build with uclibc toolchains on x86
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34666
2012-12-13 17:34:22 +00:00
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
2012-12-13 15:40:27 +00:00
Felix Fietkau
2bb7f82d8a
kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes
...
SVN-Revision: 34657
2012-12-13 13:07:13 +00:00
Hauke Mehrtens
1bd8db0bd6
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
...
SVN-Revision: 34651
2012-12-12 22:42:18 +00:00
Gabor Juhos
eece71be56
generic: fix 8139cp patch for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34640
2012-12-12 08:37:27 +00:00
Gabor Juhos
2b378d11c8
kernel: update linux 3.6 to 3.6.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Florian Fainelli
cbfca35c76
generic: backport a fix for the input keymap-matrix module
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34620
2012-12-10 21:05:42 +00:00
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
2012-12-10 21:05:27 +00:00
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
2012-12-10 14:24:28 +00:00
Gabor Juhos
2581173660
kernel: update linux 3.6 to 3.6.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Felix Fietkau
a3843e7ec7
kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
...
SVN-Revision: 34506
2012-12-05 16:49:48 +00:00
Felix Fietkau
a7220cd9f8
kernel: disable more pci quirks to save space on platforms that don't need them
...
SVN-Revision: 34467
2012-12-03 10:33:47 +00:00
Felix Fietkau
24b31c9428
kernel: fix stripping symbol exports
...
SVN-Revision: 34458
2012-12-02 17:42:17 +00:00
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
2012-12-02 15:26:19 +00:00
Gabor Juhos
890f83dfb3
Update linux-atm fixes to reflect the final upstream pull request
...
[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: 34443
2012-12-02 13:04:04 +00:00
Gabor Juhos
7cde0281f4
kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
...
Patches queued upstream in net-next.git
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34415
2012-11-29 17:58:28 +00:00
Gabor Juhos
543c2c27d1
kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
...
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>
SVN-Revision: 34410
2012-11-29 17:37:18 +00:00
Gabor Juhos
3a4d0ebd5c
kernel: update linux 3.6 to 3.6.8
...
Also refresh the affected patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Gabor Juhos
10d30f2d2d
swconfig: make it compatible with 3.7
...
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>
SVN-Revision: 34288
2012-11-21 17:38:11 +00:00
Gabor Juhos
c0f73ac607
generic: convert yaffs to use kuid_t and kgid_t on 3.6+
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34280
2012-11-20 17:45:24 +00:00
Jonas Gorski
8dc72c5c4d
Revert "target specific patches have nothing to do in generic.."
...
This reverts commit r34230, as it is causing build failures:
make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1
Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.
SVN-Revision: 34255
2012-11-19 12:38:26 +00:00
Hauke Mehrtens
4fa5781a95
kernel: refresh patches
...
SVN-Revision: 34253
2012-11-18 21:40:30 +00:00
Hauke Mehrtens
86cc79ac98
brcm47xx: add support for kernel 3.6
...
This is based on the patch by Peter Wagner.
SVN-Revision: 34252
2012-11-18 21:27:00 +00:00
Imre Kaloz
b220071cd2
target specific patches have nothing to do in generic..
...
SVN-Revision: 34230
2012-11-18 09:22:38 +00:00
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
Florian Fainelli
8ad0b56ba5
do not build crashlog on sparc too
...
This is crashing the kernel in crashlog_init_fs(), until fixed, disable it
for SPARC too.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34213
2012-11-16 16:32:33 +00:00
Gabor Juhos
f6c3a8ddd6
generic: refresh 3.6 patches
...
SVN-Revision: 34194
2012-11-13 20:57:13 +00:00
Florian Fainelli
a8c492dbb3
MIPS: add a build fix for arch/mips/boot/compressed/decompress.c
...
And get rid of the AR7 patch because at least the Alchemy SoC also needs it
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34170
2012-11-12 12:49:47 +00:00
John Crispin
5f30fe31b6
move redboot boardconfig patch into target folder
...
SVN-Revision: 34166
2012-11-12 07:56:37 +00:00
Imre Kaloz
527c473674
add support for the Tonze AP-422/425
...
SVN-Revision: 34165
2012-11-11 21:04:30 +00:00
Gabor Juhos
502661f685
generic: sanitize deps_initramfs list
...
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>
SVN-Revision: 34125
2012-11-09 09:07:29 +00:00
Jonas Gorski
a50d121d8e
linux: export bcm963xx_tag.h to userspace
...
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>
SVN-Revision: 34103
2012-11-06 15:21:46 +00:00
Jonas Gorski
0722fd9c63
linux: generic: fix split_squashfs for 3.6
...
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.
SVN-Revision: 34093
2012-11-06 00:48:21 +00:00
Felix Fietkau
6040b1d29a
linux-3.6: fix portability of some includes files in tools/ used on the host
...
SVN-Revision: 34068
2012-11-04 17:01:15 +00:00
Gabor Juhos
0005762690
generic: make yaffs work on 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34054
2012-11-01 11:07:23 +00:00
Gabor Juhos
ffcb4b0fe1
generic: rename jffs2 patches
...
Make room for the upcoming yaffs patches.
No functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34053
2012-11-01 11:07:16 +00:00
Gabor Juhos
6c8c3ee77d
generic: use mtd_* helpers in the yaffs code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34046
2012-10-31 21:17:30 +00:00