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>
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>
lib/bpgit.py: add git clean support

We'll use this later.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
backports: add HDMI_INFOFRAME_SIZE

Add the missing define.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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>
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>
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>
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>