Hauke Mehrtens [Sat, 22 Feb 2014 20:46:52 +0000 (21:46 +0100)]
backports: add pci_enable_msi_range()
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>
Hauke Mehrtens [Sat, 22 Feb 2014 20:42:07 +0000 (21:42 +0100)]
backports: add snd_card_new()
This is needed by drivers/media/pci/cx18/cx18-alsa-main.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 22 Feb 2014 20:30:51 +0000 (21:30 +0100)]
backports: add VHCI_MINOR
This is needed by drivers/bluetooth/hci_vhci.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 21 Feb 2014 17:59:25 +0000 (18:59 +0100)]
backports: add atomic64_set()
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>
Hauke Mehrtens [Fri, 21 Feb 2014 18:00:02 +0000 (19:00 +0100)]
backports: fix indenting
Replace spaces with tabs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Ido Yariv [Thu, 13 Feb 2014 18:28:38 +0000 (13:28 -0500)]
backports: backport ACPI_HANDLE(dev)
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>
Hauke Mehrtens [Mon, 10 Feb 2014 16:50:52 +0000 (17:50 +0100)]
backports: copy sch_fq_codel.c from kernel
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>
Hauke Mehrtens [Mon, 10 Feb 2014 22:24:41 +0000 (23:24 +0100)]
backports: copy sch_codel.c from kernel
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>
Hauke Mehrtens [Mon, 10 Feb 2014 17:14:27 +0000 (18:14 +0100)]
backports: copy cordic from kernel
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>
Hauke Mehrtens [Mon, 10 Feb 2014 22:19:47 +0000 (23:19 +0100)]
backports: add ETH_P_TEB and ETH_P_8021AD
This is needed by net-core-flow_dissector.c.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 10 Feb 2014 22:18:47 +0000 (23:18 +0100)]
backports: add ipv6_addr_hash()
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>
Hauke Mehrtens [Mon, 10 Feb 2014 21:06:32 +0000 (22:06 +0100)]
backports: REGULATOR_S5M8767 depends on kernel 3.15
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>
Johannes Berg [Mon, 10 Feb 2014 12:26:26 +0000 (13:26 +0100)]
backports: conditionally access net/ieee802154/ with make
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>
Johannes Berg [Mon, 10 Feb 2014 12:25:45 +0000 (13:25 +0100)]
backports: make BACKPORT_BUILD_LEDS depend on LEDS_CLASS=n
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>
Hauke Mehrtens [Fri, 7 Feb 2014 18:34:18 +0000 (19:34 +0100)]
backports: refresh patches on next-
20140207
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>
Hauke Mehrtens [Fri, 7 Feb 2014 22:27:33 +0000 (23:27 +0100)]
backports: update test kernel versions
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 7 Feb 2014 23:52:57 +0000 (00:52 +0100)]
backports: update sch_fq_codel_core.c
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>
Hauke Mehrtens [Fri, 7 Feb 2014 23:52:42 +0000 (00:52 +0100)]
backports: add compat_put_timespec()
This is used by v4l2-compat-ioctl32.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 7 Feb 2014 21:53:31 +0000 (22:53 +0100)]
backports: remove bluetooth HIDP transport-driver functions
The function pointer raw_request and output_report in struct
hid_ll_driver will be added with kernel 3.15, remove useage on
older kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 7 Feb 2014 18:13:11 +0000 (19:13 +0100)]
backports: add led_trigger_blink{_oneshot}()
When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.
This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Johannes Berg [Fri, 31 Jan 2014 10:33:52 +0000 (11:33 +0100)]
backports: backport power efficient workqueues
These only exist starting from 3.11, and wireless code will
start using them soon. Backport them as simple defines using
the corresponding non-power-efficient workqueues.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 31 Jan 2014 16:22:11 +0000 (17:22 +0100)]
backports: refresh on next-
20140131
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>
Stefan Assmann [Wed, 29 Jan 2014 09:19:09 +0000 (10:19 +0100)]
backports: enable igb and add defconfig
Add defconfig and necessary files to copy-list.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:08 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.1
- add IFF_UNICAST_FLT define
- add PCI_DEV_FLAGS_ASSIGNED define
- add skb_frag_size_sub()
- add skb_frag_address()
- add patches/collateral-evolutions/network/84-ethernet/0011-igb_ethtool_ops.patch
- add patches/collateral-evolutions/network/84-ethernet/0012-igb_ndo_set_vf_spoofchk.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:07 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.2
- add patches/collateral-evolutions/network/84-ethernet/0009-igb_vlan_rx_vid.patch
- add patches/collateral-evolutions/network/84-ethernet/0010-igb_ethtool_ops.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:06 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.3
- add IFF_SUPP_NOFCS define
- add patches/collateral-evolutions/network/84-ethernet/0008-igb_no_fcs.patch
Is there a better way to handle struct sk_buff changes?
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:05 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.4
- add struct timestamp_event_queue
- add struct ptp_clock
- add ptp_clock_index()
- add patches/collateral-evolutions/network/84-ethernet/0007-igb_ethtool_ops.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:04 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.5
- add EEE defines
- backport __skb_alloc_page and __skb_alloc_pages
- add patches/collateral-evolutions/network/84-ethernet/0006-igb_eee.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:03 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.6
- backport mmd_eee_adv_to_ethtool_adv_t
- add define to map ptp_clock_register() to old version
- add patches/collateral-evolutions/network/84-ethernet/0004-igb_err_handler.patch
- add patches/collateral-evolutions/network/84-ethernet/0005-igb_mdi.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:02 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.7
- add pci_sriov_set_totalvfs()
- add patches/collateral-evolutions/network/84-ethernet/0002-igb_pci_sriov_configure.patch
Several ifdefs in igb_main.c to avoid compiler warnings.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:01 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.8
- add missing NETDEV_FRAG defines
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:19:00 +0000 (10:19 +0100)]
backports: igb fixes for linux-3.9
- add struct pci_sriov
- add pci_vfs_assigned()
- add PCI_SRIOV defines
- add patches/collateral-evolutions/network/84-ethernet/0001-igb_net_device_ops.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:18:59 +0000 (10:18 +0100)]
backports: igb fixes for linux-3.12
- refactor u64_stats_sync.h a bit
- add u64_stats_init define
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Stefan Assmann [Wed, 29 Jan 2014 09:18:58 +0000 (10:18 +0100)]
backports: igb fixes for linux-3.13
- add patches/collateral-evolutions/network/84-ethernet/0013-igb_hwmon.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 24 Jan 2014 20:21:16 +0000 (21:21 +0100)]
backports: fix uninstall filename
The uninstall script calculated the filename in the wrong way. It added
the current working dir into the file name, this resulted in names like
this:
/lib/modules/2.6.32-431.3.1.el6.x86_64/updates//home/hauke/backports-
20140124/drivers/net/wireless/ipw2x00/ipw2100.ko
The correct one would be this
/lib/modules/2.6.32-431.3.1.el6.x86_64/updates/drivers/net/wireless/ipw2x00/ipw2100.ko
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 24 Jan 2014 16:06:29 +0000 (17:06 +0100)]
backports: refresh on next-
20140124
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>
Hauke Mehrtens [Fri, 24 Jan 2014 17:23:21 +0000 (18:23 +0100)]
backports: always access net/ieee802154/ with make
In the kernel make will always access net/ieee802154/, we should do the
same.
This was changes in the kenrel in this commit:
commit
a53d34c3465b8a840f7400932ae1b0a9f9ed6bef
Author: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Date: Wed Jan 15 02:50:40 2014 +0400
net: move 6lowpan compression code to separate module
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 24 Jan 2014 18:10:59 +0000 (19:10 +0100)]
backports: add __sockaddr_check_size()
This is used by net/bluetooth/l2cap_sock.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 24 Jan 2014 16:57:19 +0000 (17:57 +0100)]
backports: add DECLARE_SOCKADDR
This is used by net/bluetooth/l2cap_sock.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 20:51:47 +0000 (21:51 +0100)]
backports: refresh on next-
20140117
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>
Hauke Mehrtens [Sun, 19 Jan 2014 14:16:49 +0000 (15:16 +0100)]
backports: fix unused hidp_get_raw_report() warning
This fixes the following warning:
/net/bluetooth/hidp/core.c:271:12: warning: ‘hidp_get_raw_report’ defined but not used [-Wunused-function]
static int hidp_get_raw_report(struct hid_device *hid,
^
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 19 Jan 2014 14:03:04 +0000 (15:03 +0100)]
backports: fix unused atl1e_rx_mode() warning
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>
Hauke Mehrtens [Sun, 19 Jan 2014 14:01:16 +0000 (15:01 +0100)]
backports: fix unused var ret warning
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>
Hauke Mehrtens [Sun, 19 Jan 2014 14:00:04 +0000 (15:00 +0100)]
backports: fix unused mwifiex_sdio_resume() warning
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>
Hauke Mehrtens [Sun, 19 Jan 2014 13:57:23 +0000 (14:57 +0100)]
backports: fix led_trigger warning with old kernel versions
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>
Hauke Mehrtens [Sun, 19 Jan 2014 15:35:29 +0000 (16:35 +0100)]
backports: add prefix infront of ether_addr_equal_{unaligned, 64bits}()
RedHat 6.5 already contains ether_addr_equal_64bits() which will
conflict with our declaration.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 19 Jan 2014 14:04:02 +0000 (15:04 +0100)]
backports: add IS_BUILTIN()
This is needed by bcma.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 23:41:51 +0000 (00:41 +0100)]
backports: backport get_stats in alx driver
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>
Hauke Mehrtens [Sat, 18 Jan 2014 23:41:38 +0000 (00:41 +0100)]
backports: fix header of phy_mii_ioctl()
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>
Hauke Mehrtens [Sat, 18 Jan 2014 23:04:45 +0000 (00:04 +0100)]
backports: add linux/irqdomain.h
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>
Hauke Mehrtens [Sat, 18 Jan 2014 22:17:57 +0000 (23:17 +0100)]
backports: add ATTRIBUTE_GROUPS unconditionally
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>
Hauke Mehrtens [Sat, 18 Jan 2014 21:59:30 +0000 (22:59 +0100)]
backports: add sdio device id list
This copies the sdio device id list into backprots, this is used by
brcmfmac.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 21:56:51 +0000 (22:56 +0100)]
backports: do not activate BCMA_HOST_SOC on kernel < 3.7
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>
Hauke Mehrtens [Sat, 18 Jan 2014 21:56:35 +0000 (22:56 +0100)]
backports: add USB_DEVICE_INTERFACE_CLASS
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 21:03:06 +0000 (22:03 +0100)]
backports: adapt to changes in netdev select_queue call
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>
Hauke Mehrtens [Sat, 18 Jan 2014 15:32:18 +0000 (16:32 +0100)]
backports: refresh on next-
20140106
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>
Hauke Mehrtens [Sat, 18 Jan 2014 18:40:05 +0000 (19:40 +0100)]
backports: add missing header file
The act8865 regulator driver needs this header file.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 16:24:23 +0000 (17:24 +0100)]
backports: do not build ACT8865 with kernel < 3.12
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>
Hauke Mehrtens [Sat, 18 Jan 2014 16:11:10 +0000 (17:11 +0100)]
backports: add ether_addr_equal_unaligned()
ether_addr_equal_unaligned() is used by some drivers.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 18 Jan 2014 17:11:26 +0000 (18:11 +0100)]
backports: add ether_addr_equal_64bits()
This is used by some drivers now
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Emmanuel Grumbach [Sun, 5 Jan 2014 07:18:04 +0000 (09:18 +0200)]
backports: fix iwlwifi threaded IRQ patches
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>
Hauke Mehrtens [Sat, 18 Jan 2014 14:59:14 +0000 (15:59 +0100)]
gentree: create *.tar.gz instead of *.tar.bz for
kernel.org does not support bzip2 any more, use gzip instead.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 17 Jan 2014 21:20:45 +0000 (22:20 +0100)]
backports: add missing include
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>
Hauke Mehrtens [Wed, 8 Jan 2014 01:00:00 +0000 (02:00 +0100)]
backports: add prefix infront of led_blink_set()
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>
Hauke Mehrtens [Wed, 1 Jan 2014 16:58:13 +0000 (17:58 +0100)]
backports: refresh on next-
20131224
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>
Hauke Mehrtens [Mon, 6 Jan 2014 23:09:49 +0000 (00:09 +0100)]
backports: update kernel versions
Update to current versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 23:43:08 +0000 (00:43 +0100)]
backports: fix i2c_add_mux_adapter() parameters
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>
Hauke Mehrtens [Wed, 1 Jan 2014 23:42:55 +0000 (00:42 +0100)]
backports: copy include/uapi/linux/vsp1.h
This header file is now needed by a media driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 23:42:38 +0000 (00:42 +0100)]
backports: build some regulator drivers only with recent kernels
When these drivers are build with older kernel versions we get build
errors.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 23:42:01 +0000 (00:42 +0100)]
backports: add printk_ratelimited()
This adds the backport for some printk_ratelimited() functions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 21:24:21 +0000 (22:24 +0100)]
backports: remove CRC8 backport
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>
Johannes Berg [Wed, 1 Jan 2014 20:40:40 +0000 (21:40 +0100)]
backports: backport multicast list handling in iwlwifi mvm
Backport multicast list handling for kernel < 2.6.35 in iwlwifi mvm
driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 20:36:31 +0000 (21:36 +0100)]
backports: remove usage of addr_assign_type in 6lowpan.c
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>
Hauke Mehrtens [Wed, 1 Jan 2014 20:35:15 +0000 (21:35 +0100)]
backports: add include/net/af_ieee802154.h file
This file was added in kernel 2.6.32 and is now needed by bluetooth.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 20:33:49 +0000 (21:33 +0100)]
backports: remove usage of members of struct property for kernel < 2.6.39
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>
Hauke Mehrtens [Wed, 1 Jan 2014 19:17:54 +0000 (20:17 +0100)]
backports: make b44 depend on kernel > 2.6.28
The mdio bus functions where introduced in that version.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 18:16:50 +0000 (19:16 +0100)]
backports: fix number of arguments of phy_connect()
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>
Hauke Mehrtens [Wed, 1 Jan 2014 18:10:17 +0000 (19:10 +0100)]
backports: add include/trace/events/v4l2.h file
v4l2 now supports tracing and needs a new header file that was missing.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 18:09:48 +0000 (19:09 +0100)]
backports: add ARPHRD_6LOWPAN
This adds ARPHRD_6LOWPAN to if_arp.h
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 1 Jan 2014 18:07:05 +0000 (19:07 +0100)]
backports: add netdev_notify_peers()
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>
Hauke Mehrtens [Wed, 1 Jan 2014 18:03:52 +0000 (19:03 +0100)]
backports: add devm_kmalloc()
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>
Johannes Berg [Wed, 1 Jan 2014 19:37:13 +0000 (20:37 +0100)]
gentree: combine spatches (unless using --gitdebug)
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>
Johannes Berg [Fri, 20 Dec 2013 20:47:26 +0000 (21:47 +0100)]
backports: backport hex2bin()
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>
Luis R. Rodriguez [Mon, 9 Dec 2013 03:12:41 +0000 (04:12 +0100)]
backports: refresh patches for next-
20131206 a second time
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>
Luis R. Rodriguez [Sun, 8 Dec 2013 18:21:12 +0000 (19:21 +0100)]
backports: convert 11-dev-pm-ops patch series to SmPL
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>
Luis R. Rodriguez [Sun, 8 Dec 2013 18:10:48 +0000 (19:10 +0100)]
backports: convert the 62-usb_driver_lpm patch series to SmPL
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>
Luis R. Rodriguez [Fri, 6 Dec 2013 01:34:12 +0000 (02:34 +0100)]
backports: add Python based backports-update-manager
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>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:14 +0000 (16:08 +0100)]
backports: do not call dev_hw_addr_random()
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>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:13 +0000 (16:08 +0100)]
backports: fix skb_add_rx_fragi() for SLES 11 SP3
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>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:12 +0000 (16:08 +0100)]
backports: add missing LINUX_BACKPORT() on various places
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>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:11 +0000 (16:08 +0100)]
backports: so not add netdev_features_t on RHEL 6.5
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>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:10 +0000 (16:08 +0100)]
backports: remove unused workqueue backports
These backports are not used by any driver code and some of them are
conflicting with code from RHEL 6.5 headers.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:09 +0000 (16:08 +0100)]
backports: add LINUX_BACKPORT infront of functions
This is needed to add support for SLES 11 SP3 support.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:08 +0000 (16:08 +0100)]
backports: add missing include for linux/of.h
This fixes a compile error with some config options.
Closes bug: https://bugzilla.kernel.org/show_bug.cgi?id=66601
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Richard Röjfors <richard.rojfors@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 8 Dec 2013 15:08:07 +0000 (16:08 +0100)]
backports: remove DMI_EXACT_MATCH
DMI_EXACT_MATCH was only used by the Intel gpu driver which was removed.
Kernel 3.10.21 also has DMI_EXACT_MATCH which collides with backports
definition.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Fri, 6 Dec 2013 18:21:50 +0000 (19:21 +0100)]
backports: refresh patches for next-
20131206
Run time of generation of release:
real 5m28.543s
user 3m4.536s
sys 2m2.940s
spatch version 1.0.0-rc17 with Python support and with PCRE support
== ckmake-report.log ==
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 37m43.297s
user 1030m36.392s
sys 138m31.368s
Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Fri, 6 Dec 2013 17:08:33 +0000 (18:08 +0100)]
backports: backport getrawmonotonic() with do_posix_clock_monotonic_gettime()
We cannot properly backport getrawmonotonic() as it requires some
in-kernel changes which cannot be backported so the best thing we
can do is provide at least the monotonic time. This will only be
done as a compromise for kernels that didn't have getrawmonotonic()
which are kernels < 2.6.28, which hopefully we can just deprecate
completely soon. The example users which pushes us to backport this
is change via linux-next
09d8e315d for ath9k, titled:
"ath9k_hw: fix TSF save/restore around chip reset"
The original commit that added getrawmonotonic() was
2d42244ae.
mcgrof@cerro ~/linux-next (git::master)$ git describe --contains
2d42244ae
v2.6.28-rc1~82^2~1
commit
2d42244ae71d6c7b0884b5664cf2eda30fb2ae68
Author: John Stultz <johnstul@us.ibm.com>
Date: Wed Aug 20 16:37:30 2008 -0700
clocksource: introduce CLOCK_MONOTONIC_RAW
In talking with Josip Loncaric, and his work on clock synchronization (see
btime.sf.net), he mentioned that for really close synchronization, it is
useful to have access to "hardware time", that is a notion of time that is
not in any way adjusted by the clock slewing done to keep close time sync.
Part of the issue is if we are using the kernel's ntp adjusted
representation of time in order to measure how we should correct time, we
can run into what Paul McKenney aptly described as "Painting a road using
the lines we're painting as the guide".
I had been thinking of a similar problem, and was trying to come up with a
way to give users access to a purely hardware based time representation
that avoided users having to know the underlying frequency and mask values
needed to deal with the wide variety of possible underlying hardware
counters.
My solution is to introduce CLOCK_MONOTONIC_RAW. This exposes a
nanosecond based time value, that increments starting at bootup and has no
frequency adjustments made to it what so ever.
The time is accessed from userspace via the posix_clock_gettime() syscall,
passing CLOCK_MONOTONIC_RAW as the clock_id.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Fri, 6 Dec 2013 16:26:13 +0000 (17:26 +0100)]
backports: backport ktime_to_ms()
This backports ktime_to_ms()
mcgrof@cerro ~/linux-next (git::master)$ git describe --contains
f56916b9
v2.6.35-rc1~490^2~16
commit
f56916b97fe2031761ca611f0a342efd913afb33
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Fri May 7 13:34:37 2010 -0400
ktime: introduce ktime_to_ms()
To report ktime statistics to user space in milliseconds, a new helper
is required.
When considering how to do this conversion, I didn't immediately see
why the extra step of converting ktime to a timeval was needed. To
make that more clear, introduce a couple of large comments.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Emmanuel Grumbach [Tue, 3 Dec 2013 14:10:52 +0000 (15:10 +0100)]
backports: add support for prandom_bytes
This was added in 3.8 and not used until now.
Since it it being used by the wireless stack, backport it.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[mcgrof: fixed renamed prandom_bytes_state to prandom_bytes on symbol]
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Tue, 3 Dec 2013 10:02:41 +0000 (11:02 +0100)]
ckmake: sort kernel releases properly
Ever since 3.10, kernel releases weren't sorted properly.
Put them into a parsed list first and then sort them to
get the 3.10/11/12 etc. to the bottom of the list.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>