summaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-1221-1232/+1869
| | | | SVN-Revision: 37957
* kernel: add support for ESMT F25L32PA with upstream submissionLuka Perkov2013-09-121-0/+37
| | | | | | Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 37956
* kernel: align the skb padding to power of twoFelix Fietkau2013-09-115-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skb is usually started by a padding which allows the protocols in the network stack to add their headers in front of the payload. The skb can be reallocated in case the preallocated padding is not large enough. This can for example happen in the function __skb_cow which will check the requested extra headroom and allocate more buffer when the requested headroom is bigger than the available one. The extra buffer is aligned again to the multiple of the NET_SKB_PAD of the target architecture. The macro used to create the multiple of the NET_SKB_PAD is written in a way which allows only values power two as alignment parameter. The currently used value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80, 128, 144 and so on. The generated values are also not monotonic (48 requested bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64 allocated bytes). These unexpected small values result in more reallocations of the buffer. This was noticed prominently during tests between two QCA9558 720 MHz devices which were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each other. The throughput PC-to-PC during iperf TCP runs increased reliable from 186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s in the other direction. This is a performance increase of ~14% just by reducing the amount of reallocations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 37948
* kernel: fix broken depends syntax introduced in r37933Florian Fainelli2013-09-111-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37942
* kernel: Fix FIQ code on VIVT CPUs (#14145)Florian Fainelli2013-09-111-0/+55
| | | | | | | | Backport an upstream patch to fix FIQ code on VIVT CPUs Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37940
* imx6: backport ahci supportLuka Perkov2013-09-104-0/+545
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37936
* imx6: add i2c retry on NAKLuka Perkov2013-09-101-0/+40
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37935
* imx6: add gpio sysfs supportLuka Perkov2013-09-101-1/+2
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37934
* kernel: allow hwmon GSC driver for all targetsLuka Perkov2013-09-105-5/+5
| | | | | | | | | - enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37933
* kernel: fix arch-dependent bug in hso moduleFelix Fietkau2013-09-1010-0/+490
| | | | | | | | | | Currently, the module causes an oops at least on rt5350. These patches have been accepted upstream at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 37931
* brcm47xx: add me as maintainerHauke Mehrtens2013-09-071-0/+1
| | | | SVN-Revision: 37916
* ar71xx: use the lzma loader for the WRT160NLGabor Juhos2013-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | Partition layout before: 0x000000040000-0x0000001a0000 : "kernel" 0x0000001a0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000 0x000000350000-0x0000007e0000 : "rootfs_data" after: 0x000000040000-0x000000140000 : "kernel" 0x000000140000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000 0x0000002f0000-0x0000007e0000 : "rootfs_data" Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37915
* ppc40x: remove 3.8 supportGabor Juhos2013-09-078-2043/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37914
* ppc40x: switch to 3.10Gabor Juhos2013-09-071-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37913
* ppc40x: add support for 3.10Gabor Juhos2013-09-078-0/+2046
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37912
* brcm63xx: drop linux 3.9 supportJonas Gorski2013-09-06151-17416/+0
| | | | | | | | It is EOL since quite a while, so no need to keep it around. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37911
* brcm63xx: switch to linux 3.10Jonas Gorski2013-09-061-1/+1
| | | | | | | | 3.10 is stable enough, and 3.9 is EOL since a while. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37910
* kernel: b53: support phy ids for BCM5365Jonas Gorski2013-09-052-2/+28
| | | | | | | | | | | | BCM5365 (and probably other older variants) use a different phy id, so the phy driver never attached for them. Fix this by adding the appropriate phy id to the fixup and the phy driver. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37906
* Add missing symbolImre Kaloz2013-09-051-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37897
* kernel: b53: allow access the MIB counters on BCM5365Hauke Mehrtens2013-09-041-1/+1
| | | | | | | | | | b53_no_ops has no elements and b53_port_ops has one element, this makes the code access some random memory when trying to access the mib counter functions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37895
* ar71xx: fix NetGear initramfs image namesGabor Juhos2013-09-031-1/+1
| | | | | | | | | The '-initramfs' string is duplicated in the image names, fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37892
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-0215-15/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37890
* ar71xx: image: reorder Image/Build/* macrosGabor Juhos2013-09-021-18/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37889
* ar71xx: image: simplify more oneliner macrosGabor Juhos2013-09-021-46/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37888
* ar71xx: image: simplify oneliner loader macrosGabor Juhos2013-09-021-9/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37887
* ar71xx: image: simplify oneliner initramfs macrosGabor Juhos2013-09-021-42/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37886
* ar71xx: image: simplify oneliner buildkernel macrosGabor Juhos2013-09-021-22/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37885
* mcs814x: dlan-usb-extender: fix usbdev triggerFlorian Fainelli2013-09-021-1/+1
| | | | | | | | | | Every device I connect to the USB port is detected as 2-1, not 1-1. So adjust the default setting accordingly. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37882
* ar71xx: optimize kernel generationGabor Juhos2013-09-021-25/+77
| | | | | | | | | | | | | When the squashfs and jffs2 images are generated in the same turn, the compressed kernel images are generated twice with the same parameters. Move compressed kernel generation into a separate phase to avoid that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37881
* generic: remove linux version checks from myloader.cGabor Juhos2013-09-021-6/+0
| | | | | | | | | | | The myloader partition parser code uses ifdef wrappers to make the code usable on kernels below version 3.2. All targets are using kernel 3.3 at least so the wraper is not needed. Remove that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37880
* ar71xx: image: dynamically generate Image/Build/Template/* macrosGabor Juhos2013-09-021-79/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37879
* ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2Gabor Juhos2013-09-021-2/+8
| | | | | | | | | | | | | | It also fixes USB Power on MR3420v2. This time we took the information from the source of GPL: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html Confirmed and tested: https://dev.openwrt.org/ticket/13201#comment:41 Thanks to oguretsagressive for testing. Signed-off-by: Dmytro <dioptimizer@gmail.com> SVN-Revision: 37878
* ar71xx: remove fs_* variables from image/MakefileGabor Juhos2013-09-021-170/+165
| | | | | | | | | | | | Those are not needed since we are generating the initramfs images along with the others. Remove the variables and use the template names directly. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37876
* ar71xx: fix initramfs image generation for Cameo933x profilesGabor Juhos2013-09-021-1/+5
| | | | | | | | | | | | | | | | Initramfs images are not generated for profiles which are using the squashfs-only template. Add the missing 'Image/Build/Template/squashfs-only/initramfs' to fix that. Also, 'Image/Build/Cameo933x/initramfs' uses wrong parameters for 'MkuImageLzma/initramfs' due to a misplaced commma. Remove that to fix the generated initramfs images. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37871
* x86/alix2: remove kernel config for 3.8Gabor Juhos2013-09-021-26/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37870
* x86/alix2: switch to 3.10.9Gabor Juhos2013-09-021-1/+1
| | | | | | | | | | | | | | | | | | Taken from the 'alix2: update to LINUX_VERSION 3.10.9' patch: http://patchwork.openwrt.org/patch/3971/. Russell says in the original patch: "Initial whack at updating alix2 to a current kernel. It builds and runs without problems so far. I copied target/linux/config-3.8, target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to their 3.10 equivalents and tweaked until it built. The patches required no changes." Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37869
* x86/alix2: add kernel config for 3.10Gabor Juhos2013-09-021-0/+24
| | | | | | | | | | | | | | | | | | | | Taken from the 'alix2: update to LINUX_VERSION 3.10.9' patch: http://patchwork.openwrt.org/patch/3971/. Russell says in the original patch: "Initial whack at updating alix2 to a current kernel. It builds and runs without problems so far. I copied target/linux/config-3.8, target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to their 3.10 equivalents and tweaked until it built. The patches required no changes." The current patch contains additional configuration tweaks. Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37868
* x86: add support for 3.10Gabor Juhos2013-09-0210-0/+1475
| | | | | | | | | | | | | | | | | | | | | | | Add kernel configuration and patches for Linux 3.10. Taken from the 'alix2: update to LINUX_VERSION 3.10.9' patch: http://patchwork.openwrt.org/patch/3971/. Russell says in the original patch: "Initial whack at updating alix2 to a current kernel. It builds and runs without problems so far. I copied target/linux/config-3.8, target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to their 3.10 equivalents and tweaked until it built. The patches required no changes." The current patch contains additional configuration tweaks, and the kernel patches were refreshed. Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37867
* imx6: add uboot-envtools to default packagesLuka Perkov2013-08-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37859
* mvebu: remove maintainer ship roleFlorian Fainelli2013-08-281-1/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37855
* kernel: fix booting issues on imx23 and imx6 targetsFelix Fietkau2013-08-281-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37854
* imx6: disable sdma until license issues are solvedLuka Perkov2013-08-285-81/+55
| | | | | | | | Also, synchronize patches with upstream. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37853
* imx6: refresh 3.10 kernel configLuka Perkov2013-08-281-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37850
* ar71xx: add some pending patchesGabor Juhos2013-08-273-0/+184
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37849
* kernel: don't hide the 'Warning: unable to open an initial console' messageGabor Juhos2013-08-275-55/+0
| | | | | | | | | | The 'Warning: unable to open an initial console' message indicates an error in the rootfs. Remove the patch which hides the warning. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37848
* kernel: ensure that /dev/console exists in initramfsGabor Juhos2013-08-275-0/+150
| | | | | | | | | | | Linux expects that the /dev/console node is present in the rootfs image. Create the node in initramfs, in order to make std{in,out,err} usable even in early init process. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37846
* ar71xx: don't hardwire cpu_has_dsp{,2} to zeroGabor Juhos2013-08-272-4/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37845
* ar71xx: don't register USB device on WNDAP360Gabor Juhos2013-08-275-11/+7
| | | | | | | | | | | | | | | | | Apparently registering usb device on newest trunk causes this AP not to boot... Since there is no USB socket in that device anyway this can be simply removed (and device boots then no problem). [juhosg: - tweak subject line and description, - remove #include "dev-usb.h", - remove 'select ATH79_DEV_USB' from Kconfig] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37844
* kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9Felix Fietkau2013-08-263-3/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 37842
* x86/alix2: add kmod-usb2-pci to default packagesGabor Juhos2013-08-251-1/+1
| | | | | | | | | | The USB controller is sitting on the PCI bus and without the package the EHCI controller is not usable. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37835