[PATCH 3.14 57/64] storvsc: Set the SRB flags correctly when no data transfer is needed

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: "K. Y. Srinivasan" commit dc45708ca9988656d706940df5fd102672c5de92 upstream. Set the SRB flags correctly when there is no data transfer. Without this change some IHV drivers will fail valid c

[PATCH 3.14 39/64] ext4: check for zero length extent explicitly

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in e

[PATCH 3.14 36/64] mmc: atmel-mci: fix bad variable type for clkdiv

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit 60c8f783a18feb95ad967c87e9660caf09fb4700 upstream. clkdiv is declared as an u32 but it can be set to a negative value causing a huge divisor value. Change its type to

[PATCH 3.14 38/64] ext4: fix NULL pointer dereference when journal restart fails

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit 9d506594069355d1fb2de3f9104667312ff08ed3 upstream. Currently when journal restart fails, we'll have the h_transaction of the handle set to NULL to indicate that the handle

[PATCH 3.14 64/64] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PI

[PATCH 3.14 42/64] libata: Ignore spurious PHY event on LPM policy change

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Gabriele Mazzotta commit 09c5b4803a80a5451d950d6a539d2eb311dc0fb1 upstream. When the LPM policy is set to ATA_LPM_MAX_POWER, the device might generate a spurious PHY event that cuases errors o

[PATCH 3.14 63/64] vfs: read file_handle only once in handle_to_path

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 161f873b89136eb1e69477c847d5a5033239d9ba upstream. We used to read file_handle twice. Once to get the amount of extra bytes, and once to fetch the entire structure. This m

[PATCH 3.14 40/64] jbd2: fix r_count overflows leading to buffer overflow in journal recovery

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit e531d0bceb402e643a4499de40dd3fa39d8d2e43 upstream. The journal revoke block recovery code does not check r_count for sanity, which means that an evil value of r_count

[PATCH 3.14 41/64] libata: Add helper to determine when PHY events should be ignored

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Gabriele Mazzotta commit 8393b811f38acdf7fd8da2028708edad3e68ce1f upstream. This is a preparation commit that will allow to add other criteria according to which PHY events should be dropped.

[PATCH 3.14 46/64] mac80211: move WEP tailroom size check

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Janusz Dziedzic commit 47b4e1fc4972cc43a19121bc2608a60aef3bf216 upstream. Remove checking tailroom when adding IV as it uses only headroom, and move the check to the ICV generation that actual

[PATCH 3.14 60/64] drm/radeon: add new bonaire pci id

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit fcf3b54282e4c5a95a1f45f67558bc105acdbc6a upstream. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- include/drm/drm_pciids.h |1 + 1 file changed,

[PATCH 3.14 43/64] rt2x00: add new rt2800usb device DWA 130

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Scott Branden commit ea345c145ff23197eab34d0c4d0c8a93d7bea8c6 upstream. Add the USB Id to link the D-Link DWA 130 USB Wifi adapter to the rt2830 driver. Signed-off-by: Scott Branden Signed-o

[PATCH 3.14 45/64] crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit a1cae34e23b1293eccbcc8ee9b39298039c3952a upstream. Multitheaded tests showed that the icv buffer in the current ghash implementation is not handled correctly. A mov

[PATCH 4.0 011/148] KVM: MMU: fix SMAP virtualization

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Xiao Guangrong commit 0be0226f07d14b153a5eedf2bb86e1eb7dcefab5 upstream. KVM may turn a user page to a kernel page when kernel writes a readonly user page if CR0.WP = 1. This shadow page entry

[PATCH 3.14 56/64] Input: elantech - fix semi-mt protocol for v3 HW

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 3c0213d17a09601e0c6c0ae0e27caf70d988290f upstream. When the v3 hardware sees more than one finger, it uses the semi-mt protocol to report the touches. However, it cur

[PATCH 4.0 028/148] iio:st_sensors: Fix oops when probing SPI devices

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Alban Bedel commit 8e71c04f863a1754f21b27fb8ecb773d680a0a80 upstream. In SPI mode the transfer buffer is locked with a mutex. However this mutex is only initilized after the probe, but some tra

[PATCH 4.0 031/148] iio: adc: spmi-vadc: Fix overflow in output value normalization

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: "Ivan T. Ivanov" commit 937125aca00e0478c4024afe58bc620a7bbe2a93 upstream. With 'dx' equal to 0.625V and 15 bit ADC, calculations overflow when difference against GND is ~20% of the ADC range.

[PATCH 4.0 020/148] ovl: mount read-only if workdir cant be created

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit cc6f67bcafcb62d1be1603dcd95125a52800 upstream. OpenWRT folks reported that overlayfs fails to mount if upper fs is full, because workdir can't be created. Wordir crea

[PATCH 4.0 025/148] xen/events: dont bind non-percpu VIRQs with percpu chip

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 77bb3dfdc0d554befad58fdefbc41be5bc3ed38a upstream. A non-percpu VIRQ (e.g., VIRQ_CONSOLE) may be freed on a different VCPU than it is bound to. This can result in a race be

[PATCH 4.0 029/148] iio: light: hid-sensor-prox: Fix modifier

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit c2aab3d58b96002555a3e70004f593b043830248 upstream. Currently in_proximity_(null)_raw is getting presented as raw sysfs attribute. Same with the scan_elements. The mod

[PATCH 4.0 001/148] mnt: Fail collect_mounts when applied to unmounted mounts

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit cd4a40174b71acd021877341684d8bb1dc8ea4ae upstream. The only users of collect_mounts are in audit_tree.c In audit_trim_trees and audit_add_tree_rule the path passed i

[PATCH 3.14 06/64] qla2xxx: remove redundant declaration in qla_gbl.h

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Chen Gang commit 9493c2422cae272d6f1f567cbb424195defe4176 upstream. Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and qla8044_need_reset_handler(). At present, within up

[PATCH 3.14 59/64] ACPI / init: Fix the ordering of acpi_reserve_resources()

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit b9a5e5e18fbf223502c0b2264c15024e393da928 upstream. Since acpi_reserve_resources() is defined as a device_initcall(), there's no guarantee that it will be executed in

[PATCH 3.14 44/64] gpio: gpio-kempld: Fix get_direction return value

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Brunner commit f230e8ffc03f17bd9d6b90ea890b8252a8cc1821 upstream. This patch fixes an inverted return value of the gpio get_direction function. The wrong value causes the direction sy

[PATCH 4.0 012/148] kvm/fpu: Enable eager restore kvm FPU for MPX

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Liang Li commit c447e76b4cabb49ddae8e49c5758f031f35d55fb upstream. The MPX feature requires eager KVM FPU restore support. We have verified that MPX cannot work correctly with the current lazy

[PATCH 3.14 58/64] sd: Disable support for 256 byte/sector disks

2015-06-03 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Hounschell commit 74856fbf441929918c49ff262ace9835048e4e6a upstream. 256 bytes per sector support has been broken since 2.6.X, and no-one stepped up to fix this. So disable support for it

[PATCH 4.0 013/148] ktime: Fix ktime_divns to do signed division

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit f7bcb70ebae0dcdb5a2d859b09e4465784d99029 upstream. It was noted that the 32bit implementation of ktime_divns() was doing unsigned division and didn't properly handle negative

[PATCH 4.0 010/148] kvm: fix crash in kvm_vcpu_reload_apic_access_page

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Andrea Arcangeli commit e8fd5e9e9984675f45b9a5485909c143fbde248f upstream. memslot->userfault_addr is set by the kernel with a mmap executed from the kernel but the userland can still munmap it

[PATCH 4.0 044/148] clk: add missing lock when call clk_core_enable in clk_set_parent

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Dong Aisheng commit d2a5d46b167a9a8231264daf80165b739aecf1d7 upstream. Before commit 035a61c314eb ("clk: Make clk API return per-user struct clk instances") we acquired the enable_lock in __clk

[PATCH 4.0 043/148] clk: exynos5420: Restore GATE_BUS_TOP on suspend

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 97372e5a99449b4fffa824a382ad6358066a9918 upstream. Commit ae43b3289186 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12") added pm suppo

[PATCH 4.0 096/148] gpio: gpio-kempld: Fix get_direction return value

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Michael Brunner commit f230e8ffc03f17bd9d6b90ea890b8252a8cc1821 upstream. This patch fixes an inverted return value of the gpio get_direction function. The wrong value causes the direction sys

[PATCH 4.0 120/148] md/raid0: fix restore to sector variable in raid0_make_request

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Work commit a81157768a00e8cf8a7b43b5ea5cac931262374f upstream. The variable "sector" in "raid0_make_request()" was improperly updated by a call to "sector_div()" which modifies its first a

[PATCH 4.0 087/148] ext4: check for zero length extent explicitly

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in ex

[PATCH 4.0 080/148] powerpc/mce: fix off by one errors in mce event handling

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Axtens commit ffb2d78eca08a1451137583d4e435aecfd6af809 upstream. Before 69111bac42f5 ("powerpc: Replace __get_cpu_var uses"), in save_mce_event, index got the value of mce_nest_count, an

[PATCH 4.0 039/148] iio: adc: xilinx: Fix VREFN sign

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Betker commit 97ffae1d30c3f6ceee67d5b0d3e540c08c13c744 upstream. The VREFN channel is bipolar, not unipolar. Small negative values do occur (e.g., -1mV), and unsigned conversion maps the

[PATCH 4.0 095/148] ARM: 8325/1: exynos: move resume code to .text section

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 12833bacf5d904c2dac0c3f52b2ebde5f2c5a2bc upstream. This code calls cpu_resume() using a straight branch (b), so now that we have moved cpu_resume() back to .text, this sho

[PATCH 4.0 101/148] sched: Handle priority boosted tasks proper in setscheduler()

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 0782e63bc6fe7e2d3408d250df11d388b7799c6b upstream. Ronny reported that the following scenario is not handled correctly: T1 (prio = 10) lock(rtmutex);

[PATCH 4.0 071/148] target/pscsi: Dont leak scsi_host if hba is VIRTUAL_HOST

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Andy Grover commit 5a7125c64def3b21f8147eca8b54949a60963942 upstream. See https://bugzilla.redhat.com/show_bug.cgi?id=1025672 We need to put() the reference to the scsi host that we got in psc

[PATCH 4.0 079/148] usb: gadget: configfs: Fix interfaces array NULL-termination

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Opasiak commit 903124fe1aa284f61745a9dd4fbfa0184e569fff upstream. memset() to 0 interfaces array before reusing usb_configuration structure. This commit fix bug: ln -s functions/acm

[PATCH 4.0 116/148] svcrpc: fix potential GSSX_ACCEPT_SEC_CONTEXT decoding failures

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew commit 9507271d960a1911a5168337d75c171cd91f upstream. In an environment where the KDC is running Active Directory, the exported composite name field returned in the context cou

[PATCH 4.0 091/148] libata: Ignore spurious PHY event on LPM policy change

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Gabriele Mazzotta commit 09c5b4803a80a5451d950d6a539d2eb311dc0fb1 upstream. When the LPM policy is set to ATA_LPM_MAX_POWER, the device might generate a spurious PHY event that cuases errors on

[PATCH 4.0 121/148] Revert "HID: logitech-hidpp: support combo keyboard touchpad TK820"

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 5006c1052aafa01dab5b0e643b7dac755b41f3bb upstream. This reverts commit 3a61e97563d78a2ca10752902449570d8433ce76. The Logitech TK820 seems to be affected by a firmware

[PATCH 4.0 036/148] iio: adc: xilinx: Fix register addresses

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Betker commit 3960d2c0c4aafe98da47a4a2eb64dfa8e88d8df5 upstream. Define the register addresses for MIN_VCCPINT, MIN_VCCPAUX, MIN_VCCO_DDR correctly. Signed-off-by: Thomas Betker Signed

[PATCH 4.0 041/148] hwmon: (nct6775) Add missing sysfs attribute initialization

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 1b63bf617206ff35b93c57c67bbe067ac735a85a upstream. The following error message is seen when loading the nct6775 driver with DEBUG_LOCK_ALLOC enabled. BUG: key 88040b2f

[PATCH 4.0 072/148] xhci: fix isoc endpoint dequeue from advancing too far on transaction error

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit d104d0152a97fade389f47635b73a9ccc7295d0b upstream. Isoc TDs usually consist of one TRB, sometimes two. When all goes well we receive only one success event for a TD, and mo

[PATCH 4.0 073/148] xhci: Solve full event ring by increasing TRBS_PER_SEGMENT to 256

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 18cc2f4cbbaf825a4fedcf2d60fd388d291e0a38 upstream. Our event ring consists of only one segment, and we risk filling the event ring in case we get isoc transfers with short

[PATCH 4.0 094/148] rt2x00: add new rt2800usb device DWA 130

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Scott Branden commit ea345c145ff23197eab34d0c4d0c8a93d7bea8c6 upstream. Add the USB Id to link the D-Link DWA 130 USB Wifi adapter to the rt2830 driver. Signed-off-by: Scott Branden Signed-of

[PATCH 4.0 067/148] staging: vt6655: Fix 80211 control and management status reporting.

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit ad3fee9b17b90b8f1ac94b615111b2f14dd90adb upstream. Currently only TD_FLAGS_NETIF_SKB are reported back to mac80211. Move vnt_int_report_rate to report all frame types.

[PATCH 4.0 090/148] libata: Add helper to determine when PHY events should be ignored

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Gabriele Mazzotta commit 8393b811f38acdf7fd8da2028708edad3e68ce1f upstream. This is a preparation commit that will allow to add other criteria according to which PHY events should be dropped.

[PATCH 4.0 047/148] d_walk() might skip too much

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 2159184ea01e4ae7d15f2017e296d4bc82d5aeb0 upstream. when we find that a child has died while we'd been trying to ascend, we should go into the first live sibling itself, rather th

[PATCH 4.0 068/148] staging: vt6655: vnt_tx_packet Correct TX order of OWNED_BY_NIC

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit d65d2b25d2761153390df8026cca1a528d9b6c5a upstream. The state of m_td0TD0.f1Owner should change after the buff_addr has been filled otherwise the device grabs the buffer

[PATCH 4.0 062/148] RDMA/core: Fix for parsing netlink string attribute

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Tatyana Nikolova commit ec04847c0c5b471bab2dacceadfdb803a9d1a2ea upstream. The string iwpm_ulib_name is recorded in a nlmsg as a netlink attribute. Without this fix parsing of the nlmsg by the

[PATCH 4.0 081/148] powerpc: Align TOC to 256 bytes

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 5e95235ccd5442d4a4fe11ec4eb99ba1b7959368 upstream. Recent toolchains force the TOC to be 256 byte aligned. We need to enforce this alignment in our linker script, otherwi

[PATCH 4.0 100/148] s390/mm: correct return value of pmd_pfn

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 7cded342c09f633666e71ee1ce048f218a9c5836 upstream. Git commit 152125b7a882df36a55a8eadbea6d0edf1461ee7 "s390/mm: implement dirty bits for large segment table entries"

[PATCH 4.0 142/148] vfs: read file_handle only once in handle_to_path

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 161f873b89136eb1e69477c847d5a5033239d9ba upstream. We used to read file_handle twice. Once to get the amount of extra bytes, and once to fetch the entire structure. This ma

[PATCH v2 03/16] ARM: at91/dt: kizbox: use stdout-path

2015-06-03 Thread Alexandre Belloni
The kizbox dts are using the deprecated linux,stdout-path. Replace those by stdout-path. Signed-off-by: Alexandre Belloni Acked-by: Gaƫl PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 2 +- arch/arm/boot/dts/at91-kizbox2.dts| 2 +- arch/arm/boot/dts/at91-kizboxmini.dts | 2 +- 3 files c

[PATCH 4.0 122/148] MIPS: fix FP mode selection in lieu of .MIPS.abiflags data

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 620b155034570f577470cf5309f741bac6a6e32b upstream. Commit 46490b572544 ("MIPS: kernel: elf: Improve the overall ABI and FPU mode checks") reworked the ELF FP ABI mode selecti

[PATCH 4.0 144/148] ARC: unbork !LLSC build

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit daaf40e53b5dbdf75255d58a45ce8ac65ca511a8 upstream. Fixes: f7d11e93ee97a locking,arch,arc: Fold atomic_ops Signed-off-by: Vineet Gupta Signed-off-by: Greg Kroah-Hartman --

[PATCH 4.0 119/148] md/raid5: dont record new size if resize_stripes fails.

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 6e9eac2dcee5e19f125967dd2be3e36558c42fff upstream. If any memory allocation in resize_stripes fails we will return -ENOMEM, but in some cases we update conf->pool_size anyway.

[PATCH 4.0 148/148] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE

[PATCH v2 5/5] ARM: dts: DRA7: Add dt nodes for PWMSS

2015-06-03 Thread Vignesh R
Add PWMSS device tree nodes for DRA7 SoC family and add documentation for dt bindings. Signed-off-by: Vignesh R --- .../devicetree/bindings/pwm/pwm-tiehrpwm.txt | 8 +++ .../devicetree/bindings/pwm/pwm-tipwmss.txt| 17 +- arch/arm/boot/dts/dra7.dtsi| 64

[PATCH v2 13/16] ARM: at91/dt: sama5d3 xplained: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the bootargs. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplai

[PATCH 4.0 113/148] mm, numa: really disable NUMA balancing by default on single node machines

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit b0dc2b9bb4ab782115b964310518ee0b17784277 upstream. NUMA balancing is meant to be disabled by default on UMA machines but the check is using nr_node_ids (highest node) instead

[PATCH 4.0 130/148] iwlwifi: pcie: prevent using unmapped memory in fw monitor

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Liad Kaufman commit 553452e5ffc0ed13214a287549627d02d9d7fbdc upstream. In the case of a DMA mapping error on the last iteration of the loop of the allocation of memory of the FW monitor we inde

[PATCH v2 3/5] ARM: dts: DRA7: Add TBCLK for PWMSS

2015-06-03 Thread Vignesh R
tbclk is used by ehrpwm to generate PWM waveform on DRA7 SoC. Add Linux clock to control ehrpwm tbclk. The TRM says, tbclk is derived from SYSCLKOUT. SYSCLKOUT is nothing but ehrpwm functional clock derived from the gateable interface and functional clock of PWMSS(l4_root_clk_div). Refer AM57x TRM

Re: [PATCH 1/6] regulator: core: Don't spew backtraces on duplicate sysfs

2015-06-03 Thread Mark Brown
On Mon, Jun 01, 2015 at 06:47:54PM -0700, Stephen Boyd wrote: > We don't consider a failure to add the sysfs node as a problem, > so use sysfs_create_link_nowarn() so that we don't print a Applied, thanks. signature.asc Description: Digital signature

[PATCH v2 4/5] clk: ti: DRA7: Add tbclk data for ehrpwm

2015-06-03 Thread Vignesh R
tbclk is needed by ehrpwm to generate pwm waveforms. Hence, register the required clock information. Signed-off-by: Vignesh R --- drivers/clk/ti/clk-7xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c index 5d2217ae4478..366be43d15fe 1

[PATCH 4.0 123/148] rtlwifi: rtl8192cu: Fix kernel deadlock

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 414b7e3b9ce8b0577f613e656fdbc36b34b444dd upstream. The USB mini-driver in rtlwifi, which is used by rtl8192cu, issues a call to usb_control_msg() with a timeout value of 0.

[PATCH 4.0 137/148] Revert "drm/radeon: only mark audio as connected if the monitor supports it (v3)"

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 2d1c18bba15daf89d75ce475ecd2068f483aa12f upstream. This breaks too many things. bugs: https://bugzilla.kernel.org/show_bug.cgi?id=99041 https://bugs.freedesktop.org/show_bu

[PATCH 4.0 124/148] Input: elantech - fix semi-mt protocol for v3 HW

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 3c0213d17a09601e0c6c0ae0e27caf70d988290f upstream. When the v3 hardware sees more than one finger, it uses the semi-mt protocol to report the touches. However, it curr

[PATCH 4.0 133/148] drm/radeon: retry dcpd fetch

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 0f28d1281b6c54cc98746ae61e44e7f540758ed4 upstream. Retry the dpcd fetch several times. Some eDP panels fail several times before the fetch is successful. bug: https://bugs

[PATCH 4.0 114/148] nfsd/blocklayout: pretend we can send deviceid notifications

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 40cdc7a530c7a075557651a071354bb42b99df08 upstream. Commit df52699e4fcef ("NFSv4.1: Don't cache deviceids that have no notifications") causes the Linux NFS client to sto

[PATCH 4.0 141/148] drm/amdkfd: Dont report local memory size

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Oded Gabbay commit 42e08c78360e58516b6ac8af18a75a494f2967a2 upstream. This patch sets the local memory size that is reported to userspace to 0. This is done to make sure that userspace won't tr

[PATCH 4.0 128/148] iwlwifi: mvm: clean net-detect info if device was reset during suspend

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit a500e469ead055f35c7b2d0a1104e1bd58e34e70 upstream. If the device is reset during suspend with net-detect enabled, we leave the net-detect information dangling and this cau

[PATCH v2 14/16] ARM: at91/dt: sama5d4ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/bo

[PATCH 4.0 129/148] iwlwifi: mvm: Free fw_status after use to avoid memory leak

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Haim Dreyfuss commit 2fc863a5143d64b8f06576cc3d7fd5622c5cf3b5 upstream. fw_status is the only pointer pointing to a block of memory allocated above and should be freed after use. Note: this com

[PATCH] staging: wilc1000: Remove commented code lines

2015-06-03 Thread Sharma, Abhishek (A.)
From: Abhishek Sharma Removing the commented code lines. Signed-off-by: Abhishek Sharma --- drivers/staging/wilc1000/wilc_wlan.c | 65 1 file changed, 65 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c

[PATCH v2 2/5] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2015-06-03 Thread Vignesh R
Add hwmod entries for the PWMSS on DRA7. Set l4_root_clk_div as the main_clk of PWMSS. It is fixed-factored clock equal to L4PER2_L3_GICLK/2(l3_iclk_div/2). As per AM57x TRM SPRUHZ6[1], October 2014, Section 29.1.3 Table 29-4, clock source to PWMSS is L4PER2_L3_GICLK. But it is actually L4PER2_L3_

[PATCH v2 05/16] ARM: at91/dt: at91sam9261ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot

[PATCH v2 1/5] ARM: OMAP2+: DRA7: clockdomain: change l4per2_7xx_clkdm to SW_WKUP

2015-06-03 Thread Vignesh R
Legacy IPs like PWMSS, present under l4per2_7xx_clkdm, cannot support smart-idle when its clock domain is in HW_AUTO on DRA7 SoCs. Hence, program clock domain to SW_WKUP. Signed-off-by: Vignesh R --- arch/arm/mach-omap2/clockdomains7xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 0/5] Add support for PWMSS on DRA7

2015-06-03 Thread Vignesh R
Hi, This patch series adds support for PWMSS on DRA7. The IP is same as that present in AM33XX and AM43XX. The first patch changes clock domain in which PWMSS is present (l4per2_7xx_clkdm) to SW_WKUP. This is because legacy IPs like PWM does'nt support HW_AUTO prorperly. Hence, switch clock domai

[PATCH v2 07/16] ARM: at91/dt: at91sam9g20ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi

[PATCH v2 06/16] ARM: at91/dt: at91sam9263ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot

[PATCH v2 12/16] ARM: at91/dt: sama5d3xek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts

[PATCH v2 11/16] ARM: at91/dt: at91sam9x5ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot

Re: [PATCH tip] perf tools: Fix a compiling problem

2015-06-03 Thread Namhyung Kim
Hi Wang, On Wed, Jun 3, 2015 at 5:50 PM, Wang Nan wrote: > Commit 4bb11d012ab248d0e383008d725be0d26a74fac2 ("perf tools: Add > dso__data_get/put_fd()") has a problem: it uses a undefined variable > 'dso' in find_proc_info(), which should be 'map->dso'. The buggy code > piece is not compiled if NO

[PATCH v2 08/16] ARM: at91/dt: at91sam9m10g45ek use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/ar

[PATCH v2 02/16] ARM: at91/dt: at91sam9rlek: add RTC

2015-06-03 Thread Alexandre Belloni
Add RTC support to the at91sam9rlek. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rlek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts index d9299be3dfe9..724b9f54a60a 100644 --- a/arch/arm/boo

[PATCH v2 16/16] ARM: at91/dt: Add Acme Arietta G25

2015-06-03 Thread Alexandre Belloni
Add a minimum Device Tree for Acme Arietta G25. http://acme.systems/arietta Signed-off-by: Alexandre Belloni Cc: Sergio Tanzilli --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-ariettag25.dts | 79 +++ 2 files changed, 80 insertions(+) c

[PATCH v2 04/16] ARM: at91/dt: at91rm9200ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index 2a5d21247d7e..8dab4b75ca97 100644 --- a/arch/arm/

[PATCH v2 00/16] AT91 DT for 4.2

2015-06-03 Thread Alexandre Belloni
Hi, A dt series for 4.2: - Fix at91sam9rl RTC node and use it on at91sam9rlek - correct stdout-path for the various kizboxes - add stdout-path to the atme evaluation boards - add Acme arietta g25 device tree Changes in v2: - renamed the ariette device tree - added an aliases node to the ar

[PATCH v2 09/16] ARM: at91/dt: at91sam9n12ek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot

[PATCH v2 10/16] ARM: at91/dt: at91sam9rlek: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rlek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/d

[PATCH v2 15/16] ARM: at91/dt: sama5d4 xplained: use stdout-path

2015-06-03 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts

[PATCH v2 01/16] ARM: at91/dt: at91sam9rl: fix rtc node

2015-06-03 Thread Alexandre Belloni
The RTC lives at 0xfe00. Also reorder the node properly. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index ebf

[PATCH 4.0 086/148] ext4: fix NULL pointer dereference when journal restart fails

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit 9d506594069355d1fb2de3f9104667312ff08ed3 upstream. Currently when journal restart fails, we'll have the h_transaction of the handle set to NULL to indicate that the handle

[PATCH 4.0 112/148] tools/vm: fix page-flags build

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 4933f55fe72c86e57efc454dd6e673c7f17af5a3 upstream. libabikfs.a doesn't exist anymore, so we now need to link with libapi.a. Signed-off-by: Andi Kleen Cc: Naoya Horiguchi Si

[PATCH 4.0 147/148] md: fix race when unfreezing sync_action

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 56ccc1125bc141cf63927eda7febff4216dea2d3 upstream. A recent change removed the need for locking around writing to "sync_action" (and various other places), but introduced a sub

[PATCH 4.0 111/148] kernfs: do not account ino_ida allocations to memcg

2015-06-03 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Davydov commit 499611ed451508a42d1d7d1faff10177827755d5 upstream. root->ino_ida is used for kernfs inode number allocations. Since IDA has a layered structure, different IDs can reside

Re: [PATCH] tpm: introduce struct tpm_buf

2015-06-03 Thread Jarkko Sakkinen
On Tue, Jun 02, 2015 at 12:13:15PM -0600, Jason Gunthorpe wrote: > On Tue, Jun 02, 2015 at 04:04:22PM +0300, Jarkko Sakkinen wrote: > > +/* A string buffer type for constructing TPM commands. This is based on the > > + * code in security/keys/trusted.h. > > + */ > > + > > +#define TPM_BUF_SIZE 512

<    1   2   3   4   5   6   7   8   9   10   >