[GIT PULL] ARM: SoC fixes for 4.3-rc

2015-09-26 Thread Olof Johansson
Hi Linus, Our first batch of fixes this merge window. Nothing really concerning, and diffstat is a bit inflated due to some DT contents moving around on STi platforms. Please merge! Thanks, -Olof The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f: Linux 4.3-rc1

Re: [PATCH 16/19] r8169: fix handling rtl_readphy result

2015-09-26 Thread David Miller
From: Andrzej Hajda Date: Thu, 24 Sep 2015 16:00:24 +0200 > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 >

Re: [PATCH 07/19] net: hisilicon: fix handling platform_get_irq result

2015-09-26 Thread David Miller
From: Andrzej Hajda Date: Thu, 24 Sep 2015 16:00:15 +0200 > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 >

[PATCH 1/3] Thermal: initialize thermal zone device correctly

2015-09-26 Thread Chen Yu
From: Zhang Rui After thermal zone device registered, as we have not read any temperature before, thus tz->temperature should not be 0, which actually means 0C, and thermal trend is not available. In this case, we need specially handling for the first thermal_zone_device_update(). Both thermal

[PATCH] Staging: lustre: Fix warning detected by coccicheck

2015-09-26 Thread Jayavant Kenjalkar
From: Jayavant Kenjalkar Removing redundant semicolon as detected by coccicheck. Signed-off-by: Jayavant Kenjalkar --- drivers/staging/lustre/lustre/ptlrpc/niobuf.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc/niobuf.c

[PATCH 0/3] Thermal: Fix thermal zone update problems during bootup/suspend

2015-09-26 Thread Chen Yu
This patch set is to fix a series of thermal issues during system bootup and suspend/resume. Two major reasons for these bugs are: 1.thermal core is unaware of suspending process, and uses the invalid value cached after resuming, which brings the problems. (PATCH 1/3 and 2/3] 2.thermal core

[PATCH 2/3] Thermal: handle thermal zone device properly during system sleep

2015-09-26 Thread Chen Yu
From: Zhang Rui Current thermal code does not handle system sleep well because 1. the cooling device cooling state may be changed during suspend 2. the previous temperature reading becomes invalid after resumed because it is got before system sleep 3. updating thermal zone device during

[PATCH 3/3] Thermal: do thermal zone update after a cooling device registered

2015-09-26 Thread Chen Yu
From: Zhang Rui When a new cooling device is registered, we need to update the thermal zone to set the new registered cooling device to a proper state. This fixes a problem that the system is cool, while the fan devices are left running on full speed after boot, if fan device is registered

Re: [PATCH 4/6] extcon: arizona: Add device binding for second jack detect pin on GPIO5

2015-09-26 Thread Chanwoo Choi
On Fri, Sep 25, 2015 at 6:10 PM, Charles Keepax wrote: > On Fri, Sep 25, 2015 at 09:54:26AM +0900, Chanwoo Choi wrote: >> Hi Charles, >> >> I have one comment. >> I think current extcon-arizona.c has the many platform data >> so, extcon-arizona.c use the too much if statement to support each

Re: [PATCH v2 1/3] staging: sm7xxfb: move sm712fb out of staging

2015-09-26 Thread Mike Rapoport
Hi Sudip, On Fri, Sep 25, 2015 at 07:12:06PM +0530, Sudip Mukherjee wrote: > On Thu, Sep 24, 2015 at 02:58:31PM +0300, Tomi Valkeinen wrote: > > > > On 02/09/15 15:48, Sudip Mukherjee wrote: > > > > > > > Is there a public datasheet for the HW? > I could not find one in Silicon Motion

[GIT PULL rcu/urgent] Fix two more 4.3 regressions

2015-09-26 Thread Paul E. McKenney
Hello, Ingo, This series contains two small fixes for regressions introduced during the past merge window: 1. Recent versions of gcc are fatally confused by use of a const int variable for array bounds in inline functions, one of which was introduced by 114b7fd4b (rcu:

Re: [PATCH] iio: gyro: ssp_gyro_sensor: Use devm_iio_device_register

2015-09-26 Thread Vaishali Thakkar
On Mon, Sep 21, 2015 at 4:48 PM, Karol Wrona wrote: > On 09/21/2015 11:53 AM, Jonathan Cameron wrote: >> >> >> On 21 September 2015 09:18:39 BST, Karol Wrona wrote: >>> On 09/20/2015 09:18 PM, Jonathan Cameron wrote: On 14/09/15 17:08, Vaishali Thakkar wrote: > Use resourced managed

Re: [PATCH v2] USB: serial: add Moxa UPORT 11x0 driver

2015-09-26 Thread Johan Hovold
On Tue, Sep 22, 2015 at 03:08:29PM +0200, Mathieu OTHACEHE wrote: > Add a driver which supports : > > - UPort 1110 : 1 port RS-232 USB to Serial Hub. > - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. > - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. > - UPort 1150 : 1

Re: [PATCH] Removed extra spaces, and error from checkpatch.pl

2015-09-26 Thread Jes Sorensen
Pinkesh Badjatiya writes: > Removed trailing spaces. > Fixed some errors from checkpatch.pl verification. > No changes made to actual functional code. > > Signed-off-by: Pinkesh Badjatiya > --- > drivers/staging/rtl8723au/include/rtw_cmd.h | 162 > ++-- > 1 file

Re: [PATCH] mm: fix cpu hangs on truncating last page of a 16t sparse file

2015-09-26 Thread angelo
Hi Hugh, thanks for the fast reply.. Looks like the XFS file system can support files until 16 Tera when CONFIG_LBDAF is enabled. On XFS, 32 bit arch, s_maxbytes is actually set (CONFIG_LBDAF=y) as 17592186044415. But if s_maxbytes doesn't have to be greater than MAX_LFS_FILESIZE, i agree the

Re: [PATCH] mm: fix cpu hangs on truncating last page of a 16t sparse file

2015-09-26 Thread angelo
Hi Hugh, thanks for the fast reply.. Looks like the XFS file system can support files until 16 Tera when CONFIG_LBDAF is enabled. On XFS, 32 bit arch, s_maxbytes is actually set (CONFIG_LBDAF=y) as 17592186044415. But if s_maxbytes doesn't have to be greater than MAX_LFS_FILESIZE, i agree the

Re: [PATCH] mm: fix cpu hangs on truncating last page of a 16t sparse file

2015-09-26 Thread Hugh Dickins
Let's Cc linux-fsdevel, who will be more knowledgable. On Sun, 27 Sep 2015, angelo wrote: > Hi all, > > running xfstests, generic 308 on whatever 32bit arch is possible > to observe cpu to hang near 100% on unlink. > The test removes a sparse file of length 16tera where only the last > 4096

[PATCH] [v2] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-09-26 Thread Chen Yu
For ACPI compatible system, SCI(ACPI System Control Interrupt) is used to wake system up from suspend-to-idle. Once CPU is woken up by SCI, interrupt handler will firstly checks if current interrupt is legal to wake up the whole system, thus irq_pm_check_wakeup is invoked to validate the irq

[PATCH] pinctrl: berlin: fix BG2CD field widths

2015-09-26 Thread Thomas Hebb
The previous register layout was incorrect, many of the fields having fewer bits than were needed to represent all their modes. The new layout is taken from the bootloader source of a BG2CD device. Signed-off-by: Thomas Hebb --- drivers/pinctrl/berlin/berlin-bg2cd.c | 62

[PATCH 2/4 RESEND] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-09-26 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb Cc: sta...@vger.kernel.org --- This patch seems to

Re: [PATCH 4.1 000/159] 4.1.9-stable review (build error)

2015-09-26 Thread Guenter Roeck
On 09/26/2015 01:54 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.9 release. There are 159 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH] Removed extra spaces, and error from checkpatch.pl

2015-09-26 Thread Pinkesh Badjatiya
Removed trailing spaces. Fixed some errors from checkpatch.pl verification. No changes made to actual functional code. Signed-off-by: Pinkesh Badjatiya --- drivers/staging/rtl8723au/include/rtw_cmd.h | 162 ++-- 1 file changed, 80 insertions(+), 82 deletions(-) diff

[PATCH] mm: fix cpu hangs on truncating last page of a 16t sparse file

2015-09-26 Thread angelo
Hi all, running xfstests, generic 308 on whatever 32bit arch is possible to observe cpu to hang near 100% on unlink. The test removes a sparse file of length 16tera where only the last 4096 bytes block is mapped. At line 265 of truncate.c there is a if (index >= end) break; But if index is,

Re: [PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-09-26 Thread Paul Gortmaker
[[PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular] On 19/08/2015 (Wed 17:48) Paul Gortmaker wrote: > [v2: drop dead module code removal from 8250_lpc18xx.c ; instead convert it > from bool to tristate ; also add ack to hvc_console commit.] > > This second set of

[PATCH 4.2 010/134] nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 5a9e0ffc0f128ecdf7c770f76c268e4f9f3c9118 upstream. skb can be NULL and may lead to a NULL pointer error. Add a check condition before setting HCI rx buffer.

[PATCH 4.2 021/134] mac80211: enable assoc check for mesh interfaces

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit 3633ebebab2bbe88124388b7620442315c968e8f upstream. We already set a station to be associated when peering completes, both in user space and in the kernel. Thus we should

[PATCH 4.2 025/134] ext4: dont manipulate recovery flag when freezing no-journal fs

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen commit c642dc9e1aaed953597e7092d7df329e6234096e upstream. At some point along this sequence of changes: f6e63f9 ext4: fold ext4_nojournal_sops into ext4_sops bb04457 ext4:

[PATCH 4.2 022/134] cxl: Allow release of contexts which have been OPENED but not STARTED

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 7c26b9cf5347c24272152438cdd9675183804425 upstream. If we open a context but do not start it (either because we do not attempt to start it, or because it fails to start

[PATCH 4.2 026/134] Revert "ext4: remove block_device_ejected"

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit bdfe0cbd746aa9b2509c2f6d6be17193cf7facd7 upstream. This reverts commit 08439fec266c3cc5702953b4f54bdf5649357de0. Unfortunately we still need to test for bdi->dev to avoid

[PATCH 4.2 024/134] cxl: Fix unbalanced pci_dev_get in cxl_probe

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Axtens commit 2925c2fdf1e0eb642482f5b30577e9435aaa8edb upstream. Currently the first thing we do in cxl_probe is to grab a reference on the pci device. Later on, we call device_register

[PATCH 4.2 023/134] cxl: Remove racy attempt to force EEH invocation in reset

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Axtens commit 9d8e27673c45927fee9e7d8992ffb325a6b0b0e4 upstream. cxl_reset currently PERSTs the slot, and then repeatedly tries to read MMIO space in order to kick off EEH. There are 2

[PATCH 4.2 027/134] arm64: kconfig: Move LIST_POISON to a safe value

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Vander Stoep commit bf0c4e04732479f650ff59d1ee82de761c0071f0 upstream. Move the poison pointer offset to 0xdead, a recognized value that is not mappable by user-space

[PATCH 4.2 002/134] nfc: st-nci: Fix typo when changing from st21nfcb to st-nci

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 30458aac63c89771d19f023083d64d018562812e upstream. Replace ST21NFCB with ST_NCI or st21nfcb with st_nci as it was forgotten in commit "nfc: st-nci: Rename st21nfcb to

[PATCH 4.2 019/134] MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit e8f80cc1a6d80587136b015e989a12827e1fcfe5 upstream. The mfhc/mthc instructions are supported on MIPS R6 so emulate them if needed. Signed-off-by: Markos Chandras Cc:

[PATCH 4.2 020/134] MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit c909ca718e8f50cf484ef06a8dd935e738e8e53d upstream. Commit c8a34581ec09 ("MIPS: Emulate the BC1{EQ,NE}Z FPU instructions") added support for emulating the new R6

[PATCH 4.2 028/134] arm64: entry: always restore x0 from the stack on syscall return

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 412fcb6cebd758d080cacd5a41a0cbc656ea5fce upstream. We have a micro-optimisation on the fast syscall return path where we take care to keep x0 live with the return value from

[PATCH 4.2 029/134] arm64: flush FP/SIMD state correctly after execve()

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 674c242c9323d3c293fc4f9a3a3a619fe3063290 upstream. When a task calls execve(), its FP/SIMD state is flushed so that none of the original program state is observeable by

[PATCH 4.2 003/134] nfc: st-nci: Fix non accurate comment for st_nci_i2c_read

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit e7723b33077b04648213f043bc22654c54e375e4 upstream. Due to a copy and paste error st_nci_i2c_read still contains st21nfca header comment. Signed-off-by: Christophe

[PATCH 4.2 006/134] nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 1d816b6eb513498aa28a0ff1e4db7632bded1707 upstream. When receiving a NDLC PCB_SYNC_ACK the pending data was never removed from ack_pending_q and cleared.

[PATCH 4.2 030/134] of/fdt: make memblock maximum physical address arch configurable

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 8eafeb48022816513abc4f440bdad4c350fe81a3 upstream. When parsing the memory nodes to populate the memblock memory table, we check against high and low limits and clip any

[PATCH 4.2 033/134] arm64: head.S: initialise mdcr_el2 in el2_setup

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit d10bcd473301888f957ec4b6b12aa3621be78d59 upstream. When entering the kernel at EL2, we fail to initialise the MDCR_EL2 register which controls debug access and PMU

[PATCH 4.2 032/134] arm64: compat: fix vfp save/restore across signal handlers in big-endian

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit bdec97a855ef1e239f130f7a11584721c9a1bf04 upstream. When saving/restoring the VFP registers from a compat (AArch32) signal frame, we rely on the compat registers forming a

[PATCH 4.2 004/134] NFC: st21nfca: fix use of uninitialized variables in error path

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 5a3570061a131309143a49e4bbdbce7e23f261e7 upstream. st21nfca_hci_load_session() calls kfree_skb() on unitialized variables skb_pipe_info and skb_pipe_list if the call

[PATCH 4.2 031/134] arm64: set MAX_MEMBLOCK_ADDR according to linear region size

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 34ba2c4247e5c4b1542b1106e156af324660c4f0 upstream. The linear region size of a 39-bit VA kernel is only 256 GB, which may be insufficient to cover all of system RAM, even

[PATCH 4.2 005/134] NFC: st-nci: fix use of uninitialized variables in error path

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit daaf1e1f1640eb11259954d1d847d8a72ab5b938 upstream. st_nci_hci_load_session() calls kfree_skb() on unitialized variables skb_pipe_info and skb_pipe_list if the call to

[PATCH 4.2 017/134] tg3: Fix temperature reporting

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit d3d11fe08ccc9bff174fc958722b5661f0932486 upstream. The temperature registers appear to report values in degrees Celsius while the hwmon API mandates values to be exposed in

[PATCH 4.2 035/134] arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Fedin commit c2f58514cfb374d5368c9da945f1765cd48eb0da upstream. Until b26e5fdac43c ("arm/arm64: KVM: introduce per-VM ops"), kvm_vgic_map_resources() used to include a check on

[PATCH 4.2 018/134] MIPS: CPS: use 32b accesses to GCRs

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 90996511187d6282db6d02d3f97006b4dbb5c457 upstream. Commit b677bc03d757 ("MIPS: cps-vec: Use macros for various arithmetics and memory operations") replaced various load &

[GIT PULL] target fixes for v4.3-rc3

2015-09-26 Thread Nicholas A. Bellinger
Hi Linus, Here are the outstanding target-pending fixes for v4.3-rc3 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This includes a iser-target series from Jenny + Sagi @ Mellanox that addresses the few remaining active I/O

[PATCH 4.2 009/134] nfc: netlink: Warning fix

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit adca3c38d807b341a965d0aba8721d0784d8471b upstream. When NFC_ATTR_VENDOR_DATA is not set, data_len is 0 and data is NULL. Fixes the following warning:

[PATCH 4.2 007/134] nfc: st-nci: Free data with irrelevant NDLC PCB_SYNC value

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 8b706884eac958ec16518315053f77e052627084 upstream. PCB_SYNC different than PCB_TYPE_SUPERVISOR or PCB_TYPE_DATAFRAME should be discarded. Irrelevant data may be

[PATCH 4.2 000/134] 4.2.2-stable review

2015-09-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.2.2 release. There are 134 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Sep 28 20:51:27 UTC 2015. Anything

[PATCH 4.2 008/134] nfc: netlink: Add check on NFC_ATTR_VENDOR_DATA

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit fe202fe95564023223ce1910c9e352f391abb1d5 upstream. NFC_ATTR_VENDOR_DATA is an optional vendor_cmd argument. The current code was potentially using a non existing

[PATCH 4.2 016/134] igb: Fix oops caused by missing queue pairing

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Shota Suzuki commit 72ddef0506da852dc82f078f37ced8ef4d74a2bf upstream. When initializing igb driver (e.g. 82576, I350), IGB_FLAG_QUEUE_PAIRS is set if adapter->rss_queues exceeds half of

[PATCH 4.2 045/134] ALSA: hda - Fix white noise on Dell M3800

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Niranjan Sivakumar commit 467e1436ba85f78b8c4610c4549eb255a8211c42 upstream. The M3800 is very minor workstation variant of the XPS 15 which has already been patched for this issue. I figured

Re: [PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-26 Thread Tejun Heo
Hello, Artem. Thanks a lot for the debug dump. Can you please test whether the below patch fixes the issue? Index: work/mm/page-writeback.c === --- work.orig/mm/page-writeback.c +++ work/mm/page-writeback.c @@ -1956,7 +1956,6 @@

[PATCH 4.2 044/134] ALSA: hda - Add some FIXUP quirks for white noise on Dell laptop.

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Woodrow Shen commit 1adecc6755e1e4193b5618ddb2e107f6d6e88f4b upstream. Dell laptop has a series model to use the same codec but different subsystem ID. At the same time they happens the white

[PATCH 4.2 052/134] powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Huth commit 1c2cb594441d02815d304cccec9742ff5c707495 upstream. The EPOW interrupt handler uses rtas_get_sensor(), which in turn uses rtas_busy_delay() to wait for RTAS becoming ready in

[PATCH 4.2 053/134] powerpc: Uncomment and make enable_kernel_vsx() routine available

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Leonidas Da Silva Barbosa commit 72cd7b44bc99376b3f3c93cedcd052663fcdf705 upstream. enable_kernel_vsx() function was commented since anything was using it. However, vmx-crypto driver uses VSX

[PATCH 4.2 036/134] KVM: arm64: add workaround for Cortex-A57 erratum #852523

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 43297dda0a51e4ffed0888ce727c218cfb7474b6 upstream. When restoring the system register state for an AArch32 guest at EL2, writes to DACR32_EL2 may not be correctly

[PATCH 4.2 015/134] rtlwifi: rtl8821ae: Fix an expression that is always false

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 251086f588720277a6f5782020a648ce32c4e00b upstream. In routine _rtl8821ae_set_media_status(), an incorrect mask results in a test for AP status to always be false. Similar

[PATCH 4.2 047/134] pinctrl: at91: fix null pointer dereference

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: David Dueck commit 1ab36387ea4face01aac3560b396b1e2ce07c4ff upstream. Not all gpio banks are necessarily enabled, in the current code this can lead to null pointer dereferences. [

[PATCH 4.2 051/134] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 74b5037baa2011a2799e2c43adde7d171b072f9e upstream. The powerpc kernel can be built to have either a 4K PAGE_SIZE or a 64K PAGE_SIZE. However when built with a 4K

[PATCH 4.2 048/134] powerpc/pseries: Fix corrupted pdn list

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 590c7567a2895f939525ead57b0334c6d47986f0 upstream. Commit cca87d30 ("powerpc/pci: Refactor pci_dn") introduced pdn list for SRIOV VFs. It means the pdn is be put into the

[PATCH 4.2 049/134] powerpc/eeh: Probe after unbalanced kref check

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Axtens commit e642d11bdbfe8eb10116ab3959a2b5d75efda832 upstream. In the complete hotplug case, EEH PEs are supposed to be released and set to NULL. Normally, this is done by

[PATCH 4.2 050/134] powerpc/eeh: Fix fenced PHB caused by eeh_slot_error_detail()

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 259800135c654a098d9f0adfdd3d1f20eef1f231 upstream. The config space of some PCI devices can't be accessed when their PEs are in frozen state. Otherwise, fenced PHB might be

[PATCH 4.2 037/134] arm64: KVM: Disable virtual timer even if the guest is not using it

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit c4cbba9fa078f55d9f6d081dbb4aec7cf969e7c7 upstream. When running a guest with the architected timer disabled (with QEMU and the kernel_irqchip=off option, for example), it

[PATCH 4.2 054/134] crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Leonidas Da Silva Barbosa commit 2d6f0600b2cd755959527230ef5a6fba97bb762a upstream. vmx-crypto driver make use of some VSX instructions which are only available if VSX is enabled. Running in

[PATCH 4.2 063/134] x86/mm: Initialize pmd_idx in page_table_range_init_count()

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Minfei Huang commit 9962eea9e55f797f05f20ba6448929cab2a9f018 upstream. The variable pmd_idx is not initialized for the first iteration of the for loop. Assign the proper value which indexes

[PATCH 4.2 056/134] powerpc/powernv/pci-ioda: fix kdump with non-power-of-2 crashkernel=

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Nishanth Aravamudan commit fa14486979b3a47307bcdb10f8b5baa875a5cf68 upstream. The 32-bit TCE table initialization relies on the DMA window having a size equal to a power of 2 (and checks for

[PATCH 4.2 058/134] powerpc/boot: Specify ABI v2 when building an LE boot wrapper

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 655471f54c2e395ba29ae4156ba0f49928177cc1 upstream. The kernel does it, not the boot wrapper, which breaks with some cross compilers that still default to ABI v1.

[PATCH 4.2 057/134] powerpc/pseries: Release DRC when configure_connector fails

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Bharata B Rao commit daebaabb5cfbe4a6f09ca0e0f8b7673efc704960 upstream. Commit f32393c943e2 ("powerpc/pseries: Correct cpu affinity for dlpar added cpus") moved dlpar_acquire_drc() call to

[PATCH 4.2 012/134] blk-mq: fix race between timeout and freeing request

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 0048b4837affd153897ed183492070027aa9 upstream. Inside timeout handler, blk_mq_tag_to_rq() is called to retrieve the request from one tag. This way is obviously wrong

[PATCH 4.2 061/134] Add radeon suspend/resume quirk for HP Compaq dc5750.

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeffery Miller commit 09bfda10e6efd7b65bcc29237bee1765ed779657 upstream. With the radeon driver loaded the HP Compaq dc5750 Small Form Factor machine fails to resume from suspend. Adding a

[PATCH 4.2 059/134] powerpc/mm: Recompute hash value after a failed update

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: "Aneesh Kumar K.V" commit 36b35d5d807b7e57aff7d08e63de8b17731ee211 upstream. If we had secondary hash flag set, we ended up modifying hash value in the updatepp code path. Hence with a failed

[PATCH 4.2 060/134] CIFS: fix type confusion in copy offload ioctl

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 4c17a6d56bb0cad3066a714e94f7185a24b40f49 upstream. This might lead to local privilege escalation (code execution as kernel) for systems where the following conditions are met:

[PATCH 4.2 062/134] mm: check if section present during memory block registering

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit 04697858d89e4bf2650364f8d6956e2554e8ef88 upstream. Tony Luck found on his setup, if memory block size 512M will cause crash during booting. BUG: unable to handle kernel

[PATCH 4.2 072/134] [media] v4l: omap3isp: Fix async notifier registration order

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit 5d479386983c5f1bb1aff4f88a027b6143f88a39 upstream. The async notifier was registered before the v4l2_device was registered and before the notifier callbacks were set. This

[PATCH 4.2 011/134] blk-mq: fix buffer overflow when reading sysfs file of pending

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 596f5aad2a704b72934e5abec1b1b4114c16f45b upstream. There may be lots of pending requests so that the buffer of PAGE_SIZE can't hold them at all. One typical example is

Re: [PATCH] cpufreq: p4-clockmod: Replace bool_int_array[NR_CPUS] with bitmap

2015-09-26 Thread Viresh Kumar
On 26-09-15, 14:47, Denys Vlasenko wrote: > Straigntforward conversion from > int has_N44_O17_errata[NR_CPUS] > to > DECLARE_BITMAP(has_N44_O17_errata, NR_CPUS) > > Saves about 2 kbytes in bss for NR_CPUS=512. > > Signed-off-by: Denys Vlasenko > CC: Viresh Kumar > CC: Rafael J. Wysocki

[PATCH 4.2 068/134] [media] v4l: omap3isp: Fix sub-device power management code

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit 9d39f05490115bf145e5ea03c0b7ec9d3d015b01 upstream. Commit 813f5c0ac5cc ("media: Change media device link_notify behaviour") modified the media controller link setup

[PATCH 4.2 069/134] [media] media: am437x-vpfe: Requested frame size and fmt overwritten by current sensor setting

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Benoit Parrot commit f47c9045643f91e76d8a9030828b9fe1cf4a6bcf upstream. Upon a S_FMT the input/requested frame size and pixel format is overwritten by the current sub-device settings. Fix this

[PATCH 4.2 040/134] ALSA: usb-audio: correct the value cache check.

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Yao-Wen Mao commit 6aa6925cad06159dc6e25857991bbc4960821242 upstream. The check of cval->cached should be zero-based (including master channel). Signed-off-by: Yao-Wen Mao Signed-off-by:

[PATCH 4.2 070/134] [media] media: am437x-vpfe: Fix a race condition during release

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Benoit Parrot commit c99235fa3ef833c3c23926085f2bb68851c8460a upstream. There was a race condition where during cleanup/release operation on-going streaming would cause a kernel panic because

[PATCH 4.2 041/134] ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6869de380e8c11c31b608bb2502dcacd634eda13 upstream. This seems overlooked. Fixes: 98d8fc6c5d36 ('ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda')

[PATCH 4.2 071/134] [media] v4l: xilinx: missing error code

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e31f8f00bfc081ec1881d92a2dd192aeddf1d9d7 upstream. We should set "ret" on this error path instead of returning success. Fixes: df3305156f98 ('[media] v4l: xilinx: Add

[PATCH V5 2/2] debugfs: Pass bool pointer to debugfs_create_bool()

2015-09-26 Thread Viresh Kumar
Its a bit odd that debugfs_create_bool() takes 'u32 *' as an argument, when all it needs is a boolean pointer. It would be better to update this API to make it accept 'bool *' instead, as that will make it more consistent and often more convenient. Over that bool takes just a byte. That required

[PATCH 4.2 039/134] Input: evdev - do not report errors form flush()

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit eb38f3a4f6e86f8bb10a3217ebd85ecc5d763aae upstream. We've got bug reports showing the old systemd-logind (at least system-210) aborting unexpectedly, and this turned out to

[PATCH 4.2 038/134] Input: synaptics - fix handling of disabling gesture mode

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e51e38494a8ecc18650efb0c840600637891de2c upstream. Bit 2 of the mode byte has dual meaning: it can disable reporting of gestures when touchpad works in Relative mode or

[PATCH V5 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-26 Thread Viresh Kumar
global_lock is defined as an unsigned long and accessing only its lower 32 bits from sysfs is incorrect, as we need to consider other 32 bits for big endian 64-bit systems. There are no such platforms yet, but the code needs to be robust for such a case. Fix that by changing type of 'global_lock'

[PATCH 4.2 074/134] nfsd: Fix an FS_LAYOUT_TYPES/LAYOUT_TYPES encode bug

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit 6896f15aabde505b35888039af93d1d182a0108a upstream. Currently we'll respond correctly to a request for either FS_LAYOUT_TYPES or LAYOUT_TYPES, but not to a request for both

[PATCH 4.2 043/134] ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a161574e200ae63a5042120e0d8c36830e81bde3 upstream. It turned out that the machine has a bass speaker, so take a correct fixup entry. Bugzilla:

[PATCH 4.2 034/134] arm64: errata: add module build workaround for erratum #843419

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit df057cc7b4fa59e9b55f07ffdb6c62bf02e99a00 upstream. Cortex-A53 processors <= r0p4 are affected by erratum #843419 which can lead to a memory access using an incorrect address

[PATCH 4.2 085/134] NFS41/flexfiles: zero out DS write wcc

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit 5420401079e152ff68a8024f6a375804b1c21505 upstream. We do not want to update inode attributes with DS values. Signed-off-by: Peng Tao Signed-off-by: Trond Myklebust

[PATCH 4.2 113/134] iommu/tegra-smmu: Parameterize number of TLB lines

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Thierry Reding commit 11cec15bf3fb498206ef63b1fa26c27689e02d0e upstream. The number of TLB lines was increased from 16 on Tegra30 to 32 on Tegra114 and later. Parameterize the value so that

[PATCH 4.2 122/134] IB/uverbs: reject invalid or unknown opcodes

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 upstream. We have many WR opcodes that are only supported in kernel space and/or require optional information to be copied

[PATCH 4.2 117/134] i2c: xgene-slimpro: dma_mapping_error() doesnt return an error code

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 upstream. The dma_mapping_error() function returns true if there is an error, it doesn't return an error code. We should return

[PATCH 4.2 115/134] eCryptfs: Invalidate dcache entries when lower i_nlink is zero

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36 upstream. Consider eCryptfs dcache entries to be stale when the corresponding lower inode's i_nlink count is zero. This solves a

[PATCH 4.2 116/134] hfs: fix B-tree corruption after insertion at position 0

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Hin-Tak Leung commit b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 upstream. Fix B-tree corruption when a new record is inserted at position 0 in the node in hfs_brec_insert(). This is an

[PATCH 4.2 118/134] ideapad-laptop: Add Lenovo Yoga 3 14 to no_hw_rfkill dmi list

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit fa92a31b3335478c545cdc8e79e1e9b788184e6b upstream. Like some of the other Yoga models the Lenovo Yoga 3 14 does not have a hw rfkill switch, and trying to read the hw

  1   2   3   4   5   6   7   8   9   10   >