summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-15patches: refresh on v4.2.6v4.2.6-1linux-4.2.yHauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.72 [ OK ] 4 3.3.8 [ OK ] 5 3.4.110 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.92 [ OK ] 12 3.11.10 [ OK ] 13 3.12.49 [ OK ] 14 3.13.11 [ OK ] 15 3.14.56 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.23 [ OK ] 20 3.19.8 [ OK ] 21 4.0.9 [ OK ] 22 4.1.12 [ OK ] 23 4.2.5 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15backports: add of_find_property_value_of_size()Eliad Peller
Upstream commit: b3cb62500ef43511480f416f957cb6d60c24984b commit 2e98a32a274274fca0e6e ("backport: add of_property_read_u64_array()") added a call to of_find_property_value_of_size(), which is a static function, causing compilation error. Implement it locally as well. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> [remove of_find_property_value_of_size() from backport-3.10.c] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15dependencies: VIDEO_MT9P031 uses gpio consumerHauke Mehrtens
Upstream commit: 258c9f45411bd468953e16e60cc4c1821f322320 VIDEO_MT9P031 uses the GPIO consumer and should only be build on kernel version >= 3.13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15backport: add of_property_read_u64_array()Hauke Mehrtens
Upstream commit: 2e98a32a274274fca0e6e4c05bd40bfb0f449bb1 This function was added in commit b31384fa5 "Driver core: Unified device properties interface for platform firmware". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15header: change check for ACPI_COMPANIONHauke Mehrtens
Upstream commit: 129646a4e199c6442e3da366baf155fccf36aa62 Instead of using the kernel version to check if we have to add a backport for ACPI_COMPANION check for it directly. RedHat 7 backported this change to their kernel and writes a warning without this change. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15gentree: fix Makefile symbol disablingJohannes Berg
Upstream commit: 4645e84f83e0fff9fe771c3a3656fcbb9ba729fa Currently, a Makefile line like this: obj-$(CONFIG_IPW2100) += ipw2x00/ will get mangled into #obj-$(CONFIG_IPW2100+= ipw2x00/ when disabled by the gentree script. Fix the regular expression to contain the entire match as the first group, so it gets all preserved when replaced later by "#\1" using expression.sub(). This then makes it come out as #obj-$(CONFIG_IPW2100) += ipw2x00/ Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15devel: update the test kernel versionsHauke Mehrtens
Upstream commit: 0f7130e29b91ce165c48a1285b960d335a314fb2 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15backports: fix version check for page_is_pfmemallocFelix Fietkau
Upstream commit: 6d60d24ef26a14cc8836da3f3b0f03e6097c6b58 The upstream commit that added it was backported in 4.1.9 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15backports: fix typo in copy-listArend van Spriel
Upstream commit: daa652a9c09ed3c924d4dcf037fbbf995371d330 The platform data file is called st-nci.h instead of st_nci.h. Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15devel: update test kernel versionsHauke Mehrtens
Upstream commit: a09f47358c822ccd288ab586635828fe09bc21b3 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15header: add compiler-gcc5.hHauke Mehrtens
Upstream commit: 4760df0f39baef682278986b9f0e85ce8035cdd2 This adds support for gcc 5. In kernel version >= 3.18 this is shipped with the kernel, in kernel version >= 4.2 all the gcc version specific files are merged into one file. This patch got backported to many kernel versions, but ignore it because it is always the same file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15header: add page_is_pfmemalloc()Hauke Mehrtens
Upstream commit: 2fdda07a83179d14f41a15bf88ae396dae9d218d This adds page_is_pfmemalloc() which is used by the igb driver. The direct access to page->pfmemalloc was replaced by this function call in 54d985ce23 upstream commit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15header: adapt change of parameter in {add,sub}_frag_mem_limit()Hauke Mehrtens
Upstream commit: 4651f18572bb96d7232fdbcfb84beb7d58ab9f8f In older kernel versions the first parameter is "struct inet_frag_queue *q", now it is "struct netns_frags *nf", This patch adds the new versions of this function to all kernel versions older than 4.3. This change was done in upstream Linux kernel in this commit: commit 0e60d245a0be7fdbb723607f1d6621007916b252 Author: Florian Westphal <fw@strlen.de> Date: Thu Jul 23 12:05:38 2015 +0200 inet: frag: change *_frag_mem_limit functions to take netns_frags as argument Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15backports: do not add debugfs_create_devm_seqfile() on recent kernel versionsHauke Mehrtens
Upstream commit: 3fff9e333655c5e8aece30fd387ea5ded2c1bd46 An ifdef for the kernel version was missing around the header of debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not added. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15devel: update the test kernel versionsHauke Mehrtens
Upstream commit: ea593fe84e90dc7eec588bf185618369aa37a73d Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15devel: add support for deb with xzHauke Mehrtens
Upstream commit: 4bb3c811667eecfed80e23bf574e32e96676ae23 This adds basic support for debian packages using the xz compression algorithm. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-07-12patches: refresh on v4.2-rc1v4.2-rc1-1Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.69 [ OK ] 4 3.3.8 [ OK ] 5 3.4.108 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.84 [ OK ] 12 3.11.10 [ OK ] 13 3.12.44 [ OK ] 14 3.13.11 [ OK ] 15 3.14.48 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.18 [ OK ] 20 3.19.8 [ OK ] 21 4.0.8 [ OK ] 22 4.1.2 [ OK ] 23 4.2-rc1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: refresh on next-20150626backports-20150626Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc8 [ OK ] manual changes done to: patches/collateral-evolutions/media/0005-dma-no-sync/v4l2.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28dependencies: make NFC_PN544_I2C depend on kernel >= 3.17Hauke Mehrtens
NFC_PN544_I2C uses devm_gpiod_get_index() now which is not available in kernel < 3.17. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28dependencies: build NFC_NXP_NCI_I2C only on kernel >= 3.13Hauke Mehrtens
NFC_NXP_NCI_I2C uses the linux/gpio/consumer.h which is not available in kernel version < 3.13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28dependencies: build VIDEO_FB_IVTV only on kernel >= 4.2Hauke Mehrtens
VIDEO_FB_IVTV uses arch_phys_wc_add(), arch_phys_wc_del() and pat_enabled() now which are not available in older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28backport: add frame vector codeHauke Mehrtens
The media framework now uses the frame vector code which is only available from kernel 4.2 onwards. This backports the code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28backport: add get_user_pages_{locked,unlocked}()Hauke Mehrtens
The get_user_pages_locked() function is needed by the frame vector code which will be added in the next patch. While adding that, this patch also replaces the get_user_pages_unlocked() function with the original version from the next kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: use old locking for struct tty_structHauke Mehrtens
With kernel 3.12 a new locking was added to struct tty_struct. This patch makes the code use the old locking. The new locking was added in this commit: commit 6a1c0680cf3ba94356ecd58833e1540c93472a57 Author: Peter Hurley <peter@hurleysoftware.com> Date: Sat Jun 15 09:14:23 2013 -0400 tty: Convert termios_mutex to termios_rwsem Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28header: add led_trigger_remove() prototpyeHauke Mehrtens
The led_trigger_remove() function is exported on older kernel versions, but there is no pubic prototype for this function. Now the first driver makes use of this function and this patch adds the prototype. There is no LINUX_BACKPORT() guard here because we want it to point to the original function which is exported normally. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28header: add N_NCIHauke Mehrtens
It should be save to just copy it. This was added in this upstream commit: commit 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 Author: Vincent Cuissard <cuissard@marvell.com> Date: Thu Jun 11 11:25:47 2015 +0200 NFC: nci: add generic uart support Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28header: remove kparam_{block,unblock}_sysfs_write()Hauke Mehrtens
This is not used by any code in backports and was also removed from the mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28header: add kernel_param_{lock,unlock}() functionsHauke Mehrtens
In the mainline kernel the kernel module parameter locking is not protected by a global lock any more, but each module has its own lock now. This resulted in some changes in the api. This patch converts calls to the new api to the old one. This backports the changes done in this commit: commit b51d23e4e9fea6f264d39535c2a62d1f51e7ccc3 Author: Dan Streetman <ddstreet@ieee.org> Date: Wed Jun 17 06:18:52 2015 +0930 module: add per-module param_lock Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28copy: add include/linux/platform_data/nfcmrvl.hHauke Mehrtens
The new nfcmrvl driver needs a new platform data header file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28copy: rename st21nfcb.h to st_nci.hHauke Mehrtens
st21nfcb.h was renamed in the upstream kernel, do the same for backports. This rename was done in this commit: commit ed06aeefdac348cfb91a3db5fe1067e3202afd70 Author: Christophe Ricard <christophe.ricard@gmail.com> Date: Tue Jun 9 22:26:05 2015 +0200 nfc: st-nci: Rename st21nfcb to st-nci Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28header: rename duplicate include guardHauke Mehrtens
The same include guard is also used in backport/backport-include /asm-generic/barrier.h which prevents both files from being included at the same time. Reported-by: Martin Tippmann <martin.tippmann@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: backport termios usage in hci_ldiscFlorian Grandel
The file net/bluetooth/hci_ldisc.c contains references to tty->termios. These changed from pointer to instance in 3.7.0. This patch backports all references by introducing kernel version defines. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28patches: fix compile warningFlorian Grandel
Usage of the bt_tx_busylock variable was already patched but not the declaration which caused a compile warning. This patch introduces a define statement that also excludes the variable declaration. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-28headers: add missing include statementFlorian Grandel
The net/route.h header is missing when compiling against the android msm kernel. Explicitly add it here to make the kernel compile. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-25backports-update-manager: bump 4.1-rc1 to 4.1-rc8Luis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-25patches: increase 0001-netlink-portid.cocci dependabilityLuis R. Rodriguez
Using expression is pretty flexible, in this case we don't want that flexibility as it can override any struct who also uses the same variable name. For a specific example of the issue refer to the netdev-ops demo git tree [0] which provide an example of the issue with two SmPL rules. We keep the expression on the last rule on NETLINK_CB(skb) given that we know only an skb can possibly be used on it. 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc8 [ OK ] The failure on 4.1 is not related to this change, its because we are using 4.1-rc1, it fails because of the missing tty_set_termios() is not exported, 4.1-rc4 works. [0] https://github.com/mcgrof/netdev-ops.git Cc: cocci@systeme.lip6.fr Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2015-06-16header: fix warning in lockdep_assert_held()backports-20150612Hauke Mehrtens
When building the kernel there are lots of warnings like this: drivers/net/wireless/ath/ath10k/ce.c:404:21: warning: unused variable ‘ar_pci’ [-Wunused-variable] struct ath10k_pci *ar_pci = ath10k_pci_priv(ar); They are caused by an empty lockdep_assert_held() which does nothing with this variable in kernel version < 3.9. This patch replaces this macro with the version from a recent kernel and silence this warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-16patches: refresh patches on next-20150612Hauke Mehrtens
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.68 [ OK ] 4 3.3.8 [ OK ] 5 3.4.107 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.75 [ OK ] 12 3.11.10 [ OK ] 13 3.12.40 [ OK ] 14 3.13.11 [ OK ] 15 3.14.39 [ OK ] 16 3.15.10 [ OK ] 17 3.16.7 [ OK ] 18 3.17.8 [ OK ] 19 3.18.12 [ OK ] 20 3.19.5 [ OK ] 21 4.0.0 [ OK ] 22 4.1-rc1 [ FAIL ] Only kernel 4.1-rc1 will fail, because tty_set_termios() is not exported, 4.1-rc4 works. manual changes done to: drivers/media/platform/vim2m.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: fix tracing on older kernels for mt7601uHauke Mehrtens
On kernel version < 3.4 we have to include linux/interrupt.h, because it otherwise results in a long compile errors about missing HI_SOFTIRQ for example. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: deactivate struct tracing in mt7601uHauke Mehrtens
The mt7601u driver makes use of __field_struct which was added in Linux commit 4d4c9cc83. It is hard to backport this feature, so just remove the code using it on kernel version < 3.16. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15backports: add mediatek mt7601u driverHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15header: add devm_kcalloc()Hauke Mehrtens
This is needed by the mt7601u driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15header: add dev_dbg_once() and othersHauke Mehrtens
The mt7601u driver makes use of some of these functions and they are not available on kernel version < 3.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15backports: add tty_set_termios()Hauke Mehrtens
tty_set_termios() was not exported any more in kernel 4.0-rc1 (commit 632f32e21) and exported again in kernel 4.1-rc2 (commit b00f5c2dc). This patch adds the backport for kernel 4.0.X, we can not detect kernel 4.1-rc1, which would also need this fix, so bluetooth will have a compile error on kernel 4.1-rc1, kernel 4.1-rc2 and more recent versions will work. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15patches: do not use vidioc_expbuf function pointer in v4lHauke Mehrtens
More v4l drivers are now accessing the vidioc_expbuf function pointer in struct v4l2_ioctl_ops which we can not backport to kernel < 3.5. This adds some more checks around the places. We should convert this to an spatch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15backports: add HDMI driverHauke Mehrtens
Before we only copied the hdmi.h header file and not the driver. Now some other drivers need the hdmi driver code, also copy it now too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15dependencies: make VIDEO_ADP1653 depend on kernel >= 3.13Hauke Mehrtens
The driver VIDEO_ADP1653 now includes linux/gpio/consumer.h which is not available in kernel versions < 3.13. This patch makes the driver depend on kernel version >= 3.13. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15dependencies: make VIDEO_ADV7604 depend on kernel >= 3.17Hauke Mehrtens
The VIDEO_ADV7604 driver now makes use of devm_gpiod_get_index_optional() which gets less parameters in older kernel versions. This makes the driver depend on kernel >= 3.17. In addition also the VIDEO_COBALT has to depend on this kernel version because it selects VIDEO_ADV7604. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15dependencies: make two media tuners depend on kernel >= 3.3Hauke Mehrtens
The drivers MEDIA_TUNER_FC2580 and MEDIA_TUNER_TUA9001 are using devm_regmap_init_i2c() which is only believable on kernel >= 3.3, add a dependency to the driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15dependencies: make DVB_M88DS3103 and DVB_TS2020 depend on kernel > 3.8Hauke Mehrtens
The drivers DVB_M88DS3103 and DVB_TS2020 are accessing some member in struct regmap_config which is not available in kernel version < 3.8. These drivers are getting selected by some other drivers, which are now also depending on kernel >= 3.8, otherwise KConfig would ignore the dependency on kernel >= 3.8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>