compat-drivers: synch with linux-next 20120824

This synchs with linux-next 20120824.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: backport dma-buf ops begin_cpu_access

This was added as of the original dma-buf implementation via
the 3.4 kernel but through a separate set of patches. Tuck this
into the patch that already deals with dma buf ops.

mcgrof@frijol ~/linux-next (git::master)$ git describe --contains \
	fc13020e086bfedf2afb95c91c026d5af1f80107
v3.4-rc1~57^2~3

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: refresh patches for next-20120904

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: copy .compat_base on scripts/refresh-compat

Reported-by: Xiong Huang <xiong@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: Sync with linux-next 20120906

Refresh patches for next-20120906

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: Update 53-pr_fmt.patch

Fix ath5k/debug.c redefinition warning for pr_fmt macro

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: refresh in synch with next-20120911

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: Use GIT_TREE variable.

In gen-stable-release.sh stable git tree path is hardcoded.
Use GIT_TREE environment variable if specified.

Signed-off-by: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: backport netlink pid to portid rename

The patch:

commit 15e473046cb6e5d18a4d0057e61d76315230382b
Author: Eric W. Biederman <ebiederm@xmission.com>
Date:   Fri Sep 7 20:12:54 2012 +0000

    netlink: Rename pid to portid to avoid confusion

    It is a frequent mistake to confuse the netlink port identifier with a
    process identifier.  Try to reduce this confusion by renaming fields
    that hold port identifiers portid instead of pid.

    I have carefully avoided changing the structures exported to
    userspace to avoid changing the userspace API.

    I have successfully built an allyesconfig kernel with this change.

    Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
    Acked-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Changed the struct members:

struct netlink_notify->pid    to
struct netlink_notify->portid

struct genl_info->snd_pid     to
struct genl_info->snd_portid

To help backport this and not have to #ifdef around it against
kernel versions compat has introduced two helpers for us to
simply do the backport with three macro helpers:

genl_info_snd_portid()
netlink_notify_portid()
NETLINK_CB_PORTID()

This takes care of the work for us requiring only one
single line change. This patch now goes into its own
new filename following the lead of the other 4-digit
prefixed patches which try to separate collateral
evolutions to be used for spdiff to further backport
uses in other subsystems / drivers.

mcgrof@garbanzo ~/devel/compat-drivers (git::master)$ time ckmake
Trying kernel 3.5.0-030500-generic [OK]
Trying kernel 3.4.4-030404-generic [OK]
Trying kernel 3.3.7-030307-generic [OK]
Trying kernel 3.2.2-030202-generic [OK]
Trying kernel 3.1.10-030110-generic [OK]
Trying kernel 3.0.18-030018-generic [OK]
Trying kernel 2.6.39-02063904-generic [OK]
Trying kernel 2.6.38-02063808-generic [OK]
Trying kernel 2.6.37-02063706-generic [OK]
Trying kernel 2.6.36-02063604-generic [OK]
Trying kernel 2.6.35-02063512-generic [OK]
Trying kernel 2.6.34-02063410-generic [OK]
Trying kernel 2.6.33-02063305-generic [OK]
Trying kernel 2.6.32-02063255-generic [OK]
Trying kernel 2.6.31-02063113-generic [OK]
Trying kernel 2.6.30-02063010-generic [OK]
Trying kernel 2.6.29-02062906-generic [OK]
Trying kernel 2.6.28-02062810-generic [OK]
Trying kernel 2.6.27-020627-generic [OK]
Trying kernel 2.6.26-020626-generic [OK]
Trying kernel 2.6.25-020625-generic [OK]
Trying kernel 2.6.24-020624-generic [OK]

real    26m46.734s
user    140m26.659s
sys     13m26.194s

Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: refresh patches for next-20120918

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: adjust scripts to support daily linux-next releases

We'll use these for daily linux-next.git and linux-stable.git releases.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: refresh patches for next-20120920

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: refresh crap patches for next-20120920

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: update gen-stable-release.sh to make bzip2 again

The kernel uploader expects you to sign the tar file but you can
pass along and upload a bzip2 archive. At the other end the
daemon will uncompress and then verify the tarball.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: rename gen-stable-release.sh to gen-release.sh

We'll use this same script to make daily linux-next.git based
releases.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: gen-release.sh rename COMPAT_WIRELESS to COMPAT_DRIVERS

Simple search and replace.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: gen-release.sh update to reflect usage of linux-next

This removes the force update parameter option given that
we're not using it, and also updates the release script to
account for using linux-next.git on a daily basis for future
releases.

Usage of kup, the kernel uploader, will be addressed next.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: fix gen-release.sh to keep tar file

Without -k option to bzip2 the original tar file will be
deleted.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: add kup support with git-paranoia support

kup [0] is the kernel.org uploader. This integrates support for
usage of kup with the gen-release.sh script. When kup is used
we also use git-paranoia which will bail out if either we have
content on a git tree that lets us produce content that is not
GPG signed, that has not yet been commited, or integrated into
a git tree. To use kup just pass on the -u argument to
gen-release.sh.

For generic releases, that do not use kup (without -u) we still
run git-paranoia but in interactive mode, allowing releases to
be made that are not targeted for kernel.org with random junk
or not GPG signed junk.

[0] https://korg.wiki.kernel.org/index.php/Userdoc:using_kup

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat-drivers: fix space damage on git-paranoia

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>