Re: [PATCH v10 4/8] ata: libahci: allow to use multiple PHYs

2014-07-18 Thread Lothar Waßmann
Hi, Antoine Ténart wrote: > The current implementation of the libahci does not allow to use multiple > PHYs. This patch adds the support of multiple PHYs by the libahci while > keeping the old bindings valid for device tree compatibility. > > This introduce a new way of defining SATA ports in

[PATCH 3.12 044/170] powerpc/perf: Ensure all EBB register state is cleared on fork()

2014-07-18 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3df48c981d5a9610e02e9270b1bc4274fb536710 upstream. In commit 330a1eb "Core EBB support for 64-bit book3s" I messed up clear_task_ebb(). It clears some but not all of the

[PATCH 3.12 010/170] iscsi-target: Explicily clear login response PDU in exception path

2014-07-18 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 683497566d48f86e04d026de1ee658dd74fc1077 upstream. This patch adds a explicit memset to the login response PDU exception path in iscsit_tx_login_rsp(). This addresses

[PATCH 3.12 081/170] drm/radeon/dp: fix lane/clock setup for dp 1.2 capable devices

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3b6d9fd23e015b5397c438fd3cd74147d2c805b6 upstream. Only DCE5+ asics support DP 1.2. Noticed by ArtForz on IRC. Signed-off-by: Alex Deucher Signed-off-by: Jiri Slaby ---

[PATCH 3.12 162/170] drm/radeon: fix typo in ci_stop_dpm()

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit ed96377132e564d797c48a5490fd46bed01c4273 upstream. Need to use the RREG32_SMC() accessor since the register is an smc indirect index. Signed-off-by: Alex Deucher

[PATCH 3.12 017/170] mtip32xx: Increase timeout for STANDBY IMMEDIATE command

2014-07-18 Thread Jiri Slaby
From: Asai Thambi S P 3.12-stable review patch. If anyone has any objections, please let me know. === commit 670a641420a3d9586eebe7429dfeec4e7ed447aa upstream. Increased timeout for STANDBY IMMEDIATE command to 2 minutes. Signed-off-by: Selvan Mani Signed-off-by: Asai Thambi S

[PATCH 3.12 061/170] virtio-scsi: avoid cancelling uninitialized work items

2014-07-18 Thread Jiri Slaby
From: Paolo Bonzini 3.12-stable review patch. If anyone has any objections, please let me know. === commit cdda0e5acbb78f7b777049f8c27899e5c5bb368f upstream. Calling the workqueue interface on uninitialized work items isn't a good idea even if they're zeroed. It's not failing

[PATCH 3.12 004/170] rtmutex: Fix deadlock detector for real

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 397335f004f41e5fcf7a795e94eb3ab83411a17c upstream. The current deadlock detection logic does not work reliably due to the following early exit path: /* *

[PATCH 3.12 158/170] ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()

2014-07-18 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit 94d4c066a4ff170a2671b1a9b153febbf36796f6 upstream. We are spending a lot of time explaining to users what this error means. Let's try to improve the message to avoid this

[PATCH 3.12 117/170] md: flush writes before starting a recovery.

2014-07-18 Thread Jiri Slaby
From: NeilBrown 3.12-stable review patch. If anyone has any objections, please let me know. === commit 133d4527eab8d199a62eee6bd433f0776842df2e upstream. When we write to a degraded array which has a bitmap, we make sure the relevant bit in the bitmap remains set when the write

[PATCH 3.12 045/170] powerpc: fix typo 'CONFIG_PPC_CPU'

2014-07-18 Thread Jiri Slaby
From: Paul Bolle 3.12-stable review patch. If anyone has any objections, please let me know. === commit b69a1da94f3d1589d1942b5d1b384d8cfaac4500 upstream. Commit cd64d1697cf0 ("powerpc: mtmsrd not defined") added a check for CONFIG_PPC_CPU were a check for CONFIG_PPC_FPU was

[PATCH 3.12 137/170] hwmon: (emc2103) Clamp limits instead of bailing out

2014-07-18 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6c2dd20108c35e30e2c1f3c6142d189451a626b upstream. It is customary to clamp limits instead of bailing out with an error if a configured limit is out of the range supported

[PATCH 3.12 104/170] arm64: Bug fix in stack alignment exception

2014-07-18 Thread Jiri Slaby
From: ChiaHao 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3906c2b53cd23c2ae03e6ce41432c8e7f0a3cbbb upstream. The value of ESR has been stored into x1, and should be directly pass to do_sp_pc_abort function, "MOV x1, x25" is an extra

[PATCH 3.12 047/170] powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support

2014-07-18 Thread Jiri Slaby
From: Benjamin Herrenschmidt 3.12-stable review patch. If anyone has any objections, please let me know. === commit dd58a092c4202f2bd490adab7285b3ff77f8e467 upstream. The Vector Crypto category instructions are supported by current POWER8 chips, advertise them to userspace using

[PATCH 3.12 147/170] powerpc/perf: Clear MMCR2 when enabling PMU

2014-07-18 Thread Jiri Slaby
From: Joel Stanley 3.12-stable review patch. If anyone has any objections, please let me know. === commit b50a6c584bb47b370f84bfd746770c0bbe7129b7 upstream. On POWER8 when switching to a KVM guest we set bits in MMCR2 to freeze the PMU counters. Aside from on boot they are then

[PATCH 3.12 126/170] mm: fix crashes from mbind() merging vmas

2014-07-18 Thread Jiri Slaby
From: Hugh Dickins 3.12-stable review patch. If anyone has any objections, please let me know. === commit d05f0cdcbe6388723f1900c549b4850360545201 upstream. In v2.6.34 commit 9d8cebd4bcd7 ("mm: fix mbind vma merge problem") introduced vma merging to mbind(), but it should have

[PATCH 3.12 007/170] rtmutex: Plug slow unlock race

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 27e35715df54cbc4f2d044f681802ae30479e7fb upstream. When the rtmutex fast path is enabled the slow unlock function can create the following situation:

[PATCH 3.12 018/170] mtip32xx: Remove dfs_parent after pci unregister

2014-07-18 Thread Jiri Slaby
From: Asai Thambi S P 3.12-stable review patch. If anyone has any objections, please let me know. === commit af5ded8ccf21627f9614afc03b356712666ed225 upstream. In module exit, dfs_parent and it's subtree were removed before unregistering with pci. When debugfs entry for each

[PATCH 3.12 156/170] ext4: fix unjournalled bg descriptor while initializing inode bitmap

2014-07-18 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit 61c219f5814277ecb71d64cb30297028d6665979 upstream. The first time that we allocate from an uninitialized inode allocation bitmap, if the block allocation bitmap is also

[PATCH 3.12 095/170] hwmon: (ina2xx) Cast to s16 on shunt and current regs

2014-07-18 Thread Jiri Slaby
From: Fabio Baltieri 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0214f98943b1fe43f7be61b7782b0c8f0836f28 upstream. All devices supported by ina2xx are bidirectional and report the measured shunt voltage and power values as a signed 16

[PATCH 3.12 005/170] rtmutex: Detect changes in the pi lock chain

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 82084984383babe728e6e3c9a8e5c46278091315 upstream. When we walk the lock chain, we drop all locks after each step. So the lock chain can change under us before we

[PATCH 3.12 123/170] ALSA: usb-audio: Suppress repetitive debug messages from retire_playback_urb()

2014-07-18 Thread Jiri Slaby
From: Tim Gardner 3.12-stable review patch. If anyone has any objections, please let me know. === commit a5065eb6da55b226661456e6a7435f605df98111 upstream. BugLink: http://bugs.launchpad.net/bugs/1305133 Malfunctioning or slow devices can cause a flood of dmesg SPAM. I've

[PATCH 3.12 143/170] ACPI / EC: Remove duplicated ec_wait_ibf0() waiter

2014-07-18 Thread Jiri Slaby
From: Lv Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b80f0f73ae1583c22325ede341c74195847618c upstream. After we've added the first command byte write into advance_transaction(), the IBF=0 waiter is duplicated with the command

[PATCH 3.12 053/170] ptrace,x86: force IRET path after a ptrace_stop()

2014-07-18 Thread Jiri Slaby
From: Tejun Heo 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9cd18de4db3c9ffa7e17b0dc0ca99ed5aa4d43a upstream. The 'sysret' fastpath does not correctly restore even all regular registers, much less any segment registers or reflags

[PATCH 3.12 051/170] MIPS: KVM: Fix memory leak on VCPU

2014-07-18 Thread Jiri Slaby
From: Deng-Cheng Zhu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c9eb041cf76038eb3b62ee259607eec9b89f48d upstream. kvm_arch_vcpu_free() is called in 2 code paths: 1) kvm_vm_ioctl() kvm_vm_ioctl_create_vcpu()

[PATCH 3.12 040/170] powerpc/mm: Check paca psize is up to date for huge mappings

2014-07-18 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09567e7fd44291bfc08accfdd67ad8f467842332 upstream. We have a bug in our hugepage handling which exhibits as an infinite loop of hash faults. If the fault is being taken

[PATCH 3.12 112/170] KVM: x86: preserve the high 32-bits of the PAT register

2014-07-18 Thread Jiri Slaby
From: Paolo Bonzini 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7cb060a91c0efc5ff94f83c6df3ed705e143cdb9 upstream. KVM does not really do much with the PAT, so this went unnoticed for a long time. It is exposed however if you try to do

[PATCH 3.12 080/170] drm/radeon: fix typo in radeon_connector_is_dp12_capable()

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit af5d36539dfe043f1cf0f8b7334d6bb12cd14e75 upstream. We were checking the ext clock rather than the display clock. Noticed by ArtForz on IRC. Signed-off-by: Alex Deucher

[PATCH 3.12 036/170] NFS: Don't declare inode uptodate unless all attributes were checked

2014-07-18 Thread Jiri Slaby
From: Trond Myklebust 3.12-stable review patch. If anyone has any objections, please let me know. === commit 43b6535e717d2f656f71d9bd16022136b781c934 upstream. Fix a bug, whereby nfs_update_inode() was declaring the inode to be up to date despite not having checked all the

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-18 Thread Vladimir Davydov
Slab warns, because the name of the cache being created contains spaces. The "bad" cache is created by scsi_get_host_cmd_pool. Its name (pool->cmd_name) is initialized by scsi_alloc_host_cmd_pool as follows: pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->name); So, if

[PATCH 3.12 032/170] IB/umad: Fix use-after-free on close

2014-07-18 Thread Jiri Slaby
From: Bart Van Assche 3.12-stable review patch. If anyone has any objections, please let me know. === commit 60e1751cb52cc6d1ae04b6bd3c2b96e770b5823f upstream. Avoid that closing /dev/infiniband/umad or /dev/infiniband/issm triggers a use-after-free. __fput() invokes

[PATCH 3.12 107/170] CIFS: fix mount failure with broken pathnames when smb3 mount with mapchars option

2014-07-18 Thread Jiri Slaby
From: Steve French 3.12-stable review patch. If anyone has any objections, please let me know. === commit ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb upstream. When we SMB3 mounted with mapchars (to allow reserved characters : \ / > < * ? via the Unicode Windows to POSIX remap

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-18 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: > Certain GIC implementation, namely those found on earlier, single > cluster, Exynos SoCs, have registers mapped without per-CPU banking, > which means that the driver needs to use different offset for each CPU. > > Currently the

[PATCH 3.12 067/170] usb: option: add/modify Olivetti Olicard modems

2014-07-18 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit b0ebef36e93703e59003ad6a1a20227e47714417 upstream. Adding a couple of Olivetti modems and blacklisting the net function on a couple which are already supported. Reported-by:

[PATCH 3.12 024/170] watchdog: ath79_wdt: avoid spurious restarts on AR934x

2014-07-18 Thread Jiri Slaby
From: Gabor Juhos 3.12-stable review patch. If anyone has any objections, please let me know. === commit 23afeb613ec0e10aecfae7838a14d485db62ac52 upstream. On some AR934x based systems, where the frequency of the AHB bus is relatively high, the built-in watchdog causes a spurious

[PATCH 3.12 096/170] mac80211: fix IBSS join by initializing last_scan_completed

2014-07-18 Thread Jiri Slaby
From: Krzysztof Hałasa 3.12-stable review patch. If anyone has any objections, please let me know. === commit c7d37a66e345df2fdf1aa7b2c9a6d3d53846ca5b upstream. Without this fix, freshly rebooted Linux creates a new IBSS instead of joining an existing one. Only when jiffies

[PATCH 3.12 145/170] powerpc/perf: Never program book3s PMCs with values >= 0x80000000

2014-07-18 Thread Jiri Slaby
From: Anton Blanchard 3.12-stable review patch. If anyone has any objections, please let me know. === commit f56029410a13cae3652d1f34788045c40a13ffc7 upstream. We are seeing a lot of PMU warnings on POWER8: Can't find PMC that caused IRQ Looking closer, the active PMC is 0

[PATCH 3.12 033/170] SUNRPC: Fix a module reference leak in svc_handle_xprt

2014-07-18 Thread Jiri Slaby
From: Trond Myklebust 3.12-stable review patch. If anyone has any objections, please let me know. === commit c789102c20bbbdda6831a273e046715be9d6af79 upstream. If the accept() call fails, we need to put the module reference. Signed-off-by: Trond Myklebust Signed-off-by: J.

[PATCH 3.12 070/170] usb: musb: Fix panic upon musb_am335x module removal

2014-07-18 Thread Jiri Slaby
From: Ezequiel Garcia 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7adb5c876e9c0677078a1e1094c6eafd29c30b74 upstream. At probe time, the musb_am335x driver register its childs by calling of_platform_populate(), which registers all childs

[PATCH 3.12 078/170] vgaswitcheroo: switch the mux to the igp on power down when runpm is enabled

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit f2bc561610962693be61425cf913778586d8f9c1 upstream. Avoids blank screens on muxed systems when runpm is active. bug: https://bugs.freedesktop.org/show_bug.cgi?id=75917

[PATCH 3.12 169/170] x86, ioremap: Speed up check for RAM pages

2014-07-18 Thread Jiri Slaby
From: Roland Dreier 3.12-stable review patch. If anyone has any objections, please let me know. === commit c81c8a1eeede61e92a15103748c23d100880cc8a upstream. In __ioremap_caller() (the guts of ioremap), we loop over the range of pfns being remapped and checks each one

[PATCH 3.12 128/170] USB: cp210x: add support for Corsair usb dongle

2014-07-18 Thread Jiri Slaby
From: Andras Kovacs 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9326057a3d8447f5d2e74a7b521ccf21add2ec0 upstream. Corsair USB Dongles are shipped with Corsair AXi series PSUs. These are cp210x serial usb devices, so make driver detect

[PATCH 3.12 029/170] IB/ipath: Translate legacy diagpkt into newer extended diagpkt

2014-07-18 Thread Jiri Slaby
From: Dennis Dalessandro 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e6d3e5c70f13874fb06e6b67696ed90ce79bd48 upstream. This patch addresses an issue where the legacy diagpacket is sent in from the user, but the driver operates on only

[PATCH 3.12 125/170] sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue

2014-07-18 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit fd1232b214af43a973443aec6a2808f16ee5bf70 upstream. This patch fixes I/O errors with the sym53c8xx_2 driver when the disk returns QUEUE FULL status. When the controller

[PATCH 3.12 144/170] ACPI / EC: Fix race condition in ec_transaction_completed()

2014-07-18 Thread Jiri Slaby
From: Lv Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0d653412fc8450370167a3268b78fc772ff9c87 upstream. There is a race condition in ec_transaction_completed(). When ec_transaction_completed() is called in the GPE handler, it

[PATCH 3.12 149/170] crypto: sha512_ssse3 - fix byte count to bit count conversion

2014-07-18 Thread Jiri Slaby
From: Jussi Kivilinna 3.12-stable review patch. If anyone has any objections, please let me know. === commit cfe82d4f45c7cc39332a2be7c4c1d3bf279bbd3d upstream. Byte-to-bit-count computation is only partly converted to big-endian and is mixing in CPU-endian values. Problem was

[PATCH 3.12 141/170] ACPI / EC: Avoid race condition related to advance_transaction()

2014-07-18 Thread Jiri Slaby
From: Lv Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 66b42b78bc1e816f92b662ec89195e4199e1 upstream. The advance_transaction() will be invoked from the IRQ context GPE handler and the task context ec_poll(). The handling of this

[PATCH 3.12 139/170] hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div

2014-07-18 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1035a9e3e9c76b64a860a774f5b867d28d34acc2 upstream. Writing to fanX_div does not clear the cache. As a result, reading from fanX_div may return the old value for up to two seconds

[PATCH 3.12 003/170] netfilter: nf_nat: fix oops on netns removal

2014-07-18 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f ] Quoting Samu Kallio: Basically what's happening is, during netns cleanup, nf_nat_net_exit gets called before

[PATCH 3.12 065/170] xhci: Fix runtime suspended xhci from blocking system suspend.

2014-07-18 Thread Jiri Slaby
From: "Wang, Yu" 3.12-stable review patch. If anyone has any objections, please let me know. === commit d6236f6d1d885aa19d1cd7317346fe795227a3cc upstream. The system suspend flow as following: 1, Freeze all user processes and kenrel threads. 2, Try to suspend all devices. 2.1,

[PATCH 3.12 094/170] rbd: handle parent_overlap on writes correctly

2014-07-18 Thread Jiri Slaby
From: Ilya Dryomov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9638556a276125553549fdfe349c464481ec2f39 upstream. The following check in rbd_img_obj_request_submit() rbd_dev->parent_overlap <= obj_request->img_offset allows the

[PATCH 3.12 074/170] rt2x00: disable TKIP on USB

2014-07-18 Thread Jiri Slaby
From: Stanislaw Gruszka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8edcb0ba0d56f5914eef11eda6db8bfe74eb9ca8 upstream. On USB we can not get atomically TKIP key. We have to disable support for TKIP acceleration on USB hardware to avoid

[PATCH 3.12 011/170] iscsi-target: fix iscsit_del_np deadlock on unload

2014-07-18 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 81a9c5e72bdf7109a65102ca61d8cbd722cf4021 upstream. On uniprocessor preemptible kernel, target core deadlocks on unload. The following events happen: * iscsit_del_np is

[PATCH 3.12 069/170] usb: musb: Ensure that cppi41 timer gets armed on premature DMA TX irq

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit c58d80f523ffc15ef4d062fc7aeb03793fe39701 upstream. Some TI chips raise the DMA complete interrupt before the actual transfer has been completed. The code tries to busy

[PATCH 3.12 085/170] drm/radeon/dpm: fix vddci setup typo on cayman

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit b0880e87c1fd038b84498944f52e52c3e86ebe59 upstream. We were using the vddc mask rather than the vddci mask. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=79071 May also

[PATCH 3.12 134/170] workqueue: zero cpumask of wq_numa_possible_cpumask on init

2014-07-18 Thread Jiri Slaby
From: Yasuaki Ishimatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5a6024f1604eef119cf3a6fa413fe0261a81a8f3 upstream. When hot-adding and onlining CPU, kernel panic occurs, showing following call trace. BUG: unable to handle kernel

[PATCH 3.12 063/170] virtio-scsi: fix various bad behavior on aborted requests

2014-07-18 Thread Jiri Slaby
From: Paolo Bonzini 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8faeb529b2dabb9df691d614dda18910a43d05c9 upstream. Even though the virtio-scsi spec guarantees that all requests related to the TMF will have been completed by the time the

[PATCH 3.12 079/170] drm/radeon: only apply hdmi bpc pll flags when encoder mode is hdmi

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7d5ab3009a8ca777174f6f469277b3922d56fd4b upstream. May fix display issues with non-HDMI displays. Signed-off-by: Alex Deucher Signed-off-by: Jiri Slaby ---

[PATCH 3.12 006/170] rtmutex: Handle deadlock detection smarter

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3d5c9340d1949733eb37616abd15db36aef9a57c upstream. Even in the case when deadlock detection is not requested by the caller, we can detect deadlocks. Right now the code

[PATCH 3.12 166/170] DMA, CMA: fix possible memory leak

2014-07-18 Thread Jiri Slaby
From: Joonsoo Kim 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe8eea4f4a3f299ef83ed090d5354698ebe4fda8 upstream. We should free memory for bitmap when we find zone mismatch, otherwise this memory will leak. Additionally, I copy code

[PATCH 3.12 157/170] ext4: clarify error count warning messages

2014-07-18 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit ae0f78de2c43b6fadd007c231a352b13b5be8ed2 upstream. Make it clear that values printed are times, and that it is error since last fsck. Also add note about fsck version

[PATCH 3.12 089/170] Bluetooth: Fix indicating discovery state when canceling inquiry

2014-07-18 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 50143a433b70e3145bcf8a4a4e54f0c11bdee32b upstream. When inquiry is canceled through the HCI_Cancel_Inquiry command there is no Inquiry Complete event generated. Instead, all

[PATCH 3.12 101/170] mm, pcp: allow restoring percpu_pagelist_fraction default

2014-07-18 Thread Jiri Slaby
From: David Rientjes 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7cd2b0a34ab8e4db971920eef8982f985441adfb upstream. Oleg reports a division by zero error on zero-length write() to the percpu_pagelist_fraction sysctl: divide error:

[PATCH 3.12 013/170] Input: elantech - don't set bit 1 of reg_10 when the no_hw_res quirk is set

2014-07-18 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit fb4f8f568a9def02240ef9bf7aabd246dc63a081 upstream. The touchpad on the GIGABYTE U2442 not only stops communicating when we try to set bit 3 (enable real hardware resolution)

[PATCH 3.12 031/170] IB/umad: Fix error handling

2014-07-18 Thread Jiri Slaby
From: Bart Van Assche 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ec0a0e6b58218bdc1db91dd70ebfcd6ad8dd6cd upstream. Avoid leaking a kref count in ib_umad_open() if port->ib_dev == NULL or if nonseekable_open() fails. Avoid leaking a

[PATCH 3.12 090/170] Bluetooth: Fix locking of hdev when calling into SMP code

2014-07-18 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit c73f94b8c093a615ce80eabbde0ac6eb9abfe31a upstream. The SMP code expects hdev to be unlocked since e.g. crypto functions will try to (re)lock it. Therefore, we need to

[PATCH 3.12 122/170] mmc: rtsx: add R1-no-CRC mmc command type handle

2014-07-18 Thread Jiri Slaby
From: Micky Ching 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5027251eced6e34315a52bd841279df957f627bb upstream. a27fbf2f067b0cd ("mmc: add ignorance case for CMD13 CRC error") produced a cmd.flags unhandled in realtek pci host driver.

[PATCH 3.12 115/170] tools: ffs-test: fix header values endianess

2014-07-18 Thread Jiri Slaby
From: Michal Nazarewicz 3.12-stable review patch. If anyone has any objections, please let me know. === commit f35f71244da6e51db4e1f2c7e318581f498ececf upstream. It appears that no one ever run ffs-test on a big-endian machine, since it used cpu-endianess for fs_count and

[PATCH 3.12 054/170] lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

2014-07-18 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4a3a99045177369700c60d074c0e525e8093b0fc upstream. Jan points out that I forgot to make the needed fixes to the lz4_uncompress_unknownoutputsize() function to mirror

[PATCH 3.12 135/170] thermal: hwmon: Make the check for critical temp valid consistent

2014-07-18 Thread Jiri Slaby
From: Aaron Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit e8db5d6736a712a3e2280c0e31f4b301d85172d8 upstream. On 05/21/2014 04:22 PM, Aaron Lu wrote: > On 05/21/2014 01:57 PM, Kui Zhang wrote: >> Hello, >> >> I get following error when

[PATCH 3.12 136/170] hwmon: (amc6821) Fix permissions for temp2_input

2014-07-18 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit df86754b746e9a0ff6f863f690b1c01d408e3cdc upstream. temp2_input should not be writable, fix it. Reported-by: Guenter Roeck Signed-off-by: Axel Lin Signed-off-by: Guenter Roeck

[PATCH 3.12 035/170] nfsd: getattr for FATTR4_WORD0_FILES_AVAIL needs the statfs buffer

2014-07-18 Thread Jiri Slaby
From: Christoph Hellwig 3.12-stable review patch. If anyone has any objections, please let me know. === commit 12337901d654415d9f764b5f5ba50052e9700f37 upstream. Note nobody's ever noticed because the typical client probably never requests FILES_AVAIL without also requesting

[PATCH 3.12 073/170] usb: gadget: f_fs: fix NULL pointer dereference when there are no strings

2014-07-18 Thread Jiri Slaby
From: Michal Nazarewicz 3.12-stable review patch. If anyone has any objections, please let me know. === commit f0688c8b81d2ea239c3fb0b848f623b579238d99 upstream. If the descriptors do not need any strings and user space sends empty set of strings, the ffs->stringtabs field

[PATCH 3.12 086/170] drm/radeon/cik: fix typo in EOP packet

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit b397207b7475afa9df2f94541f978100ff1ea47e upstream. Volatile bit was in the wrong location. This bit is not used at the moment. Signed-off-by: Alex Deucher Signed-off-by:

[PATCH 3.12 151/170] clk: spear3xx: Use proper control register offset

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 15ebb05248d025534773c9ef64915bd888f04e4b upstream. The control register is at offset 0x10, not 0x0. This is wreckaged since commit 5df33a62c (SPEAr: Switch to common clock

[PATCH 3.12 077/170] mtd: nand: omap: fix BCHx ecc.correct to return detected bit-flips in erased-page

2014-07-18 Thread Jiri Slaby
From: pekon gupta 3.12-stable review patch. If anyone has any objections, please let me know. === commit f306e8c3b667632952f1a4a74ffb910bbc06255f upstream. fixes: commit 62116e5171e00f85a8d53f76e45b84423c89ff34 mtd: nand: omap2: Support for hardware BCH error correction.

Re: [PATCH] HID: rmi: only bind the hid-rmi driver to the mouse interface of composite USB devices

2014-07-18 Thread Benjamin Tissoires
On Jul 17 2014 or thereabouts, Andrew Duggan wrote: > On composite HID devices there may be multiple HID devices on separate > interfaces, but hid-rmi > should only bind to the mouse interface. One example is the Dell Venue 11 > Pro's keyboard dock > which contains a composite USB device with a

[PATCH 3.12 055/170] Documentation/SubmittingPatches: describe the Fixes: tag

2014-07-18 Thread Jiri Slaby
From: Jacob Keller 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8401aa1f59975c03eeebd3ac6d264cbdfe9af5de upstream. Update the SubmittingPatches process to include howto about the new 'Fixes:' tag to be used when a patch fixes an issue in

[PATCH 3.12 153/170] Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code

2014-07-18 Thread Jiri Slaby
From: "K. Y. Srinivasan" 3.12-stable review patch. If anyone has any objections, please let me know. === commit affb1aff300ddee54df307812b38f166e8a865ef upstream. Starting with Win8, we have implemented several optimizations to improve the scalability and performance of the VMBUS

[PATCH 3.12 059/170] ibmvscsi: Abort init sequence during error recovery

2014-07-18 Thread Jiri Slaby
From: Brian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9ee755974bea2f9880e517ec985dc9dede1b3a36 upstream. If a CRQ reset is triggered for some reason while in the middle of performing VSCSI adapter initialization, we don't want to

[PATCH 3.12 088/170] Bluetooth: Fix SSP acceptor just-works confirmation without MITM

2014-07-18 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba15a58b179ed76a7e887177f2b06de12c58ec8f upstream. >From the Bluetooth Core Specification 4.1 page 1958: "if both devices have set the Authentication_Requirements parameter

[PATCH 3.12 052/170] ipvs: Fix panic due to non-linear skb

2014-07-18 Thread Jiri Slaby
From: Peter Christensen 3.12-stable review patch. If anyone has any objections, please let me know. === commit f44a5f45f544561302e855e7bd104e5f506ec01b upstream. Receiving a ICMP response to an IPIP packet in a non-linear skb could cause a kernel panic in __skb_pull. The problem

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Bruno Wolff III
On Fri, Jul 18, 2014 at 12:16:33 +0200, Peter Zijlstra wrote: So it looks like the actual domain tree is broken, and not what we assumed it was. Could I bother you to run with the below instead? It should also print out the sched domain masks so we don't need to guess about them. The full

[PATCH 3.12 057/170] tracing: Fix syscall_*regfunc() vs copy_process() race

2014-07-18 Thread Jiri Slaby
From: Oleg Nesterov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4af4206be2bd1933cae20c2b6fb2058dbc887f7c upstream. syscall_regfunc() and syscall_unregfunc() should set/clear TIF_SYSCALL_TRACEPOINT system-wide, but do_each_thread() can

Re: [PATCH 1/15] block copy: initial XCOPY offload support

2014-07-18 Thread Tomas Henzl
On 07/15/2014 09:34 PM, Mikulas Patocka wrote: > This is Martin Petersen's xcopy patch > (https://git.kernel.org/cgit/linux/kernel/git/mkp/linux.git/commit/?h=xcopy=0bdeed274e16b3038a851552188512071974eea8) > with some bug fixes, ported to the current kernel. > > This patch makes it possible to

[PATCH 3.12 105/170] net: allwinner: emac: Add missing free_irq

2014-07-18 Thread Jiri Slaby
From: Maxime Ripard 3.12-stable review patch. If anyone has any objections, please let me know. === commit b91113282bf44df46aba374a0b8f88a75bfd4b3f upstream. If the mdio probe function fails in emac_open, the interrupt we just requested isn't freed. If emac_open is called again,

Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-18 Thread Benjamin Tissoires
On Jul 17 2014 or thereabouts, Andrew Duggan wrote: > It is possible that the hid-rmi driver could get loaded onto a device which > does not have the > expected report ids. This should not happen because it would indicate that > the hid-rmi driver is > not compatible with that device. However,

[PATCH 3.12 160/170] ext4: fix a potential deadlock in __ext4_es_shrink()

2014-07-18 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3f1f9b851311a76226140b55b1ea22111234a7c2 upstream. This fixes the following lockdep complaint: [ INFO: possible circular locking dependency detected ] 3.16.0-rc2-mm1+ #7

[PATCH 3.12 060/170] ibmvscsi: Add memory barriers for send / receive

2014-07-18 Thread Jiri Slaby
From: Brian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7114aae02742d6b5c5a0d39a41deb61d415d3717 upstream. Add a memory barrier prior to sending a new command to the VIOS to ensure the VIOS does not receive stale data in the command

[PATCH 3.12 043/170] powerpc: fix typo 'CONFIG_PMAC'

2014-07-18 Thread Jiri Slaby
From: Paul Bolle 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6e0fdf9af216887e0032c19d276889aad41cad00 upstream. Commit b0d278b7d3ae ("powerpc/perf_event: Reduce latency of calling perf_event_do_pending") added a check for CONFIG_PMAC

[PATCH 3.12 062/170] scsi_error: fix invalid setting of host byte

2014-07-18 Thread Jiri Slaby
From: Ulrich Obergfell 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8922a908908ff947f1f211e07e2e97f1169ad3cb upstream. After scsi_try_to_abort_cmd returns, the eh_abort_handler may have already found that the command has completed in the

[PATCH 3.12 050/170] MIPS: KVM: Remove redundant NULL checks before kfree()

2014-07-18 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit c6c0a6637f9da54f9472144d44f71cf847f92e20 upstream. The kfree() function already NULL checks the parameter so remove the redundant NULL checks before kfree() calls in

[PATCH 3.12 084/170] drm/radeon/dpm: fix typo in vddci setup for eg/btc

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit e07929810f0a19ddd756558290c7d72827cbfcd9 upstream. We were using the vddc mask rather than the vddci mask. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=79071 Possibly

[PATCH 3.12 039/170] powerpc/pseries: Fix overwritten PE state

2014-07-18 Thread Jiri Slaby
From: Gavin Shan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 54f112a3837d4e7532bbedbbbf27c0de277be510 upstream. In pseries_eeh_get_state(), EEH_STATE_UNAVAILABLE is always overwritten by EEH_STATE_NOT_SUPPORT because of the missed

[PATCH 3.12 118/170] irqchip: spear_shirq: Fix interrupt offset

2014-07-18 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4f4366033945419b0c52118c29d3057d7c558765 upstream. The ras3 block on spear320 claims to have 3 interrupts. In fact it has one and 6 reserved interrupts. Account the 6

[PATCH 3.12 130/170] USB: serial: ftdi_sio: Add Infineon Triboard

2014-07-18 Thread Jiri Slaby
From: Michal Sojka 3.12-stable review patch. If anyone has any objections, please let me know. === commit d8279a40e50ad55539780aa617a32a53d7f0953e upstream. This adds support for Infineon TriBoard TC1798 [1]. Only interface 1 is used as serial line (see [2], Figure 8-6). [1]

[PATCH 3.12 091/170] Bluetooth: Allow change security level on ATT_CID in slave role

2014-07-18 Thread Jiri Slaby
From: Marcin Kraglak 3.12-stable review patch. If anyone has any objections, please let me know. === commit 92d1372e1a9fec00e146b74e8b9ad7a385b9b37f upstream. Kernel supports SMP Security Request so don't block increasing security when we are slave. Signed-off-by: Marcin Kraglak

Re: [PATCH 1/2] clk: samsung: exynos4x12: Enable ARMCLK down feature

2014-07-18 Thread Tomasz Figa
Hi Krzysztof, On 18.07.2014 11:53, Krzysztof Kozlowski wrote: > Enable ARMCLK down and up features on Exynos4212 and 4412 SoCs. The > frequency of ARMCLK will be reduced upon entering idle mode (WFI or > WFE). Additionally upon exiting from idle mode the divider for ARMCLK > will be brought back

Re: [PATCH] irqchip: add keystone irq controller ip driver

2014-07-18 Thread Jason Cooper
Grygorii, On Mon, Jul 14, 2014 at 06:27:57PM +0300, Grygorii Strashko wrote: > On Keystone SOCs, DSP cores can send interrupts to ARM > host using the IRQ controller IP. It provides 28 IRQ > signals to ARM. The IRQ handler running on HOST OS can > identify DSP signal source by analyzing SRCCx

[PATCH RFC] sched/core: Make idle_cpu return 0 if doing softirq work

2014-07-18 Thread Jonathan Davies
The current implementation of idle_cpu only considers tasks that might be in the CPU's runqueue. If there's nothing in the specified CPU's runqueue, it will return 1. But if the CPU is doing work in the softirq context, it is wrong for idle_cpu to return 1. This patch makes it return 0. I

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