aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-04-01compat-drivers: enable DRM nouveau driver on 3.2HEADmasterLuis R. Rodriguez1-8/+4
We now have dma-buf support on 3.2 and as such we can enable nouveau on it. 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.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] real 24m6.405s user 666m43.904s sys 81m27.213s signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-01compat-drivers: remove dma-buf patchesLuis R. Rodriguez2-388/+0
dma-buf support is added now via compat so there's no need to ifdef around support for it. Tested with ckmake. 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.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] real 23m50.218s user 658m35.410s sys 80m19.785s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-01compat-drivers: remove HDMILuis R. Rodriguez3-7/+0
This is now part of compat. Having this here was tainting the kernel as its not a module upstream, its either enabled and built into the kernel or disabled. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-01compat-drivers: add media subsystem drivers v4l2, uvcvideoLuis R. Rodriguez8-3/+256
This adds backport support for the first media subsystem drivers: * v4l2 - Video4Linux * uvcvideo - UVC webcam devices http://linuxtv.org/wiki/index.php/UVC_Webcam_Devices I've run time tested these modules and build tested against all kernels against next-20130328. 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.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] real 23m54.735s user 660m4.939s sys 80m26.078s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-01compat-drivers: add config option CONFIG_WILINK_PLATFORM_DATAHauke Mehrtens1-2/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: fix signature for struct bin_attributeHauke Mehrtens1-0/+14
The signature for struct bin_attribute.read changed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: fix signature for struct rchan_callbacksHauke Mehrtens1-0/+28
the signature for struct rchan_callbacks.create_buf_file changed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: fix parameter dereference for drv_set_multicast_list()Hauke Mehrtens1-2/+2
drv_set_multicast_list() does not take a pinter but the direct parameter on kernel < 2.6.35. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: refresh patchesHauke Mehrtens7-87/+72
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: add debug config optionsHauke Mehrtens1-0/+2
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: add config option CONFIG_RT2800USB_RT55XXHauke Mehrtens1-0/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: add config option IWLWIFI_OPMODE_MODULARHauke Mehrtens1-0/+1
This is needed to make the common intel driver module export its symbols. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: make CONFIG_BT_WILINK depend on CONFIG_TI_STLuis R. Rodriguez1-0/+2
This needs to be carried over to linux-3.9.y. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: fix hunk on vt switch patchLuis R. Rodriguez1-4/+3
I manually edited the patch but failed to test it... Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: simplify backport fb_info->skip_vt_switch CELuis R. Rodriguez1-21/+4
The collateral evolution (CE) on the fb_info data structure that added the skip_vt_switch element can be simplified further by replacing the #ifdef hell with a static inline. Furthermore, if the static inline is added upstream it'd mean we can get rid of all these static inline replacements for this data structure element CE. Cc: cocci@systeme.lip6.fr Cc: backports@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Rodrigo Vivi <rodrigo.vivi@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-28compat-drivers: backport fb_info->skip_vt_switch using ifdefsLuis R. Rodriguez1-0/+73
Commit 3cf2667 as of next-20130301 extended the struct fb_info with a skip_vt_switch to allow drivers to skip the VT switch at suspend/resume time. For older kernels we can skip this as all this switch does is call pm_vt_switch_required() with true or false depending on this new flag and later pm_vt_switch_unregister() would not have been made. This patch cannot be broken down further so I'm pegging this as the first one with 4 digits under the DRM folder for collateral evolutions. This reflects its as atomic as is possible. As we'll see on the next commit, these type of collateral evolutions can best be backported not by keeping ifdef's as below but instead by using a wrapper caller, to help reduce with the amount of lines of code we need. If a static inline is added upstream for these changes, then no code is required for backporting, at all, we'd just implement the static inline later upstream as a no-op. The tradeoffs to consider for this is if we can live with these practices upstream, we may be able to support full subsystems only with a compat module, and no need for patches. This also means less code and likely less bugs on the distribution front when backporting is required. At least IMHO this may be worthy to consider at least to support kernels listed as supported on kernel.org. We could just leave the ifdef hell to older unsupported kernels. Relevant commits below, starting with the first one that added this new collateral evolution. commit 3cf2667b9f8b2c2fe298a427deb399e52321da6b Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Mon Feb 4 13:37:21 2013 +0000 fb: add support for drivers not needing VT switch at suspend/resume time Use the new PM routines to indicate whether we need to VT switch at suspend and resume time. When a new driver is bound, set its flag accordingly, and when unbound, remove it from the PM's console tracking list. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> commit 24576d23976746cb52e7700c4cadbf4bc1bc3472 Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Tue Mar 26 09:25:45 2013 -0700 drm/i915: enable VT switchless resume v3 With the other bits in place, we can do this safely. v2: disable backlight on suspend to prevent premature enablement on resume v3: disable CRTCs on suspend to allow RTD3 (Kristen) Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: cocci@systeme.lip6.fr Cc: backports@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Rodrigo Vivi <rodrigo.vivi@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: add initial kconfig developmentLuis R. Rodriguez27-1/+14552
This adds intial development kconfig support (make menuconfig). Synching in kconfig from linux-next next-20130326. Support is still under development so to enable it if you want to work on it, just run manually: make -f scripts/kconfig/Makefile menuconfig compat already provides its own set of scripts that computes the kernels you need and spits it out to .config through the call: ./compat/scripts/gen-compat-config.sh > $(COMPAT_CONFIG) Perhaps something along these lines will do it: --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ DESTDIR?= ifneq ($(KERNELRELEASE),) -include $(COMPAT_CONFIG) +-include $(BACKPORT_CONFIG) include $(COMPAT_CONFIG_CW) NOSTDINC_FLAGS := \ @@ -86,7 +87,8 @@ export CFLAGS += \ # These exported as they are used by the scripts # to check config and compat autoconf export COMPAT_CONFIG_CW=$(PWD)/config.mk -export COMPAT_CONFIG=$(PWD)/.config +export COMPAT_CONFIG=$(PWD)/compat/.config +export BACKPORT_CONFIG=$(PWD)/.config But I'm done for the day. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: ignore .o files and .o.d dirsLuis R. Rodriguez1-0/+2
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: backport mac80211 set_multicast_list() 488b366aLuis R. Rodriguez1-0/+67
Synchs with next-20130326 The addition of the new mac80211 driver callback set_multicast_list() uses the struct netdev_hw_addr_list added as of 2.6.35. We already dealt with backporting this collateral evolution through the changes that went in on for the prepare_multicast() callback, as well as porting Ethernet driver usage of this. This is all dealt with on the patch: patches/collateral-evolutions/network/25-multicast-list_head.patch Reviewing that gave a quick idea of how to backport this new callback in a similar way. commit 488b366a452934141959384c7a1b52b22d6154ef Author: Alexander Bondar <alexander.bondar@intel.com> Date: Mon Feb 11 14:56:29 2013 +0200 mac80211: add driver callback for per-interface multicast filter Some devices have multicast filter capability for each individual virtual interface rather than just a global one. Add an interface specific driver callback allowing such drivers to configure this. Signed-off-by: Alexander Bondar <alexander.bondar@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> 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.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] real 23m32.940s user 650m11.334s sys 79m7.021s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: fix compilation on 2.6.30Luis R. Rodriguez1-1/+1
Commit cfe9f9 did indeed fix the new changes on the TI driver for newer kernels but failed to address the removal of the wl12xx_hardirq handle no longer required for older kernels. Fix this. commit cfe9f97862b7c6eceb25932a6fec32ed0887171b Author: Luis R. Rodriguez <mcgrof@do-not-panic.com> Date: Tue Mar 26 16:14:42 2013 -0700 compat-drivers: fix collateral-evolutions/network/09-threaded-irq.patch Manual edits required due to some context changes. The change in question that caused this is commit 97236a0656034ef8512ded648cfaa3d7282534e8 Author: Luciano Coelho <coelho@ti.com> Date: Fri Mar 8 09:41:53 2013 +0200 wlcore: move handling from hardirq to the irq thread function Spin locks and completions are expensive in hard IRQ context and cause problems with RT kernels. In RT kernels, both spin locks and completions can schedule(), so we can't use them in hard irq context. Move handling code into the irq thread function to avoid that. Reported-by: Gregoire Gentil <gregoire@alwaysinnovating.com> Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: refresh patches for next-20130326Luis R. Rodriguez22-65/+67
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-26compat-drivers: fix collateral-evolutions/network/09-threaded-irq.patchLuis R. Rodriguez1-8/+5
Manual edits required due to some context changes. The change in question that caused this is commit 97236a0656034ef8512ded648cfaa3d7282534e8 Author: Luciano Coelho <coelho@ti.com> Date: Fri Mar 8 09:41:53 2013 +0200 wlcore: move handling from hardirq to the irq thread function Spin locks and completions are expensive in hard IRQ context and cause problems with RT kernels. In RT kernels, both spin locks and completions can schedule(), so we can't use them in hard irq context. Move handling code into the irq thread function to avoid that. Reported-by: Gregoire Gentil <gregoire@alwaysinnovating.com> Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-20compat-drivers: refresh patches for next-20130320Luis R. Rodriguez14-33/+33
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-15compat-drivers: refresh patches for next-20130315Luis R. Rodriguez3-4/+4
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-13compat-drivers: fix compilation on nl80211.cLuis R. Rodriguez1-0/+9
0005-netlink-portid.patch requies addition of one more hunk. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-12compat-drivers: refresh patches for next-20130312Luis R. Rodriguez23-66/+66
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-12compat-drivers: fix 0006-disable-dump-adjust-on-old-kernels.patchLuis R. Rodriguez1-14/+14
nl80211_dump_wiphy() got some huge updates throwing off the hunks completley. This required some manual updates. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-12compat-drivers: fix 0005-netlink-portid.patchLuis R. Rodriguez1-36/+36
The nl80211_send_wiphy() routine expects a dev argument first now, so the first two hunks required manual adjustments. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-11compat-drivers: fix commend for genlogLuis R. Rodriguez1-1/+1
The genlog script was giving the incorrect command we use to generate the log for the kernel, fix this. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-11compat-drivers: skip already appplied patchesLuis R. Rodriguez1-0/+28
GNU Patch does not yet support giving a different error return value for patches detected as reversed or already applied. We can add that support but for now we distinguish this by grep'ing the results. We nuke already applied patches, this typically would come from linux-next, on linux-stable branches given that there is no linearity between the two. To support this change however it means we now have the double amount of time it takes to apply patches given that we now need a dry run first. The algorithm for checking if a patch is reversed only works by analyzing the first hunk of a patch though so perhaps what we need on GNU Patch is a check for asking if a patch is reversed, that would not cause much overhead here, it would just dry run on the first hunk by reducing the search space considerably. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-08compat-drivers: fix copying of pending-stable patchesLuis R. Rodriguez1-1/+2
This correctly copies the pending-stable patches for each subsystem. When running ./scripts/admin-update.sh -s we will now stats pending-stable for each subsystem: compat-drivers code metrics 1320032 - Total upstream lines of code being pulled network ---------------------------------------- 3105 - backport code changes 2602 - backport code additions 503 - backport code deletions 15003 - backport from compat module 18108 - total backport code 1.3718 - % of code consists of backport work 192 - Code changes brought in from pending-stable 124 - Code additions brought in from pending-stable 68 - Code deletions brought in from pending-stable 0.0145 - % of code being cherry picked from pending-stable drm ---------------------------------------- 437 - backport code changes 293 - backport code additions 144 - backport code deletions 15003 - backport from compat module 15440 - total backport code 1.1697 - % of code consists of backport work Base tree: linux-stable.git Base tree version: v3.9-rc1 compat.git: compat-v3.9-rc1-1 compat-drivers release: compat-drivers-v3.9-rc1-2-4-g9f5e67f-s Code metrics archive: http://bit.ly/H6BTF7 Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-08compat-drivers: fix removal of tmp pending-stable filesLuis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-08compat-drivers: add ar5523 to driver-selectLuis R. Rodriguez1-3/+9
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-08compat-drivers: fix processing pending-stable patchesLuis R. Rodriguez2-19/+68
After we got DRM subsystem support the patches for each subsystem were separated. Stable patches then need to be broken down as well. This fixes this and restores the behaviour allowing us to make -s releases. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: add scripts/genlog-3.9Luis R. Rodriguez1-0/+116
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: documentation impact of dump adjust workaround patchLuis R. Rodriguez1-0/+25
Expand the patch documentation so users can know why they may want to upgrade. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: rename disable-dump-adjust-on-old-kernels.patchLuis R. Rodriguez1-0/+0
Rename this from: 70-disable-dump-adjust-on-old-kernels.patch to: 0006-disable-dump-adjust-on-old-kernels.patch 4 digit patches are patches which have undergone review for breaking it down as much as possible to help with seeing if some of these can later be expressed as SmPL grammer for usage with Coccinelle. At this point SmPL grammer is possible for 0001-netdev_ops.patch but that is because we have all the other 2 digit patches yet to break down further. This patch submitted by Johannes is already well broken down so rename it to annotate it has been reviewed and is as atomic as can be. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: add mac80211_hwsim support to driver-selectLuis R. Rodriguez1-1/+6
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: refresh patches for next-20130307Luis R. Rodriguez19-44/+44
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: netlink_callback min_dump_alloc only exists since 3.1Johannes Berg1-0/+21
The netlink callback min_dump_alloc only exists on kernel 3.1 so only enable using it for those kernels. If you're on an older 64-bit kernel and want this functionality of resizing the data sent to userspace for a wiphy dump then you better upgrade. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: remove network/68-do-not-add-Werror.patchLuis R. Rodriguez1-8/+0
This was added by Hauke to try to avoid causing compile errors where old kernels had warnings enabled by default such as -Werror=unused-but-set-variable. This is a common error and enabling -Werror would make compilation fail. The following upstream patch however sould take care of this by disabling -Werror if *any* -W* flag is found on EXTRA_FLAGS: commit 6f56b06e74e2805577bf7940dc0fb17b3310d6b6 Author: Chen Gang <gang.chen@asianux.com> Date: Wed Feb 27 14:55:06 2013 +0800 drivers/net/wireless/ath/wil6210: Makefile, only -Werror when no -W* in EXTRA_CFLAGS When make with EXTRA_CFLAGS=-W, it will report error. so give a check in Makefile. Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> The change was as follows: -subdir-ccflags-y += -Werror +ifeq (, $(findstring -W,$(EXTRA_CFLAGS))) + subdir-ccflags-y += -Werror +endif Since this is now upstream, just nuke this work around! Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-07compat-drivers: fix netlink portid patch for nl80211Johannes Berg1-30/+30
This required a manual fix for one hunk on nl80211.c Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-04compat-drivers: refresh unified-drivers patchesLuis R. Rodriguez2-13/+13
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-04compat-drivers: refresh patches for next-20130304Luis R. Rodriguez12-39/+39
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-04compat-drivers: fix network/99-change-makefiles.patchLuis R. Rodriguez1-1/+2
CONFIG_USB_NET_AX88179_178A is part of the hunk now, this required a manual update. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-04compat-drivers: fix network/18-rename-usb-net-symbols.patchLuis R. Rodriguez1-3/+3
CONFIG_USB_NET_AX88179_178A is now part of the first hunk, this required a manual update. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-04scripts/driver-select: use $BACKUP_EXT everywherestefan.kuhn@foss-group.ch1-8/+3
Signed-off-by: Stefan Kuhn <stefan.kuhn@hispeed.ch> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-03-01compat-drivers: refresh alx patch for INTX-MSI issuexiong1-0/+16
chip revsion less than C0 has INTX/MSI issue. this patch should be removed after the kernel drivers/pci/quirks.c contains this workaround. Signed-off-by: xiong <xiong@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-02-27compat-drivers: reference adrian's alx tree insteadLuis R. Rodriguez1-1/+1
Adrian is now maintaining the alx tree given that the BSD OS port work is now on his court. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-02-27compat-drivers: remove network/0003-alx-remove-devinit-devexit.patchLuis R. Rodriguez1-116/+0
All these changes are now merged on Adrian's alx.git tree. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-02-27compat-drivers: build driver/video/hdmi.koHauke Mehrtens3-1/+10
This module is needed by the drm driver now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-02-27compat-drivers: refresh patchesHauke Mehrtens8-37/+44
This refreshes the patches on next-20130227 Some of the drm patches needed manual editing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-02-20compat-drivers: refresh patchesHauke Mehrtens18-47/+50
Refresh patches on next-20130220 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-19compat-drivers: do not use __sock_create()Hauke Mehrtens1-0/+13
__sock_create() is not available on kernel version < 2.6.37. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-18compat-drivers: rename GPL file to COPYINGJohannes Berg1-0/+0
Code or other references in the kernel would point to a file called "COPYING" (as in the upstream kernel), so rename the GPL file to that name. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-18compat-drivers: refresh patches:Hauke Mehrtens20-78/+78
Refresh patches on next-20130218. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-18compat-drivers: move disable_drmHauke Mehrtens1-1/+1
drm should be disabled when disable_bt_usb_ethernet is selected. This disables drm also for e.g. b43. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-13compat-drivers: backport threaded IRQ for iwlwifiHauke Mehrtens1-0/+53
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-13compat-drivers: refresh patches:Hauke Mehrtens22-69/+69
Refresh patches on next-20130213. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-13compat-drivers: do not include videomode headers when this feature is ↵Hauke Mehrtens1-0/+15
deactivated Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-13compat-drivers: add missing include linux/export.hHauke Mehrtens1-0/+9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-13compat-drivers: make drm patches apply againHauke Mehrtens3-79/+41
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-10compat-drivers: refresh patchesHauke Mehrtens17-39/+39
Refresh patches on linux-next next-20130208 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-03compat-drivers: refresh patches on next-20130202Hauke Mehrtens18-68/+68
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-03compat-drivers: add missing include for exportHauke Mehrtens1-0/+20
drivers/net/wireless/ti/wlcore/scan.c and drivers/net/wireless/ti/wlcore /event.c need an #include <linux/export.h> to add EXPORT_SYMBOL_GPL on kernel 3.2 and 3.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-03compat-drivers: add include for net/if_inet6.h to net/mac80211.hHauke Mehrtens1-0/+10
Some older kernels are missing the declaration of struct inet6_dev in this file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-03compat-drivers: add the iwlwifi MVM driverHauke Mehrtens4-0/+36
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-02-03compat-drivers: make patches apply againHauke Mehrtens1-3/+3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-26compat-drivers: update genlog-3.8 for rc5Hauke Mehrtens1-1/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-25compat-drivers: use backport for second workqueueHauke Mehrtens1-1/+13
bluetooth hci_core uses a second workqueue. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-25compat-drivers: deactivate mac80211_hwsim for kernel < 2.6.31Hauke Mehrtens2-2/+9
kernel version < 2.6.31 does not support tasklet_hrtimer, so deactivate the driver there. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-25compat-drivers: refresh alx patchesHauke Mehrtens2-21/+21
This was done against alx-20130124. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-25compat-drivers: deactivate loopback testing for older kernelsHauke Mehrtens1-0/+25
ETH_TEST_FL_EXTERNAL_LB and ETH_TEST_FL_EXTERNAL_LB_DONE are not available in kernel version < 3.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-25compat-drivers: do not treat a warning as errorHauke Mehrtens1-0/+8
Older kernel version show more warnings like -Werror=unused-but-set-variable and with this option they are treated as an error. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-24compat-drivers: refresh patchesHauke Mehrtens15-56/+56
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-24compat-drivers: remove devinit and devexit from alx driverHauke Mehrtens1-0/+116
devinit and devexit were removed from kernel version 3.8 and using it causes compile problems. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-01-21compat-drivers: refresh patches for next-20130121Luis R. Rodriguez15-40/+40
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-21compat-drivers: fix driver-select for atheros driversLuis R. Rodriguez1-10/+17
The addition of the new wil6210 driver added a new ATH_CARDS option to be used to describe Atheros cards and now uses ATH_COMMON for the common module ath. This requires fixing the driver-select script so that the drivers are enabled properly. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-21compat-drivers: do not call make clean for unified driversLuis R. Rodriguez1-1/+0
We can skip the make clean process for unified drivers given that the script that makes compat-drivers releases, gen-releases.sh, already ensures that we call $(git clean -f -x -d) on each git tree we are cherry picking code from. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-21compat-drivers: disable DRM drivers for 802.11 driversLuis R. Rodriguez1-0/+2
When using driver-select disable DRM driver sfor 802.11 drivers. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10Revert "compat-drivers: remove wil6210 driver from scripts/driver-select"Luis R. Rodriguez1-3/+9
This reverts commit efe0d228ae559546ffea85be9047899f10a13d30.
2013-01-10compat-drivers: refresh patches for next-20130110Luis R. Rodriguez5-12/+12
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10compat-drivers: add new mac80211 debug optionsHauke Mehrtens1-7/+12
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10compat-drivers: fix section mismatch in ath5kHauke Mehrtens1-0/+11
Fix section mismatch introduced by removing __devinitconst usage from the kernel. WARNING: /home/hauke/compat-wireless/compat-wireless/drivers/net/wireless/ath/ath5k/ath5k.o(.text+0x13898): Section mismatch in reference from the function ath5k_init_leds() to the variable .devinit.rodata:ath5k_led_devices The function ath5k_init_leds() references the variable __devinitconst ath5k_led_devices. This is often because ath5k_init_leds lacks a __devinitconst annotation or the annotation of ath5k_led_devices is wrong. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10compat-drivers: add wil6210 driverHauke Mehrtens3-0/+18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10compat-drivers: remove 'v' prefix from version on ChangeLogLuis R. Rodriguez1-1/+1
As with the previous commit this follows the kernel.org model as well as the older releases we were making. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-10compat-drivers: trim 'v' prefix from ChangeLog fileLuis R. Rodriguez2-2/+2
This follows the kernel.org releases as well as our old releases. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-08compat-drivers: update genlog-3.8Luis R. Rodriguez1-4/+6
This updates genlog-3.8 so it adds the extra version postfix number. Even though the Linux kernel release may remain stable we may at times make a new release of compat-drivers to update fixes for backporting. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-08compat-drivers: add genlog-3.8Luis R. Rodriguez1-0/+114
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-08compat-drivers: refresh patchesLuis R. Rodriguez28-106/+106
Refreshes patches for next-20130108 Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-08compat-drivers: fix 61-netdev-addr_assign_type.patchLuis R. Rodriguez1-24/+2
The following two patches adjusted uses of NET_ADDR_RANDOM on some Ethernet drivers. This change adopts these changes on the 61-netdev-addr_assign_type.patch patch. commit 15c6ff3bc0ff3464a8c7efcdea09c86454571622 Author: Jiri Pirko <jiri@resnulli.us> Date: Tue Jan 1 03:30:17 2013 +0000 net: remove unnecessary NET_ADDR_RANDOM "bitclean" NET_ADDR_SET is set in dev_set_mac_address() no need to alter dev->addr_assign_type value in drivers. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net> commit e41b2d7fe7803e85e1202d0eb172717d7bf1bbaf Author: Jiri Pirko <jiri@resnulli.us> Date: Tue Jan 1 03:30:15 2013 +0000 net: set dev->addr_assign_type correctly Not a bitfield, but a plain value. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-01-08compat-drivers: fix collateral-evolutions/network/53-pr_fmt.patchLuis R. Rodriguez1-105/+0
The brcmfmac driver was updated recently to only define pr_fmt() once and it also had the undef for us. Technically Joe should not have had to add the undef as I previously went on a crusade to verify that this was not needed at the driver level so an upstream patch is welcomed to remove that undef upstream and then to add it for backporting purposes. commit 79d7c4e8da4ac3cfa98e8e622a17baaeb3c9d29d Author: Arend van Spriel <arend@broadcom.com> Date: Wed Jan 2 21:20:10 2013 +0100 brcmfmac: define pr_fmt in one place Several source files (but not all) define the pr_fmt() macro in exactly the same way. Instead this commit defines it in a header file so driver logging is consistent. Cc: Joe Perches <joe@perches.com> Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28compat-drivers: refresh patchesHauke Mehrtens5-6/+6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28compat-drivers: add old suspend/resume handlers only when function is availableHauke Mehrtens1-8/+8
All the suspend resume functions are only activated when CONFIG_PM_SLEEP is set and not when CONFIG_PM is set. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28compat-drivers: make patches apply againHauke Mehrtens1-1/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28update-initramfs: Add support for FedoraOzan Çağlayan1-2/+27
Fedora doesn't ship lsb_release anymore. So try to read /etc/os-release to find whether distribution is Fedora. If Fedora is found, generate a new initramfs suffixed with -compat-drivers to not override the distribution kernel's default one. Also add a new kernel entry to grub2 configuration without overriding the default boot entry. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28update-initramfs: Silence lsb_release outputOzan Çağlayan1-1/+1
Silence lsb_release output to avoid command not found errors on distributions not having lsb_release like Fedora. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-28update-initramfs: Update comments, fix some typosOzan Çağlayan1-7/+5
update-initramfs is crucial for DRM drivers, let's clarify this. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-19compat-drivers: refresh 0001-backport-alx.patchLuis R. Rodriguez1-7/+6
Refresh patches again. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-19compat-drivers: refresh patch 0001-backport-alx.patchLuis R. Rodriguez1-5/+5
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-19compat-drivers: update 0001-backport-alx.patch contextLuis R. Rodriguez1-3/+3
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-19compat-drivers: fix alx backport patchLuis R. Rodriguez1-6/+7
The hunks required some manual fixing due to some new code changes on the alx driver. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-18compat-drivers: refresh patches for next-20121218Luis R. Rodriguez4-9/+9
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-14compat-drivers: allow git-paranoia to work on current directoryLuis R. Rodriguez1-5/+10
This allows you to run git-paranoia on your current directory. It will return 0 if everything is squeeky clean. This is useful if for example you want to run a cronjob to update git trees but never update them if you have any deltas in place of any kind. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-14compat-drivers: refresh -u patchesLuis R. Rodriguez1-3/+3
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-14compat-drivers: refresh patches for next-20121214Luis R. Rodriguez7-20/+20
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-12compat-drivers: refresh patches for next-20121211Luis R. Rodriguez27-99/+99
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: ship include/linux/bcm47xx_wdt.hLuis R. Rodriguez1-1/+2
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: remove 67-use_spinlock_t.patchLuis R. Rodriguez1-11/+0
This work is now upstream. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: fix 62-usb_driver_lpm.patchLuis R. Rodriguez1-1/+1
CONFIG_HOTPLUG is going away soon so a few helpers can be removed now. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: fix 45-remove-platform-id-table.patchLuis R. Rodriguez1-2/+2
CONFIG_HOTPLUG is going away soon so a few init/remove helpers are being removed. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: remove __devexit_p() from 11-dev-pm-ops.patchLuis R. Rodriguez1-5/+5
The __devexit_p() was removed from a few drivers given that CONFIG_HOTPLUG is going away. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-11compat-drivers: remove ksize() ifdef on scan.cLuis R. Rodriguez1-32/+0
The patch bellow remove the usage of ksize() so just remove that hunk. commit 9caf03640279e64d0ba36539b42daa1b43a49486 Author: Johannes Berg <johannes.berg@intel.com> Date: Thu Nov 29 01:25:20 2012 +0100 cfg80211: fix BSS struct IE access races When a BSS struct is updated, the IEs are currently overwritten or freed. This can lead to races if some other CPU is accessing the BSS struct and using the IEs concurrently. Fix this by always allocating the IEs in a new struct that holds the data and length and protecting access to this new struct with RCU. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-04compat-drivers: modify release script to support unified driversLuis R. Rodriguez1-3/+9
The -u argument was used to upload releases to kernel.org. Lets rename this to -r for 'release to kernel.org' given that we have no introduced -u for unified-drivers support into compat-drivers. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-04compat-drivers: fix alx suspend/resume calls for old kernelsLuis R. Rodriguez1-2/+2
The declarations compat_pci_suspend() and compat_pci_resume() must be placed before SIMPLE_DEV_PM_OPS(). Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-04compat-drivers: add the MDIO moduleLuis R. Rodriguez2-1/+14
The alx Ethernet driver depends on the MDIO module. This module has UAPI and kernel headers. The headers are carried over intact to help *both* backport it for older drivers and also provide the newer driver to other kernels that may have it enabled after it was introduced in 2.6.31. The way support for MDIO is enabled is by carrying over both the UAPI and Linux kernel header files along with the module with in compat-drivers. The exported symbols of the module however are renamed with a compat_* prefix within compat in include/linux/compat-2.6.31.h. This enables Linux distributions shipping a driver that depends on older versions of the MDIO to keep using it while allowing the supplied drivers in compat-drivers to become users of the newer module it likely will require a tighter dependency on. An alternative to using different exported symbol names is for compat-drivers to work under a separate namespace and while I hear some folks already implemented that support we never got those patches sent to us. C'est la vie. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-03compat-drivers: fix 11-dev-pm-ops.patchLuis R. Rodriguez1-80/+30
Hauke had sent out patches to help clean up the pm run time callbacks to allow this patch to be simplified. This takes care of the required changes. This goes compile tested against next-20121203 mcgrof@drvbp1 ~/devel/compat-drivers (git::master)$ time ckmake Trying kernel 3.6.5-030605-generic [OK] Trying kernel 3.5.7-030507-generic [OK] Trying kernel 3.4.17-030417-generic [OK] Trying kernel 3.3.8-030308-generic [OK] Trying kernel 3.2.33-030233-generic [OK] Trying kernel 3.1.10-030110-generic [OK] Trying kernel 3.0.50-030050-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-02063513-generic [OK] Trying kernel 2.6.34-02063413-generic [OK] Trying kernel 2.6.33-02063320-generic [OK] Trying kernel 2.6.32-02063260-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 18m42.239s user 327m50.029s sys 53m37.317s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-01compat-drivers: fix typo which removed entries on MakefileLuis R. Rodriguez1-0/+10
The commit below removed by mistake some entries on the top level Makefile. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-12-01compat-drivers: fix alx backport on netdev featuresLuis R. Rodriguez1-19/+14
This updates the hunks that deal with the netdevice features. We no longer need device checks given that the driver no longer supports atl1c devices. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: fix typo on 0002-enable-alx.patchLuis R. Rodriguez2-11/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: add disable_drm to driver-selectLuis R. Rodriguez1-0/+5
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: split up admin-update.shLuis R. Rodriguez2-144/+172
This splits up admin-update.sh into a few sections by separating functionality into routine helpers. This allows us to add base refresh with -b so that drivers that only need the base code can update the compat labels. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: add Debian to scripts/update-initramfsLuis R. Rodriguez1-1/+7
I've tested this on Debian now. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: update refresh-compat scriptsLuis R. Rodriguez2-2/+2
This updates the refresh-compat scripts to account for having patches in extended directories. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-30compat-drivers: add support for unified driversLuis R. Rodriguez8-5/+274
Companies typically write Linux device drivers either from scratch of alternatively based on some internal unified source code tree. Typically the unified driver architecture is a mess and porting a driver to linux is always a painful task to the extent at times a full rewrite is required and at times preferred. In order to try to help with these type of unified driver strategies one possibility that has been proposed is to make the unified driver strategy an open source project and to not make many compromises on the style and requirements for Linux. The alx Linux driver [1] is not yet upstream and is undergoing changes to try to accomodate it to a format and use new technologies to help address unification attempts in both an open manner and also lead by the community. compat-drivers will support these type of driver efforts only if they adhere to the principles of never compromising Linux upstream requirements and are targetting getting upstream into the Linux kernel. Once these drivers are upstream, their respective git trees will be removed and we'll simply cherry pick the driver as we do from upstream Linux. If a compat-drivers releases contains drivers that are from a unified git repository the release will be postfixed with a "-u". [1] http://www.linuxfoundation.org/collaborate/workgroups/networking/alx Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Adrian Chadd <adrian@freebsd.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: move all patch types under patches/Luis R. Rodriguez82-13/+13
The number of patch directories for the different life cycle a patch can be on its way upstream had reached 4: * pending-stable * linux-next-pending * linux-next-cherry-picks * crap Apart from this we also had the backport related patches. In the future I see potential for other directories for different categories of patches. Consider how we are breaking down the backport patches into specific documented collateral evolutions and of those type of collateral evolutions there may be different types of collateral evolutions which we could likely treat / document differently. Another type of patch that I forsee us having to deal with are patches for drivers that are not upstrea -- like crap, but for drivers in a unified driver tree that is *designed* from scratch to be targetting upstream Linux inclusion using the same coccinelle technology I forsee us using for backporting collateral evolutions. Since the number of patch directories can get out of hand at the top level lets just stuff then all under patches/ and deal with patches there. This also places the backport patches into a directory called collateral-evolutions/ to help promote and educate on the nature of the changes that we have to deal with when backporting. Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Adrian Chadd <adrian@freebsd.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: refresh patches for next-20121129Luis R. Rodriguez2-2/+2
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: make patches apply againHauke Mehrtens1-2/+3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: do not apply patches in natural sort orderHauke Mehrtens1-1/+1
Without this patch the patches are applied in the natural sort order of numbers, which caused this order for patches/network/: patches/network/0001-netdev_ops.patch patches/network/02-ksize.patch patches/network/0002-net-misc.patch patches/network/0003-netdev-needed_headroom_tailroom.patch patches/network/03-rfkill.patch patches/network/04-netns.patch patches/network/0004-wext-namespace.patch patches/network/0005-netlink-portid.patch patches/network/05-usb.patch The non natural sort order of numbers is more the intended way to order the patches as now the spdiff patches are in front of all the other patches. This makes the patches in patches/network/ to be applied in the flowing order: patches/network/0001-netdev_ops.patch patches/network/0002-net-misc.patch patches/network/0003-netdev-needed_headroom_tailroom.patch patches/network/0004-wext-namespace.patch patches/network/0005-netlink-portid.patch patches/network/02-ksize.patch patches/network/03-rfkill.patch patches/network/04-netns.patch patches/network/05-usb.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: run refresh for all patchesHauke Mehrtens1-1/+1
In the past refresh with quilt was just run for the last patch directory being applied and not for all, because our script had problems when patchRefresh() was called more then once in a single admin-update.sh run. This was fixed in the last patch and now it is safe to run it on all patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: prevent mixing patches from different directories in refreshHauke Mehrtens1-0/+8
The refresh script is able to take an already existing quilt run and just refresh the further needed patches. This is needed to make it possible to manually fix a patch which is not applying any more and then automatically integrate it into the patches directory again. With the integration of drm it could happen that quilt is running on two different source directories like patches/network and patches/drm in one call of admin-update.sh. If some of the drm patches did not apply and needed a manual fix, quilt moved the patch in the second run into the patches/network directory, because it was taken in the network refresh run. This patch does not run quilt if there is still an unfinished quilt job for a different patch directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: remove copy of README in refreshHauke Mehrtens1-1/+0
There is no README file in the patches folder like patches/drm/README any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: print original name and path of patch in refreshHauke Mehrtens1-1/+1
In the old version patches.orig/<patch name>.patch was printed as the current patch quilt is working on in refresh, now e.g. patches/network /<patch name>.patch is printed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: do not use struct spinlockHauke Mehrtens1-0/+11
struct spinlock does not exists on kernel version <= 2.6.32, use spinlock_t instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: add import to fix compile errorHauke Mehrtens1-0/+10
On kernel version <= 2.6.28, I saw the following compile error without this patch: /net/wireless/util.c: In function ‘cfg80211_get_p2p_attr’: /net/wireless/util.c:1120:4: error: implicit declaration of function ‘get_unaligned_le16’ [-Werror=implicit-function-declaration] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: refresh patchesHauke Mehrtens29-174/+146
This was done by running "./scripts/admin-refresh.sh refresh". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: build RTL8723AEHauke Mehrtens2-0/+34
This driver is building on all supported kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: remove option for alx driverHauke Mehrtens1-1/+0
The alx driver was removed from crap and also remove the config option. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-29compat-drivers: make patches apply againHauke Mehrtens6-73/+92
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-16compat-drivers: disable mwifiex for kernels older than 2.6.27Luis R. Rodriguez2-1/+25
mwifiex got Multiqueue support and while we do port multiqueue I'm really fucking lazy to port this driver particular changes over given that I really don't think anyone on planet earth will be using it for kernels older than 2.6.27. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-16compat-drivers: add rtl8723ae codeLuis R. Rodriguez1-0/+1
Note this driver is disabled for now. I really want to start applying SmPL for porting this driver for all known collateral evolutions. At least for the netdev_attach_ops() one. I'm adding this in to help build the tree as without this the compilation was failing. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: rename drm config symbolsHauke Mehrtens1-18/+104
When config symbols are renamed they should be renamed at all places and not just at some places. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: add CONFIG_MWIFIEX_USB in config.mkHauke Mehrtens2-0/+12
The driver at least compiles with all supported kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: add CONFIG_RT2800PCI_RT3290 in config.mkHauke Mehrtens1-0/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: remove CONFIG_WIL6210 from config.mkHauke Mehrtens1-5/+0
The device driver was removed from crap some time ago. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drviers: remove CONFIG_IWM from config.mkHauke Mehrtens1-4/+0
The device driver was removed from the kernel some time ago. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: add CONFIG_BT_WILINK in config.mkHauke Mehrtens1-0/+3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: activate CONFIG_BT_HCIUART_3WIRE in config.mkHauke Mehrtens1-0/+1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-15compat-drivers: remove CONFIG_ATH9K_PKTLOG form config.mkHauke Mehrtens1-1/+0
This option is not available any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: refresh patchesHauke Mehrtens34-103/+103
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: add ar5523 driverHauke Mehrtens2-0/+3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Enable ATI/AMD Radeon for kernels >= 3.2Ozan Çağlayan1-3/+8
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: drm: Revert ACPI table size check for < 3.6Ozan Çağlayan1-0/+29
acpi_get_table_with_size() was exported with kernels >= 3.6. Revert the size checking for kernels < 3.6. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Rename CONFIG_DRM_RADEON_KMSOzan Çağlayan1-0/+20
Prefix it with CONFIG_COMPAT_ to allow setting it correctly. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Update READMEOzan Çağlayan1-0/+1
Add GPU subsystem information to README.md. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Enable nouveau DRM driver for kernels >= 3.3Ozan Çağlayan1-0/+9
Enable Nouveau DRM driver for kernels >= 3.3. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Fix commentsOzan Çağlayan1-4/+5
The comments were wrong causing a misunderstanding while analyzing the script's function. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Rename CONFIG_DRM_NOUVEAU_BACKLIGHTOzan Çağlayan1-0/+21
This was forgotten during the generation of the renaming patch. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Add missing config checkOzan Çağlayan1-0/+1
No configuration change was retriggering config update because of this missing line unless you give the 'bt' target. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Rename CONFIG_* vars in nouveau driverOzan Çağlayan1-0/+177
Nouveau used 2 Kconfig defined vars to set debugging log levels. Rename to for being able to set them from config.mk correctly. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-11-04compat-drivers: Handle int's when generating compat_autoconf.hOzan Çağlayan1-3/+9
Some Kconfig variables take integer values instead of y/m/N like CONFIG_NOUVEAU_DEBUG and CONFIG_NOUVEAU_DEBUG_DEFAULT. Currently all values other than y/m/N were escaped with double-quotes to define them as strings. Fix this to allow integer values for Kconfig variables. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-27compat-drivers: Copy core/ subdir of nouveau driverOzan Çağlayan1-0/+3
This was introduced with the latest nouveau code rewrite. Copy this directory too. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-27compat-drivers: deactivate cfg80211 tracing for kernels <= 2.6.32Hauke Mehrtens2-1/+17
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-27compat-drivers: make patches apply againHauke Mehrtens3-13/+14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-24compat-drivers: Enable CONFIG_DRM_LOAD_EDID_FIRMWAREOzan Çağlayan2-0/+12
This was added in 3.4. Rename the option in the relevant source file and enable CONFIG_COMPAT_DRM_LOAD_EDID_FIRMWARE in config.mk to build the symbol into DRM_KMS_HELPER kernel module. Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-24compat-drivers: Separate code metrics for each subsystemOzan Çağlayan1-0/+2
Add a subsystem marker before code metrics to differentiate between multiple subsystems, e.g. drm, network, etc.: compat-drivers code metrics 1181683 - Total upstream lines of code being pulled network ---------------------------------------- 3109 - backport code changes 2580 - backport code additions 529 - backport code deletions 12754 - backport from compat module 15863 - total backport code 1.3424 - % of code consists of backport work drm ---------------------------------------- 301 - backport code changes 219 - backport code additions 82 - backport code deletions 12754 - backport from compat module 13055 - total backport code 1.1048 - % of code consists of backport work Signed-off-by: Ozan Çağlayan <ozancag@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-24compat-drivers: fix admin-update.sh networkLuis R. Rodriguez1-0/+2
Sujith reported that building after admin-update.sh network we get a build error with drm. Fix this by creating an empy drm Makefile. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add target path for ChangeLog fileLuis R. Rodriguez1-1/+1
Forgot to add the target directory for kup upload on the ChangeLog file. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: fix ChangeLog file nameLuis R. Rodriguez2-2/+3
This will now produce something like: ChangeLog-v3.7-rc1-4 Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add genlogLuis R. Rodriguez2-0/+124
This will generate log files for our releases. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add / to target stable release end dirLuis R. Rodriguez1-1/+1
This should fix uploading via kup using scripts/gen-release.sh Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add support for uploading stable releasesLuis R. Rodriguez1-1/+14
This adds support for uploading stable compat-drivers releases. The new stable releases will go on: http://www.kernel.org/pub/linux/kernel/projects/backports/stable/ Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: fix sed for gen-release.shLuis R. Rodriguez1-1/+1
The replacement was removing the 's' from the compat-drivers name, and generating 'compat-driers'. We don't yet backport support for laundry machines so fix this. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add rfkill.h from UAPI pathLuis R. Rodriguez2-1/+33
The rfkill.h header was moved to the UAPI path, copy it over. But there is one more issue we would need to address. The UAPI changes split up the kernel and userspace API headers into separate directories. We provide backport support for the new rfkill module to kernels older than 2.6.31. To allow us to dynamically provide only backport support for those kernels we have a trick within compat to provide its own include/linux/rfkill.h header which then will include either your own kernel's rkfill.h or include the one we are taking from linux-next. The one we take from linux-next is renamed to rfkill_backport.h. In order to allow the call to include your own kernel's rfkill.h the compat rfkill.h uses include_next. The UAPI changes would mean though that instead of getting your own kernel's rfkill.h you'd end up getting the UAPI header file. Fix this by ensuring that for new kernels we linux_next into the user's kernels rfkill.h and if the kernel is old we still to the rfkill_backport.h naming scheme. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: remove wil6210 driver from scripts/driver-selectLuis R. Rodriguez1-9/+3
This can be reverted once wil6210 get into Linux upstream. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: remove alx driver from scripts / MakefileLuis R. Rodriguez4-11/+4
This can be reverted once the driver gets onto Linux upstream. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: remove full drivers from crapLuis R. Rodriguez4-19407/+0
Moving forward no full drivers will be accepted into crap/. As the alx drivers has proven this only slows down access to getting users a proper driver. Restricting the driver to be made available only through compat-drivers has provided less visibility and access to the drivers. The purpose of adding drivers into crap/ over upstream drivers/staging/ was that some developers may prefer to not go through the staging development process if they were sure they could meet the proper upstream quailty criteria in a timely manner. Practice shows that even if this is claimed in the end the driver just ends up bit rotting away in crap/ over a few kernel releases. Lets stop that. If you want your driver accessible or automatically backported you have two options: * Linux upstream drivers/staging/ * Linux upstream proper Choose wisely. The additional patch directories then remain useful only for patches content that is already present on Linux upstream, nothing more. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-19compat-drivers: add uapi/dri to WSTABLELuis R. Rodriguez1-0/+1
This will let us ensure we can query these files for stable patch generation purposes. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-17compat-drivers: fix handing of include/uapiHauke Mehrtens3-135/+11
The kernel make file uses an include path of kernel/include, kernel/include/uapi (I removed all the other unrelated paths). Now compat-drivers should also use this path otherwise we have to patch many files. With this patch for compat-drivers it creates a include path like this: w-d/include, w-d/include/uapi, kernel/include, kernel/include/uapi that way this is similar to the way the kernel does it. When copying all the upai headers like it was done before in compat- drivers, some headers in c-d/include/uapi will overwrite some important headers in the kernel, we should just copy the files we actually need. With this patch compat-drivers compiles for me against my Ubuntu 3.2 kernel, it still fails on some other kernel versions, with as I see it, uapi unrelated errors. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-17compat-drivers: make patches apply againHauke Mehrtens1-9/+8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-12compat-drivers: add UAPI backport fixesLuis R. Rodriguez1-0/+131
The patch was posted for inclusion upstream. The DRM code uses some include headers and if we are not specific about the path what ends up happening is our old kernel header files gets used instead of the new UAPI header files. For details on the UAPI changes: http://lwn.net/Articles/507794/ Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-12compat-drivers: copy over uapi headersLuis R. Rodriguez1-0/+3
For details on the new UAPI changes see: http://lwn.net/Articles/507794/ Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-11compat-drivers: refresh patches for next-20121011Luis R. Rodriguez5-7/+7
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: change condition for kernel.org release targetLuis R. Rodriguez1-2/+3
When making a kernel.org release you should use gen-release.sh -u, so just checking for the usage of that variable is better. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: add gen-release.sh -k optionLuis R. Rodriguez1-1/+18
This should be used for those who really know what they are doing and making proper releases. This will force using 'git clean -x -d -f'. You really should understand what this does before you use this. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: add verbose help options for gen-release.shLuis R. Rodriguez1-0/+7
Be a bit more descriptive on usage for flags. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: update gen-release.sh to use git cleanLuis R. Rodriguez1-0/+5
gen-release.sh is updated to force git-paranoia to run git clean for us when uploading to kernel.org. Note that usage of kup is only for kernel.org uploading and as such not for the faint of heart. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: improve git-paranoia with git cleanLuis R. Rodriguez1-2/+17
git clean can be used to further sanitize releases. git clean -x -d -f Will spit shine your release from any even files you may have lying around that you tell git to ignore. We use the -n option to git clean to warn the user of unwanted content. If someone is really make releases they should read and understand git clean man pages and also understand that running git-paranoia with -c will wipe out clean all content found by 'git clean -x -d -n'. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: Fix typo for CONFIG_BT_HCIUARTKyle Manna1-1/+1
The config value should be set to a lowercase 'm' or the config is ignored and the associated module doesn't build. Fix this. Signed-off-by: Kyle Manna <kyle.manna@fuel7.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: refresh patches for next-20121008Luis R. Rodriguez8-31/+31
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: fix 98-pr_fmt.patchLuis R. Rodriguez1-11/+11
This fixes patches/drm/98-pr_fmt.patch for next-20121008 for header path updates for DRM drivers. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-08compat-drivers: fix 04-revert-prime-support.patchLuis R. Rodriguez1-30/+27
This fixes the patch patches/drm/04-revert-prime-support.patch for next-20121008. There is quite a bit of changes with hunk differences that required manual editing. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-02compat-drivers: copy over amp.h as a bluetooth headerLuis R. Rodriguez1-1/+3
Brought to us by Intel via: commit 903e45411099ae8292f5ce637ad0c72f6fef61db Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Date: Thu Sep 27 17:26:09 2012 +0300 Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc When receiving A2MP Get AMP Assoc Request execute Read Local AMP Assoc HCI command to AMP controller. If the AMP Assoc data is larger than it can fit to HCI event only fragment is read. When all fragments are read send A2MP Get AMP Assoc Response. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-02compat-drivers: refresh patches for next-20121002Luis R. Rodriguez17-41/+41
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-02compat-drivers: fix patches/drm/04-revert-prime-support.patchLuis R. Rodriguez1-6/+6
Required manual intervention due to hunk differences. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-10-02compat-drivers: fix patches/network/25-multicast-list_head.patchLuis R. Rodriguez1-4/+4
Hunk offsets differences required manual intervention. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-09-28compat-drivers: enable DRM drivers compilationLuis R. Rodriguez6-24/+138
Ozan Çağlayan had done most of the work to suck in all the DRM drivers but left out the enablement of compiling the drm drivers. The DRM drivers were also not load tested. This patch enables to test compilation by renaming the DRM Kconfig options with a _COMPAT prefix and enables compilation by default for the i915 drm driver which I can test against at run time on my laptop running on v3.2. Users and developer can help enable older kernels down to 3.0 (as this was the oldest supported target kernel for DRM drivers) or other DRM drivers as they are run time tested. The admin-update.sh script is modified to now always run by including the DRM code and patching it accordingly. If you happen to only want networking code you can do so by supplying the network argument to the script as follows: ./scripts/adming-update.sh network This will disable taking in DRM code. It should be noted that although only the i915 drm driver is being enabled all other drivers except the following have been test compiled to work down to v3.0. -obj-$(CONFIG_COMPAT_DRM_TDFX) += tdfx/ -obj-$(CONFIG_COMPAT_DRM_R128) += r128/ -obj-$(CONFIG_COMPAT_DRM_MGA) += mga/ -obj-$(CONFIG_COMPAT_DRM_SIS) += sis/ -obj-$(CONFIG_COMPAT_DRM_SAVAGE)+= savage/ -obj-$(CONFIG_COMPAT_DRM_EXYNOS) +=exynos/ -obj-$(CONFIG_COMPAT_DRM_UDL) += udl/ Apart from the above drivers we should be able to enable the other drivers as reports come in for run time testing on them. As it is right now only the i915 goes run time tested -- by me. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-09-28compat-drivers: backport usage of shmem_truncate_range() on i915Luis R. Rodriguez1-0/+44
Backport e2377fe0b -- this could likely be implemented on compat.git but I'd much prefer a better review of that. For now this stays as a patch. commit e2377fe0b65e3c7577ff6df1701c56ef477d336f Author: Hugh Dickins <hughd@google.com> Date: Mon Jun 27 16:18:19 2011 -0700 drm/i915: use shmem_truncate_range The interface to ->truncate_range is changing very slightly: once "tmpfs: take control of its truncate_range" has been applied, this can be applied. For now there is only a slight inefficiency while this remains unapplied, but it will soon become essential for managing shmem's use of swap. Change i915_gem_object_truncate() to use shmem_truncate_range() directly: which should also spare i915 later change if we switch from inode_operations->truncate_range to file_operations->fallocate. Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Keith Packard <keithp@keithp.com> Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-09-28compat-drivers: address usage of intel_enable_gtt() for i915Luis R. Rodriguez1-0/+37
Kernels older than 3.6 don't have intel_enable_gtt() exported and most Linux distributions have CONFIG_AGP_INTEL as built-in (y) and as such we don't bother to make it available as modular here. The change to export intel_enable_gtt() was made through commit 8ecd1a66 but previous to this the driver never called intel_enable_gtt() so we can safely assume we can do the same for older kernels. There should be a way to export an intel_enable_gtt() for kernels with CONFIG_AGP_INTEL as built-in but that itself is a project. commit 8ecd1a6615f0d9de6759aafe229bc1cc4ee99c7b Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Thu Jun 7 15:56:03 2012 +0200 drm/i915: call intel_enable_gtt When drm/i915 is in control of the gtt, we need to call the enable function at all the relevant places ourselves. Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> This now goes with i915 run time tested against 3.2.0-3-amd64 and code extrated from linux-next next-20120926. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2012-09-27compat-drivers: force using include/drm for header namespaceLuis R. Rodriguez1-0/+1
Turns out DRM drivers use this: #include "drmP.h" Instead of: #include <drm/drmP.h> Withtout this change we are using the older kernel's header file and not the one we are cherry pickng over from the kernel we want to help backport. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>