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
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Hauke Mehrtens
4fa5781a95
kernel: refresh patches
...
SVN-Revision: 34253
12 years ago
Hauke Mehrtens
86cc79ac98
brcm47xx: add support for kernel 3.6
...
This is based on the patch by Peter Wagner.
SVN-Revision: 34252
12 years ago
Imre Kaloz
b220071cd2
target specific patches have nothing to do in generic..
...
SVN-Revision: 34230
12 years ago
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
12 years ago
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
12 years ago
Gabor Juhos
f6c3a8ddd6
generic: refresh 3.6 patches
...
SVN-Revision: 34194
12 years ago
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
12 years ago
John Crispin
5f30fe31b6
move redboot boardconfig patch into target folder
...
SVN-Revision: 34166
12 years ago
Imre Kaloz
527c473674
add support for the Tonze AP-422/425
...
SVN-Revision: 34165
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau
6040b1d29a
linux-3.6: fix portability of some includes files in tools/ used on the host
...
SVN-Revision: 34068
12 years ago
Gabor Juhos
0005762690
generic: make yaffs work on 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34054
12 years ago
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
12 years ago
Gabor Juhos
6c8c3ee77d
generic: use mtd_* helpers in the yaffs code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34046
12 years ago