summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-21patches: refresh on v3.19-rc1v3.19-rc1-1linux-3.19.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 ] 20 3.19-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: refresh patches on next-20141221backports-20141221Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: remove ath9k-Revert-ath-ath9k-use-debugfs patchHauke Mehrtens
This patches was merged upstream Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21atches: fix ssb compileHauke Mehrtens
The wakeup_path member was added in kernel 3.2, just ignore this on older kernel versions. This will break WoL in b44 with these old kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: revert iov_iter for bluetoothHauke Mehrtens
usage of the new iov_iter api was added in the following patches: commit 17836394e578b8d6475ecdb309ad1356bbcf37a2 Author: Al Viro <viro@zeniv.linux.org.uk> Date: Mon Nov 24 17:07:38 2014 -0500 first fruits - kill l2cap ->memcpy_fromiovec() commit c0371da6047abd261bc483c744dbc7d81a116172 Author: Al Viro <viro@zeniv.linux.org.uk> Date: Mon Nov 24 10:42:55 2014 -0500 put iov_iter into msghdr commit 56c39fb67cdb665ae67fba4975f5e20e6614cda6 Author: Al Viro <viro@zeniv.linux.org.uk> Date: Mon Nov 24 16:44:09 2014 -0500 switch l2cap ->memcpy_fromiovec() to msghdr I haven't found a way to backport this, so this is mostly a revert of these upstream commits to make bluetooth use the old APIs on older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21header: add dma_rmb()Hauke Mehrtens
dma_rmb() is added twice, because most architectures do not include asm-generic/barrier.h, but only asm/barrier.h. This should work with all architectures. dma_rmb() is used by the igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21header: add eth_skb_pad()Hauke Mehrtens
eth_skb_pad() is used by the igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21header: add skb_put_padto()Hauke Mehrtens
skb_put_padto() is used by the igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21header: add napi_alloc_skb()Hauke Mehrtens
napi_alloc_skb() is now used by some Ethernet drivers instead of netdev_alloc_skb_ip_align(). It can not be placed into backport- include/linux/skbuff.h because it accesses a member of struct napi_struct which is not possible in skbuff.h, placing it into netdevice.h worked in my tests. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21devel: update the test kernelsbackports-20141201Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: refresh on next-20141201Hauke 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 ] manual changed were needed for the following patches: backport-adjustments/crypto-ccm.patch backport-adjustments/devcoredump.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: cherry-pick debugfs_create_devm_seqfile() revertHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: adapt api change of rchan_callbacks->create_buf_file in ath9kHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: do not use DMA_ATTR_SKIP_CPU_SYNCHauke Mehrtens
DMA_ATTR_SKIP_CPU_SYNC was added to the enum with kernel 3.6. This patch removes all calls to dma_set_attr() with this value on kernel < 3.6. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: fix some v4l2 dma stuffHauke Mehrtens
* The vb2_vmalloc_get_dmabuf() function does not work on kernel < 3.5. * v4l2_m2m_ioctl_expbuf() is disabled on kernel < 3.5, do not call it. * deactivate dmabuf support in videobuf2-dma-sg.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21patches: disable tx status support in mwifiexHauke Mehrtens
This feature is not support with older kernels, just deactivate it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21backport: do not call coredump when it was not buildHauke Mehrtens
When coredump was included in the kernel backports is build against then it could be that the prototype are used, which caused a undefined references linking problem. This patch fixes the problem by only using this when the driver is actually compiled in. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20backport: add of_property_read_u32()Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20backport: add pci_device_is_present()Hauke Mehrtens
This is needed by igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20backport: add debugfs_create_devm_seqfile()Hauke Mehrtens
This new functions is used by ath9k. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20header: backport drain_workqueue() by calling flush_workqueue()Hauke Mehrtens
This backport is only needed for kernel < 3.1. Backporting drain_workqueue() is too hard so we just flush the workqueue which should work in most cases. This could still cause problems in some situation. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20header: include some other dma headers in dma-buf.hHauke Mehrtens
when we do not include the original version of dma-buf.h, some other header files should be included because some media drivers are expecting this now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20header: add empty of_find_compatible_node()Hauke Mehrtens
of_find_compatible_node() is not defined when CONFIG_OF is not set on kernel < 3.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20header: add memcpy_from_msg()Hauke Mehrtens
This was added in kernel 3.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-20header: add for_each_compatible_node()Hauke Mehrtens
for_each_compatible_node() is defined in a CONFIG_OF condition on older kernel versions. Now some drivers are use it when CONFIG_OF is not set, add it always when it is not already there. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-20backports: refresh patches for next-20141117backports-20141117Luis R. Rodriguez
This required no manual changes. mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ /home/mcgrof/linux-next /home/mcgrof/build/backports-20141117 Copy original source files ... Applying patches from patches to /home/mcgrof/build/backports-20141117 ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m28.499s user 13m25.112s sys 0m47.804s mcgrof@drvbp1 ~/build/backports-20141117 $ time \ /home/mcgrof/backports/devel/ckmake --allyesconfig 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 ] real 42m18.874s user 1179m40.500s sys 138m54.452s Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-20backports: backport netdev_rss_key_fill()Luis R. Rodriguez
netdev_rss_key_fill() uses net_get_random_once() and since this depends on static keys and we've decided to only backport that only down to 3.5 as that is when static key stuff settled we only backport netdev_rss_key_fill() down to 3.5 as well. For details on the net_get_random_once() / static key stuff refer to backports commit 8cb8816d. Backporting netdev_rss_key_fill requires us to throw in the netdev_rss_key within our own backports module. We don't backport the ability to query this *yet though*, but if we really wanted to we can provide an interface for that: For *packaging* [0] we have no other option but to currently provide our own querying interface, that's silly though, in the future if we extend sysctl interfaces to allow dynamic extensions we could just peg what we need also within the backports module to allow seemless integration. With shiny new *kernel integration* support [1] though we can enable cherry picking the sysctl components, and apply it to the older kernel -- however this would pose a change in compartamentalized backporting strategy as currently used. It would seem a allowing dynamic extensions to an existing sysctl interface would be more efficient and would allow packaging to also take advantage of this effort. [0] https://backports.wiki.kernel.org/index.php/Documentation/packaging [1] https://backports.wiki.kernel.org/index.php/Documentation/integration commit 960fb622f85180f36d3aff82af53e2be3db2f888 Author: Eric Dumazet <edumazet@google.com> Date: Sun Nov 16 06:23:05 2014 -0800 net: provide a per host RSS key generic infrastructure RSS (Receive Side Scaling) typically uses Toeplitz hash and a 40 or 52 bytes RSS key. Some drivers use a constant (and well known key), some drivers use a random key per port, making bonding setups hard to tune. Well known keys increase attack surface, considering that number of queues is usually a power of two. This patch provides infrastructure to help drivers doing the right thing. netdev_rss_key_fill() should be used by drivers to initialize their RSS key, even if they provide ethtool -X support to let user redefine the key later. A new /proc/sys/net/core/netdev_rss_key file can be used to get the host RSS key even for drivers not providing ethtool -x support, in case some applications want to precisely setup flows to match some RX queues. Tested: myhost:~# cat /proc/sys/net/core/netdev_rss_key 11:63:99:bb:79:fb:a5:a7:07:45:b2:20:bf:02:42:2d:08:1a:dd:19:2b:6b:23:ac:56:28:9d:70:c3:ac:e8:16:4b:b7:c1:10:53:a4:78:41:36:40:74:b6:15:ca:27:44:aa:b3:4d:72 myhost:~# ethtool -x eth0 RX flow hash indirection table for eth0 with 8 RX ring(s): 0: 0 1 2 3 4 5 6 7 RSS hash key: 11:63:99:bb:79:fb:a5:a7:07:45:b2:20:bf:02:42:2d:08:1a:dd:19:2b:6b:23:ac:56:28:9d:70:c3:ac:e8:16:4b:b7:c1:10:53:a4:78:41 Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ /home/mcgrof/linux-next /home/mcgrof/build/backports-20141117 Copy original source files ... Applying patches from patches to /home/mcgrof/build/backports-20141117 ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m28.499s user 13m25.112s sys 0m47.804s mcgrof@drvbp1 ~/build/backports-20141117 $ time \ /home/mcgrof/backports/devel/ckmake --allyesconfig 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 ] real 42m18.874s user 1179m40.500s sys 138m54.452s Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-20backports: bump I2C_SI4713 to v3.13Luis R. Rodriguez
This driver depends on gpio consumer.h, that depends on some built-in kernel functionality and while we can now backport built-in stuff we'd need to make that depend on BACKPORT_INTEGRATE and then figure out how to backport that functionality on integration. This doesn't seem like a good candidate to test that with though. Let's wait for something more desirable. Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-20backports: address splitting of v4l2-mediabus.h to two filesLuis R. Rodriguez
The new file media-bus-format.h was derived from contents from v4l2-mediabus.h, this change might be a bit harder to infer exactly what to do but based on some contextual examination of the file, if content integrity has not changed it should be relatively easy to infer what to do with changes like this. commit edcf58bc031e621f519c9dfce3c7e1ea6880c70a Author: Boris BREZILLON <boris.brezillon@free-electrons.com> Date: Mon Nov 10 14:28:26 2014 -0300 [media] Move mediabus format definition to a more standard place Define MEDIA_BUS_FMT macros (re-using the values defined in the v4l2_mbus_pixelcode enum) into a separate header file so that they can be used from the DRM/KMS subsystem without any reference to the V4L2 subsystem. Then set V4L2_MBUS_FMT definitions to the MEDIA_BUS_FMT values using the V4L2_MBUS_FROM_MEDIA_BUS_FMT macro. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> include/uapi/linux/Kbuild | 1 + include/uapi/linux/media-bus-format.h | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/uapi/linux/v4l2-mediabus.h | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------- 3 files changed, 206 insertions(+), 104 deletions(-) Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-20backports: remove wpan-phy.h after rename to cfg802154.hLuis R. Rodriguez
Address the renaming. cfg802154.h was already added but we forgot to remove wpan-phy.h. This is an example type of upstream that we should easily be able to automatically backport through inference. Logic: for f in copy_list: if f in git_delta_renamed: adjust_copy_list(f) We'd first have to build a series of types of changes from the delta between the last linux-next tag we tracked and the currenty evaluated one, the git_delta_renamed would contain a list of renames that happened between the two tags. commit 5ad60d36993596f7b3b958500f9c66c5338cd855 Author: Alexander Aring <alex.aring@gmail.com> Date: Sat Oct 25 09:41:02 2014 +0200 ieee802154: move wpan-phy.h to cfg802154.h The wpan-phy header contains the wpan_phy struct information. Later this header will be have similar function like cfg80211 header. The cfg80211 header contains the wiphy struct which is identically the wpan_phy struct inside 802.15.4 subsystem. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Alan Ott <alan@signal11.us> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-18backports: fix breakage from integration patchsetJohannes Berg
Various small things broken in the integration patchset, fix them to actually make backports useful again. For example, a driver using devcoredump wouldn't have worked without these changes as it would depend on devcoredump, and that wasn't backported due to the bugs, despite being in the backport Kconfig file. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-11-16backports: do not use in kernel version of rt6_nexthop()backports-20141114Hauke Mehrtens
Kernel 3.9 ships with a version of rt6_nexthop() with two parameters. We want to replace this version with our current version which only takes one parameter. include/net/ip6_route.h includes include/net /ip6_fib.h so we can not place our code behind the code in include/net /ip6_route.h. If we include ip6_fib.h before ip6_route.h we can place our code at the position we need it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: fix problem when unloading mac80211 on Ubuntu 14.04Hauke Mehrtens
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-11-16headers: remove pci_regs.hHauke Mehrtens
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-11-16backports: refresh patches on next-20141114Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16patches: disable qdisc_tx_busylock in bluetoothHauke Mehrtens
The qdisc_tx_busylock member in struct net_device is not available in kernel < 3.7. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16patches: igb: remove usage of pfmemalloc in struct pageHauke Mehrtens
The member pfmemalloc was added to struct page in kernel 3.6, it should be same to just ignore it in most situation, so do so on older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16backports: add net/6lowpan/Hauke Mehrtens
This is needed by bluetooth and ieee802154. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16backports: add genl_notify()Hauke Mehrtens
This is needed by mac80211_hwsim. The code was copied from kernel 3.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16backports: add woken_wake_function()Hauke Mehrtens
This is needed by bluetooth. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16dependencies: make IEEE802154 depend on 3.19Hauke Mehrtens
It looks hard to backport IEEE802154 to older kernels, because it now uses the new member ieee802154_ptr in struct net_device. This code was added in upstream commit 98a18b6ffc7 "netdevice: add ieee802154_ptr to net_device" If someone knows how to backport this stuff please do so and revert this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16dependencies: fix media dependenciesHauke Mehrtens
MEDIA_TUNER_M88RS6000T now uses devm_regmap_init_i2c() One of the tuners DVB_SMIPCIE selects uses regmap_bulk_write() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16copy-list: some header files for ieee802154 were movedHauke Mehrtens
These files were moved in the mainline kernel, we have to adapt that. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: add rt6_nexthop()Hauke Mehrtens
this is needed by bluetooth. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: add list_first_or_null_rcu()Hauke Mehrtens
This is needed by bluetooth. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: add list_last_entryHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: delete the list in unregister_netdevice_many()Hauke Mehrtens
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-11-16headers: snd_pcm_stop_xrun()Hauke Mehrtens
This is used by the saa7134-alsa.c driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: add skb_copy_datagram_msg()Hauke Mehrtens
This is used in some places. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: add dev_alloc_page()Hauke Mehrtens
This is used by the igb driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>