Re: [PATCH 3.10 14/46] d_walk() might skip too much

2015-06-26 Thread Willy Tarreau
On Fri, Jun 26, 2015 at 05:52:16PM -0700, Greg Kroah-Hartman wrote: > On Sat, Jun 20, 2015 at 10:41:14AM +0300, Jari Ruusu wrote: > > On 6/19/15, Greg Kroah-Hartman wrote: > > > I would much rather just include the "real" upstream patches, instead of > > > an odd backport. > > > > > > Jari, can

Re: [PATCH 3.14 00/17] 3.14.46-stable review

2015-06-26 Thread Guenter Roeck
On 06/26/2015 06:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.46 release. There are 17 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

Re: [PATCH 3.10 0/5] 3.10.82-stable review

2015-06-26 Thread Guenter Roeck
On 06/26/2015 06:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.82 release. There are 5 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

Re: [PATCH] mfd: 880m80x: Make use of BIT() macro

2015-06-26 Thread Krzysztof Kozlowski
2015-06-26 22:08 GMT+09:00 Vaibhav Hiremath : > Instead of hard coding the shift for bit definition, use > BIT() macro. I am not convinced that such change improves anything in existing code. IMHO (1 << n) is quite readable and obvious. The obviousness of it, is the same as obviousness of BIT(n).

[PATCH] staging: lustre: obdclass: fix macro coding style issue in uuid.c

2015-06-26 Thread Vasiliy Korchagin
This patch fixes the checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses +#define CONSUME(val, ptr) (val) = consume(sizeof(val), (ptr)) by expanding it as this macro is used only once. Signed-off-by: Vasiliy Korchagin --- Notes: Here is another version

Re: [PATCH] staging: lustre: obdclass: fix macro coding style issue in uuid.c

2015-06-26 Thread Joe Perches
On Sat, 2015-06-27 at 05:44 +0100, Vasiliy Korchagin wrote: > This patch fixes the checkpatch.pl error: > > ERROR: Macros with complex values should be enclosed in parentheses > +#define CONSUME(val, ptr) (val) = consume(sizeof(val), (ptr)) > > Signed-off-by: Vasiliy Korchagin > --- >

[PATCH] staging: lustre: obdclass: fix macro coding style issue in uuid.c

2015-06-26 Thread Vasiliy Korchagin
This patch fixes the checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses +#define CONSUME(val, ptr) (val) = consume(sizeof(val), (ptr)) Signed-off-by: Vasiliy Korchagin --- drivers/staging/lustre/lustre/obdclass/uuid.c | 2 +- 1 file changed, 1

Re: [GIT PULL] workqueue changes for v4.2-rc1

2015-06-26 Thread Stephen Rothwell
Hi Linus, On Fri, 26 Jun 2015 20:18:10 -0700 Linus Torvalds wrote: > > On Fri, Jun 26, 2015 at 9:01 AM, Tejun Heo wrote: > > > > Ooh, it isn't in mainline yet but pulling rcu tree will cause a silent > > conflict with this pull request which leads to build failure. > > I tend to try to do a

Re: [GIT PULL] ext4 changes for 4.2-rc1

2015-06-26 Thread Theodore Ts'o
On Fri, Jun 26, 2015 at 08:05:48PM -0700, Linus Torvalds wrote: > On Wed, Jun 24, 2015 at 8:46 PM, Theodore Ts'o wrote: > > > > A very large number of cleanups and bug fixes --- in particular for > > the ext4 encryption patches, which is a new feature added in the last > > merge window. Also fix

Re: [PATCH v2 6/9] irqchip / gic: Add stacked irqdomain support for ACPI based GICv2 init

2015-06-26 Thread Hanjun Guo
On 06/24/2015 01:38 AM, Lorenzo Pieralisi wrote: On Tue, Jun 23, 2015 at 04:11:38PM +0100, Hanjun Guo wrote: [...] diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 8fc67bc..d1b2131 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -851,15

Re: commit 4066c33d0308f8 breaks booting under KVM

2015-06-26 Thread Theodore Ts'o
On Fri, Jun 26, 2015 at 10:23:32AM -0400, Theodore Ts'o wrote: > I can no longer boot Linus's tree under KVM using a 32-bit i386 build; > it just hangs before any messages get sent to the serial console. It > bisects down to: > > commit 4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77 > Author: Gavin

Re: [PATCH] staging:lustre: remove irq.h from socklnd.h

2015-06-26 Thread Guenter Roeck
On Thu, Jun 25, 2015 at 04:59:46PM -0400, James Simmons wrote: > The header socklnd.h includes irq.h which is not need > and doesn't exist in the OpenSFS lustre branch. Having > irq.h in socklnd.h does break the build on the m68k > platform. So we can safely remove it. > > Signed-off-by: James

Re: [PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-26 Thread Rob Landley
On 06/19/2015 05:49 PM, Greg Kroah-Hartman wrote: > On Fri, Jun 19, 2015 at 04:57:00PM -0500, Rob Landley wrote: >> On 06/18/2015 12:59 PM, Greg Kroah-Hartman wrote: >>> On Thu, Jun 18, 2015 at 10:19:19AM -0700, Rob Landley wrote: Changes to existing files to add 0pf j2 board support.

Re: [GIT PULL] workqueue changes for v4.2-rc1

2015-06-26 Thread Linus Torvalds
On Fri, Jun 26, 2015 at 9:01 AM, Tejun Heo wrote: > > Ooh, it isn't in mainline yet but pulling rcu tree will cause a silent > conflict with this pull request which leads to build failure. I tend to try to do a full "make allmodconfig" build between all pull requests (although I can optimize

Re: [PATCH 4.1 00/11] 4.1.1-stable review

2015-06-26 Thread Shuah Khan
On 06/26/2015 07:09 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.1 release. > There are 11 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

Re: [PATCH 4.0 00/22] 4.0.7-stable review

2015-06-26 Thread Shuah Khan
On 06/26/2015 07:08 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.0.7 release. > There are 22 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

Re: [PATCH 3.10 0/5] 3.10.82-stable review

2015-06-26 Thread Shuah Khan
On 06/26/2015 07:08 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.82 release. > There are 5 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

Re: [PATCH 3.14 00/17] 3.14.46-stable review

2015-06-26 Thread Shuah Khan
On 06/26/2015 07:08 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.46 release. > There are 17 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

Re: [GIT PULL] ext4 changes for 4.2-rc1

2015-06-26 Thread Linus Torvalds
On Wed, Jun 24, 2015 at 8:46 PM, Theodore Ts'o wrote: > > A very large number of cleanups and bug fixes --- in particular for > the ext4 encryption patches, which is a new feature added in the last > merge window. Also fix a number of long-standing xfstest failures. > (Quota writes failing due

Re: [PATCH RFC v2 0/2] hwspinlock: Introduce raw capability for hwspinlock_device

2015-06-26 Thread Lina Iyer
Hi Ohad, Any comments? Thanks, Lina On Tue, Jun 09 2015 at 10:23 -0600, Lina Iyer wrote: This patch follows the discussion based on the first RFC series posted on the mailing list [1]. The discussion resulted in a couple of directives for hwspinlocks that do not want the framework imposing a

Re: [PATCH 07/36] HMM: add per mirror page table v3.

2015-06-26 Thread Mark Hairgrove
On Fri, 26 Jun 2015, Jerome Glisse wrote: > On Thu, Jun 25, 2015 at 04:05:48PM -0700, Mark Hairgrove wrote: > > On Thu, 21 May 2015, j.gli...@gmail.com wrote: > > > From: Jérôme Glisse > > > [...] > > > > > > + /* update() - update device mmu following an event. > > > + * > > > + *

[PATCH] staging: board: Add dependency on CLKDEV_LOOKUP

2015-06-26 Thread Guenter Roeck
The code depends on CLKDEV_LOOKUP since commit 225d68d852f1 ("staging: board: Add support for devices with complex dependencies"). Related build error (powerpc:allmodconfig): drivers/built-in.o: In function `.board_staging_register_clock': (.init.text+0x1d8e0): undefined reference to

[RFC v2 PATCH 7/8] mm: add the buddy system interface

2015-06-26 Thread Xishi Qiu
Add the buddy system interface for address range mirroring feature. Use mirrored memory for all kernel allocations. If there is no mirrored pages left, try to use other types pages. Signed-off-by: Xishi Qiu --- include/linux/memblock.h | 1 + mm/memblock.c| 6 +++---

[RFC v2 PATCH 6/8] mm: add free mirrored pages info

2015-06-26 Thread Xishi Qiu
Add the count of free mirrored pages in the following paths: /proc/meminfo /proc/zoneinfo /sys/devices/system/node/node XX/meminfo /sys/devices/system/node/node XX/vmstat Signed-off-by: Xishi Qiu --- drivers/base/node.c | 17 +++-- fs/proc/meminfo.c | 6 ++ mm/page_alloc.c

[RFC v2 PATCH 8/8] mm: add the PCP interface

2015-06-26 Thread Xishi Qiu
Abstract the PCP code in __rmqueue_pcp(), and do not call fallback in rmqueue_bulk() when the migratetype is mirror. Signed-off-by: Xishi Qiu --- mm/page_alloc.c | 85 + 1 file changed, 61 insertions(+), 24 deletions(-) diff --git

[RFC v2 PATCH 4/8] mm: add mirrored memory to buddy system

2015-06-26 Thread Xishi Qiu
Before free bootmem, set mirrored pageblock's migratetype to MIGRATE_MIRROR, so they could free to buddy system's MIGRATE_MIRROR list. When set reserved memory, skip the mirrored memory. Signed-off-by: Xishi Qiu --- include/linux/memblock.h | 3 +++ mm/memblock.c| 21

[RFC v2 PATCH 5/8] mm: introduce a new zone_stat_item NR_FREE_MIRROR_PAGES

2015-06-26 Thread Xishi Qiu
This patch introduces a new zone_stat_item called "NR_FREE_MIRROR_PAGES", it is used to storage free mirrored pages count. Signed-off-by: Xishi Qiu --- include/linux/mmzone.h | 1 + include/linux/vmstat.h | 2 ++ mm/vmstat.c| 1 + 3 files changed, 4 insertions(+) diff --git

[RFC v2 PATCH 3/8] mm: find mirrored memory in memblock

2015-06-26 Thread Xishi Qiu
Add a macro for_each_mirror_pfn_range() to find mirrored memory in memblock. This patch is based on Tony's patchset "Find mirrored memory, use for boot time allocations" Signed-off-by: Xishi Qiu --- include/linux/memblock.h | 25 ++--- mm/memblock.c| 6 +- 2

[RFC v2 PATCH 2/8] mm: introduce MIGRATE_MIRROR to manage the mirrored pages

2015-06-26 Thread Xishi Qiu
This patch introduces a new migratetype called "MIGRATE_MIRROR", it is used to allocate mirrored pages. When cat /proc/pagetypeinfo, you can see the count of free mirrored blocks. Signed-off-by: Xishi Qiu --- include/linux/mmzone.h | 9 + mm/page_alloc.c| 3 +++ mm/vmstat.c

[RFC v2 PATCH 1/8] mm: add a new config to manage the code

2015-06-26 Thread Xishi Qiu
This patch introduces a new config called "CONFIG_ACPI_MIRROR_MEMORY", set it off by default. Signed-off-by: Xishi Qiu --- mm/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/mm/Kconfig b/mm/Kconfig index 390214d..c40bb8b 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -200,6

[RFC v2 PATCH 0/8] mm: mirrored memory support for page buddy allocations

2015-06-26 Thread Xishi Qiu
Intel Xeon processor E7 v3 product family-based platforms introduces support for partial memory mirroring called as 'Address Range Mirroring'. This feature allows BIOS to specify a subset of total available memory to be mirrored (and optionally also specify whether to mirror the range 0-4 GB).

lockdep issue booting v4.1 upstream kernel with >64 x86_64 CPUs

2015-06-26 Thread Michel Lespinasse
Hi Peter, I am getting a minor issue trying to boot a lockdep enabled x86_64 kernel with >64 CPUs. The kernel boots the first 64 CPUs without issues, but then complains that lockdep wants to allocate memory while start_secondary -> init_espfix_ap has IRQs disabled: [0.310566] x86: Booting

Re: [PATCH 06/36] HMM: add HMM page table v2.

2015-06-26 Thread Mark Hairgrove
On Fri, 26 Jun 2015, Jerome Glisse wrote: > On Thu, Jun 25, 2015 at 03:57:29PM -0700, Mark Hairgrove wrote: > > On Thu, 21 May 2015, j.gli...@gmail.com wrote: > > > From: Jérôme Glisse > > > [...] > > > + > > > +void hmm_pt_iter_init(struct hmm_pt_iter *iter); > > > +void

Re: [RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-26 Thread Paul Turner
On Fri, Jun 26, 2015 at 12:31 PM, Andy Lutomirski wrote: > On Fri, Jun 26, 2015 at 11:09 AM, Mathieu Desnoyers > wrote: >> - On Jun 24, 2015, at 6:26 PM, Paul Turner p...@google.com wrote: >> >>> Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting >>> execution within

Re: [PATCH][RFC] usbhid: enable autosuspend for internal devices

2015-06-26 Thread Greg Kroah-Hartman
On Fri, Jun 26, 2015 at 09:20:19PM -0400, Alan Stern wrote: > On Fri, 26 Jun 2015, Greg Kroah-Hartman wrote: > > > > This doesn't do what the patch title says. USB_DEVICE_FIXED means that > > > the device can't be unplugged from its upstream port. It doesn't mean > > > the device is internal to

Re: [bp:tip-mm 11/13] drivers/video/fbdev/aty/atyfb_base.c:3461:2: error: implicit declaration of function 'ioremap_uc'

2015-06-26 Thread Max Filippov
On Fri, Jun 26, 2015 at 12:29 PM, Borislav Petkov wrote: > On Fri, Jun 26, 2015 at 04:28:51PM +0800, kbuild test robot wrote: >> tree: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp tip-mm >> head: 7b0982330a1b4d4bdb99bb8382e2363165231a90 >> commit:

[PATCH 3.14 00/17] 3.14.46-stable review

2015-06-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.14.46 release. There are 17 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 Jun 29 01:08:13 UTC 2015. Anything

[PATCH 3.14 01/17] crypto: caam - fix RNG buffer cache alignment

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steve Cornelius commit 412c98c1bef65fe7589f1300e93735d96130307c upstream. The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While

[PATCH 3.14 10/17] ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Kim Phillips commit b88657674d39fc2127d62d0de9ca142e166443c8 upstream. A userspace process can map device MMIO memory via VFIO or /dev/mem, e.g., for platform device passthrough support in

[PATCH 3.14 08/17] arm/arm64: KVM: Fix and refactor unmap_range

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall commit 4f853a714bf16338ff5261128e6c7ae2569e9505 upstream. unmap_range() was utterly broken, to quote Marc, and broke in all sorts of situations. It was also quite

[PATCH 3.14 05/17] ath3k: add support of 13d3:3474 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream. BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 3.14 03/17] drm/mgag200: Reject non-character-cell-aligned mode widths

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Adam Jackson commit 25161084b1c1b0c29948f6f77266a35f302196b7 upstream. Turns out 1366x768 does not in fact work on this hardware. Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie

[PATCH 3.14 07/17] lpfc: Add iotag memory barrier

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: James Smart commit 27f344eb15dd0da80ebec80c7245e8c85043f841 upstream. Add a memory barrier to ensure the valid bit is read before any of the cqe payload is read. This fixes an issue seen on

Re: [PATCH][RFC] usbhid: enable autosuspend for internal devices

2015-06-26 Thread Alan Stern
On Fri, 26 Jun 2015, Greg Kroah-Hartman wrote: > > This doesn't do what the patch title says. USB_DEVICE_FIXED means that > > the device can't be unplugged from its upstream port. It doesn't mean > > the device is internal to the computer. > > > > As an example, consider a composite Apple

[PATCH 4.0 01/22] crypto: caam - improve initalization for context state saves

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Steve Cornelius commit 6fd4b15603124c1b56e03db29b41ec39d8a077b9 upstream. Multiple function in asynchronous hashing use a saved-state block, a.k.a. struct caam_hash_state, which holds a stash

[PATCH 4.0 00/22] 4.0.7-stable review

2015-06-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.0.7 release. There are 22 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 Jun 29 01:08:46 UTC 2015. Anything

[PATCH 4.0 10/22] drm/mgag200: Reject non-character-cell-aligned mode widths

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Adam Jackson commit 25161084b1c1b0c29948f6f77266a35f302196b7 upstream. Turns out 1366x768 does not in fact work on this hardware. Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie

[PATCH 4.0 14/22] ath3k: Add support of 0489:e076 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 692c062e7c282164fd7cda68077f79dafd176eaf upstream. BugLink: https://bugs.launchpad.net/bugs/1462614 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 4.0 11/22] drm/i915: Always reset vma->ggtt_view.pages cache on unbinding

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 016a65a39170c3cdca09a6ac343ff4f124668b45 upstream. With the introduction of multiple views of an obj in the same vm, each vma was taught to cache its copy of the pages (so

Re: [Xen-devel] [PATCH v7 5/9] PCI: Add pci_iomap_wc() variants

2015-06-26 Thread Luis R. Rodriguez
On Fri, Jun 26, 2015 at 4:54 PM, Benjamin Herrenschmidt wrote: > On Fri, 2015-06-26 at 15:41 -0700, Luis R. Rodriguez wrote: > >> > It wasn't nullified for the main user at the time, the fb. And I >> > mentioned an IB adapter or two for which the code had been hand >> tuned. >> >> This still

[PATCH 4.0 17/22] cdc-acm: Add support of ATOL FPrint fiscal printers

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Sokolov commit 15bf722e6f6c0b884521a0363204532e849deb7f upstream. ATOL FPrint fiscal printers require usb_clear_halt to be executed to work properly. Add quirk to fix the issue.

[PATCH 4.0 20/22] dm: fix NULL pointer when clone_and_map_rq returns !DM_MAPIO_REMAPPED

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Junichi Nomura commit 3a1407559a593d4360af12dd2df5296bf8eb0d28 upstream. When stacking request-based DM on blk_mq device, request cloning and remapping are done in a single call to target's

[PATCH 4.0 02/22] crypto: caam - fix RNG buffer cache alignment

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Steve Cornelius commit 412c98c1bef65fe7589f1300e93735d96130307c upstream. The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While

[PATCH 4.0 15/22] ath3k: add support of 13d3:3474 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream. BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 4.0 18/22] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 6f024978e74bda616b27183adee029b65eb27032 upstream. On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in 56b60b8bce4a ("ARM: 8265/1: dts: exynos4: Add

[PATCH 4.0 22/22] powerpc/powernv: Restore non-volatile CRs after nap

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Sam Bobroff commit 0aab3747091db309b8a484cfd382a41644552aa3 upstream. Patches 7cba160ad "powernv/cpuidle: Redesign idle states management" and 77b54e9f2 "powernv/powerpc: Add winkle support

[PATCH 4.0 21/22] drm/i915: Avoid GPU hang when coming out of s3 or s4

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Peter Antoine commit 364aece01a2dd748fc36a1e8bf52ef639b0857bd upstream. This patch fixes a timing issue that causes a GPU hang when the system comes out of power saving. During pm_resume, We

[PATCH 4.0 19/22] kprobes/x86: Return correct length in __copy_instruction()

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Eugene Shatokhin commit c80e5c0c23ce2282476fdc64c4b5e3d3a40723fd upstream. On x86-64, __copy_instruction() always returns 0 (error) if the instruction uses %rip-relative addressing. This is

[PATCH 4.0 04/22] clk: at91: pll: fix input range validity check

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 6c7b03e1aef2e92176435f4fa562cc483422d20f upstream. The PLL impose a certain input range to work correctly, but it appears that this input range does not apply on the

[PATCH 4.0 09/22] iser-target: Fix possible use-after-free

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg commit 524630d5824c7a75aab568c6bd1423fd748cd3bb upstream. iser connection termination process happens in 2 stages: - isert_wait_conn: - resumes rdma disconnect - wait for

[PATCH 4.1 01/11] x86/boot: Fix overflow warning with 32-bit binutils

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 04c17341b42699a5859a8afa05e64ba08a4e5235 upstream. When building the kernel with 32-bit binutils built with support only for the i386 target, we get the following

[PATCH 4.0 05/22] clk: at91: fix h32mx prototype inclusion in pmc header

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit 28df9c2fb6f896179fcffd5a3f5a86e2d1dff0a5 upstream. Trivial fix that prevents to compile this pmc clock driver if h32mx clock is present but smd clock isn't.

[PATCH 4.0 06/22] ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 6ab42ff44864d26e8e498b8ac655d24ee389d267 upstream. On a HP Envy TouchSmart laptop, there are 2 speakers (main speaker and subwoofer speaker), 1 headphone and 2 DACs, without

[PATCH 4.1 11/11] cdc-acm: Add support of ATOL FPrint fiscal printers

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Sokolov commit 15bf722e6f6c0b884521a0363204532e849deb7f upstream. ATOL FPrint fiscal printers require usb_clear_halt to be executed to work properly. Add quirk to fix the issue.

[PATCH 4.0 07/22] tracing: Have filter check for balanced ops

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 2cf30dc180cea808077f003c5116388183e54f9e upstream. When the following filter is used it causes a warning to trigger: # cd /sys/kernel/debug/tracing # echo

[PATCH 4.1 00/11] 4.1.1-stable review

2015-06-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.1.1 release. There are 11 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 Jun 29 01:08:53 UTC 2015. Anything

[PATCH 4.1 07/11] Bluetooth: ath3k: Add support of 04ca:300d AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 7e730c7f3d1f39c25cf5f7cf70c0ff4c28d7bec7 upstream. BugLink: https://bugs.launchpad.net/bugs/1394368 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 4.0 08/22] iser-target: Fix variable-length response error completion

2015-06-26 Thread Greg Kroah-Hartman
4.0-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg commit 9253e667ab50fd4611a60e1cdd6a6e05a1d91cf1 upstream. Since commit "2426bd456a6 target: Report correct response ..." we might get a command with data_size that does not fit

[PATCH 4.1 09/11] ath3k: add support of 13d3:3474 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream. BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH] power: axp288_charger: Fix broken extcon API calls

2015-06-26 Thread Guenter Roeck
The extcon API calls have been changed to add an additional argument. This causes build errors such as drivers/power/axp288_charger.c:851:2: error: too few arguments to function 'extcon_register_notifier' Fixes: 73b6ecdb93e8 ("extcon: Redefine the unique id of supported external

[PATCH 4.1 08/11] ath3k: Add support of 0489:e076 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 692c062e7c282164fd7cda68077f79dafd176eaf upstream. BugLink: https://bugs.launchpad.net/bugs/1462614 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 4.1 04/11] perf/x86/intel/bts: Fix DS area sharing with x86_pmu events

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 6b099d9b040b0f3d0aec05b560d7caf879af5077 upstream. Currently, the intel_bts driver relies on the DS area allocated by the x86_pmu code in its event_init() path, which

[PATCH 4.1 02/11] perf: Fix ring_buffer_attach() RCU sync, again

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 2f993cf093643b98477c421fa2b9a98dcc940323 upstream. While looking for other users of get_state/cond_sync. I Found ring_buffer_attach() and it looks obviously buggy? Don't

[PATCH 4.1 03/11] perf/x86: Add more Broadwell model numbers

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 4b36f1a4139c9284df74c0f5d7655603d67807df upstream. This patch adds additional model numbers for Broadwell to perf. Support for Broadwell with Iris Pro (Intel Core i7-57xxC)

[PATCH 4.1 05/11] perf/x86: Honor the architectural performance monitoring version

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: "Palik, Imre" commit 2c33645d366d13b969d936b68b9f4875b1fdddea upstream. Architectural performance monitoring, version 1, doesn't support fixed counters. Currently, even if a hypervisor

[PATCH 3.14 04/17] ath3k: Add support of 0489:e076 AR3012 device

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 692c062e7c282164fd7cda68077f79dafd176eaf upstream. BugLink: https://bugs.launchpad.net/bugs/1462614 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 3.14 06/17] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec

[PATCH 4.1 06/11] perf tools: Fix build breakage if prefix= is specified

2015-06-26 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 75e84ab906ef8935cff3df3d8929f1bafea81599 upstream. Invoking Makefile.perf with prefix= breaks the build since Makefile.perf hands that variable down to Makefile.build where

[PATCH 3.14 17/17] KVM: vgic: return int instead of bool when checking I/O ranges

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 1fa451bcc67fa921a04c5fac8dbcde7844d54512 upstream. vgic_ioaddr_overlap claims to return a bool, but in reality it returns an int. Shut sparse up by fixing the type

[PATCH 3.14 09/17] ARM: KVM: Unmap IPA on memslot delete/move

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Auger commit df6ce24f2ee485c4f9a5cb610063a5eb60da8267 upstream. Currently when a KVM region is deleted or moved after KVM_SET_USER_MEMORY_REGION ioctl, the corresponding intermediate

[PATCH 3.14 16/17] KVM: ARM/arm64: avoid returning negative error code as bool

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 18d457661fb9fa69352822ab98d39331c3d0e571 upstream. is_valid_cache returns true if the specified cache is valid. Unfortunately, if the parameter passed it out of range, we

[PATCH 3.14 15/17] KVM: ARM/arm64: fix broken __percpu annotation

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 4000be423cb01a8d09de878bb8184511c49d4238 upstream. Running sparse results in a bunch of noisy address space mismatches thanks to the broken __percpu annotation on

[PATCH 3.14 13/17] ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Victor Kamensky commit ba083d20d8cfa9e999043cd89c4ebc964ccf8927 upstream. esr_el2 field of struct kvm_vcpu_fault_info has u32 type. It should be stored as word. Current code works in LE case

[PATCH 3.14 02/17] tracing: Have filter check for balanced ops

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 2cf30dc180cea808077f003c5116388183e54f9e upstream. When the following filter is used it causes a warning to trigger: # cd /sys/kernel/debug/tracing # echo

[PATCH 3.14 14/17] KVM: ARM/arm64: fix non-const declaration of function returning const

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c upstream. Sparse kicks up about a type mismatch for kvm_target_cpu: arch/arm64/kvm/guest.c:271:25: error: symbol 'kvm_target_cpu'

[PATCH 3.10 5/5] lpfc: Add iotag memory barrier

2015-06-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: James Smart commit 27f344eb15dd0da80ebec80c7245e8c85043f841 upstream. Add a memory barrier to ensure the valid bit is read before any of the cqe payload is read. This fixes an issue seen on

[PATCH 3.14 12/17] ARM: virt: fix wrong HSCTLR.EE bit setting

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Li Liu commit af92394efc8be73edd2301fc15f9b57fd430cd18 upstream. HSCTLR.EE is defined as bit[25] referring to arm manual DDI0606C.b(p1590). Reviewed-by: Marc Zyngier Signed-off-by: Li Liu

[PATCH 3.10 4/5] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-06-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec

[PATCH 3.10 3/5] drm/mgag200: Reject non-character-cell-aligned mode widths

2015-06-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Adam Jackson commit 25161084b1c1b0c29948f6f77266a35f302196b7 upstream. Turns out 1366x768 does not in fact work on this hardware. Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie

[PATCH 3.10 1/5] crypto: caam - fix RNG buffer cache alignment

2015-06-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Steve Cornelius commit 412c98c1bef65fe7589f1300e93735d96130307c upstream. The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While

[PATCH 3.10 0/5] 3.10.82-stable review

2015-06-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.82 release. There are 5 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 Jun 29 01:07:49 UTC 2015. Anything

[PATCH 3.10 2/5] tracing: Have filter check for balanced ops

2015-06-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 2cf30dc180cea808077f003c5116388183e54f9e upstream. When the following filter is used it causes a warning to trigger: # cd /sys/kernel/debug/tracing # echo

Re: [PATCH 3.10 14/46] d_walk() might skip too much

2015-06-26 Thread Greg Kroah-Hartman
On Sat, Jun 20, 2015 at 10:41:14AM +0300, Jari Ruusu wrote: > On 6/19/15, Greg Kroah-Hartman wrote: > > I would much rather just include the "real" upstream patches, instead of > > an odd backport. > > > > Jari, can you just backport the above referenced patches instead and > > provide those

Re: [PATCH v3 2/4] cpufreq: introduce cpufreq_driver_might_sleep

2015-06-26 Thread Felipe Balbi
Hi, On Fri, Jun 26, 2015 at 04:53:42PM -0700, Michael Turquette wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > index 28e59a4..e5296c0 100644 > --- a/drivers/cpufreq/cpufreq.c > +++ b/drivers/cpufreq/cpufreq.c > @@ -112,6 +112,12 @@ bool

Re: [PATCH v3 3/4] sched: scheduler-driven cpu frequency selection

2015-06-26 Thread Felipe Balbi
Hi, On Fri, Jun 26, 2015 at 04:53:43PM -0700, Michael Turquette wrote: > diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c > new file mode 100644 > index 000..5020f24 > --- /dev/null > +++ b/kernel/sched/cpufreq_sched.c > @@ -0,0 +1,308 @@ > +/* > + * Copyright (C)

Re: [v3.16.y-ckt][v3.18.y][v3.19.y-ckt][v4.0.y][PATCH 1/1]Drivers: hv: vmbus: Add support for VMBus panic notifier handler

2015-06-26 Thread Greg KH
On Tue, Jun 16, 2015 at 04:22:12PM -0400, Joseph Salisbury wrote: > From: Nick Meier > > BugLink: http://bugs.launchpad.net/bugs/1463584 > > Hyper-V allows a guest to notify the Hyper-V host that a panic > condition occured. This notification can include up to five 64 > bit values. These 64

[PATCH v4] i8042: Add debug_kbd option

2015-06-26 Thread cpaul
From: Stephen Chandler Paul A big problem with the current i8042 debugging option is that it outputs data going to and from the keyboard by default. As a result, many dmesg logs uploaded by users will unintentionally contain sensitive information such as their password, as such it's probably a

Re: [PATCH] modules: elide param_lock if !CONFIG_SYSFS

2015-06-26 Thread Stephen Rothwell
Hi Rusty, On Thu, 25 Jun 2015 17:34:31 -0400 Dan Streetman wrote: > > On Thu, Jun 25, 2015 at 5:18 PM, Rusty Russell wrote: > > Dan Streetman writes: > >> Only include the built-in and per-module param_lock, and corresponding > >> lock/unlock functions, if sysfs is enabled. If there is no

Re: [Xen-devel] [PATCH v7 5/9] PCI: Add pci_iomap_wc() variants

2015-06-26 Thread Benjamin Herrenschmidt
On Fri, 2015-06-26 at 15:41 -0700, Luis R. Rodriguez wrote: > > It wasn't nullified for the main user at the time, the fb. And I > > mentioned an IB adapter or two for which the code had been hand > tuned. > > This still means there could be some affected drivers when used on > powerpc, no?

Re: linux-next: build failure after merge of the extcon tree

2015-06-26 Thread Stephen Rothwell
Hi Greg, On Fri, 5 Jun 2015 19:53:46 +0900 Greg KH wrote: > > On Thu, Jun 04, 2015 at 07:18:38PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > This is now needed when the char-misc and battery trees are merged ... > > > > On Mon, 25 May 2015 21:05:03 +1000 Stephen Rothwell > > wrote: >

  1   2   3   4   5   6   7   8   9   10   >