summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-25backports: refresh on v3.14.22v3.14.22-1linux-3.14.yHauke 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 ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: fix mconf compilation library assumptionsLuis R. Rodriguez
Upstream commit: de427857852e7194b9ae80571425ba0d2c29ef55 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> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: wrap dma_set_mask_and_coherent in LINUX_BACKPORT()Stefan Assmann
Upstream commit: 3443187edd32767c838e5d4f654df474e77fb7ce To avoid conflicts with any distribution kernel wrap dma_set_mask_and_coherent with LINUX_BACKPORT(). Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Christian Ratzenhofer <christian.ratzenhofer@cdnm.at> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: select_queue patch: fix callback kernel versionHauke Mehrtens
Upstream commit: d260afa8c4aecde4abdecfa299713bc473c0dba4 The patch changing the callback function signature was backported to kernel 3.14, this was already fixed in backports for mac80211, but that commit missed mwifiex. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-10-25backports: select_queue patch: fix callback kernel versionJohannes Berg
Upstream commit: 44554cd57d0016c52aeed2ce4f27081b9d9c915f The callback argument has been passed since kernel 3.14, not only 3.15 - fix that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-04-08backports: refresh patches for v3.14v3.14-1Luis R. Rodriguez
mcgrof@drvbp1 ~/backports (git::linux-3.14.y)$ time \ ./gentree.py --clean --verbose --refresh /home/mcgrof/linux /home/mcgrof/build/linux-3.14/ real 1m32.443s user 23m35.088s sys 0m29.280s $ time ckmake --allyesconfig 1 2.6.25 [ OK ] 2 2.6.26 [ OK ] 3 2.6.27 [ OK ] 4 2.6.28 [ OK ] 5 2.6.29 [ OK ] 6 2.6.30 [ OK ] 7 2.6.31 [ OK ] 8 2.6.32 [ OK ] 9 2.6.33 [ OK ] 10 2.6.34 [ OK ] 11 2.6.35 [ OK ] 12 2.6.36 [ OK ] 13 2.6.37 [ OK ] 14 2.6.38 [ OK ] 15 2.6.39 [ OK ] 16 3.0.101 [ OK ] 17 3.1.10 [ OK ] 18 3.2.54 [ OK ] 19 3.3.8 [ OK ] 20 3.4.79 [ OK ] 21 3.5.7 [ OK ] 22 3.6.11 [ OK ] 23 3.7.10 [ OK ] 24 3.8.13 [ OK ] 25 3.9.11 [ OK ] 26 3.10.29 [ OK ] 27 3.11.10 [ OK ] 28 3.12.10 [ OK ] 29 3.13.2 [ OK ] 30 3.14-rc1 [ OK ] real 39m53.331s user 1090m4.292s sys 147m15.968s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: bump bluetooth backport to require >= 2.6.39Luis R. Rodriguez
Commit b4dbde9da by Alan added support for setting and getting feature reports from hidraw, it did this by extending struct hid_device with a callback. We could carry over include/linux/hid.h but that'd requires ensuring all other non bluetooth drivers are also backported and we don't do that. Just bump the required kernels as I can't see how to backport this. mcgrof@ergon ~/linux (git::master)$ git describe --contains b4dbde9da v2.6.39-rc1~429^2^2~1 Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: remove bluetooth HIDP backportLuis R. Rodriguez
This is only needed for code coming in from v3.15. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08Revert "backports: backport MPLS support"Luis R. Rodriguez
This didn't make it to 3.14. This reverts commit 613e96fc16ea67033854d967a709288bda2e8a46.
2014-04-08backports: add Coccinelle SmPL profiling support to gentree.pyLuis R. Rodriguez
This adds support to let you pass --profile when running Coccinelle. This will skip all patches, rewriting Makefiles, Kconfigs, etc, and it will also keep a copy of the original src directory prior to applying the spatch. You pass the spatch file as an argument when using this. Screenshot of relevant output on 11-dev-pm-ops.cocci: $ time ./gentree.py --clean --verbose --profile-cocci 11-dev-pm-ops.cocci \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/backports-20140311 Copy original source files ... Apply patches ... Profiling Coccinelle SmPL patch: 11-dev-pm-ops.cocci Applying SmPL patch collateral-evolutions/network/11-dev-pm-ops.cocci > init_defs_builtins: /usr/local/share/coccinelle/standard.h > warning: line 15: should pci be a metavariable? > (ONCE) Expected tokens pm pci_driver driver pci SIMPLE_DEV_PM_OPS > MODULE_DEVICE_TABLE > Skipping:./net/mac802154/ieee802154_dev.c > Skipping:./net/mac802154/mac_cmd.c > Skipping:./net/mac802154/mib.c > Skipping:./net/mac802154/monitor.c > Skipping:./net/mac802154/rx.c > Skipping:./net/mac802154/tx.c > Skipping:./net/mac802154/wpan.c > starting: Common.group_assoc_bykey_eff > ending: Common.group_assoc_bykey_eff, 0.000114s > --------------------- > profiling result > --------------------- > Main total : 0.584 sec 1 count > parse cocci : 0.422 sec 1 count > pre_engine : 0.422 sec 1 count > Main.infiles computation : 0.156 sec 1 count > HACK : 0.069 sec 1 count > C parsing.tokens : 0.043 sec 1 count > C parsing.fix_define : 0.022 sec 1 count > get_glimpse_constants : 0.021 sec 1 count > C parsing.lex_ident : 0.006 sec 673 count > Common.full_charpos_to_pos_large : 0.006 sec 1 count > Main.outfiles computation : 0.004 sec 1 count > worth_trying : 0.004 sec 7 count > Common.full_charpos_to_pos : 0.003 sec 2 count > Common.=~ : 0.000 sec 4 count > check_duplicate : 0.000 sec 1 count > Main.result analysis : 0.000 sec 1 count > Common.group_assoc_bykey_eff : 0.000 sec 1 count > asttoctl2 : 0.000 sec 1 count > post_engine : 0.000 sec 1 count > show_xxx : 0.000 sec 2 count This goes on... and a page per thread spawned and the results will be specific to the files tha the thread worked on. On the above results we can see Coccinelle spent little to no time working on the above files as it determined it had nothing to do there. On big iron backports server: real 0m31.226s user 7m25.712s sys 0m34.492s Cc: Peter Senna <peter.senna@gmail.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Gilles Muller <Gilles.Muller@lip6.fr> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: add support for testing only a single Coccinelle SmPL patchLuis R. Rodriguez
You can just pass now one cocci file with the --test-cocci to test only that single Coccinelle SmPL patch. If you are not sure what an SmPL patch produces and you only want to study the results of applying only a single SmPL patch you can use this flag to trigger enabling git on the target directory, a commit will be done before applying the SmPL patch and then another commit will be performed after the SmPL patch is applied. You can then use git show as you'd expect to inspect the results. Note that if you don't use --test-cocci and run gentree.py regularly you can always still use --git-debug to see atomically what is happening after each patch, including Coccinelle patches. This modifies the coccinelle library to use 10 * num_cpus threads for when in testing Coccinelle mode. $ time ./gentree.py --clean --verbose --test-cocci 11-dev-pm-ops.cocci \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20140311 real 0m28.964s user 6m57.848s sys 0m25.124s Note that you can pass either a full path or the file name alone of the target Coccinelle SmPL patch you want to test. Cc: Peter Senna <peter.senna@gmail.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Gilles Muller <Gilles.Muller@lip6.fr> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: add git diff support to lib/bpgit.pyLuis R. Rodriguez
This will be used later for proving SmPL patches against legacy patch series. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: use --ignore-removal for git addLuis R. Rodriguez
As of git 2.0 --ignore-removal is no longer default so just make it default tool, without which git will warn us about this change. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: add threaded Coccinelle spatch supportLuis R. Rodriguez
Turns out Coccinelle has threaded support, it lets you break down the target code you need to parse for a spatch file into separate buckets, each bucket handling a subset of the target files needed to be evaluated. This adds support for that and shaves down the amount of time it gets to generate target code by 97.19%. Using: mcgrof@drvbp1 ~/backports (git::master)$ time \ ./gentree.py --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20140311 Before this patch: real 19m34.867s user 18m43.492s sys 0m21.244s After this patch by using num_cpus threads: real 2m42.012s user 21m53.616s sys 0m22.748s After this patch by using 3 * num_cpus threads: real 1m33.316s user 24m6.080s sys 0m28.264s Using num_cpus threads alone was giving 2m42.012s, its why I experimented in increasing this. I also experimented with 6 * num_cpus threads as well but the amount of time spent running didn't reduce, lets keep this at 3 * num_cpus for now and we can experiment and empirically find the best setting for any system or just make this configurable. We had SmPL patch integration first committed via 86d99c9d4 back then we were able to scale to a reasonable similar time: mcgrof@drvbp1 ~/backports (git::cocci-added)$ time \ ./gentree.py --verbsose \ --clean \ --refresh \ /home/mcgrof/linux-next /home/mcgrof/build/next-20131113 real 1m1.967s user 0m49.304s sys 0m11.880s For history's purpose here's our run time without Coccinelle on commit 338c4388cc: mcgrof@drvbp1 ~/backports (git::before-smpl)$ time \ ./gentree.py --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20131029 real 0m29.639s user 0m17.508s sys 0m11.568s This new changes sets us back on track with the timing for when we first introduced Coccinelle support we just have a lot 5 Coccinelle patches now. I hope this shows we should be able to scale with Coccinelle much more efficiently for collateral evolutions that sprinkle through tons of files. Screenshots available using htop before [0] and after the patch [1] while coccinelle is running, this shows how the system is using resources much more efficiently when doing spatch evaluation for patch generation on target code. [0] http://drvbp1.linux-foundation.org/~mcgrof/images/coccinelle-backports/before-threaded-cocci.png [1] http://drvbp1.linux-foundation.org/~mcgrof/images/coccinelle-backports/after-threaded-cocci.png Cc: Peter Senna <peter.senna@gmail.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Gilles Muller <Gilles.Muller@lip6.fr> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: backport inet_frag_maybe_warn_overflow()Luis R. Rodriguez
This is used by the ieee802154 reassembly code. This is a straight forward backport. mcgrof@ergon ~/linux-next (git::master)$ git describe --contains 5a3da1fe95 v3.9-rc4~27^2 commit 5a3da1fe9561828d0ca7eca664b16ec2b9bf0055 Author: Hannes Frederic Sowa <hannes@stressinduktion.org> Date: Fri Mar 15 11:32:30 2013 +0000 inet: limit length of fragment queue hash table bucket lists This patch introduces a constant limit of the fragment queue hash table bucket list lengths. Currently the limit 128 is choosen somewhat arbitrary and just ensures that we can fill up the fragment cache with empty packets up to the default ip_frag_high_thresh limits. It should just protect from list iteration eating considerable amounts of cpu. If we reach the maximum length in one hash bucket a warning is printed. This is implemented on the caller side of inet_frag_find to distinguish between the different users of inet_fragment.c. I dropped the out of memory warning in the ipv4 fragment lookup path, because we already get a warning by the slab allocator. Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Jesper Dangaard Brouer <jbrouer@redhat.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: backport frag helper functions for mem limit trackingLuis R. Rodriguez
Jesper added frag helper functions through commit d433673e5f added on. This is a straight forward backport using the LINUX_BACKPORT() namespace. mcgrof@ergon ~/linux-next (git::master)$ git describe --contains d433673e5f v3.9-rc1~139^2~232^2~2 commit d433673e5f9180e05a770c4b2ab18c08ad51cc21 Author: Jesper Dangaard Brouer <brouer@redhat.com> Date: Mon Jan 28 23:45:12 2013 +0000 net: frag helper functions for mem limit tracking This change is primarily a preparation to ease the extension of memory limit tracking. The change does reduce the number atomic operation, during freeing of a frag queue. This does introduce a some performance improvement, as these atomic operations are at the core of the performance problems seen on NUMA systems. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: backport skb_unclone()Luis R. Rodriguez
Pravin added this via commit 14bbd6a565 through v3.9. This is a straight forward backport using the LINUX_BACKPORT() namespace. mcgrof@ergon ~/linux-next (git::master)$ git describe --contains 14bbd6a565 v3.9-rc1~139^2~56 commit 14bbd6a565e1bcdc240d44687edb93f721cfdf99 Author: Pravin B Shelar <pshelar@nicira.com> Date: Thu Feb 14 09:44:49 2013 +0000 net: Add skb_unclone() helper function. This function will be used in next GRE_GSO patch. This patch does not change any functionality. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Eric Dumazet <edumazet@google.com> Cc: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: backport definition of struct frag_queueLuis R. Rodriguez
Commit b836c99f by Amerigo which got added on v3.7 generalized the conntrack struct frag_queue while unifying the conntrack reassembly expire code with a standard one. Although we won't use the expiry code, another subsystem which we backport, the ieee802154 6lowpan subsystem, makes use of this structure for its own reassembly code. This makes that structure available for older kernels. mcgrof@ergon ~/linux-next (git::master)$ git describe --contains b836c99f v3.7-rc1~145^2~136 Cc: Amerigo Wang <amwang@redhat.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: define ETH_P_80221Luis R. Rodriguez
This is used by the bluetooth and ieee802154 subsystems later and added via commit b62faf3c available on next-20140311. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: bump drivers dependency that require I2C bus classesLuis R. Rodriguez
Drivers that depend on I2C bus segments behind multiplexers to have a class require quite a bit of collateral changes that I don't have time to address. For those interested in trying to backport this see commit eee543e8. This bumps the drivers that depend on this that we carry to require at least v3.7 when this collateral evolution was introduced. One driver is affected, rtl2832 -- defined under CONFIG_DVB_RTL2832. mcgrof@ergon ~/linux (git::master)$ git describe --contains eee543e82481 v3.7-rc1~92^2~14 commit eee543e8248150e8fb833943c71f40c7b1724600 Author: Jean Delvare <khali@linux-fr.org> Date: Fri Oct 5 22:23:51 2012 +0200 i2c-mux: Add support for device auto-detection Let I2C bus segments behind multiplexers have a class. This allows for device auto-detection on these segments. As long as parent segments don't share the same class, it should be fine. I implemented support in drivers i2c-mux-gpio and i2c-mux-pca954x. I left i2c-mux-pca9541 and i2c-mux-pinctrl alone for the moment as I don't know if this feature makes sense for the use cases of these drivers. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Peter Korsgaard <peter.korsgaard@barco.com> Cc: David Daney <david.daney@cavium.com> Cc: Michael Lawnick <ml.lawnick@gmx.de> Cc: Rodolfo Giometti <giometti@linux.it> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: bump kernel reqs for WL1251_SDIO and WLCORE_SDIOLuis R. Rodriguez
There has been quite a bit of updates to the gpio driver library, and while we can backport some of this it doesn't make much sense as folks using this driver are expected to be carrying over the required architecture changes. In particular the GPIO_DEVRES has been tucked under GPIO_LIB and later removed from depending on it (see b69ac5244 and 6a89a314a) mcgrof@ergon ~/linux-next (git::master)$ git describe --contains 6a89a314a v3.9-rc1~76^2~12^2~13 mcgrof@ergon ~/linux-next (git::master)$ git describe --contains b69ac5244 v3.13-rc1~120^2~7 Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: make WL1251_SPI depend on >= 3.5Luis R. Rodriguez
The WL1251_SPI driver now depends on EPROBE_DEFER and others which we canot backports that pushes it to require 3.4 but since it also relies on devm_gpio_request_one() we bump it to 3.5. The gpio layer has received quite a bit of updates and it doesn't make sense to backport them separately. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: backport MPLS supportLuis R. Rodriguez
This simply the files that define the structures and defines used to decode MPLS on the skb. For an example usage see 960d97f95. The headers were added first via f3baa393ff. commit f3baa393ffc9a7aefc0bf767729382085e81f606 Author: Simon Wunderlich <sw@simonwunderlich.de> Date: Mon Mar 3 17:23:11 2014 +0100 UAPI: add MPLS label stack definition Labels for the Multiprotocol Label Switching are defined in RFC 3032 which was superseded by RFC 5462. Add the definition to UAPI and a stub header for include/linux. Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net> commit 960d97f9518ef6fb8ff87450d6b0c88ce5df9532 Author: Simon Wunderlich <sw@simonwunderlich.de> Date: Mon Mar 3 17:23:12 2014 +0100 cfg80211: add MPLS and 802.21 classification MPLS labels may contain traffic control information, which should be evaluated and used by the wireless subsystem if present. Also check for IEEE 802.21 which is always network control traffic. Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: ifdef some pci functionsEliad Peller
struct msix_entry entry is defined only when CONFIG_PCI is defined, resulting in warnings like: backport-include/linux/pci.h:256:16: warning: 'struct msix_entry' declared inside parameter list [enabled by default] backport-include/linux/pci.h:256:16: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] wrap (also the mock function) with appropriate ifdef CONFIG_PCI. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: add crypto/ccm backportJohannes Berg
This seems to commonly be missing in the random kernels people use, so just provide a backport. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: fix compilation with CONFIG_OFJohannes Berg
There are two users of of_find_property_value_of_size() which is originally static in the kernel, but we need it exposed (but not exported) so that multiple backport files can use it; do that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-02-24backports: refresh patches on next-20140221backports-20140221Hauke Mehrtens
manual changes were needed on these files: * patches/backport-adjustments/flow_dissector.patch * patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_hidp_core.patch * patches/collateral-evolutions/network/83-select_queue/mac80211.patch * patches/collateral-evolutions/network/83-select_queue/mwifiex.patch * patches/collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch 1 2.6.25 [ OK ] 2 2.6.26 [ OK ] 3 2.6.27 [ OK ] 4 2.6.28 [ OK ] 5 2.6.29 [ OK ] 6 2.6.30 [ OK ] 7 2.6.31 [ OK ] 8 2.6.32 [ OK ] 9 2.6.33 [ OK ] 10 2.6.34 [ OK ] 11 2.6.35 [ OK ] 12 2.6.36 [ OK ] 13 2.6.37 [ OK ] 14 2.6.38 [ OK ] 15 2.6.39 [ OK ] 16 3.0.101 [ OK ] 17 3.1.10 [ OK ] 18 3.2.54 [ OK ] 19 3.3.8 [ OK ] 20 3.4.79 [ OK ] 21 3.5.7 [ OK ] 22 3.6.11 [ OK ] 23 3.7.10 [ OK ] 24 3.8.13 [ OK ] 25 3.9.11 [ OK ] 26 3.10.29 [ OK ] 27 3.11.10 [ OK ] 28 3.12.10 [ OK ] 29 3.13.2 [ OK ] 30 3.14-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: remove usage of net_device member qdisc_tx_busylockHauke Mehrtens
This member was added ion more recent kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add NLA_S{9,16,32,64}Hauke Mehrtens
This is needed by net/ieee802154/nl_policy.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add of_property_read_u32_index()Hauke Mehrtens
This is needed by drivers/regulator/gpio-regulator.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add of_property_count_u32_elems()Hauke Mehrtens
This is needed by drivers/regulator/gpio-regulator.c This also adds of_property_count_elems_of_size() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add devm_kstrdup()Hauke Mehrtens
This is needed by drivers/regulator/fixed.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add pci_enable_msix_range()Hauke Mehrtens
This is needed by drivers/net/ethernet/intel/igb/igb_main.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add pci_enable_msi_range()Hauke Mehrtens
This is needed by drivers/net/wireless/ath/wil6210/pcie_bus.c pci_enable_msi_block() was added in kernel 2.6.30, so this does not work on older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add snd_card_new()Hauke Mehrtens
This is needed by drivers/media/pci/cx18/cx18-alsa-main.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add VHCI_MINORHauke Mehrtens
This is needed by drivers/bluetooth/hci_vhci.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: add atomic64_set()Hauke Mehrtens
atomic64_set() is now used by mac80211 and it is not available on some old arm kernels. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-24backports: fix indentingHauke Mehrtens
Replace spaces with tabs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-21backports: backport ACPI_HANDLE(dev)Ido Yariv
In earlier kernel versions the define for retrieving the acpi handle was called DEVICE_ACPI_HANDLE, so just use it. Signed-off-by: Ido Yariv <idox.yariv@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: copy sch_fq_codel.c from kernelbackports-20140210Hauke Mehrtens
Instead of using an own version of sch_fq_codel.c make backports copy that code from the kernel and use that. This ensures that we will always use the latest version. This also includes flow_dissector.c which provides a function used by sch_fq_codel.c. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: copy sch_codel.c from kernelHauke Mehrtens
Instead of using an own version of sch_codel.c make backports copy that code from the kernel and use that. This ensures that we will always use the latest version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: copy cordic from kernelHauke Mehrtens
Instead of using an own version of cordic.c make backports copy that code from the kernel and use that. This ensures that we will always use the latest version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: add ETH_P_TEB and ETH_P_8021ADHauke Mehrtens
This is needed by net-core-flow_dissector.c. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: add ipv6_addr_hash()Hauke Mehrtens
This is needed by net-core-flow_dissector.c Kernel < 2.6.25 and kernel > 3.6 have this function. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: REGULATOR_S5M8767 depends on kernel 3.15Hauke Mehrtens
This driver needs some additional struct members in struct sec_regulator_data which are not available in a kernel < 3.15 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: conditionally access net/ieee802154/ with makeJohannes Berg
This essentially reverts commit cb6f08d3c38c as that caused issues with copy-list - the scripting when generating the backport can't prove that net/ieee802154/ isn't needed and will try to go into it even if it wasn't copied. Instead, make net/ieee802154/ be entered whenever it might be needed - which is for CPTCFG_IEEE802154 and CPTCFG_BT. This is harmless if the directory ends up listed twice but will cause this problem to disappear. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-10backports: make BACKPORT_BUILD_LEDS depend on LEDS_CLASS=nJohannes Berg
Somehow !LEDS_CLASS and LEDS_CLASS=n seem to be different (likely because LEDS_CLASS is tristate, but BACKPORT_BUILD_LEDS is just a bool), so use LEDS_CLASS=n to fix build issues in other cases on certain kernel configurations. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-08backports: refresh patches on next-20140207backports-20140207Hauke Mehrtens
1 2.6.25 [ OK ] 2 2.6.26 [ OK ] 3 2.6.27 [ OK ] 4 2.6.28 [ OK ] 5 2.6.29 [ OK ] 6 2.6.30 [ OK ] 7 2.6.31 [ OK ] 8 2.6.32 [ OK ] 9 2.6.33 [ OK ] 10 2.6.34 [ OK ] 11 2.6.35 [ OK ] 12 2.6.36 [ OK ] 13 2.6.37 [ OK ] 14 2.6.38 [ OK ] 15 2.6.39 [ OK ] 16 3.0.101 [ OK ] 17 3.1.10 [ OK ] 18 3.2.54 [ OK ] 19 3.3.8 [ OK ] 20 3.4.79 [ OK ] 21 3.5.7 [ OK ] 22 3.6.11 [ OK ] 23 3.7.10 [ OK ] 24 3.8.13 [ OK ] 25 3.9.11 [ OK ] 26 3.10.29 [ OK ] 27 3.11.10 [ OK ] 28 3.12.10 [ OK ] 29 3.13.2 [ OK ] 30 3.14-rc1 [ OK ] Manual changes were needed in patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_hidp_core.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-08backports: update test kernel versionsHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-02-08backports: update sch_fq_codel_core.cHauke Mehrtens
This brings sch_fq_codel_core.c to the version used in kernel 3.14-rc1. Most of the changes were done many kernel versions before 3.14-rc1, but in kernel 3.14-rc1 net_random() was removed and not it does not even compile any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>