summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)Author
2015-08-03patches: refresh on next-20150731backports-20150731Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.69 [ OK ] 4 3.3.8 [ OK ] 5 3.4.108 [ 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.84 [ OK ] 12 3.11.10 [ OK ] 13 3.12.44 [ OK ] 14 3.13.11 [ OK ] 15 3.14.48 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.19 [ OK ] 20 3.19.8 [ OK ] 21 4.0.9 [ OK ] 22 4.1.3 [ OK ] 23 4.2-rc3 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-07-23patches: refresh on next-20150710Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.69 [ OK ] 4 3.3.8 [ OK ] 5 3.4.108 [ 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.84 [ OK ] 12 3.11.10 [ OK ] 13 3.12.44 [ OK ] 14 3.13.11 [ OK ] 15 3.14.48 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.19 [ OK ] 20 3.19.8 [ OK ] 21 4.0.9 [ OK ] 22 4.1.3 [ OK ] 23 4.2-rc3 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-07-23patches: remove usage of wait_on_bit_timeout() on older kernelsHauke Mehrtens
This was intoduced in this commit: commit 431a9e1713c512bb96d570dc84e518384d1ac62b Author: Loic Poulain <loic.poulain@intel.com> Date: Wed Jul 1 12:20:26 2015 +0200 Bluetooth: hci_uart: Add basic support for Intel Lightning Peak devices Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-07-20patches: replace most of 0002-no_dmabuf with SmPLLuis R. Rodriguez
The 0002-no_dmabuf patch series creates the largest delta for backports, and it turns out we can generalize it thorugh SmPL. There's just a few changes we can't get rid of as they relate to other build things. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc8 [ OK ] Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-28patches: refresh on next-20150626backports-20150626Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc8 [ OK ] manual changes done to: patches/collateral-evolutions/media/0005-dma-no-sync/v4l2.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28backport: add frame vector codeHauke Mehrtens
The media framework now uses the frame vector code which is only available from kernel 4.2 onwards. This backports the code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: use old locking for struct tty_structHauke Mehrtens
With kernel 3.12 a new locking was added to struct tty_struct. This patch makes the code use the old locking. The new locking was added in this commit: commit 6a1c0680cf3ba94356ecd58833e1540c93472a57 Author: Peter Hurley <peter@hurleysoftware.com> Date: Sat Jun 15 09:14:23 2013 -0400 tty: Convert termios_mutex to termios_rwsem Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: backport termios usage in hci_ldiscFlorian Grandel
The file net/bluetooth/hci_ldisc.c contains references to tty->termios. These changed from pointer to instance in 3.7.0. This patch backports all references by introducing kernel version defines. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: fix compile warningFlorian Grandel
Usage of the bt_tx_busylock variable was already patched but not the declaration which caused a compile warning. This patch introduces a define statement that also excludes the variable declaration. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-25patches: increase 0001-netlink-portid.cocci dependabilityLuis R. Rodriguez
Using expression is pretty flexible, in this case we don't want that flexibility as it can override any struct who also uses the same variable name. For a specific example of the issue refer to the netdev-ops demo git tree [0] which provide an example of the issue with two SmPL rules. We keep the expression on the last rule on NETLINK_CB(skb) given that we know only an skb can possibly be used on it. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc8 [ OK ] The failure on 4.1 is not related to this change, its because we are using 4.1-rc1, it fails because of the missing tty_set_termios() is not exported, 4.1-rc4 works. [0] https://github.com/mcgrof/netdev-ops.git Cc: cocci@systeme.lip6.fr Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-16patches: refresh patches on next-20150612Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ FAIL ] Only kernel 4.1-rc1 will fail, because tty_set_termios() is not exported, 4.1-rc4 works. manual changes done to: drivers/media/platform/vim2m.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: fix tracing on older kernels for mt7601uHauke Mehrtens
On kernel version < 3.4 we have to include linux/interrupt.h, because it otherwise results in a long compile errors about missing HI_SOFTIRQ for example. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: deactivate struct tracing in mt7601uHauke Mehrtens
The mt7601u driver makes use of __field_struct which was added in Linux commit 4d4c9cc83. It is hard to backport this feature, so just remove the code using it on kernel version < 3.16. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: do not use vidioc_expbuf function pointer in v4lHauke Mehrtens
More v4l drivers are now accessing the vidioc_expbuf function pointer in struct v4l2_ioctl_ops which we can not backport to kernel < 3.5. This adds some more checks around the places. We should convert this to an spatch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: rhashtable header patch not neededHauke Mehrtens
This patch, adding a missing include to rhashtable.c, is not needed any more, because it went into upstream in commit 6d7954130. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: remove additional member in struct mei_cl_device_idHauke Mehrtens
The uuid member was added to the struct mei_cl_device_id in this commit: commit c93b76b34b4d8dbe8e3443eb27e49ac60034342b Author: Tomas Winkler <tomas.winkler@intel.com> Date: Thu May 7 15:54:02 2015 +0300 mei: bus: report also uuid in module alias Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: include linux/sched.h header in drivers/nfc/mei_phy.cHauke Mehrtens
This additional include is needed to prevent this error with kernel 3.10: In file included from /home/hauke/compat-wireless/tmp/backport-include/linux/wait.h:3:0, from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /home/hauke/compat-wireless/tmp/backport-include/linux/module.h:3, from /home/hauke/compat-wireless/tmp/drivers/nfc/mei_phy.c:21: /home/hauke/compat-wireless/tmp/drivers/nfc/mei_phy.c: In function ‘mei_nfc_send’: include/linux/wait.h:296:33: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function) prepare_to_wait(&wq, &__wait, TASK_INTERRUPTIBLE); \ ^ ..... Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: fix tracing on older kernels for cfg80211, ath6kl and wil6210Hauke Mehrtens
On kernel 3.0 we have to include linux/interrupt.h, because it otherwise results in a long compile errors about missing HI_SOFTIRQ for example. It looks like it was not possible to activate tracing without this patch on these drivers at all. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-14patches: fix spatch for bluetoothHauke Mehrtens
Commit 8e879bf1f in backports converted some bluetooth patches into an spatch. There was a problem in this conversion, the second argument is not struct socket, but struct sock. This causes some warnings in the kernel build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09backports: refresh patches again for next-20150525Luis R. Rodriguez
This refresh patches again after application of all pending patches. mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py --verbose \ --refresh /home/mcgrof/linux-next /home/mcgrof/build/backports-20150525 .... real 3m25.658s user 27m6.472s sys 3m38.704s mcgrof@drvbp1 ~/build/backports-20150525 $ time \ /home/mcgrof/backports/devel/ckmake --allyesconfig 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] real 53m59.426s user 1440m34.548s sys 219m41.952s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09patches: provide 0054-struct-proto_ops-sig SmPL patch replacementLuis R. Rodriguez
This replaces the 436 line of unified diff with 152 lines of grammar Coccinelle SmPL patch. SmPL patch equivalence proof tests reveals only cosmetic changes between using Coccinelle SmPL and unified diff as shown below. The difference shown are the results of two trees, one in which we applied the SmPL patch, and another in which the old unified patch series were used. This gives us an idea of what Coccinelle did differently. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] mcgrof@ergon ~/backports (git::master)$ time \ ./gentree.py --clean --prove-cocci \ patches/collateral-evolutions/network/0054-struct-proto_ops-sig.cocci \ /home/mcgrof/linux-next/ /home/mcgrof/build/backports-20150525 Copy original source files ... Applying patches from patches to /home/mcgrof/build/backports-20150525 ... Proving Coccinelle SmPL patch: 0054-struct-proto_ops-sig.cocci Aggregating patch for Coccinelle SmPL 0054-struct-proto_ops-sig proof: ieee802154.patch Aggregating patch for Coccinelle SmPL 0054-struct-proto_ops-sig proof: nfc.patch Aggregating patch for Coccinelle SmPL 0054-struct-proto_ops-sig proof: bluetooth.patch Review the difference between what the tree looks like by applying your SmPL patch, then reverting that and only applying your the patches in the patch series. Change directory to /home/mcgrof/build/backports-20150525 and run 'git diff' diff stat of the changes: net/bluetooth/hci_sock.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Done! real 0m21.965s user 0m45.947s sys 0m4.072s Now when I change directory to /home/mcgrof/build/backports-20150525 and run 'git diff' I get: diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 9326bc8..9ca0166 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c @@ -956,7 +956,8 @@ static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, #if LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) static int backport_hci_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, - int flags){ + int flags) +{ return hci_sock_recvmsg(sock, msg, len, flags); } #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) */ @@ -1198,7 +1199,8 @@ drop: } #if LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) static int backport_hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, - struct msghdr *msg, size_t len){ + struct msghdr *msg, size_t len) +{ return hci_sock_sendmsg(sock, msg, len); } #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) */ @@ -1360,12 +1362,9 @@ static const struct proto_ops hci_sock_ops = { .getname = hci_sock_getname, #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) .sendmsg = hci_sock_sendmsg, -#else - .sendmsg = backport_hci_sock_sendmsg, -#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) .recvmsg = hci_sock_recvmsg, #else + .sendmsg = backport_hci_sock_sendmsg, .recvmsg = backport_hci_sock_recvmsg, #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) */ .ioctl = hci_sock_ioctl, Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09patches: change 0054-struct-proto_ops-sig backport strategyLuis R. Rodriguez
This modifies we backport the struct proto_ops and struct proto declarations from adding #idefs around the function prototype arguments to just declaring our own new backport callback for older kernels with the extra argument which calls the the upstream function. This is done because we cannot write an SmPL grammar patch to backport the collateral evolution as we do it now. The backport strategy we provide now is equivalent in terms of functionality but also a lot more clear, it also leaves the upstream code unmodified as much as possible, this should enable anyone reviewing the code to be able to more easily determine exactly what is going on. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] real 53m48.791s user 1437m15.048s sys 217m20.652s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09patches: remove bt_sock_stream_recvmsg() and bt_sock_recvmsg() from ifdefsLuis R. Rodriguez
Both bt_sock_recvmsg() and bt_sock_stream_recvmsg() are used within bluetooth code but the backport actually required is only for the struct proto_ops and struct proto sendmsg and recvmsg callbacks. The bt_sock_recvmsg() and bt_sock_stream_recvmsg() are not callbacks, they are exported but are used all within the code we provide and carry. This will help simplify the network/0054-struct-proto_ops-sig collateral evolution port to Coccinelle SmPL. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09backports: replace igb pfmemalloc patch with semantic patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09backports: replace igb xmit_more patch with semantic patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09backports: replace igb ethtool_cmd_mdix patch with semantic patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-09backports: replace igb skb->no_fcs patch with semantic patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-05-25patches: refresh patches on next-20150525backports-20150525Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-25backports: fix netdev->tstats backportJohannes Berg
Given a correct spatch, there's no need for the other manual patch. Thanks to Julia for pointing out my error in building the original spatch, and how to fix it. Change-Id: I0226a6c4d0fb7630abee315f1839ba63534aacbb Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-11patches: refresh patches on next-20150511backports-20150511Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ 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.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-11patches: add ifdef around vb2_ioctl_expbuf()Hauke Mehrtens
There are some new places where vb2_ioctl_expbuf() is used, add ifdefs around these palaces. This should be replaced by a spatch or something else. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-11backports: handle netdev->tstatsJohannes Berg
This adds the necessary backporting to handle netdev->tstats which was introduced in 3.14 (and some helper macros in 3.15). For some reason my spatch isn't reliably patching the occurrence in net/mac80211/tx.c, so for now I'm including a manual patch. Change-Id: Ib22e307a9bd31f6c31372ef8cc2828ca6e14fce4 Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-11backports: update mac80211 LED patchJohannes Berg
The recent mac80211 LED changes broke the patch, fix it up and make it apply again. Change-Id: I4bf9595fb947886e68fa08592bd2cd3b7965f223 Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-26patches: refresh patches on next-20150424backports-20150424Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.106 [ 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.73 [ OK ] 12 3.11.10 [ OK ] 13 3.12.39 [ OK ] 14 3.13.11 [ OK ] 15 3.14.37 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.10 [ OK ] 20 3.19.3 [ OK ] 21 4.0-rc6 [ OK ] manual changes done to patches/collateral-evolutions/network/0053-remove_wait_on_bit_timeout/btusb.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-26patches: do not use EPROBE_DEFER in mediaHauke Mehrtens
This was added in commit 4f528afc. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25patches: refresh patches on next-20150402backports-20150402Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.106 [ 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.73 [ OK ] 12 3.11.10 [ OK ] 13 3.12.39 [ OK ] 14 3.13.11 [ OK ] 15 3.14.37 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.10 [ OK ] 20 3.19.3 [ OK ] 21 4.0-rc6 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25patches: do not access name_assign_typeHauke Mehrtens
struct net_device now has a new member name_assign_type which contains the type of the mac address. It is currently only used to be shown in sysfs. It should be save to just ignore it on older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25patches: do not add backports code for recent kernel versionsHauke Mehrtens
This caused a warning on recent kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25backports: deal with struct struct ptp_clock_info get/settime64 changesStefan Assmann
In kernel 4.1 struct ptp_clock_info changes function pointers gettime, settime to gettime64, settime64. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25backports: handle ndo_gso_check() to ndo_features_check() changesStefan Assmann
In kernel 3.19 function pointer ndo_gso_check is changed into ndo_features_check in struct net_device_ops. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-22backports: use spatch for __genl_const changeJohannes Berg
As newer versions of spatch are now capable of declaring an attribute, use that feature to create an spatch for the change that changes const to __genl_const. This bumps the required version of coccinelle to 1.0.0-rc23 (which was released over three months ago.) Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-22backports: deal better with possible_net_tEmmanuel Grumbach
Instead of just assuming CONFIG_NET_NS is defined, deal with this better. Sadly, it needs a header file patch (as an spatch doesn't deal properly with header files.) Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-22backports: remove igb-devm_hwmon_device_register_with_groups.patchStefan Assmann
This patch is no longer needed due to commit commit 69dbc7cf6d34b903c1dc80f1d4f880fc9acfe6fb Author: Mathieu Olivari <mathieu@qca.qualcomm.com> Date: Sun Jan 25 09:46:02 2015 -0800 backport: add hwmon group registration functions which provides the missing functionality now Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct net_device_ops set_vf_rate changes with smpl patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct net_device_ops set_vf_spoofchk changes with smpl patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct ethtool_ops get_rxnfc changes with smpl patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct pci_error_handlers changes with smpl patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct pci_driver sriov_configure changes with smpl patchStefan Assmann
There's still some manual patching done because igb_pci_disable_sriov() will not be used on kernel older than 3.8, which would generate a compile warning. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct ethtool_ops get_module changes with smpl patchStefan Assmann
Also required a refreshed of patch patches/collateral-evolutions/network/0038-ethtool_rxfh_indir/igb_rxfh_indir.patch Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-06backports: replace struct ethtool_ops get/set_eee changes with smpl patchStefan Assmann
Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>