Hauke Mehrtens [Thu, 24 Oct 2013 17:57:26 +0000 (19:57 +0200)]
backports: add devm_regulator_register()
This backports the following commit from mainline:
commit
b33e46bcdc4e598d738ed12a5a7906be4e11d786
Author: Mark Brown <broonie@linaro.org>
Date: Sat Aug 31 11:58:26 2013 +0100
regulator: core: Provide managed regulator registration
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:34:40 +0000 (21:34 +0200)]
backports: refresh patches on next-
20130913
== 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.98 [ OK ]
17 3.1.10 [ OK ]
18 3.10.14 [ OK ]
19 3.11.3 [ OK ]
20 3.12-rc3 [ OK ]
21 3.2.51 [ OK ]
22 3.3.8 [ OK ]
23 3.4.64 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 18:45:15 +0000 (20:45 +0200)]
backports: refresh patches on next-
20130906
== 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.98 [ OK ]
17 3.1.10 [ OK ]
18 3.10.14 [ OK ]
19 3.11.3 [ OK ]
20 3.12-rc3 [ OK ]
21 3.2.51 [ OK ]
22 3.3.8 [ OK ]
23 3.4.64 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:33:32 +0000 (21:33 +0200)]
backports: tcf_destroy_chain takes a normal pointer on <= 2.6.25
This caused a compile warning and probably runtime errors in
sch_fq_codel_core.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:31:52 +0000 (21:31 +0200)]
backports: use correct suspend/resume function for rtl8188ee
The newly created function ends with _compat. This causes compile
warnings and probably runtime problems on kernel < 2.6.29.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:23:32 +0000 (21:23 +0200)]
backports: struct tty_port was added with kernel 2.6.28
The functions will only build for kernel version < 3.10 and >= 2.6.28,
so the same with the prototype.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:48:16 +0000 (21:48 +0200)]
backports: REGULATOR_TPS65217 needs struct members from kernel 3.12
This does not compile on kernel < 3.12.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 19:09:56 +0000 (21:09 +0200)]
backports: remove addr_assign_type from usbnet
addr_assign_type was added with kernel 2.6.36. This is just used to
inform userspace, so removing it is no problem.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 18:44:33 +0000 (20:44 +0200)]
backports: add eth_hw_addr_inherit()
This is needed by drivers/net/wireless/libertas/mesh.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 17 Oct 2013 20:55:03 +0000 (22:55 +0200)]
backports: refresh on next-
20130830
== 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.98 [ OK ]
17 3.1.10 [ OK ]
18 3.10.14 [ OK ]
19 3.11.3 [ OK ]
20 3.12-rc3 [ FAIL ]
21 3.2.51 [ OK ]
22 3.3.8 [ OK ]
23 3.4.64 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 20 Oct 2013 12:09:13 +0000 (14:09 +0200)]
backports: do not use uapi in include
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 20 Oct 2013 12:08:52 +0000 (14:08 +0200)]
backports: add platform driver for media drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 20 Oct 2013 12:59:54 +0000 (14:59 +0200)]
backports: VIDEO_RENESAS_VSP1 depends on kernel >= 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 20 Oct 2013 12:08:21 +0000 (14:08 +0200)]
backports: fix kernel dependencies for regulator drivers
These drivers are depending on changes of the regulator core driver
which are not in the specific kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 17:23:30 +0000 (19:23 +0200)]
backports: remove vga_switcheroo.h
This only used by the DRM drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 17:22:00 +0000 (19:22 +0200)]
backports: remove linux/pagemap.h
This was just used by some GPU drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 23 Oct 2013 17:23:07 +0000 (19:23 +0200)]
backports: remove pci_platform_rom()
This was only used by the DRM drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:26:59 +0000 (20:26 +0200)]
backports: remove shmem_read_mapping_page_gfp()
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:25:52 +0000 (20:25 +0200)]
backports: remove cpufreq_quick_get_max()
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:23:53 +0000 (20:23 +0200)]
backports: remove i2c_bit_algo()
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:22:44 +0000 (20:22 +0200)]
backports: remove compat_wake_up_locked()
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:21:12 +0000 (20:21 +0200)]
backports: remove devm_regmap_init_spi()
This is not used by any code in backports, not even a DRM driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:18:58 +0000 (20:18 +0200)]
backports: remove ktime_get_monotonic_offset()
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:16:11 +0000 (20:16 +0200)]
backports: remove scatterlist
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:09:22 +0000 (20:09 +0200)]
backports: remove some stuff related to MTRR
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 18:01:03 +0000 (20:01 +0200)]
backports: remove more hdmi stuff
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:39:18 +0000 (15:39 +0200)]
backports: remove BACKPORT_BUILD_HDMI
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:36:40 +0000 (15:36 +0200)]
backports: remove BACKPORT_BUILD_RADIX_HELPERS
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:33:05 +0000 (15:33 +0200)]
backports: remove CPTCFG_BACKPORT_BUILD_WW_MUTEX
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:34:37 +0000 (15:34 +0200)]
backports: remove BACKPORT_BUILD_CROSS_RESERVATION
This was only needed for some of the DRM drivers, remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:44:47 +0000 (15:44 +0200)]
backports: remove platform drivers
The platform drivers were only needed by some DRM drivers and are not
needed any more with the DRM driver being removed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 5 Oct 2013 13:31:24 +0000 (15:31 +0200)]
backports: remove DRM driver
Maintaining the DRM driver takes a lot of recourses as there they are
depending on many API changes done to the core kernel code and
currently we do not have that many recourses to follow them. On the
other side one needs also new userspace drivers to make use of the new
features added to the DRM kernel drivers and it is not easy to update
the X drivers. Therefore we came to the conclusion to remove the drm
drivers for now.
There were also some problems with some DRM drivers, like the Intel
i915 driver caused kernel panic on some systems and was probably only
usable on some very recent kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 3 Oct 2013 12:29:31 +0000 (14:29 +0200)]
backports: update test kernel versions
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 18 Sep 2013 20:39:07 +0000 (22:39 +0200)]
backports: refresh patches on next-
20130822
== 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.98 [ OK ]
17 3.1.10 [ OK ]
18 3.10.14 [ OK ]
19 3.11.3 [ OK ]
20 3.12-rc3 [ FAIL ]
21 3.2.51 [ OK ]
22 3.3.8 [ OK ]
23 3.4.64 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 3 Oct 2013 12:29:48 +0000 (14:29 +0200)]
backports: remove reading of consumed energy from sysfs
MSR_RAPL_POWER_UNIT is not available on older kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 3 Oct 2013 14:09:24 +0000 (16:09 +0200)]
backports: add tty_port_tty_hangup()
This is needed by ./net/bluetooth/rfcomm/tty.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 3 Oct 2013 12:17:31 +0000 (14:17 +0200)]
backports: add tty_port_tty_wakeup()
This is needed by ./net/bluetooth/rfcomm/tty.c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 18 Sep 2013 21:17:11 +0000 (23:17 +0200)]
backports: copy include/drm/drm_flip_work.h
This file was newly added to drm.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 18 Sep 2013 21:16:32 +0000 (23:16 +0200)]
backports: backport new sysfs api in media
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 18 Sep 2013 21:16:20 +0000 (23:16 +0200)]
backports: add DEVICE_ATTR_RW
This is used by drivers/media/v4l2-core/v4l2-dev.c.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 13:13:59 +0000 (15:13 +0200)]
backports: refresh patches for next-
20130816
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.89 [ OK ]
17 3.1.10 [ OK ]
18 3.10.5 [ OK ]
19 3.11-rc4 [ OK ]
20 3.2.50 [ OK ]
21 3.3.8 [ OK ]
22 3.4.56 [ OK ]
23 3.5.7 [ OK ]
24 3.6.11 [ OK ]
25 3.7.10 [ OK ]
26 3.8.13 [ OK ]
27 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 17:03:32 +0000 (19:03 +0200)]
backports: do not build REGULATOR_PALMAS on older kernel versions.
REGULATOR_PALMASi now needs some symbols form headers of very recent
kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 16:19:37 +0000 (18:19 +0200)]
backports: add debugfs_create_x64()
This adds debugfs_create_x64() by calling debugfs_create_u64() instead.
The 64 bit number is then not hex, but dec formated in debug fs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 16:02:37 +0000 (18:02 +0200)]
backports: do not use DMA SG on old kernel versions
the usb net driver now uses the dma sg api which is not available on
old kernels, this patch removed the usage of the dma sg api for old
kernel versions.
This backports the following upstream commit:
commit
638c5115a794981441246fa8fa5d95c1875af5ba
Author: Ming Lei <ming.lei@canonical.com>
Date: Thu Aug 8 21:48:24 2013 +0800
USBNET: support DMA SG
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 14:43:37 +0000 (16:43 +0200)]
backports: use old led api on old kernel versions.
Usage of a new led api was introduced in mac80211, this patch make
backports use the old api on older kernel versions. This could cause a
problem with the led, the transmit led could stay on if nothing is
transfered.
This backports the following upstream commit:
commit
e47f2509e5f182f4df144406de6f2bc78179d57e
Author: Fabio Baltieri <fabio.baltieri@gmail.com>
Date: Thu Jul 25 12:00:26 2013 +0200
mac80211: use oneshot blink API for LED triggers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 13:58:46 +0000 (15:58 +0200)]
backports: replace new portid usage
In this upstream commit a new usage of portid was introduced:
commit
ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95
Author: Samuel Ortiz <sameo@linux.intel.com>
Date: Wed Jul 24 18:10:50 2013 +0200
NFC: Add a GET_SE netlink API
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 11:47:13 +0000 (13:47 +0200)]
backports: refresh patches for next-
20130809
== 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.89 [ OK ]
17 3.1.10 [ OK ]
18 3.10.5 [ OK ]
19 3.11-rc4 [ OK ]
20 3.2.50 [ OK ]
21 3.3.8 [ OK ]
22 3.4.56 [ OK ]
23 3.5.7 [ OK ]
24 3.6.11 [ OK ]
25 3.7.10 [ OK ]
26 3.8.13 [ OK ]
27 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 14:00:21 +0000 (16:00 +0200)]
backports: REGULATOR_DA9210 needs at least kernel 3.5
This drivers needs some new members in the regulator structure.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 4 Sep 2013 19:47:56 +0000 (21:47 +0200)]
backports: add HDMI_INFOFRAME_SIZE
Add the missing define.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 4 Sep 2013 19:41:43 +0000 (21:41 +0200)]
backports: add hdmi_infoframe_pack()
This adds the missing function hdmi_infoframe_pack() for kernels where
the HDMI subsystem is not backported, like all kernel >= 3.9.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 8 Sep 2013 11:50:17 +0000 (13:50 +0200)]
backports: add include/drm/drm_agpsupport.h
This adds the missing file include/drm/drm_agpsupport.h
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 18 Aug 2013 20:10:32 +0000 (22:10 +0200)]
backports: fix intel i915 drm driver
The intel i915 drm driver uses the declarations from intel-gtt.h to
interact with drivers/char/agp/intel-gtt.c which is not
backported by backports project. To prevent some strange problems when
using i915, use the headers from the kernel and do not use our own. This
causes some compile problems which where runtime problems before and
bumps the minimal kernel version to 3.7.
This i915 still crash on my device with kernel 3.7.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 21 Oct 2013 21:58:09 +0000 (23:58 +0200)]
gentree.py: add ending slash to upload path
the filename in kup put should end with a slash otherwise it tried to
overwrite this file.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 21 Oct 2013 21:43:25 +0000 (23:43 +0200)]
gentree.py: log kup command before executing
Add a logging of the next command to be executed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 21 Oct 2013 21:42:29 +0000 (23:42 +0200)]
gentree.py: fix directory creating
The full path has to be provided not just the new directory to create.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 21 Oct 2013 21:01:35 +0000 (23:01 +0200)]
gentree.py: do not add full path into tar
dir_to_tar could be the absolute path to the directory to to tar, but
we do not want the full patch in the tar, just the basename.
In addition the second close is not necessary.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:32 +0000 (11:08 +0200)]
gentree.py: add kernel upload support
This streamlines our release process making it easier for
transitioning releases onto other backport developers.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:31 +0000 (11:08 +0200)]
lib/bpkup.py: add or own kernel uploader helper lib
kup is written in perl, add some basic python interfaces
for it to allow us to upload to kernel.org backport
releases.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:30 +0000 (11:08 +0200)]
lib/bpgpg.py: add simple gpg helper for gpg signing
Note that kup expects --armor --detach-sign, we'll pass that
as part of our extra_args. The python gpg lib doesn't provide
support for random arguments as this one, so just add our
own little helper and carry it over.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:29 +0000 (11:08 +0200)]
lib/bpgit.py: add support for git paranoia
This cleans sanitizes a source tree and ensures
no content is present from what was intended.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:28 +0000 (11:08 +0200)]
lib/bpgit.py: add git tree verification support
This verifies that the tree provided has its last commit
both tagged and also digitally signed. In short it does:
git tag -v $(git describe --dirty)
This will be used later.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:27 +0000 (11:08 +0200)]
lib/bpgit.py: add git clean support
We'll use this later.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:26 +0000 (11:08 +0200)]
lib/bpgit.py: add git status support
We use --porcelain given that this spits out the results
in an easy-to-parse format for scripts and will remain stable
across git versions and regardless of user configuration.
We will use this later.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Mon, 21 Oct 2013 09:08:25 +0000 (11:08 +0200)]
lib/bpgit.py: enable extra arguments on git describe
This lets us throw at it whatever extra stuff we want.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Wed, 28 Aug 2013 01:04:25 +0000 (18:04 -0700)]
backports: add missing returns on ww_mutex backpots
Two returns were missing on the ww_mutex backport, add these.
The enhancements are not supported on older kernels so just
bail out early.
Tested against next-
20130802
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.79 [ OK ]
17 3.1.10 [ OK ]
18 3.10-rc1 [ OK ]
19 3.2.45 [ OK ]
20 3.3.8 [ OK ]
21 3.4.46 [ OK ]
22 3.5.7 [ OK ]
23 3.6.11 [ OK ]
24 3.7.10 [ OK ]
25 3.8.13 [ OK ]
26 3.9.3 [ OK ]
real 34m47.935s
user 938m15.592s
sys 130m11.724s
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Tue, 27 Aug 2013 21:41:01 +0000 (14:41 -0700)]
backports: refresh patches for next-
20130802 again
For some reason some other changes were picked up again now.
== 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.79 [ OK ]
17 3.1.10 [ OK ]
18 3.10-rc1 [ OK ]
19 3.2.45 [ OK ]
20 3.3.8 [ OK ]
21 3.4.46 [ OK ]
22 3.5.7 [ OK ]
23 3.6.11 [ OK ]
24 3.7.10 [ OK ]
25 3.8.13 [ OK ]
26 3.9.3 [ OK ]
real 34m47.737s
user 937m23.708s
sys 129m50.928s
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Tue, 27 Aug 2013 19:01:00 +0000 (21:01 +0200)]
backport: simplify #ifdefs in pci-aspm.h
Just use #else instead of two conditionals.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Tue, 27 Aug 2013 20:45:57 +0000 (13:45 -0700)]
backports: add generic semaphore.h
Matthew generalized the semaphore implementation and part of
that collateral evolution consisted of changing the header
used for the expected routines from asm/semaphore.h to
linux/semaphore.h.
mcgrof@garbanzo ~/linux-next (git::master)$ git describe --contains \
64ac24e738823161693bf791f87adc802cf529ff
v2.6.26-rc1~1155^2~5
commit
64ac24e738823161693bf791f87adc802cf529ff
Author: Matthew Wilcox <matthew@wil.cx>
Date: Fri Mar 7 21:55:58 2008 -0500
Generic semaphore implementation
Semaphores are no longer performance-critical, so a generic C
implementation is better for maintainability, debuggability and
extensibility. Thanks to Peter Zijlstra for fixing the lockdep
warning. Thanks to Harvey Harrison for pointing out that the
unlikely() was unnecessary.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Tue, 27 Aug 2013 20:05:21 +0000 (13:05 -0700)]
backports: fix compilation for 2.6.25 for math64 header
We need to ifdef correctly before assuming we can include that
header.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sat, 24 Aug 2013 14:28:59 +0000 (16:28 +0200)]
backports: do not depend on PCI functions when PCI is disabled in the kernel
This should prevent some compile errors when backports is used with a
kernel without PCI support.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sat, 24 Aug 2013 14:28:58 +0000 (16:28 +0200)]
backports: fix typo in define
This fixes a build error one some non x86 systems.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Fri, 23 Aug 2013 11:28:34 +0000 (13:28 +0200)]
backports: remove alx patch for < 2.6.24
Since we don't support kernels before 2.6.24 anymore
there's no need to carry this patch.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Fri, 23 Aug 2013 11:43:58 +0000 (13:43 +0200)]
remove support for kernel 2.6.24
By requiring 2.6.25 we can get rid of quite a lot of backport work.
2.6.25 was released more than five years ago (April 2011) and wasn't
a long-term kernel either, so there's little point in supporting it
now.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Fri, 23 Aug 2013 10:28:19 +0000 (12:28 +0200)]
backport: backport device_move() properly
This was causing conflicts again when updating against
wireless-next, so instead of adjusting the patches just
provide a proper static inline backport.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Fri, 23 Aug 2013 01:06:33 +0000 (21:06 -0400)]
backports: Actually export the 2.6.34 sdio compat symbols
sdio_get_host_pm_caps() and sdio_set_host_pm_flags() were defined
in compat-2.6.34 but not actually exported for other modules to use.
The cw1200 driver needs sdio_set_host_pm_flags() properly exported.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:38:04 +0000 (01:38 +0200)]
backports: fix conflict in swiotlb_nr_tbl() on RHEL 6.4
The RedHat kernel also provides a implementation for swiotlb_nr_tbl(),
us that one on these kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:38:03 +0000 (01:38 +0200)]
backports: refresh patches on next-
20130802
== ckmake-report.log ==
1 2.6.24 [ OK ]
2 2.6.25 [ OK ]
3 2.6.26 [ OK ]
4 2.6.27 [ OK ]
5 2.6.28 [ OK ]
6 2.6.29 [ OK ]
7 2.6.30 [ OK ]
8 2.6.31 [ OK ]
9 2.6.32 [ OK ]
10 2.6.33 [ OK ]
11 2.6.34 [ OK ]
12 2.6.35 [ OK ]
13 2.6.36 [ OK ]
14 2.6.37 [ OK ]
15 2.6.38 [ OK ]
16 2.6.39 [ OK ]
17 3.0.89 [ OK ]
18 3.1.10 [ OK ]
19 3.10.5 [ OK ]
20 3.11-rc4 [ OK ]
21 3.2.50 [ OK ]
22 3.3.8 [ OK ]
23 3.4.56 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:38:02 +0000 (01:38 +0200)]
backports: Atheros atl1c needs build_skb(), do not build on < 3.5
The Atheros atl1c driver now uses build_skb() which was added in 3.5.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:38:01 +0000 (01:38 +0200)]
backports: USB_SPEED_SUPER was added in 2.6.31
Now usbnet.c uses it and fails on kernel 2.6.30 without this patch.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:38:00 +0000 (01:38 +0200)]
backports: use genl_info_snd_portid() at an other place.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:59 +0000 (01:37 +0200)]
backports: add sysfs api backport for ieee802154
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:58 +0000 (01:37 +0200)]
backports: REGULATOR_DA903X does not build on kernel < 3.12
REGULATOR_DA903X now uses a new struct member added with kernel 3.12
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:57 +0000 (01:37 +0200)]
backports: add defconfig for cw1200
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:56 +0000 (01:37 +0200)]
backports: refresh on next-
20130726
== ckmake-report.log ==
1 2.6.24 [ OK ]
2 2.6.25 [ OK ]
3 2.6.26 [ OK ]
4 2.6.27 [ OK ]
5 2.6.28 [ OK ]
6 2.6.29 [ OK ]
7 2.6.30 [ OK ]
8 2.6.31 [ OK ]
9 2.6.32 [ OK ]
10 2.6.33 [ OK ]
11 2.6.34 [ OK ]
12 2.6.35 [ OK ]
13 2.6.36 [ OK ]
14 2.6.37 [ OK ]
15 2.6.38 [ OK ]
16 2.6.39 [ OK ]
17 3.0.89 [ OK ]
18 3.1.10 [ OK ]
19 3.10.5 [ OK ]
20 3.11-rc4 [ OK ]
21 3.2.50 [ OK ]
22 3.3.8 [ OK ]
23 3.4.56 [ OK ]
24 3.5.7 [ OK ]
25 3.6.11 [ OK ]
26 3.7.10 [ OK ]
27 3.8.13 [ OK ]
28 3.9.11 [ OK ]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:55 +0000 (01:37 +0200)]
backports: backport pci power save for mwifiex
This patch makes mwifiex use the old suspend resume functions on older
kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:54 +0000 (01:37 +0200)]
backports: do not access hw_features in wil6210
wil6210 now uses netdev->hw_features which is not available in all
kernel versions, do not set it then.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:53 +0000 (01:37 +0200)]
backports: add some new regulator drivers to default config
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:52 +0000 (01:37 +0200)]
backports: backport sysfs api in wireless
Older kernel versions do not support the new sysfs api with dev_groups.
This makes net/wireless/sysfs.c use the old api on older kernels.
This is a backport of this commit:
commit
f0bc99c84349ce87af5b35839d19bfb17bb9b27f
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Wed Jul 24 15:05:35 2013 -0700
net: wireless: convert class code to use dev_groups
This was mostly done by Johannes Berg <johannes@sipsolutions.net>.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:51 +0000 (01:37 +0200)]
backports: add include/linux/regulator/pfuze100.h
This is a new driver which needs a new header file.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:50 +0000 (01:37 +0200)]
backports: add hid_alloc_report_buf()
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:49 +0000 (01:37 +0200)]
backports: do not copy wrong header files for regulators
Some of the header files for the regulators framework where used by
regulator core, which does not get backported or some of them are also
used by mfd drivers. Now only the headers which are only used by the
regulator driver are copied, it could still be that these headers are
also used in some platform specific code where the driver gets
registered.
This patch then fixed some dependencies which where wrong because of
using the wrong header files.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:48 +0000 (01:37 +0200)]
backports: add missing include for is_valid_ether_addr()
is_valid_ether_addr() is used, but the header here it is declared was
not included.
This fixes a problem introduced in commit:
commit
521acfd92f168fc9b8b6a1cefe9a165243f3d872
Author: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Date: Thu Aug 15 14:40:09 2013 +0200
backports: add eth_prepare_mac_addr_change() and eth_commit_mac_addr_change()
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:47 +0000 (01:37 +0200)]
backports: usb_translate_errors() is needed for < 3.2
usb_translate_errors() is needed for every kernel < 3.2 and not <
2.6.39.
This fixes a problem introduced in this commit:
commit
aee2dc1d7fd03d3900e06e88793b519e21049de0
Author: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Date: Thu Aug 15 14:40:20 2013 +0200
backports: add usb_translate_errors()
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Sun, 18 Aug 2013 23:37:46 +0000 (01:37 +0200)]
backports: fix conditional include of arch_phys_wc_add()
This fixes a problem introduced in this commit:
commit
c871780b5afa182878884bf5ccd8df4817a2660f
Author: Arik Nemtsov <arik@wizery.com>
Date: Wed Aug 14 10:48:05 2013 +0300
backports: rename some mem functions to not break custom kernels
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Sat, 17 Aug 2013 13:02:59 +0000 (09:02 -0400)]
backports: cw1200 needs the multicast API changes to support <=2.6.35
Also, update the dependencies:
cw1200_wlan_sdio needs >=2.6.34 due to missing sdio_set_host_pm_flags()
cw1200_wlan_spi needs >=2.6.35 due to missing request_any_context_irq()
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Sat, 17 Aug 2013 13:02:58 +0000 (09:02 -0400)]
backports: cw1200 utilizes kthreads for <= 2.6.35
The new workqueue APIs in 2.6.36 allowed us to scrap the old kthread worker
that had been used; unfortunately the backported API isn't complete so
in order to support older kernels, resurrect this patch.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Sat, 17 Aug 2013 13:02:57 +0000 (09:02 -0400)]
backports: move the cw1200 sdio quirk into 26-sdio-quirks
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Sat, 17 Aug 2013 13:02:56 +0000 (09:02 -0400)]
backport: Add an implementation of get_random_int() for <3.10 kernels.
get_random_int() was present, but simply not exported for use in modules
until 3.10. Implement it in terms of the more expensive get_random_bytes()
This is needed by the cw1200 driver.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Arik Nemtsov [Wed, 14 Aug 2013 07:48:05 +0000 (10:48 +0300)]
backports: rename some mem functions to not break custom kernels
When custom patches are cherry-picked to a kernel, some symbols exported
by backports may clash with the built-in ones. Rename the backports
symbols using the standard backport_ prefix to prevent that.
The offending symbols were exported by the patch below:
commit
2ce5c22448bb45998318267c00b5d6ef9cff3170
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Thu Jun 6 13:48:04 2013 +0200
backports: backport some memory functions
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Solomon Peachy [Thu, 15 Aug 2013 12:55:57 +0000 (08:55 -0400)]
backports: Add patch for cw1200_sdio with kernels < 3.2
Without this patch, the hardware *will* hang on <3.2 kernels when a
512-byte SDIO transfer occurs.
3.2-rc added an SDIO quirk to work around this, so this code was
stripped from the driver when committed to the mainline.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>