openwrt/staging/blogic.git
11 years agobackports: refresh patches for next-20130816
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>
11 years agobackports: do not build REGULATOR_PALMAS on older kernel versions.
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>
11 years agobackports: add debugfs_create_x64()
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>
11 years agobackports: do not use DMA SG on old kernel versions
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>
11 years agobackports: use old led api on old kernel versions.
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>
11 years agobackports: replace new portid usage
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>
11 years agobackports: refresh patches for next-20130809
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>
11 years agobackports: REGULATOR_DA9210 needs at least kernel 3.5
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>
11 years agobackports: add HDMI_INFOFRAME_SIZE
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>
11 years agobackports: add hdmi_infoframe_pack()
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>
11 years agobackports: add include/drm/drm_agpsupport.h
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>
11 years agobackports: fix intel i915 drm driver
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>
11 years agogentree.py: add ending slash to upload path
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>
11 years agogentree.py: log kup command before executing
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>
11 years agogentree.py: fix directory creating
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>
11 years agogentree.py: do not add full path into tar
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>
11 years agogentree.py: add kernel upload support
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>
11 years agolib/bpkup.py: add or own kernel uploader helper lib
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>
11 years agolib/bpgpg.py: add simple gpg helper for gpg signing
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>
11 years agolib/bpgit.py: add support for git paranoia
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>
11 years agolib/bpgit.py: add git tree verification support
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>
11 years agolib/bpgit.py: add git clean support
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>
11 years agolib/bpgit.py: add git status support
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>
11 years agolib/bpgit.py: enable extra arguments on git describe
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>
11 years agobackports: add missing returns on ww_mutex backpots
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>
11 years agobackports: refresh patches for next-20130802 again
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>
11 years agobackport: simplify #ifdefs in pci-aspm.h
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>
11 years agobackports: add generic semaphore.h
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>
11 years agobackports: fix compilation for 2.6.25 for math64 header
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>
11 years agobackports: do not depend on PCI functions when PCI is disabled in the kernel
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>
11 years agobackports: fix typo in define
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>
11 years agobackports: remove alx patch for < 2.6.24
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>
11 years agoremove support for kernel 2.6.24
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>
11 years agobackport: backport device_move() properly
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>
11 years agobackports: Actually export the 2.6.34 sdio compat symbols
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>
11 years agobackports: fix conflict in swiotlb_nr_tbl() on RHEL 6.4
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>
11 years agobackports: refresh patches on next-20130802
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>
11 years agobackports: Atheros atl1c needs build_skb(), do not build on < 3.5
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>
11 years agobackports: USB_SPEED_SUPER was added in 2.6.31
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>
11 years agobackports: use genl_info_snd_portid() at an other place.
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>
11 years agobackports: add sysfs api backport for ieee802154
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>
11 years agobackports: REGULATOR_DA903X does not build on kernel < 3.12
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>
11 years agobackports: add defconfig for cw1200
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>
11 years agobackports: refresh on next-20130726
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>
11 years agobackports: backport pci power save for mwifiex
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>
11 years agobackports: do not access hw_features in wil6210
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>
11 years agobackports: add some new regulator drivers to default config
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>
11 years agobackports: backport sysfs api in wireless
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>
11 years agobackports: add include/linux/regulator/pfuze100.h
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>
11 years agobackports: add hid_alloc_report_buf()
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>
11 years agobackports: do not copy wrong header files for regulators
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>
11 years agobackports: add missing include for is_valid_ether_addr()
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>
11 years agobackports: usb_translate_errors() is needed for < 3.2
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>
11 years agobackports: fix conditional include of arch_phys_wc_add()
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>
11 years agobackports: cw1200 needs the multicast API changes to support <=2.6.35
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>
11 years agobackports: cw1200 utilizes kthreads for <= 2.6.35
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>
11 years agobackports: move the cw1200 sdio quirk into 26-sdio-quirks
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>
11 years agobackport: Add an implementation of get_random_int() for <3.10 kernels.
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>
11 years agobackports: rename some mem functions to not break custom kernels
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>
11 years agobackports: Add patch for cw1200_sdio with kernels < 3.2
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>
11 years agobackports: Include drivers/net/wireless/cw1200
Solomon Peachy [Thu, 15 Aug 2013 12:55:56 +0000 (08:55 -0400)]
backports: Include drivers/net/wireless/cw1200

The cw1200 WLAN driver was added in 3.11-rc; include it in backports.

Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add defconfig for wwan device drivers
Patrick Ziegler [Thu, 15 Aug 2013 12:41:05 +0000 (14:41 +0200)]
backports: add defconfig for wwan device drivers

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add wwan device drivers
Patrick Ziegler [Thu, 15 Aug 2013 12:40:56 +0000 (14:40 +0200)]
backports: add wwan device drivers

Add cdc_mbim, cdc_ncm, sierra_net, qmi_wwan device drivers.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: define phys_addr_t for ARM on kernel version < 2.6.25
Patrick Ziegler [Thu, 15 Aug 2013 12:40:48 +0000 (14:40 +0200)]
backports: define phys_addr_t for ARM on kernel version < 2.6.25

phys_addr_t is not defined on ARM systems if kernel version < 2.6.25.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: include headers directly if math64 header is missing
Patrick Ziegler [Thu, 15 Aug 2013 12:40:41 +0000 (14:40 +0200)]
backports: include headers directly if math64 header is missing

If math64 header is not available, include div64.h directly. It is required for
do_div() that is used inside the backport version of math64.h.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: update enum usb_device_speed with USB_SPEED_SUPER
Patrick Ziegler [Thu, 15 Aug 2013 12:40:35 +0000 (14:40 +0200)]
backports: update enum usb_device_speed with USB_SPEED_SUPER

USB_SPEED_SUPER is missing for kernel versions < 2.6.30 but used by uvc_video and
usbnet.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add usb_endpoint_maxp()
Patrick Ziegler [Thu, 15 Aug 2013 12:40:26 +0000 (14:40 +0200)]
backports: add usb_endpoint_maxp()

This function is missing for kernel version < 3.2 but required by uvc_video
and cdc-wdm device drivers.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add usb_translate_errors()
Patrick Ziegler [Thu, 15 Aug 2013 12:40:20 +0000 (14:40 +0200)]
backports: add usb_translate_errors()

This inline function is missing for version < 2.6.39 but required by em28xx
and cdc-wdm device driver.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: define PM_EVENT_AUTO
Patrick Ziegler [Thu, 15 Aug 2013 12:40:14 +0000 (14:40 +0200)]
backports: define PM_EVENT_AUTO

This macro is missing for < 2.6.25

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add eth_prepare_mac_addr_change() and eth_commit_mac_addr_change()
Patrick Ziegler [Thu, 15 Aug 2013 12:40:09 +0000 (14:40 +0200)]
backports: add eth_prepare_mac_addr_change() and eth_commit_mac_addr_change()

These functions are required by qmi_wwan device driver.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: fix build errors for old kernel versions without PCI support
Patrick Ziegler [Thu, 15 Aug 2013 12:40:00 +0000 (14:40 +0200)]
backports: fix build errors for old kernel versions without PCI support

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: fix device_release_driver
Johannes Berg [Wed, 7 Aug 2013 09:40:09 +0000 (11:40 +0200)]
backports: fix device_release_driver

The new macro, introduced by

commit 9f5876fa9cfb8cd6f450c200043ca7e31915f976
Author: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Date:   Thu Jul 18 16:40:55 2013 -0700

    backports: backport drvdata = NULL core driver fixes

evaluates its argument multiple times, causing crashes as
there are potential side-effects of the called code and/or
the arguments.

Fix this by converting it to static inlines.

Also remove the driver_probe_device() macro that has the
same issue, but tries to wrap a function that isn't even
available outside the driver core code in any kernel.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: refresh patches for next-20130719
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:25 +0000 (00:53 +0200)]
backports: refresh patches for next-20130719

== 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>
11 years agobackports: deactivate REGULATOR_WM8400
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:24 +0000 (00:53 +0200)]
backports: deactivate REGULATOR_WM8400

This needs regulator_map_voltage_linear_range() and
regulator_list_voltage_linear_range() which are not exported by the
kernel regulator framework.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add of_find_node_by_name() if !CONFIG_OF
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:23 +0000 (00:53 +0200)]
backports: add of_find_node_by_name() if !CONFIG_OF

The old kernel only exports this function when CONFIG_OF is set, but not
when CONFIG_OF is not set.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add hid log functions
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:22 +0000 (00:53 +0200)]
backports: add hid log functions

This adds some hid log functions like hid_warn().

This backports the following commit:
commit 4291ee305e9bb0699504a66f0e2b7aefcf0512a5
Author: Joe Perches <joe@perches.com>
Date:   Thu Dec 9 19:29:03 2010 -0800

    HID: Add and use hid_<level>: dev_<level> equivalents

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: try to backport acpi_video_register_with_quirks()
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:21 +0000 (00:53 +0200)]
backports: try to backport acpi_video_register_with_quirks()

Original the i915 driver called acpi_video_register(), but that was
replaced with acpi_video_register_with_quirks(), which we can not
backport easily, replace it with the old call to
acpi_video_register() again.

Thos backports the following commit:
commit 8c5bd7adb2ce47e6aa39d17b2375f69b0c0aa255
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Thu Jul 18 02:08:06 2013 +0200

    ACPI / video / i915: No ACPI backlight if firmware expects Windows 8

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: backport PTR_ERR_OR_ZERO
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:20 +0000 (00:53 +0200)]
backports: backport PTR_ERR_OR_ZERO

This backports this patch:
commit 6e8b8726ad503214ba66e34aed69aff41de33489
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Mon Jul 15 11:19:32 2013 +0930

    PTR_RET is now PTR_ERR_OR_ZERO

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: update kernel version to test against
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:19 +0000 (00:53 +0200)]
backports: update kernel version to test against

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: the shrinkers api did not made it into 3.11
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:18 +0000 (00:53 +0200)]
backports: the shrinkers api did not made it into 3.11

Change the conditions to use the backported code also in 3.11

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackprots: fix logic in calling intel_enable_gtt()
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:17 +0000 (00:53 +0200)]
backprots: fix logic in calling intel_enable_gtt()

The old patch changed the or condition to an and condition which is
wrong. This patch fixes the logic again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: remove some remaining parts form old alx driver
Hauke Mehrtens [Wed, 7 Aug 2013 22:53:16 +0000 (00:53 +0200)]
backports: remove some remaining parts form old alx driver

This removed some old parts remaining from the old alx driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: refresh patches for next-20130712
Luis R. Rodriguez [Tue, 30 Jul 2013 03:35:38 +0000 (20:35 -0700)]
backports: refresh patches for next-20130712

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.79              [  OK  ]
18  3.1.10              [  OK  ]
19  3.10-rc1            [  OK  ]
20  3.2.45              [  OK  ]
21  3.3.8               [  OK  ]
22  3.4.46              [  OK  ]
23  3.5.7               [  OK  ]
24  3.6.11              [  OK  ]
25  3.7.10              [  OK  ]
26  3.8.13              [  OK  ]
27  3.9.3               [  OK  ]

real    34m34.417s
user    933m25.264s
sys     129m41.580s

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: refresh patches for next-20130709
Luis R. Rodriguez [Tue, 30 Jul 2013 03:16:54 +0000 (20:16 -0700)]
backports: refresh patches for next-20130709

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: copy over s2mps11.h
Luis R. Rodriguez [Tue, 30 Jul 2013 05:01:13 +0000 (22:01 -0700)]
backports: copy over s2mps11.h

This is required by s2mps11 as of at least next-20130709.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: fix patches for next-20130709
Luis R. Rodriguez [Tue, 30 Jul 2013 03:15:44 +0000 (20:15 -0700)]
backports: fix patches for next-20130709

A hunk context was off for alx.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: refresh patches for next-20130703
Luis R. Rodriguez [Sat, 27 Jul 2013 22:38:35 +0000 (15:38 -0700)]
backports: refresh patches for next-20130703

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.79              [  OK  ]
18  3.1.10              [  OK  ]
19  3.10-rc1            [  OK  ]
20  3.2.45              [  OK  ]
21  3.3.8               [  OK  ]
22  3.4.46              [  OK  ]
23  3.5.7               [  OK  ]
24  3.6.11              [  OK  ]
25  3.7.10              [  OK  ]
26  3.8.13              [  OK  ]
27  3.9.3               [  OK  ]

real    32m59.877s
user    880m31.524s
sys     124m11.996s

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: backport cross-device reservation support
Luis R. Rodriguez [Sat, 27 Jul 2013 01:55:36 +0000 (18:55 -0700)]
backports: backport cross-device reservation support

This backports cross-device reservation support.
Given that this feature is built around the
CONFIG_DMA_SHARED_BUFFER and given that some older kernels
will have DMA_SHARED_BUFFER without cross device reservation
support we can't use the c-file and h-file backports Kconfig
trick to automatically backport this feature from the
target git tree.

commit 786d7257e537da0674c02e16e3b30a44665d1cee
Author: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Date:   Thu Jun 27 13:48:16 2013 +0200

    reservation: cross-device reservation support, v4

    This adds support for a generic reservations framework that can be
    hooked up to ttm and dma-buf and allows easy sharing of reservations
    across devices.

    The idea is that a dma-buf and ttm object both will get a pointer
    to a struct reservation_object, which has to be reserved before
    anything is done with the contents of the dma-buf.

    Changes since v1:
     - Fix locking issue in ticket_reserve, which could cause
       mutex_unlock
       to be called too many times.
    Changes since v2:
     - All fence related calls and members have been taken out for now,
       what's left is the bare minimum to be useful for ttm locking conversion.
    Changes since v3:
     - Removed helper functions too. The documentation has an example
       implementation for locking. With the move to ww_mutex there is no
       need to have much logic any more.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Cc: maarten.lankhorst@canonical.com
Cc: jglisse@redhat.com
Cc: airlied@redhat.com
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: backport ww_mutex support
Luis R. Rodriguez [Sat, 27 Jul 2013 01:29:56 +0000 (18:29 -0700)]
backports: backport ww_mutex support

This backports the kernel's wound/wait style locks 040a0a371,
using the linux-stable v3.11-rc2 as a base for development.
Given the complexity to support debugging mutexes this backport
implementation is simplified by only making this feature availabe
if you to have DEBUG_MUTEXES and DEBUG_LOCK_ALLOC disabled.

Given that ww mutex is required for DRM this also means we must
update the kconfig for DRM and require you to also not be able to build
DRM if you have either of these options enabled. Support for
DEBUG_MUTEXES and DEBUG_LOCK_ALLOC can be added later by anyone
daring. This uses the new dependencies file kconfig language
extension to specify the backport feature build restrictions
for DRM.

Part of the ww mutex addition to the kernel required modifying
the fast path mutex locking scheme by requiring you to deal
with the slow path alternatives on your own (refer to a41b56ef).
The reason for this change was that the mutex fastpath implementation
assumed your slowpath alternative can only be passed one argument
and the addition of ww mutexes requires dealing with the slow
path with a context passed.

It'd be painful to backport all asm for an optimized fastpath
implementation so we penalize the backport ww mutex fast path
by using the generic atomic_dec_return().

To backport a clean our own mutex_lock_common() with the least
amount of changes against upstream commits 2bd2c92c and 41fcb9f2
also needed to be backported. Commit 2bd2c92c dealt with adding
support for queue mutex spinners with an MCS lock, since this
cannot be backported for older kernels we provide empty inlines.
Commit 41fcb9f2 just removed SCHED_FEAT_OWNER_SPIN as it was an
early hack, the only thing required to backport this commit was
to provide an alternative declaration for mutex_spin_on_owner()
as it was declared non-inline for older kernels.

Finally c5491ea7 required backporting schedule_preempt_disabled()
as well but that just consisted of carrying over the original
implementation. Since its not exported we need to reimplement
it to make it available to our internal core ww mutex port.

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 040a0a371
v3.11-rc1~147^2~5

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains a41b56ef
v3.11-rc1~147^2~6

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 2bd2c92c
v3.10-rc1~200^2~3

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 41fcb9f2
v3.10-rc1~200^2~5

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains c5491ea7
v3.4-rc1~3^2~27

commit 040a0a37100563754bb1fee6ff6427420bcfa609
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Mon Jun 24 10:30:04 2013 +0200

    mutex: Add support for wound/wait style locks

    Wound/wait mutexes are used when other multiple lock
    acquisitions of a similar type can be done in an arbitrary
    order. The deadlock handling used here is called wait/wound in
    the RDBMS literature: The older tasks waits until it can acquire
    the contended lock. The younger tasks needs to back off and drop
    all the locks it is currently holding, i.e. the younger task is
    wounded.

    For full documentation please read Documentation/ww-mutex-design.txt.

    References: https://lwn.net/Articles/548909/
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: rostedt@goodmis.org
Cc: daniel@ffwll.ch
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/51C8038C.9000106@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
commit a41b56efa70e060f650aeb54740aaf52044a1ead
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Thu Jun 20 13:31:05 2013 +0200

    arch: Make __mutex_fastpath_lock_retval return whether fastpath succeeded or not

    This will allow me to call functions that have multiple
    arguments if fastpath fails. This is required to support ticket
    mutexes, because they need to be able to pass an extra argument
    to the fail function.

    Originally I duplicated the functions, by adding
    __mutex_fastpath_lock_retval_arg. This ended up being just a
    duplication of the existing function, so a way to test if
    fastpath was called ended up being better.

    This also cleaned up the reservation mutex patch some by being
    able to call an atomic_set instead of atomic_xchg, and making it
    easier to detect if the wrong unlock function was previously
    used.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: robclark@gmail.com
Cc: rostedt@goodmis.org
Cc: daniel@ffwll.ch
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130620113105.4001.83929.stgit@patser
Signed-off-by: Ingo Molnar <mingo@kernel.org>
commit 2bd2c92cf07cc4a373bf316c75b78ac465fefd35
Author: Waiman Long <Waiman.Long@hp.com>
Date:   Wed Apr 17 15:23:13 2013 -0400

    mutex: Queue mutex spinners with MCS lock to reduce cacheline contention

    <-- snip -->

commit 41fcb9f230bf773656d1768b73000ef720bf00c3
Author: Waiman Long <Waiman.Long@hp.com>
Date:   Wed Apr 17 15:23:11 2013 -0400

    mutex: Move mutex spinning code from sched/core.c back to mutex.c

    <-- snip -->

commit c5491ea779793f977d282754db478157cc409d82
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Mon Mar 21 12:09:35 2011 +0100

    sched/rt: Add schedule_preempt_disabled()

    <-- snip -->

Cc: maarten.lankhorst@canonical.com
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: rostedt@goodmis.org
Cc: daniel@ffwll.ch
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: enable kconfig language on dependencies file
Luis R. Rodriguez [Tue, 30 Jul 2013 02:22:57 +0000 (19:22 -0700)]
backports: enable kconfig language on dependencies file

Certain complex features that are backported may be be
limitted to a certain target build configuration. An example
can be if a backported feature is not yet backported with
support for lockdep. In order to avoid build failures with
these types of restrictions allow for specifying build
configuration dependencies on backported upstream kconfig
symbols other than just kernel versioning contstraints.

This adds support for specifying upstream kconfig constaints
other than kernel versioning by adding kconfig language
extensions on the dependencies file. This will update the
copied over upstream Kconfig file for the symbol specified
with the kconfig constraints specified.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: backport of_get_child_by_name() support
Luis R. Rodriguez [Sat, 27 Jul 2013 20:47:22 +0000 (13:47 -0700)]
backports: backport of_get_child_by_name() support

This was added via 9c19761a. While at it clean up the backported
header a bit to make backporting more OF stuff more manageable.

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 9c19761a
v3.7-rc1~123^2~4

commit 9c19761a7ecdc86abb2fba0feb81e8952eccc1f1
Author: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Date:   Tue Sep 18 08:10:28 2012 +0100

    dt: introduce of_get_child_by_name to get child node by name

    This patch introduces of_get_child_by_name function to get a child node
    by its name in a given parent node.

    Without this patch each driver code has to iterate the parent and do
    a string compare, However having of_get_child_by_name libary function would
    avoid code duplication, errors and is more convenient.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: copy over mfd/max8998.h mfd/max8998-private.h
Luis R. Rodriguez [Wed, 24 Jul 2013 03:51:39 +0000 (20:51 -0700)]
backports: copy over mfd/max8998.h mfd/max8998-private.h

This is required by CONFIG_REGULATOR_MAX8998
which builds drivers/regulator/max8998.c as of
next-20130703.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackport: disable unused automatic backports
Johannes Berg [Tue, 23 Jul 2013 07:15:32 +0000 (09:15 +0200)]
backport: disable unused automatic backports

When an automatic backport isn't included due to not
being used (see commit 6e0475b599217eceb8e01a1e572c,
"gentree: add automatic backports only if needed"),
selecting BACKPORT_USERSEL_BUILD_ALL will make the
build fail. Avoid this by disabling such symbols in
the Kconfig.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: fix DMI_EXACT_MATCH() backport
Luis R. Rodriguez [Wed, 24 Jul 2013 00:36:40 +0000 (17:36 -0700)]
backports: fix DMI_EXACT_MATCH() backport

DMI_EXACT_MATCH uses struct dmi_strmatch's new member exact_match:

@@ -456,7 +456,8 @@ enum dmi_field {
 };

 struct dmi_strmatch {
-       unsigned char slot;
+       unsigned char slot:7;
+       unsigned char exact_match:1;
char substr[79];
 };

Prior to 5017b285 we only had slot so to use DMI_EXACT_MATCH with its
intent we'd have to do something like slot |= 1 if its called. This
however assumes though that older code has the sanity check as changed
in 5017b285 on drivers/firmware/dmi_scan.c. dmi_scan.o gets linked
with CONFIG_DMI. At least for x86 that gets objects sprinkled on
arch/x86/, but more importantly CONFIG_DMI is bool. I've argued how I
envision us being able to backport core components before (see
0935deab for the hint) but as it is right now we can't. We only
backport things we can throw in as modular.

Since we only backport modularly for now we can't backport DMI_EXACT_MATCH()
and as such all entries defined with DMI_EXACT_MATCH() should be ifdef'd
out for usage only on kernels >= v3.11 but to help reduce code churn we
can also just force such entries to be ignored for now. We therefore
backport DMI_EXACT_MATCH() for now to match something that will not be
found.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: fix wq_name_list initialization
Luis R. Rodriguez [Tue, 23 Jul 2013 23:47:41 +0000 (16:47 -0700)]
backports: fix wq_name_list initialization

As noted by Johannes this wasn't being initialized
without this.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: simplify space regexp for src_line
Luis R. Rodriguez [Tue, 23 Jul 2013 22:50:00 +0000 (15:50 -0700)]
backports: simplify space regexp for src_line

The regexp doesn't require the extra brackets.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: lib/kconfig.py - fix src line regexp
Luis R. Rodriguez [Fri, 19 Jul 2013 11:47:56 +0000 (11:47 +0000)]
backports: lib/kconfig.py - fix src line regexp

The source line can be prefixed by spaces and tabs. Without
this a slew of kconfig options were not being parsed for
dependency checking and at compile time they'd obviously
fail.

Tested with ckmake against next-20130627

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.79              [  OK  ]
18  3.1.10              [  OK  ]
19  3.10-rc1            [  OK  ]
20  3.2.45              [  OK  ]
21  3.3.8               [  OK  ]
22  3.4.46              [  OK  ]
23  3.5.7               [  OK  ]
24  3.6.11              [  OK  ]
25  3.7.10              [  OK  ]
26  3.8.13              [  OK  ]
27  3.9.3               [  OK  ]

real    34m5.379s
user    921m5.112s
sys     128m8.156s

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: enable REGULATOR_MAX77693 on >= 3.6
Luis R. Rodriguez [Fri, 19 Jul 2013 11:46:37 +0000 (11:46 +0000)]
backports: enable REGULATOR_MAX77693 on >= 3.6

There is a symbol missing otherwise that is currently
only provided by the core, ie, non modular.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: add clock enable/disable on soc_camera_power_[on|off]()
Luis R. Rodriguez [Fri, 19 Jul 2013 05:50:51 +0000 (05:50 +0000)]
backports: add clock enable/disable on soc_camera_power_[on|off]()

v4l2-core now supports enabling and disabling its own clock
on turning the camera on / off. We backport v4l2-core fully
so just backport the soc calls appropriately to let SOC cameras
to turn the clock on / off when the v4l2-core clock ops are
implemented on a device driver.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
11 years agobackports: revert DMI_EXACT_MATCH() for older kernels
Luis R. Rodriguez [Fri, 19 Jul 2013 04:40:15 +0000 (04:40 +0000)]
backports: revert DMI_EXACT_MATCH() for older kernels

struct dmi_strmatch was modified on v3.11 with a
exact_match member. The DMI_EXACT_MATCH() macro was
added as a mod version of DMI_MATCH() to account for
dmi strings that look closely like each other. An
example is D510MO Vs D510MOV.

Since exact_match is is not available on older kernels
we can't use it and must revert to the old DMI_MATCH().
Addressing the desired behaviour will require a separate
change to deal with addressing the difference
in the behaviour.

Chris Wilson recommends that if we can't use this we should
also rever the DMI related fixes. I believe these are:

dcf6d294830d46b0e6901477fb4bf455281d90c8 - drm/i915: quirk away phantom LVDS on Intel's D525MW mainboard
e5614f0c2d0f4d7f0b8ef745d34593baf2c5dbf8 - drm/i915: quirk away phantom LVDS on Intel's D510MO mainboard

Once we get confirmation we can do that.

Proof of why we can't backport DMI_EXACT_MATCH():

DMI_EXACT_MATCH uses struct dmi_strmatch's new
member exact_match:

@@ -456,7 +456,8 @@ enum dmi_field {
 };

 struct dmi_strmatch {
-       unsigned char slot;
+       unsigned char slot:7;
+       unsigned char exact_match:1;
char substr[79];
 };

Prior to 5017b285 we only had slot member so to use
DMI_EXACT_MATCH() with its intent we'd have to do something
like:
slot |= 1

if its called. This however assumes though that older code has
the sanity check as changed in 5017b285 on drivers/firmware/dmi_scan.c.
dmi_scan.o gets linked with CONFIG_DMI. At least for x86 that gets
objects sprinkled on arch/x86/, but more importantly CONFIG_DMI is
bool. I've argued how I envision us being able to backport core
components before (see 0935deab for the hint) but as it is right
now we can't. We only backport things we can throw in as modular.

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 5017b285
v3.11-rc1~99^2~254

commit 5017b2851373ee15c7035151853bb1448800cae2
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Jul 3 15:05:02 2013 -0700

    dmi: add support for exact DMI matches in addition to substring matching

    dmi_match() considers a substring match to be a successful match.  This is
    not always sufficient to distinguish between DMI data for different
    systems.  Add support for exact string matching using strcmp() in addition
    to the substring matching using strstr().

    The specific use case in the i915 driver is to allow us to use an exact
    match for D510MO, without also incorrectly matching D510MOV:

      {
        .ident = "Intel D510MO",
        .matches = {
                DMI_MATCH(DMI_BOARD_VENDOR, "Intel"),
                DMI_EXACT_MATCH(DMI_BOARD_NAME, "D510MO"),
        },
      }

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Cc: <annndddrr@gmail.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Cornel Panceac <cpanceac@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: jani.nikula@intel.com
Cc: annndddrr@gmail.com
Cc: chris@chris-wilson.co.uk
Cc: cpanceac@gmail.com
Cc: daniel.vetter@ffwll.ch
Cc: greg@kroah.com
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>