Commit graph

80 commits

Author SHA1 Message Date
Gabor Juhos
fe61fc2d7d generic: add detach callback to struct phy_driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35510
2013-02-07 15:18:24 +00:00
Gabor Juhos
fb936218a1 linux/3.6: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35440
2013-02-01 17:30:15 +00:00
John Crispin
c6744513a3 fix mtd_mp25p80_add_gd25q32_gd25q64.patch
SVN-Revision: 35378
2013-01-29 11:06:57 +00:00
Florian Fainelli
714b2cfef3 Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit.

The patch was added to "linux/generic/patches-3.6" instead of
"target/linux/generic/patches-3.6".
I also fixed a missing patch space and refreshed generic patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35367
2013-01-29 09:46:11 +00:00
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
2013-01-29 09:44:58 +00:00
Felix Fietkau
8193bbe59a netfilter: add support for flushing conntrack via /proc
SVN-Revision: 35330
2013-01-27 19:02:38 +00:00
Jonas Gorski
bb0118c66f generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.

Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35305
2013-01-23 10:12:33 +00:00
Gabor Juhos
57f7408b8a generic: add EHCI|OHCI platform driver fix to 3.[36]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35194
2013-01-17 13:54:14 +00:00
Hauke Mehrtens
885eea1842 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
SVN-Revision: 35080
2013-01-10 14:05:18 +00:00
Felix Fietkau
2e8409cce3 kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versions
SVN-Revision: 35016
2013-01-05 13:33:44 +00:00
Felix Fietkau
96f3911981 kernel: move regmap bloat out of the kernel image if it is only being used in modules
SVN-Revision: 34999
2013-01-03 18:39:50 +00:00
Gabor Juhos
373b0b9ad1 generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34959
2013-01-02 08:53:07 +00:00
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