Commit graph

160 commits

Author SHA1 Message Date
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
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
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
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
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
2012-11-05 11:04:43 +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
Gabor Juhos
a4126685c6 generic: split yaffs-3.2-fix patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34041
2012-10-31 19:33:12 +00:00
Gabor Juhos
4baeb543f0 generic: replace yaffs-2.6.39 patch
Use backported upstream patches instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34032
2012-10-31 15:12:45 +00:00
Gabor Juhos
b888c2deab generic: replace yaffs mutex_fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34021
2012-10-30 21:16:24 +00:00
Gabor Juhos
d54782d01a generic: replace yaffs symlink fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34020
2012-10-30 21:16:23 +00:00
Gabor Juhos
9a8ccc1a08 generic: rename yaffs patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34019
2012-10-30 21:16:21 +00:00
Gabor Juhos
449f88df0f generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34013
2012-10-30 14:58:17 +00:00
Gabor Juhos
56190ed0fc generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34012
2012-10-30 14:58:13 +00:00
Imre Kaloz
50be09e1f7 instead of updating the whole file, just add the additional boards
SVN-Revision: 33966
2012-10-27 13:29:36 +00:00
Gabor Juhos
ee9376d153 generic: swconfig: use led_set_brightness in LED control code
The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33946
2012-10-26 18:58:18 +00:00
Hauke Mehrtens
d4ef5de604 kernel: add PCI id 14e4:4350 to ssb
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.

SVN-Revision: 33929
2012-10-25 15:50:47 +00:00
Hauke Mehrtens
dca633f1c8 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx

SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Jonas Gorski
0d2cf5f9e3 kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

SVN-Revision: 33896
2012-10-23 10:57:49 +00:00
Florian Fainelli
ca25e61c6c refresh 3.3 patches
SVN-Revision: 33887
2012-10-21 21:30:30 +00:00
Gabor Juhos
0045449b1b generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33839
2012-10-18 07:22:56 +00:00
Imre Kaloz
c24df51736 add support for new Option modules (GTM66xxWFS/GTM67xxWFS)
Add new device ID's for the hso driver as well as usb storage

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33743
2012-10-13 06:58:42 +00:00
John Crispin
ba6751058b gpiodev/gpioctl RIP
SVN-Revision: 33725
2012-10-11 11:58:09 +00:00
Imre Kaloz
9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Felix Fietkau
d0ec348ded kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

SVN-Revision: 33687
2012-10-10 11:54:31 +00:00
Felix Fietkau
f933719138 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

SVN-Revision: 33686
2012-10-10 11:54:27 +00:00
Felix Fietkau
f570c806ef mtd: allow partial block unlock
This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.

This second iteration of this patch addresses previous issues:
  - whitespace breakage fixed
  - unlock in all scenarios
  - simplification and fix logic bug

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33681
2012-10-10 11:38:44 +00:00
Hauke Mehrtens
9f083117d1 refresh patches
SVN-Revision: 33602
2012-09-30 11:45:53 +00:00
Gabor Juhos
579e9cded8 generic: add upstream commit id to codel patches and refresh those
SVN-Revision: 33560
2012-09-26 14:17:17 +00:00
Florian Fainelli
eb97933e2a backport the upstream entropy changes (#11951)
SVN-Revision: 33559
2012-09-26 12:54:01 +00:00
Imre Kaloz
a74cf6f9a8 refresh patches
SVN-Revision: 33501
2012-09-21 05:38:16 +00:00
Florian Fainelli
a36bdb2417 fix ixp4xx_hss build failure (#12162)
SVN-Revision: 33356
2012-09-10 08:53:21 +00:00
Gabor Juhos
fccf1f5105 generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

SVN-Revision: 33275
2012-08-26 09:27:56 +00:00
Gabor Juhos
5d84dabf0f generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

SVN-Revision: 33193
2012-08-15 13:26:51 +00:00
Gabor Juhos
b942309f4f generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

SVN-Revision: 33137
2012-08-12 10:30:41 +00:00
John Crispin
f45132d1d4 Codel: avoid a nul rec_inv_sqrt
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 32950
2012-08-02 13:39:50 +00:00
Florian Fainelli
c0561a42e7 disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

SVN-Revision: 32926
2012-07-31 23:09:46 +00:00
John Crispin
ee0946a5f4 refresh pwm patch
SVN-Revision: 32905
2012-07-29 11:53:06 +00:00
John Crispin
101766fb00 clean up pwm patches and drivers
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Hauke Mehrtens
0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
John Crispin
53a6946bb4 fix tantos patch properly
SVN-Revision: 32796
2012-07-24 17:28:12 +00:00
John Crispin
6fe32d72a2 make tantos switch select ETHERNET_PACKET_MANGLE
SVN-Revision: 32795
2012-07-24 16:50:14 +00:00
Felix Fietkau
b59bc92c6e crashlog: fix dependency, add memblock support
SVN-Revision: 32787
2012-07-22 16:39:33 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Luka Perkov
283021ac15 ocf: update to version 20120127
SVN-Revision: 32672
2012-07-11 23:38:14 +00:00
Hauke Mehrtens
45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
2012-07-11 22:17:05 +00:00
Jonas Gorski
1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Hauke Mehrtens
bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Felix Fietkau
50958f5e03 kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk

SVN-Revision: 32395
2012-06-16 21:06:33 +00:00
Florian Fainelli
7b12e9e49c backport spi message queue infrastructure
SVN-Revision: 32077
2012-06-06 13:31:30 +00:00
Florian Fainelli
5ec2209734 refresh generic patches
SVN-Revision: 32059
2012-06-05 13:40:38 +00:00
John Crispin
47ef62d1b8 adds patch to make Tantos (psb6970) switch buildable again
SVN-Revision: 32006
2012-05-30 17:41:28 +00:00
Felix Fietkau
f638414fdc kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
2012-05-27 21:02:36 +00:00
Gabor Juhos
9217115687 generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
2012-05-27 17:09:43 +00:00
Felix Fietkau
51bc47ce7c kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
2012-05-27 15:16:37 +00:00
Felix Fietkau
6f89cffc9a kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
SVN-Revision: 31886
2012-05-27 14:43:58 +00:00
Felix Fietkau
230c0eb2cb kernel: fix a warning in the connmark module
SVN-Revision: 31856
2012-05-24 18:25:08 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
1e1c0a5405 linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
Should fix #11513. Tested with the x86/generic squashfs image within a VM.

SVN-Revision: 31841
2012-05-23 21:05:19 +00:00
Felix Fietkau
ce59af117c kernel: merge a net-next fq_codel backlog handling fix
SVN-Revision: 31813
2012-05-18 22:12:15 +00:00
Hauke Mehrtens
273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
2012-05-17 13:22:38 +00:00
Felix Fietkau
54edbfabac kernel: add codel and fq_codel to generic 3.3 patch set (based on patch by Dave Täht)
Codel is a new AQM algorithm and RED replacement designed by
Kathie Nichols and Van Jacobson, and published in ACM queue:

http://queue.acm.org/detail.cfm?id=2209336

Codel stands for "Controlled Delay", and needs no knobs in the
general case, twiddled, for optimum results. It aims for 5ms of
delay, at most, when in use.

Additionally,

fq_codel (by eric dumazet) builds on codel to provide fair queuing
superior to what could be had with SFQ, and drop behavior saner
than RED, BLUE, or choke.

These patches are backported from net-next and are known to work
on Linux 3.3.4 and later.

Includes updates to codel for better portability and speed

SVN-Revision: 31756
2012-05-16 15:23:03 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Hauke Mehrtens
31c2c485c1 kernel: ssb: add PCI IDs 0x4322 and 43222
The 0x4322 ID is found on the BCM4322 used on some SoCs like the
Linksys WRT610N V1 connected to a BCM4705. The 43222 (0xa8d6) ID
is found on the BCM43222 used on some other SoCs like the D-Link
DSL-2760U connected to a BCM63xx.

This fixes #10887.

SVN-Revision: 31695
2012-05-13 00:08:12 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Felix Fietkau
0ff3c396d3 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Gabor Juhos
3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
532b74ff7b linux/3.3: refresh patches
SVN-Revision: 31531
2012-04-29 16:56:03 +00:00
Gabor Juhos
55fdc18beb linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31525
2012-04-29 15:08:22 +00:00
Gabor Juhos
43d67fa995 linux/3.3: fix compiler warnings in the plat_nand driver
SVN-Revision: 31473
2012-04-25 12:57:29 +00:00
Jonas Gorski
8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos
c627479641 linux/3.3: nuke the gpio_buttons patch
It is superseded by the in-kernel gpio-keys-polled driver.

SVN-Revision: 31409
2012-04-21 14:26:35 +00:00
Gabor Juhos
1ffcaae700 linux/3.3: fix crypto4xx build failure
SVN-Revision: 31394
2012-04-21 10:47:04 +00:00
Gabor Juhos
434655d460 linux/3.3: update ARM mach-types
SVN-Revision: 31378
2012-04-20 15:24:54 +00:00
Florian Fainelli
2e641b13c0 fix 335-mips-kexec patch for all 3+ kernels
SVN-Revision: 31344
2012-04-18 15:36:30 +00:00
Jonas Gorski
3a9b6dc313 kernel: update linux 3.3 to 3.3.2
SVN-Revision: 31336
2012-04-17 12:51:02 +00:00
Jo-Philipp Wich
9d11e3395a Fix bufferbloat in PPPoATM TX queue
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31313
2012-04-16 15:04:45 +00:00
Jo-Philipp Wich
2036c23faa Update ppp TX restart patch to avoid race condition
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31312
2012-04-16 15:04:44 +00:00
Hauke Mehrtens
6af575967c kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
SVN-Revision: 31278
2012-04-13 19:35:40 +00:00
Jonas Gorski
50eba35cd3 kernel: update linux 3.3 to 3.3.1
SVN-Revision: 31223
2012-04-09 14:48:56 +00:00
Felix Fietkau
5f87ce9150 kernel: restore ebtables functionality by running netfilter hooks when the ebtables module is loaded
SVN-Revision: 31141
2012-03-29 14:15:54 +00:00
Florian Fainelli
af2c5df66a ppp: Fix high softirq utilization with pppoa
Users of the Geos platform are reporting high CPU utilization.
This seems to be rooted in a problem with the TX queue restart in PPP.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31096
2012-03-27 17:47:44 +00:00
Gabor Juhos
ff5b7ef713 linux: refresh patches against 3.3
SVN-Revision: 31047
2012-03-20 15:55:07 +00:00
Felix Fietkau
7b609a31be kernel: improve profiling support, keep static symbols when profiling is enabled
SVN-Revision: 30964
2012-03-17 13:03:14 +00:00
Felix Fietkau
dd0f928b14 kernel: optimize out remaining netfilter hooks in the bridging code if bridge filtering is disabled
SVN-Revision: 30954
2012-03-16 09:21:59 +00:00
Gabor Juhos
c00b53f3d0 ar71xx: move micrel PHY driver to the generic linux target
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos
0011804302 linux/3.3: build mdio_register_board_info into the kernel if PHYLIB is selected
SVN-Revision: 30945
2012-03-15 09:25:49 +00:00
Felix Fietkau
b387cfd6e4 kernel: bypass all netfilter hooks if the sysctls for that functionality have been disabled - eliminates the overhead of enabling CONFIG_BRIDGE_NETFILTER in the kernel config
SVN-Revision: 30917
2012-03-13 10:06:45 +00:00
Gabor Juhos
727a8c20c0 linux/3.3: refresh patches against 3.3-rc7
SVN-Revision: 30908
2012-03-12 17:32:38 +00:00
Gabor Juhos
fdb175f909 linux/3.3: allow to set platform_data for phy devices
SVN-Revision: 30906
2012-03-12 16:28:01 +00:00
Jo-Philipp Wich
2dedd94d66 expose CONFIG_NETFILTER_NETLINK for external kmods
SVN-Revision: 30894
2012-03-12 00:09:23 +00:00
Gabor Juhos
f400a9cdd9 linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30881
2012-03-11 16:39:30 +00:00
Florian Fainelli
631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
2012-03-05 13:29:54 +00:00
Felix Fietkau
8821950069 kernel: remove the crtsavres dependency, the patched gcc will no longer emit references to that code
SVN-Revision: 30816
2012-03-05 00:51:08 +00:00
Felix Fietkau
e308da91e7 kernel: fix vmalloc stack traces triggered by module with an empty init section (mostly happens on x86)
SVN-Revision: 30813
2012-03-05 00:12:44 +00:00