summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-21patches: refresh patches on top of v3.18.1v3.18.1-1linux-3.18.yHauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.65 [ OK ] 4 3.3.8 [ OK ] 5 3.4.105 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.63 [ OK ] 12 3.11.10 [ OK ] 13 3.12.35 [ OK ] 14 3.13.11 [ OK ] 15 3.14.27 [ OK ] 16 3.15.10 [ OK ] 17 3.16.6 [ OK ] 18 3.17.7 [ OK ] 19 3.18.1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21backport: add pci_device_is_present()Hauke Mehrtens
Upstream commit: e36407c24a58a6497b286824a1336e9d3cf4efb7 This is needed by igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21headers: remove pci_regs.hHauke Mehrtens
Upstream commit: 78b1b80ba1e0d7f52be5e8f147b80a942bdf8994 This file is now copied from the kernel and we do not have to ship an own version. Coping this from the kernel is safe because it only contains constants. commit bda1096b3dfe00f19b30fc85f282b2a9ad2f67f0 Author: Felix Fietkau <nbd@openwrt.org> Date: Sun Nov 16 14:39:58 2014 +0100 backports: add include/uapi/linux/pci_regs.h to copy-list Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21backports: add include/uapi/linux/pci_regs.h to copy-listFelix Fietkau
Upstream commit: bda1096b3dfe00f19b30fc85f282b2a9ad2f67f0 Fixes a recent iwlwifi build error Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21headers: fix problem when unloading mac80211 on Ubuntu 14.04Hauke Mehrtens
Upstream commit: 7f3a23738b01aa405c99bcf8f2be48ddf1956da4 When unloading mac80211 on the default kernel which is currently shipped in Ubuntu 14.04 this commit causes a kernel error message. Now we check if the list was deleted before and only do so if it was not done before. Ubuntu probably backported this patch in their kernel. commit 97666f936e0656a1b28c40cc33981a8db65e1a11 Author: Hauke Mehrtens <hauke@hauke-m.de> Date: Sun Nov 16 14:23:24 2014 +0100 headers: delete the list in unregister_netdevice_many() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21headers: delete the list in unregister_netdevice_many()Hauke Mehrtens
Upstream commit: 97666f936e0656a1b28c40cc33981a8db65e1a11 unregister_netdevice_many() now deletes the list after running, in the earlier days mac80211 and so on, did this on their own. We extended the old unregister_netdevice_many() function for all kernel versions that do not have a fixed unregister_netdevice_many(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21backport: Fix double fetch in hlist_for_each_entry*_rcuSven Eckelmann
Upstream commit: 3a1429a6e59f0e61720bb523e3b93d015a9fa63a The backported (<3.9) version of hlist_for_each_entry_rcu and hlist_for_each_entry_safe uses the new macro hlist_entry_safe. It is called with an ACCESS_ONCE parameter for the first parameter ptr. This disallows merging of the two loads which the current version of the macro uses. This is problematic because this macro must only generate one load. Otherwise with two contexts (or CPUs) following could happen: 1. context 1 fetches the ptr to the last entry in hlist_entry_safe() and accepts this non-NULL ptr 2. context 2 deletes the last entry and terminates the list with NULL 3. context 1 re-fetches the pointer, doesn't check for zero, calculates the entry based on a NULL pointer 4. context 1 crashes because it tries to load/write data from/to the invalid address Instead use a single load to a temporary variable and do the NULL-check and calculation based on that one. This is also the approach used in the current Linux versions and was introduced by Paul E. McKenney. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: refresh patches on v3.18-rc1v3.18-rc1-1Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.104 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.58 [ OK ] 12 3.11.10 [ OK ] 13 3.12.31 [ OK ] 14 3.13.11 [ OK ] 15 3.14.22 [ OK ] 16 3.15.10 [ OK ] 17 3.16.6 [ OK ] 18 3.17.1 [ OK ] 19 3.18-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: refresh patches on next-20141023backports-20141023Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.104 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.58 [ OK ] 12 3.11.10 [ OK ] 13 3.12.31 [ OK ] 14 3.13.11 [ OK ] 15 3.14.22 [ OK ] 16 3.15.10 [ OK ] 17 3.16.6 [ OK ] 18 3.17.1 [ OK ] 19 3.18-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25devel: update the test kernelsHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: add device coredump frameworkJohannes Berg
As drivers will start requiring the new framework and it has been merged to linux/master during the 3.18 merge window, we can include it into backports to compile if needed. On kernels that do already have it but didn't want it built honor that, but if building otherwise don't. This may need to be revisited in the future. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: add kobj_to_dev()Johannes Berg
This will be needed by the devcoredump backport. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25defconfig: add some new wifi driversbackports-20141003Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25defconfig: update media defconfigHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: refresh patches on next-20141003Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.103 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.54 [ OK ] 12 3.11.10 [ OK ] 13 3.12.27 [ OK ] 14 3.13.11 [ OK ] 15 3.14.18 [ OK ] 16 3.15.10 [ OK ] 17 3.16.2 [ OK ] 18 3.17-rc3 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25dependencies: deactivate IR_HIX5HD2 on < 3.7Hauke Mehrtens
IR_HIX5HD2 needs syscon, this has to be added to the Kconfig file and on kernel < 3.7 it is completely missing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25dependencies: deactivate SOC_CAMERA on < 3.5Hauke Mehrtens
Deactivate SOC_CAMERA because of missing backport for vb2_expbuf() in kernel < 3.5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25dependencies: deactivate pt3 on kernel < 3.3Hauke Mehrtens
pt3 needs kthread_freezable_should_stop() which is not available on these old kernels. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25dependencies: deactivate some media drivers on < 3.4Hauke Mehrtens
Deactivate all drivers using regmap_bulk_write() on kernel < 3.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25dependencies: deactivate tracing in ath10k and ath with < 3.4Hauke Mehrtens
On kernel < 3.4 compiling ath10k with tracing results in huge compile errors. Just deactivate it till someone fixes the problems. The same compile error occurs in ath module with kernel 3.0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: add freezable_schedule_hrtimeout_range()Hauke Mehrtens
This is used by the pt3 driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: add some missing header filesHauke Mehrtens
The hackrf driver needs PAGE_ALIGN() from mm.h. The ir-hix5hd2 driver needs of_get_property() from of.h. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: add wil6210_uapi.hHauke Mehrtens
This file is needed by the wil6210 driver now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20backports: refresh on next-20140919backports-20140919Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.103 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.54 [ OK ] 12 3.11.10 [ OK ] 13 3.12.27 [ OK ] 14 3.13.11 [ OK ] 15 3.14.18 [ OK ] 16 3.15.10 [ OK ] 17 3.16.2 [ OK ] 18 3.17-rc3 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20backports: these drivers need a new functionHauke Mehrtens
These drivers need regmap_bulk_write(), which was added in 3.4 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20backports: add skb_clone_sk()Hauke Mehrtens
skb_clone_sk() is now used by mac80211 and this change also needs some changes to skb_complete_wifi_ack(), so I replaced it with our own version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20backports: add eth_get_headlen()Hauke Mehrtens
Instead of using the code from a recent kernel, I used the old code from the igb driver to calculate the header length. The new code in the kernel makes use of some __skb_flow_dissect() functions and headers not available in 3.0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20backports: add S8_MINHauke Mehrtens
This is needed by the iwlwifi river. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-20defconfigs: enable PCIe support in brcmfmac defconfigArend van Spriel
In 3.17 kernel the brcmfmac supports PCIe host interface. So enable support when selecting defconfig-brcmfmac. Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-23backports: fix mconf compilation library assumptionsLuis R. Rodriguez
On OpenSUSE factory 'make menuconfig' fails to compile with: cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/yesno.o lxdialog/yesno.c cc -Wl,--no-as-needed -lncursesw mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o -o mconf /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /lib64/libncursesw.so.5: undefined reference to symbol 'acs_map' /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libtinfo.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Although this can be fixed by linking with -ltinfo after a bit further investigation I've traced this issue down to how we speak to the linker and ask it to link and when. For instance if one were to compile and link mconf by specifying the linker requirements before the final object file things fail and if we ask for it after things work. For instance if we ask for the libraries before: gcc -lncursesw -o kconf/mconf kconf/mconf.o kconf/zconf.tab.o kconf/lxdialog/checklist.o kconf/lxdialog/util.o kconf/lxdialog/inputbox.o kconf/lxdialog/textbox.o kconf/lxdialog/yesno.o kconf/lxdialog/menubox.o -lncursesw Passing the linker requirements at the end makes the gcc happy: gcc -o kconf/mconf kconf/mconf.o kconf/zconf.tab.o kconf/lxdialog/checklist.o kconf/lxdialog/util.o kconf/lxdialog/inputbox.o kconf/lxdialog/textbox.o kconf/lxdialog/yesno.o kconf/lxdialog/menubox.o -lncursesw It seems that using -Wl,--no-as-needed does not do what we wish with regards to the above requirements, this could be a bug but the kernel treats things a bit differently so we need to adopt, fix this by being explicit by using -Wl,--add-needed and letting it figure things out automagically. This has been tested on Debian and OpenSUSE factory. Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-09-07backports: refresh patches on next-20140905backports-20140905Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.103 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.54 [ OK ] 12 3.11.10 [ OK ] 13 3.12.27 [ OK ] 14 3.13.11 [ OK ] 15 3.14.18 [ OK ] 16 3.15.10 [ OK ] 17 3.16.2 [ OK ] 18 3.17-rc3 [ OK ] manual changes were done in: patches/collateral-evolutions/network/0006-ieee802154-6lowpan-namespace.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-07backports: remove usage of skbuff->xmit_moreHauke Mehrtens
This is a revet of these two upstream commits: commit c1ebf46c1f72fe542853fc00f059a7d15259379d Author: David S. Miller <davem@davemloft.net> Date: Fri Aug 22 17:24:49 2014 -0700 igb: Support netdev_ops->ndo_xmit_flush() commit 0b725a2ca61bedc33a2a63d0451d528b268cf975 Author: David S. Miller <davem@davemloft.net> Date: Mon Aug 25 15:51:53 2014 -0700 net: Remove ndo_xmit_flush netdev operation, use signalling instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-07backports: bluetooth revert patch adding write_iterHauke Mehrtens
This reverts this upstream patch for older kernel versions: commit 9f87eaae842575ec7de51654127a9bf4ad07ad6d Author: Al Viro <viro@zeniv.linux.org.uk> Date: Sat Aug 23 11:28:14 2014 -0400 switch hci_vhci to ->write_iter() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-07backports: adapt api change of rchan_callbacks->create_buf_file in ath10kHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-06backports: always use absolute path to output directory, less probability of ↵backports-20140822Jacob Siverskog
pycocci failure. While running gentree.py I got error messages such as 'Failed to process SmPL patch collateral-evolutions/generic/0001-group-attr/0001-group_attr_class.cocci', due to incorrect path handling. This patch always makes gentree always call pycocci with the absolute path to the output directory. Signed-off-by: Jacob Siverskog <jacob@teenageengineering.com>
2014-09-06backports: refresh patches on next-20140822Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.103 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.54 [ OK ] 12 3.11.10 [ OK ] 13 3.12.27 [ OK ] 14 3.13.11 [ OK ] 15 3.14.18 [ OK ] 16 3.15.10 [ OK ] 17 3.16.2 [ OK ] 18 3.17-rc3 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-06backports: remove regulator driversHauke Mehrtens
It looks like no one is using the regulator drivers and maintaining them costs some time because they often break. When someone needs a specific driver please send a patch adding this one specific driver, maintaining a small subset is not a problem, but maintaining all is a big task. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-06backports: update test kernel versionsHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-06backports: fix build with Ubuntu mainline kernelsHauke Mehrtens
We only want the UTS_UBUNTU_RELEASE_ABI var when we are on a normal Ubuntu distribution kernel and not when we are on a Ubuntu mainline kernel. Some of the Ubuntu mainline kernel do have an invalid octal number in this field like 031418 and we do not want to evaluate this at all on the Ubuntu mainline kernels. All Ubuntu distribution kernel have CONFIG_VERSION_SIGNATURE set so this way we can detect the which type of kernel we are on. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-09-06backports: remove ath5k section mismatch patchHauke Mehrtens
This change was merge upstream in this commit: commit 9baa3c34ac4e27f7e062f266f50cc5dbea26a6c1 Author: Benoit Taine <benoit.taine@lip6.fr> Date: Fri Aug 8 15:56:03 2014 +0200 PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: update test kernel versionsbackports-20140808Hauke Mehrtens
This updates the kernel versions to test against to the most recent versions. Do not use 3.15.9, but 3.15.7 because there are some problems with the define UTS_UBUNTU_RELEASE_ABI in the more recent kernel version, see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1347879 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: refresh patches on next-20140808Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.102 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.52 [ OK ] 12 3.11.10 [ OK ] 13 3.12.26 [ OK ] 14 3.13.11 [ OK ] 15 3.14.16 [ OK ] 16 3.15.7 [ OK ] 17 3.16.0 [ OK ] Manual changes were done to: patches/collateral-evolutions/network/0006-ieee802154-6lowpan-namespace.patch This patch was removed: patches/collateral-evolutions/network/0009-inet_frag_evictor.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: copy include/linux/platform_data/st21nfcb.hHauke Mehrtens
This is needed by drivers/nfc/st21nfcb/i2c.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: add list_next_entry()Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: add devm_kmalloc_array()Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: add ktime_get_raw()Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-08-09backports: irq_get_trigger_type requires CONFIG_HAVE_GENERIC_HARDIRQS=yStefan Assmann
Only backport irq_get_trigger_type on architectures that have CONFIG_HAVE_GENERIC_HARDIRQS=y. Otherwise we end up with: In file included from drivers/pci/msi.c:11:0: backport/backport-include/linux/irq.h: In function 'irq_get_trigger_type': backport/backport-include/linux/irq.h:9:9: error: implicit declaration of function 'irq_get_irq_data' [-Werror=implicit-function-declaration] struct irq_data *d = irq_get_irq_data(irq); Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-07-28backports: refresh on next-20140725backports-20140725Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.60 [ OK ] 4 3.3.8 [ OK ] 5 3.4.93 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.43 [ OK ] 12 3.11.10 [ OK ] 13 3.12.22 [ OK ] 14 3.13.11 [ OK ] 15 3.14.7 [ OK ] 16 3.15.0 [ OK ] 17 3.16-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-07-27backports: add missing linux/mm.h to airspyHauke Mehrtens
Without this patch I get the following error message when compiling against kernel 3.2, all other kernel versions work: 3.2.60/drivers/media/usb/airspy/airspy.c: In function ‘airspy_queue_setup’: 3.2.60/drivers/media/usb/airspy/airspy.c:506:2: error: implicit declaration of function ‘PAGE_ALIGN’ [-Werror=implicit-function-declaration] sizes[0] = PAGE_ALIGN(s->buffersize); Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-07-27backports: do not use dma_buf_vmap() on kernel < 3.5Hauke Mehrtens
The dma function dma_buf_vmap() is not available on kernel < 3.5, remove the call from the media subsystem code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>