Felix Fietkau
73c4d73d6d
build: unify target independent optimization options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37600
11 years ago
Felix Fietkau
cc26f768e4
kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37598
11 years ago
John Crispin
4176b6fdd3
strict_strtoul is obsolete, use kstrtoul instead
...
based on http://patchwork.openwrt.org/patch/3827/
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37562
11 years ago
Lars-Peter Clausen
8fc44d1f5f
kernel: Remove gpio-pwm patches
...
There is no platform using the gpio-pwm driver, yet these patches break the
generic PWM framework that is in upstream. So just remove them.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
SVN-Revision: 37490
11 years ago
Hauke Mehrtens
c7f8cb3f4f
kernel: update bcma and ssb to version from wireless-testing/master tag master-2013-07-18
...
This should fix some build problems in b43 with kernel 3.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37432
11 years ago
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
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
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
Hauke Mehrtens
4995f23669
kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
...
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.
SVN-Revision: 36101
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
d158dfc607
linux/3.3: disable crashlog on PPC
...
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>
SVN-Revision: 35435
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
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
John Crispin
d5d2e8b4db
missing underscore in 3.3 regmap patch
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35018
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
John Crispin
e6aac19237
fix regmap debloat patch
...
SVN-Revision: 35015
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
9bb8b9fadb
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
...
SVN-Revision: 34901
12 years ago
Gabor Juhos
840d0d246c
kernel: add solos-pci update for 3.3
...
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>
SVN-Revision: 34813
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
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
Hauke Mehrtens
1bd8db0bd6
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
...
SVN-Revision: 34651
12 years ago
Florian Fainelli
afc2b07be1
get rid of the specific UART driver and use AMBA PL010
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34548
12 years ago
Florian Fainelli
512baafc6b
kernel/3.3: move OHCI and EHCI platform drivers to generic
...
These patches are not specific to bcm47xx and will be used on other
platforms as well.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34501
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
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
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
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
Gabor Juhos
5e43b934fd
linux/3.3: backport an upstream GPIO patch
...
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>
SVN-Revision: 34081
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
Gabor Juhos
a4126685c6
generic: split yaffs-3.2-fix patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34041
12 years ago