summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-19backports: fix unused atl1e_rx_mode() warningHauke Mehrtens
This fixes the following warning: /drivers/net/ethernet/atheros/atl1e/atl1e_main.c:328:13: warning: ‘atl1e_rx_mode’ defined but not used [-Wunused-function] static void atl1e_rx_mode(struct net_device *netdev, ^ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: fix unused var ret warningHauke Mehrtens
This fixes the following warning: /drivers/net/wireless/mwifiex/sta_cmd.c: In function ‘mwifiex_cmd_cfg_data’: /drivers/net/wireless/mwifiex/sta_cmd.c:1196:6: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: fix unused mwifiex_sdio_resume() warningHauke Mehrtens
This fixes the following warning: /drivers/net/wireless/mwifiex/sdio.c:124:12: warning: ‘mwifiex_sdio_resume’ defined but not used [-Wunused-function] static int mwifiex_sdio_resume(struct device *dev) ^ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: fix led_trigger warning with old kernel versionsHauke Mehrtens
This fixes the following warning: /drivers/net/wireless/at76c50x-usb.c: In function ‘at76_mod_init’: /drivers/net/wireless/at76c50x-usb.c:2472:2: warning: passing argument 2 of ‘led_trigger_register_simple’ from incompatible pointer type [enabled by default] led_trigger_register_simple("at76_usb-tx", &ledtrig_tx); ^ In file included from /backport-include/linux/leds.h:3:0, from /drivers/net/wireless/at76c50x-usb.c:45: include/linux/leds.h:97:13: note: expected ‘struct led_trigger **’ but argument is of type ‘struct backport_led_trigger **’ extern void led_trigger_register_simple(const char *name, ^ /drivers/net/wireless/at76c50x-usb.c: In function ‘at76_mod_exit’: /drivers/net/wireless/at76c50x-usb.c:2484:2: warning: passing argument 1 of ‘led_trigger_unregister_simple’ from incompatible pointer type [enabled by default] led_trigger_unregister_simple(ledtrig_tx); ^ In file included from /backport-include/linux/leds.h:3:0, from /drivers/net/wireless/at76c50x-usb.c:45: include/linux/leds.h:99:13: note: expected ‘struct led_trigger *’ but argument is of type ‘struct backport_led_trigger *’ extern void led_trigger_unregister_simple(struct led_trigger *trigger); ^ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add prefix infront of ether_addr_equal_{unaligned, 64bits}()Hauke Mehrtens
RedHat 6.5 already contains ether_addr_equal_64bits() which will conflict with our declaration. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add IS_BUILTIN()Hauke Mehrtens
This is needed by bcma. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: backport get_stats in alx driverHauke Mehrtens
alx_get_stats64() was added recently to alx driver, but on kernel < 2.6.30 only get_stats is available, convert the function on such kernels to use the old api. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: fix header of phy_mii_ioctl()Hauke Mehrtens
On kernel versions < 2.6.36 phy_mii_ioctl() gets struct mii_ioctl_data as second parameter and on more recent kernel versions it takes struct ifreq. This patch converts one version to the other. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add linux/irqdomain.hHauke Mehrtens
ssb uses this header file, but does not use any of the functions in there in the default config, because that is only used when SSB_DRIVER_GPIO and SSB_EMBEDDED are activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add ATTRIBUTE_GROUPS unconditionallyHauke Mehrtens
net/bluetooth/hci_sysfs.c uses ATTRIBUTE_GROUPS on all kernel versions. Now it has to be for older kernel versions as well and __ATTRIBUTE_GROUPS is also needed for these old versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add sdio device id listHauke Mehrtens
This copies the sdio device id list into backprots, this is used by brcmfmac. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: do not activate BCMA_HOST_SOC on kernel < 3.7Hauke Mehrtens
drivers/bcma/driver_gpio.c calls irq_set_chip_and_handler() when BCMA_HOST_SOC is activated. irq_set_chip_and_handler() gets exported on kernel >= 3.7, we should not activate this on any older kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: add USB_DEVICE_INTERFACE_CLASSHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-19backports: adapt to changes in netdev select_queue callHauke Mehrtens
This patch reverts the changes done in the following commit for older kernel versions: commit f663dd9aaf9ed124f25f0f8452edf238f087ad50 Author: Jason Wang <jasowang@redhat.com> Date: Fri Jan 10 16:18:26 2014 +0800 net: core: explicitly select a txq before doing l2 forwarding Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> CC: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-01-18backports: refresh on next-20140106backports-20140106Hauke 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.77 [ 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.27 [ OK ] 27 3.11.10 [ OK ] 28 3.12.8 [ OK ] 29 3.13-rc8 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add missing header fileHauke Mehrtens
The act8865 regulator driver needs this header file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: do not build ACT8865 with kernel < 3.12Hauke Mehrtens
This driver uses some members of struct regulator_desc which were added in kernel 3.12. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add ether_addr_equal_unaligned()Hauke Mehrtens
ether_addr_equal_unaligned() is used by some drivers. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add ether_addr_equal_64bits()Hauke Mehrtens
This is used by some drivers now Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: fix iwlwifi threaded IRQ patchesEmmanuel Grumbach
Modifications upstream affected: * drivers_net_wireless_iwlwifi_pcie_internal.patch * drivers_net_wireless_iwlwifi_pcie_trans.patch Manually refresh the patches. Change-Id: Iad8218a243e644352c3b1029d12795c528259dde Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18gentree: create *.tar.gz instead of *.tar.bz for kernel.orgbackports-20131224-2Hauke Mehrtens
kernel.org does not support bzip2 any more, use gzip instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add missing includebackports-20131224Hauke Mehrtens
A user reported that the linux/mm.h header was missing on his mips device with kernel 2.6.26. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add prefix infront of led_blink_set()Hauke Mehrtens
led_blink_set is also exported by the RedHat 6.5 kernel and collides with backports when loading the compat.ko module. This fixes the problem by prefixing the symbol. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: refresh on next-20131224Hauke Mehrtens
manual changes done to: patches/collateral-evolutions/network/25-multicast-list_head/include_net_mac80211.patch patches/collateral-evolutions/network/25-multicast-list_head/net_mac80211_driver-ops.patch patches/collateral-evolutions/network/25-multicast-list_head/net_mac80211_iface.patch patches/collateral-evolutions/network/64-b44-32bit-stats/drivers_net_ethernet_broadcom_b44.patch patches/collateral-evolutions/network/70-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.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.77 [ 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.27 [ OK ] 27 3.11.10 [ OK ] 28 3.12.8 [ OK ] 29 3.13-rc8 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: update kernel versionsHauke Mehrtens
Update to current versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: fix i2c_add_mux_adapter() parametersHauke Mehrtens
The class parameter was added in kernel 3.7 to i2c_add_mux_adapter() and could just be ignored by older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: copy include/uapi/linux/vsp1.hHauke Mehrtens
This header file is now needed by a media driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: build some regulator drivers only with recent kernelsHauke Mehrtens
When these drivers are build with older kernel versions we get build errors. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add printk_ratelimited()Hauke Mehrtens
This adds the backport for some printk_ratelimited() functions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: remove CRC8 backportHauke Mehrtens
This is not used by any driver any more. brcmsmac was the only driver selecting this, but did not used it since some months, now it does not even select it any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: backport multicast list handling in iwlwifi mvmJohannes Berg
Backport multicast list handling for kernel < 2.6.35 in iwlwifi mvm driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: remove usage of addr_assign_type in 6lowpan.cHauke Mehrtens
The bluetooth 6lowpan code now accesses the addr_assign_type member of struct netdev, which is not available in older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add include/net/af_ieee802154.h fileHauke Mehrtens
This file was added in kernel 2.6.32 and is now needed by bluetooth. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: remove usage of members of struct property for kernel < 2.6.39Hauke Mehrtens
struct property is missing in the general header files in older kernel versions. There are different versions of this header depending on the architecture code in use. This removed the access to any members of struct property for older kernel version when CONFIG_OF is not set. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: make b44 depend on kernel > 2.6.28Hauke Mehrtens
The mdio bus functions where introduced in that version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: fix number of arguments of phy_connect()Hauke Mehrtens
The flags argument was removed from phy_connect in this commit: commit f9a8f83b04e0c362a2fc660dbad980d24af209fc Author: Florian Fainelli <florian@openwrt.org> Date: Mon Jan 14 00:52:52 2013 +0000 net: phy: remove flags argument from phy_{attach, connect, connect_direct} Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add include/trace/events/v4l2.h fileHauke Mehrtens
v4l2 now supports tracing and needs a new header file that was missing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add ARPHRD_6LOWPANHauke Mehrtens
This adds ARPHRD_6LOWPAN to if_arp.h Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add netdev_notify_peers()Hauke Mehrtens
netif_notify_peers() was renamed to netdev_notify_peers() in kernel 3.7. Replace the calls to netdev_notify_peers() with netif_notify_peers(). Some older kernel versions do not even have netif_notify_peers(), there we just remove the call, currently it is only used in the 6lowpan code and I assume it will still work, but not so good. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: add devm_kmalloc()Hauke Mehrtens
devm_kmalloc() was added in kernel 3.13. To backport it we replace the calls with devm_kzalloc() instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18gentree: combine spatches (unless using --gitdebug)Johannes Berg
Since spatch is rather slow, but can handle multiple spatches concatenated in a single file, just do that and run it only once rather than for each spatch. That shaves off some of the runtime (startup etc. and finding affected files.) On my system, I go from real 9m42.616s user 8m48.352s sys 0m22.884s to real 9m1.948s user 8m40.108s sys 0m12.088s Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-01-18backports: backport hex2bin()Johannes Berg
This changed from not having a return value to having one, so backport the version that has it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-12-09backports: refresh patches for next-20131206 a second timebackports-20131206Luis R. Rodriguez
After a few changes were made we need a refresh of patches against next-20131206, this refreshes the patches and test compiles against all supported kernels again. $ 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.52 [ OK ] 19 3.3.8 [ OK ] 20 3.4.70 [ 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.20 [ OK ] 27 3.11.9 [ OK ] 28 3.12.1 [ OK ] 29 3.13-rc1 [ OK ] real 33m3.982s user 892m21.988s sys 128m11.492s Current run time *without* the last two cocci patches applied: mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20131206 real 3m13.530s user 2m56.104s sys 0m16.180s With the last two cocci patch files applied and spatch version 1.0.0-rc17: mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20131206 real 23m2.521s user 19m19.436s sys 3m3.840s With the last two cocci patch files applied and spatch version 1.0.0-rc19: mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20131206 real 8m6.077s user 7m46.076s sys 0m18.124s Moving forward please make sure to have present at least spatch 1.0.0-rc19 on your system to generate releases. The gains of extending how we do backports more automatically with Coccinelle for the short cost observed on 1.0.0-rc19 makes it worth it to continue to embrace SmPL to backport further collateral evolutions. 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>
2013-12-09backports: convert 11-dev-pm-ops patch series to SmPLLuis R. Rodriguez
The collateral evolution on pci power management ops can easily be expressed with SmPL, use that instead. spatch version 1.0.0-rc19 with Python support and with PCRE support mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ --verbose \ --clean \ --refresh \ /home/mcgrof/linux-next/ \ /home/mcgrof/build/next-20131206 real 8m6.077s user 7m46.076s sys 0m18.124s There are three exceptions that this patch does not address: libertas: this should be made a separate collateral evolution specifically for spi drivers iwlegacy: we'll deal with this as an evolution to our spatch, it deals with having to rely on grammar rules which go beyond just one file. mwifiex: coccinelle is not doing the transormation due to an isomorphism on how pm suspend ops are declared, although we may be able to deal with this within Coccinelle to teach it this isomorphism we can also address this by streamlining how pm ops are defined upstream in the meantime. 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>
2013-12-08backports: convert the 62-usb_driver_lpm patch series to SmPLLuis R. Rodriguez
This is easily expressed instead as an SmPL patch for interpretation with Coccinelle. This replaces 336 lines patch code with 9 lines of SmPL. 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>
2013-12-08backports: add Python based backports-update-managerLuis R. Rodriguez
This replaces the old shell scripts: * get-compat-kernels * get-compat-trees with a shiny central Python based backpor update manager: * backports-update-manager The new version provides a few features which were simply a difficult to implement and quite frankly pointless to try to implement in shell. Things worth mentioning: * This will now monitor your old directories and packages and remove any stale old directory or packages. You should feel comfortable with now just getting the latest code from the repo and always just running the script, it will do everything you wished it did for you. * This will always check the URLs and ensure your file size matches the target upstream size, we used to only check if you had the file or not * The compat-ksrc directory was renamed to ksrc-backports which goes inline with our rebranding crusade. The tool is smart enough to figure out if you had the old name and rename it for you. Its also smart enough to figure out if you had your old compat-ksrc as a symlink and preserve things just as you intended following the old real path. * The debs/ directory is now moved into ksrc-backports, making it easier to manage and detect what is or not part of backports. * I found no way to deal with objects to extract GNU archive items with Python, so we're stuck with requiring GNU ar, this provides a simple wrapper for our usage. * For the tree updater we instead or relying on Linus' tree to be a remote we leave it separately but always use --reference and allow users to provide their own --reference override for new clones. It should be easy to extend this should others have other custom work spaces through a config file or the like. * To keep backports up to date on a system after an initial run one should only need to run through a cronjob: backports-update-manager --force To only update the git trees: backports-update-manager --force --git-trees-only Relying on an continued update list is dumb though, in the future we should look into putting out new builds through without requiring GNU ar and also updating the list through a json file just as the kernel has its own now: https://www.kernel.org/releases.json Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-12-08backports: do not call dev_hw_addr_random()Hauke Mehrtens
SLES 11 SP3 does not have dev_hw_addr_random() so this patch includes the stuff which would be done in dev_hw_addr_random() in eth_hw_addr_random(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-12-08backports: fix skb_add_rx_fragi() for SLES 11 SP3Hauke Mehrtens
SLES 11 SP3 backported skb_add_rx_frag() with 6 arguments and we have to use that function with the truesize parameter. This removes the define for SLES 11 SP3 like it is done for RHEL. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-12-08backports: add missing LINUX_BACKPORT() on various placesHauke Mehrtens
This fixes lots of compile problems on RHEL 6.5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-12-08backports: so not add netdev_features_t on RHEL 6.5Hauke Mehrtens
RHEL 6.5 already contains netdev_features_t which will collide with backports definition. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>