[PATCH 8/8] iio: mma8452: leave sysfs namings to the iio core

2015-07-01 Thread Martin Kepplinger
This doesn't actually change anything since the core names the sysfs folder for the iio event attributes events anyways. It only leaves the job to the core. Signed-off-by: Martin Kepplinger martin.kepplin...@theobroma-systems.com Signed-off-by: Christoph Muellner

[PATCH 1/8] iio: mma8452: refactor for seperating chip specific data

2015-07-01 Thread Martin Kepplinger
This adds a struct mma_chip_info to hold data that will remain specific to the chip in use. It is provided during probe() and linked in struct of_device_id. Also this suggests that the driver is called mma8452 and now handles the MMA8452Q device, but is not limited to it. Signed-off-by: Martin

[PATCH v2 0/8] iio: mma8452: support more devices and improve driver

2015-07-01 Thread Martin Kepplinger
This is the 2nd version that adds support for motion interrupts and 3 more accelerometer chips, two of which use them because they don't support the until now included transient interrupt sources: MMA8453Q, MMA8652FC and MMA8653FC; datasheets are in the commit messages. The driver and module

[PATCH 6/8] iio: mma8452: add copyright notice comment

2015-07-01 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger martin.kepplin...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com --- drivers/iio/accel/mma8452.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index

[PATCH 2/8] iio: mma8452: add support for MMA8453Q accelerometer chip

2015-07-01 Thread Martin Kepplinger
This adds support for the 10 bit version if Freescale's accelerometers of this series. The datasheet is available at Freescale's website: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8453Q.pdf Signed-off-by: Martin Kepplinger martin.kepplin...@theobroma-systems.com Signed-off-by:

[PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-01 Thread Martin Kepplinger
This adds the freefall / motion interrupt source definitions to the driver. It is not in use now, but mma_chip_info and iio_chan_spec can easily be adapted to use it instead of the transient interrupt source. Signed-off-by: Martin Kepplinger martin.kepplin...@theobroma-systems.com Signed-off-by:

Re: [git pull] vfs part 2

2015-07-01 Thread Al Viro
On Wed, Jul 01, 2015 at 10:50:59AM +0300, Andrey Ryabinin wrote: # dmesg | grep fucked [ 114.732166] fucked: sent 2037, server says it got 2047 (err = 0) [ 124.937105] fucked: sent 27, server says it got 4096 (err = 0) [ 154.075400] fucked: sent 19, server says it got 4096 (err = 0)

[PATCH] drm/ttm: recognize ARM64 arch in ioprot handler

2015-07-01 Thread Alexandre Courbot
Return proper pgprot for ARM64. This is required for objects like Nouveau fences to be mapped with expected coherency. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpu/drm/ttm/ttm_bo_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 4/9] arm: twr-k70f120m: timer driver for Kinetis SoC

2015-07-01 Thread Paul Osmialowski
Hi Thomas, On Wed, 1 Jul 2015, Thomas Gleixner wrote: + clockevents_register_device( + kinetis_clockevent_tmrs[chan].evtdev); + + kinetis_pit_init(kinetis_clockevent_tmrs[chan], + (rate /

Re: [PATCH] InfiniBand: Deletion of unnecessary checks before two function calls

2015-07-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 19:19:21 +0100 The functions kfree() and pci_dev_put() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle

Re: 4.2-rc0: akcipher breaks compilation

2015-07-01 Thread Pavel Machek
On Tue 2015-06-30 22:48:26, Herbert Xu wrote: On Tue, Jun 30, 2015 at 11:27:50AM +0200, Pavel Machek wrote: Hi! CC crypto/akcipher.o CC block/bio.o crypto/akcipher.c: In function ‘crypto_akcipher_report’: crypto/akcipher.c:30:32: error: storage size of

Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-07-01 Thread Daniel P. Berrange
On Tue, Jun 30, 2015 at 04:44:10PM -0500, Jeremy White wrote: This module uses the usbredir protocol and user space tools, which are used by the SPICE project. Signed-off-by: Jeremy White jwh...@codeweavers.com [snip] diff --git a/drivers/usb/usbredir/Kconfig b/drivers/usb/usbredir/Kconfig

[PATCH v3 1/2] vhost: extend memory regions allocation to vmalloc

2015-07-01 Thread Igor Mammedov
with large number of memory regions we could end up with high order allocations and kmalloc could fail if host is under memory pressure. Considering that memory regions array is used on hot path try harder to allocate using kmalloc and if it fails resort to vmalloc. It's still better than just

[PATCH 1/4] perf record: Use %ld for long type sample counter

2015-07-01 Thread He Kuang
Since we post-process and count (long rec-samples) to show precise number of samples instead of estimate on (u64 rec-bytes_written), the format string of that should be changed to %ld accordingly, otherwise the value don't show right on 32bit machine. Before this patch: $ perf record -e

[PATCH 2/4] perf probe: Fix failure to probe online module

2015-07-01 Thread He Kuang
Kernel module has the type DSO_TYPE_USER, the check on dso type in kernel_get_module_dso() disable openning debuginfo of online kernel modules. Problem can be reproduced as: $ insmod test_bpf.ko $ perf probe -v -m test_bpf --add='skb_is_nonlinear' probe-definition(0): skb_is_nonlinear

[PATCH 4/4] perf probe: Add failure check when show variable range

2015-07-01 Thread He Kuang
Change improper type size_t to diffptr_t to make consistent with libdw and handle error code. Signed-off-by: He Kuang heku...@huawei.com --- tools/perf/util/dwarf-aux.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/dwarf-aux.c

[PATCH 3/4] perf probe: Enable --range option according to libdw version

2015-07-01 Thread He Kuang
The option --range uses functions in libdw (elfutils version = 1.57), this patch check if elfutils version meets the requirements before enable this feature, so that perf can be built with old libdw. Reported-by: Alexei Starovoitov alexei.starovoi...@gmail.com Signed-off-by: He Kuang

[PATCH 1/4] ARM: tegra: Add IOMMU node to GK20A

2015-07-01 Thread Alexandre Courbot
Nouveau can make use of the IOMMU to make physical appear linear in the GPU address space. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra124.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi

[PATCH 3/4] ARM: tegra: jetson-tk1: Add GK20A GPU DT node

2015-07-01 Thread Alexandre Courbot
Add the device-tree node for the GK20A GPU and leave it disabled. It is the responsability of the bootloader to enable it if the VPR registers have been programmed such as the GPU can operate. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 10

Re: [PATCH 41/51] writeback: make wakeup_flusher_threads() handle multiple bdi_writeback's

2015-07-01 Thread Jan Kara
On Fri 22-05-15 17:13:55, Tejun Heo wrote: wakeup_flusher_threads() currently only starts writeback on the root wb (bdi_writeback). For cgroup writeback support, update the function to wake up all wbs and distribute the number of pages to write according to the proportion of each wb's write

[PATCH] Input: wdt87xx_i2c - Add a scaling factor for TOUCH_MAJOR event

2015-07-01 Thread HungNien Chen
Get the scaling factor when it reads the sys params. The width value will multiple the factor and report the value in the TOUCH_MAJOR event. Signed-off-by: HungNien Chen hn.c...@weidahitech.com --- drivers/input/touchscreen/wdt87xx_i2c.c | 18 +- 1 file changed, 13 insertions(+),

Re: [PATCH 42/51] writeback: make wakeup_dirtytime_writeback() handle multiple bdi_writeback's

2015-07-01 Thread Jan Kara
On Fri 22-05-15 17:13:56, Tejun Heo wrote: wakeup_dirtytime_writeback() currently only starts writeback on the root wb (bdi_writeback). For cgroup writeback support, update the function to check all wbs. Signed-off-by: Tejun Heo t...@kernel.org Cc: Jens Axboe ax...@kernel.dk Cc: Jan Kara

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

2015-07-01 Thread Lee Jones
On Fri, 26 Jun 2015, Vaibhav Hiremath wrote: Instead of hard coding the shift for bit definition, use BIT() macro. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- Boot tested on PXA1928 based platform. Note that all upcoming patches will be on top of this patch now.

Re: [GIT PULL 0/8] perf/pt - Intel PT/BTS

2015-07-01 Thread Adrian Hunter
On 30/06/15 16:23, Adrian Hunter wrote: On 30/06/15 13:56, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: Yeah, so I did a 'newbie test': I pulled the tree and saw that it has a tools/perf/Documentation/intel-bts.txt file and started reading it. Based on its text:

[PATCH 7/8] iio: mma8452: change iio event type to IIO_EV_TYPE_MAG

2015-07-01 Thread Martin Kepplinger
IIO_EV_TYPE_THRESH in rising direction describes an event where the threshold is crossed in rising direction, positive or negative values being possible. This is not the case here. Since the threshold is no signed value and only the magnitude is compared, IIO_EV_TYPE_MAG is what describes the

[PATCH 4/8] iio: mma8452: add support for MMA8652FC and MMA8653FC accelerometers

2015-07-01 Thread Martin Kepplinger
MMA8652FC and MMA8653FC don't provide the transient interrupt source, so the motion interrupt source is used by providing a new iio_chan_spec definition, so that other supported devices are not affected by this. Datasheets for the newly supported devices are available at Freescale's website:

Re: WARNING: CPU: 0 PID: 3634 at drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank

2015-07-01 Thread Daniel Vetter
On Tue, Jun 30, 2015 at 10:13:35PM +0200, Michal Hocko wrote: On Tue 30-06-15 18:59:29, Daniel Vetter wrote: [...] I looked at dmesg, nothing out of the ordinary there. Unfortunately also no hints why the pipe is somehow off when we think it's on. Can you please test the below patch and

[PATCH 5/8] iio: mma8452: add devicetree documentation

2015-07-01 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger martin.kepplin...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com --- .../devicetree/bindings/iio/accel/mma8452.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

[PATCH v2] PM / Sleep: Use workqueue for user space wakeup sources garbage collector

2015-07-01 Thread SungEun Kim
From: SungEun Kim cleaneye@lge.com The synchronous synchronize_rcu in wakeup_source_remove makes user process which writes to /sys/kernel/wake_unlock blocked sometimes. For example, when android eventhub tries to release wakelock, this blocking process can occur, and eventhub can't get input

Re: [tip:irq/urgent] mfd/asic3: Fix race in installing chained IRQ handler

2015-07-01 Thread Lee Jones
On Fri, 26 Jun 2015, tip-bot for Thomas Gleixner wrote: Commit-ID: c30e30478c74e5be2fa3bbe954084a31f0d60570 Gitweb: http://git.kernel.org/tip/c30e30478c74e5be2fa3bbe954084a31f0d60570 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Sun, 21 Jun 2015 20:16:06 +0200 Committer:

Re: [tip:irq/urgent] mfd/asic3: Fix race in installing chained IRQ handler

2015-07-01 Thread Thomas Gleixner
On Wed, 1 Jul 2015, Lee Jones wrote: Applied to MFD -fixes. I have it queued already and will send it to Linus later today. Thanks, tglx -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] Staging: unisys: virtpci: fixed a brace coding style issue

2015-07-01 Thread Sohny Thomas
On Wednesday 01 July 2015 01:32 PM, Sudip Mukherjee wrote: On Wed, Jul 01, 2015 at 01:06:48PM +0530, Sohny Thomas wrote: snip No, now this will introduce a new checkpatch warning that else is not required after return. why did you introduce this else? I did this so that the code is more

Re: [git pull] vfs part 2

2015-07-01 Thread Andrey Ryabinin
On 07/01/2015 11:27 AM, Al Viro wrote: Could you check if 3.19 was getting anything similar? I.e. in p9_client_write() there add if (count rsize) printk(KERN_ERR bogus RWRITE: %d - %d\n, rsize, count); just before p9_debug(P9_DEBUG_9P, RWRITE count %d\n,

Re: [PATCH 05/11] mm: debug: dump page into a string rather than directly on screen

2015-07-01 Thread Kirill A. Shutemov
On Tue, Jun 30, 2015 at 04:35:45PM -0700, David Rientjes wrote: I do understand the problem with the current VM_BUG_ON_PAGE() and VM_BUG_ON_VMA() stuff, and it compels me to ask about just going back to the normal VM_BUG_ON(cond); coupled with dump_page(), dump_vma(),

Re: [PATCH 1/3] fs: optimize inotify/fsnotify code for unwatched files

2015-07-01 Thread Jan Kara
On Tue 30-06-15 15:04:55, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com I have a _tiny_ microbenchmark that sits in a loop and writes single bytes to a file. Writing one byte to a tmpfs file is around 2x slower than reading one byte from a file, which is a _bit_ more

Re: [git pull] vfs part 2

2015-07-01 Thread Al Viro
On Wed, Jul 01, 2015 at 11:41:04AM +0300, Andrey Ryabinin wrote: On 07/01/2015 11:27 AM, Al Viro wrote: Could you check if 3.19 was getting anything similar? I.e. in p9_client_write() there add if (count rsize) printk(KERN_ERR bogus RWRITE: %d - %d\n, rsize, count);

Re: [PATCH 1/1] mem-hotplug: Handle node hole when initializing numa_meminfo.

2015-07-01 Thread Xishi Qiu
On 2015/7/1 15:55, Tang Chen wrote: On 07/01/2015 02:25 PM, Xishi Qiu wrote: On 2015/7/1 11:16, Tang Chen wrote: When parsing SRAT, all memory ranges are added into numa_meminfo. In numa_init(), before entering numa_cleanup_meminfo(), all possible memory ranges are in numa_meminfo. And

RE: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-01 Thread Subbaraya Sundeep Bhatta
Hi Felipe, -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Tuesday, June 30, 2015 3:17 AM To: Subbaraya Sundeep Bhatta Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Subbaraya Sundeep

Re: [PATCH] serial/uartlite: Let it build on any arch with IOMEM

2015-07-01 Thread Ricardo Ribalda Delgado
ping? On Mon, Jun 15, 2015 at 4:36 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Being a soft core, it can be located not only on PPC or Microblaze platforms. Since the driver already does endianness detection we only need to change the Kconfig to use it in other arches.

[PATCH] scsi: storvsc: make INQUIRY response SPC-compliant

2015-07-01 Thread Vitaly Kuznetsov
SPC-2/3/4 specs state that The standard INQUIRY data (see table ...) shall contain at least 36 bytes. Hyper-V host doesn't always honor this requirement, e.g. when there is no physical device present at a particular LUN host sets Peripheral qualifier to 011b and Additional length to 0 (thus making

[PATCH v3 2/2] vhost: add max_mem_regions module parameter

2015-07-01 Thread Igor Mammedov
it became possible to use a bigger amount of memory slots, which is used by memory hotplug for registering hotplugged memory. However QEMU crashes if it's used with more than ~60 pc-dimm devices and vhost-net enabled since host kernel in module vhost-net refuses to accept more than 64 memory

Re: [PATCH] clockevents: return error from tick_broadcast_oneshot_control if !GENERIC_CLOCKEVENTS_BROADCAST

2015-07-01 Thread Thomas Gleixner
On Fri, 26 Jun 2015, Thomas Gleixner wrote: On Fri, 26 Jun 2015, Preeti U Murthy wrote: On 06/26/2015 01:17 PM, Thomas Gleixner wrote: if (state == TICK_BROADCAST_ENTER) { + /* + * If the current CPU owns the hrtimer broadcast + * mechanism, it cannot go

[PATCH v3 0/2] vhost: support more than 64 memory regions

2015-07-01 Thread Igor Mammedov
changes since v2: * drop cache patches for now as suggested * add max_mem_regions module parameter instead of unconditionally increasing limit * drop bsearch patch since it's already queued References to previous versions: v2: https://lkml.org/lkml/2015/6/17/276 v1:

Re: [PATCH 1/5] x86_64: fix kasan shadow region page tables

2015-07-01 Thread Ingo Molnar
* Andrey Ryabinin a.ryabi...@samsung.com wrote: diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 5a46681..f129a9a 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c @@ -161,11 +161,12 @@ asmlinkage __visible void __init x86_64_start_kernel(char *

[PATCH 2/4] ARM: tegra: venice2: Add GK20A GPU DT node

2015-07-01 Thread Alexandre Courbot
From: Thierry Reding tred...@nvidia.com Add the device-tree node for the GK20A GPU and leave it disabled. It is the responsability of the bootloader to enable it if the VPR registers have been programmed such as the GPU can operate. Signed-off-by: Thierry Reding tred...@nvidia.com Signed-off-by:

[PATCH 0/4] ARM: tegra: enable Nouveau for Jetson TK1 and Venice 2

2015-07-01 Thread Alexandre Courbot
With all essential kernel driver and user-space patches merged, GK20A can now be enabled safely on Tegra124 devices. This series makes small device tree and configuration adjustments to allow this. It leaves the GK20A nodes ready to be used, but still disabled. Enabling the nodes is the work of

[PATCH 4/4] ARM: tegra: Enable Nouveau in defconfig

2015-07-01 Thread Alexandre Courbot
Since Nouveau support is complete, enable it in the Tegra configuration so supported boards can take advantage of it. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/configs/tegra_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/tegra_defconfig

Re: [PATCH V3] lib/bitmap.c: rewrite __bitmap_parse __bitmap_parselist

2015-07-01 Thread Yury
Subject: lib/bitmap.c: rewrite __bitmap_parse __bitmap_parselist scripts/checkpatch.pl lib_bitmap.c:-rewrite-__bitmap_parse-__bitmap_parselist.patch total: 134 errors, 1 warnings, 284 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or

Re: [PATCH] Staging: unisys: virtpci: fixed a brace coding style issue

2015-07-01 Thread Sudip Mukherjee
On Wed, Jul 01, 2015 at 02:04:48PM +0530, Sohny Thomas wrote: On Wednesday 01 July 2015 01:32 PM, Sudip Mukherjee wrote: On Wed, Jul 01, 2015 at 01:06:48PM +0530, Sohny Thomas wrote: snip This is from linux-stable branch and I updated it just yesterday, so looks like the folders still

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-07-01 Thread Zidan Wang
On Tue, Jun 30, 2015 at 11:42:00AM +0100, Charles Keepax wrote: On Tue, Jun 30, 2015 at 04:54:09PM +0800, Zidan Wang wrote: On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: When using snd_soc_dai_set_pll to set

Re: [PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Emil Velikov
On 1 July 2015 at 18:37, Ilia Mirkin imir...@alum.mit.edu wrote: On Wed, Jul 1, 2015 at 1:18 PM, Colin Ian King colin.k...@canonical.com wrote: On 01/07/15 18:12, Emil Velikov wrote: On 1 July 2015 at 17:56, Ilia Mirkin imir...@alum.mit.edu wrote: On Wed, Jul 1, 2015 at 12:51 PM, Colin King

Re: [PATCH v2] dell-laptop: Check return value of all SMBIOS calls and do not cache hwswitch state

2015-07-01 Thread Pali Rohár
On Tuesday 30 June 2015 01:02:40 Darren Hart wrote: On Sat, Jun 27, 2015 at 09:34:43AM +0200, Pali Rohár wrote: Make sure that return value of all SMBIOS calls are properly checked and do not continue of processing (received) information if call failed. Also do not chache hwswitch

Re: randconfig build error with next-20150620, in drivers/media/v4l2-core/videobuf2-core.c

2015-07-01 Thread Randy Dunlap
On 06/20/15 09:44, Jim Davis wrote: Building with the attached random configuration file, drivers/media/v4l2-core/videobuf2-core.c: In function ‘vb2_warn_zero_bytesused’: drivers/media/v4l2-core/videobuf2-core.c:1253:2: error: implicit declaration of function ‘__WARN’

Re: gcc feature request / RFC: extra clobbered regs

2015-07-01 Thread Vladimir Makarov
On 07/01/2015 01:43 PM, Jakub Jelinek wrote: On Wed, Jul 01, 2015 at 01:35:16PM -0400, Vladimir Makarov wrote: Actually it raise a question for me. If we describe that a function clobbers more than calling convention and then use it as a value (assigning a variable or passing as an argument)

Re: [PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-07-01 Thread Rob Herring
On Sun, Jun 28, 2015 at 2:46 PM, Marek Belisko ma...@goldelico.com wrote: From: H. Nikolaus Schaller h...@goldelico.com 1. add registered uart_ports to a search list 2. provide a function to search an uart_port by phandle. This copies the mechanism how devm_usb_get_phy_by_phandle() works

Re: [PATCH v3] timekeeping: always make sure wall_to_monotonic isn't positive

2015-07-01 Thread John Stultz
On Tue, Jun 23, 2015 at 3:38 AM, Wang YanQing udkni...@gmail.com wrote: I meet two issues on an IMX6 development board without enable RTC device(so timekeeping_init will initialize the boot time and monotonic to 0). Issue 1:exportfs -a generate: exportfs: /opt/nfs/arm does not support

Re: [PATCH] Input: wdt87xx_i2c - Add a scaling factor for TOUCH_MAJOR event

2015-07-01 Thread Dmitry Torokhov
On Wed, Jul 01, 2015 at 04:18:37PM +0800, HungNien Chen wrote: Get the scaling factor when it reads the sys params. The width value will multiple the factor and report the value in the TOUCH_MAJOR event. Signed-off-by: HungNien Chen hn.c...@weidahitech.com Applied, thank you, but I changed

Re: [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-07-01 Thread Hans de Goede
Hi, On 01-07-15 18:13, Greg KH wrote: On Wed, Jul 01, 2015 at 10:55:49AM -0500, Jeremy White wrote: On 07/01/2015 12:44 AM, Greg KH wrote: On Tue, Jun 30, 2015 at 10:34:25PM -0500, Jeremy White wrote: 1. Is the basic premise reasonable? Is Hans correct in asserting that an alternate USB

[PATCH 3.14 23/34] arm/arm64: KVM: fix potential NULL dereference in user_mem_abort()

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel ard.biesheu...@linaro.org commit 37b544087ef3f65ca68465ba39291a07195dac26 upstream. Handle the potential NULL return value of find_vma_intersection() before dereferencing it.

[PATCH 3.14 24/34] arm/arm64: KVM: Ensure memslots are within KVM_PHYS_SIZE

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall christoffer.d...@linaro.org commit c3058d5da629bc2223c488a4512b59bb4baf upstream. [Since we don't backport commit 8eef912 (arm/arm64: KVM: map MMIO regions at creation

[PATCH 3.10 11/22] hpsa: refine the pci enable/disable handling

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Henzl the...@redhat.com commit 132aa220b45d60e9b20def1e9d8be9422eed9616 upstream. When a second(kdump) kernel starts and the hard reset method is used the driver calls pci_disable_device

[PATCH 3.10 15/22] Btrfs: make xattr replace operations atomic

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana fdman...@suse.com commit 5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339 upstream. Replacing a xattr consists of doing a lookup for its existing value, delete the current value from the

[PATCH 3.10 12/22] hpsa: add missing pci_set_master in kdump path

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Henzl the...@redhat.com commit 859c75aba20264d87dd026bab0d0ca3bff385955 upstream. Add a call to pci_set_master(...) missing in the previous patch hpsa: refine the pci enable/disable

[PATCH 3.14 25/34] arm: kvm: STRICT_MM_TYPECHECKS fix for user_mem_abort

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steve Capper steve.cap...@linaro.org commit 3d08c629244257473450a8ba17cb8184b91e68f8 upstream. Commit: b886576 ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping introduced some code

[PATCH 3.14 08/34] netfilter: nft_compat: set IP6T_F_PROTO flag if protocol is set

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso pa...@netfilter.org commit 749177ccc74f9c6d0f51bd78a15c652a2134aa11 upstream. ip6tables extensions check for this flag to restrict match/target to a given protocol. Without

[PATCH 3.10 13/22] fs: take i_mutex during prepare_binprm for set[ug]id executables

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn j...@thejh.net commit 8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 upstream. This prevents a race between chown() and execve(), where chowning a setuid-user binary to root would

[PATCH 3.10 14/22] x86/microcode/intel: Guard against stack overflow in the loader

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas quentin.casasno...@oracle.com commit f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4 upstream. mc_saved_tmp is a static array allocated on the stack, we need to make sure

[PATCH 3.14 17/34] bus: mvebu: pass the coherency availability information at init time

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer g...@uclinux.org commit 5686a1e5aa436c49187a60052d5885fb1f541ce6 upstream. Until now, the mvebu-mbus was guessing by itself whether hardware I/O coherency was available or not by

[PATCH 3.14 31/34] arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall christoffer.d...@linaro.org commit 3ad8b3de526a76fbe9466b366059e4958957b88f upstream. The implementation of KVM_ARM_VCPU_INIT is currently not doing what userspace expects,

[PATCH 3.14 28/34] arm64/kvm: Fix assembler compatibility of macros

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Geoff Levand ge...@infradead.org commit 286fb1cc32b11c18da3573a8c8c37a4f9da16e30 upstream. Some of the macros defined in kvm_arm.h are useful in assembly files, but are not compatible with the

[PATCH 3.14 33/34] arm/arm64: KVM: Introduce stage2_unmap_vm

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall christoffer.d...@linaro.org commit 957db105c99792ae8ef61ffc9ae77d910f6471da upstream. Introduce a new function to unmap user RAM regions in the stage2 page tables. This is

[PATCH 3.14 30/34] arm/arm64: KVM: Dont clear the VCPU_POWER_OFF flag

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall christoffer.d...@linaro.org commit 03f1d4c17edb31b41b14ca3a749ae38d2dd6639d upstream. If a VCPU was originally started with power off (typically to be brought up by PSCI in

[PATCH 3.14 16/34] KVM: nSVM: Check for NRIPS support before updating control field

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Bandan Das b...@redhat.com commit f104765b4f81fd74d69e0eb161e89096deade2db upstream. If hardware doesn't support DecodeAssist - a feature that provides more information about the intercept in

[PATCH 3.14 22/34] arm: kvm: fix CPU hotplug

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Murzin vladimir.mur...@arm.com commit 37a34ac1d4775aafbc73b9db53c7daebbbc67e6a upstream. On some platforms with no power management capabilities, the hotplug implementation is allowed

[PATCH 3.14 29/34] arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn()

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel ard.biesheu...@linaro.org commit 07a9748c78cfc39b54f06125a216b67b9c8f09ed upstream. Instead of using kvm_is_mmio_pfn() to decide whether a host region should be stage 2 mapped

[PATCH 3.14 15/34] ARM: clk-imx6q: refine satas parent

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sebastien Szymanski sebastien.szyman...@armadeus.com commit da946aeaeadcd24ff0cda9984c6fb8ed2bfd462a upstream. According to IMX6D/Q RM, table 18-3, sata clock's parent is ahb, not ipg.

[PATCH 3.14 10/34] hpsa: add missing pci_set_master in kdump path

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Henzl the...@redhat.com commit 859c75aba20264d87dd026bab0d0ca3bff385955 upstream. Add a call to pci_set_master(...) missing in the previous patch hpsa: refine the pci enable/disable

[PATCH 3.14 13/34] net/mlx4_en: Dont attempt to TX offload the outer UDP checksum for VXLAN

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Or Gerlitz ogerl...@mellanox.com commit a4f2dacbf2a5045e34b98a35d9a3857800f25a7b upstream. For VXLAN/NVGRE encapsulation, the current HW doesn't support offloading both the outer UDP TX

[PATCH 3.14 12/34] Btrfs: make xattr replace operations atomic

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana fdman...@suse.com commit 5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339 upstream. Replacing a xattr consists of doing a lookup for its existing value, delete the current value from the

[PATCH 3.14 14/34] splice: Apply generic position and size checks to each write

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk commit 894c6350eaad7e613ae267504014a456e00a3e2a from the 3.2-stable branch. We need to check the position and size of file writes against various limits,

Re: [RFC][PATCH 12/13] stop_machine: Remove lglock

2015-07-01 Thread Paul E. McKenney
On Wed, Jul 01, 2015 at 06:16:40PM +0200, Peter Zijlstra wrote: On Wed, Jul 01, 2015 at 08:56:55AM -0700, Paul E. McKenney wrote: On Wed, Jul 01, 2015 at 01:56:42PM +0200, Peter Zijlstra wrote: Odd that you have four of eight of the rcuos CPUs with higher consumption than the others. I

[PATCH 3.14 20/34] arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall christoffer.d...@linaro.org commit 0fea6d7628ed6e25a9ee1b67edf7c859718d39e8 upstream. The sgi values calculated in read_set_clear_sgi_pend_reg() and

[PATCH 3.14 11/34] x86/microcode/intel: Guard against stack overflow in the loader

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas quentin.casasno...@oracle.com commit f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4 upstream. mc_saved_tmp is a static array allocated on the stack, we need to make sure

[PATCH 3.14 21/34] arm/arm64: KVM: Fix VTTBR_BADDR_MASK and pgd alloc

2015-07-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Joel Schopp joel.sch...@amd.com commit dbff124e29fa24aff9705b354b5f4648cd96e0bb upstream. The current aarch64 calculation for VTTBR_BADDR_MASK masks only 39 bits and not all the bits in the PA

[PATCH 3.10 03/22] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk konrad.w...@oracle.com commit a6dfa128ce5c414ab46b1d690f7a1b8decb8526d upstream. A huge amount of NIC drivers use the DMA API, however if compiled under 32-bit an very

[PATCH 3.10 07/22] __ptrace_may_access() should not deny sub-threads

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mark Grondona mgrond...@llnl.gov commit 73af963f9f3036dffed55c3a2898598186db1045 upstream. __ptrace_may_access() checks get_dumpable/ptrace_has_cap/etc if task != current, this can can lead to

[PATCH 3.10 02/22] get rid of s_files and files_lock

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro v...@zeniv.linux.org.uk commit eee5cc2702929fd41cce28058dc6d6717f723f87 upstream. The only thing we need it for is alt-sysrq-r (emergency remount r/o) and these days we can do just as

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

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jari Ruusu jariru...@users.sourceforge.net When Al Viro's VFS deadlock fix deal with deadlock in d_walk() was backported to 3.10.y 3.4.y and 3.2.y stable kernel brances, the deadlock fix was

[PATCH 3.10 10/22] sb_edac: Fix erroneous bytes-gigabytes conversion

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jim Snow jim.m.s...@intel.com commit 8c009100295597f23978c224aec5751a365bc965 upstream. Signed-off-by: Jim Snow jim.s...@intel.com Signed-off-by: Lukasz Anaczkowski

[PATCH 3.10 06/22] include/linux/sched.h: dont use task-pid/tgid in same_thread_group/has_group_leader_pid

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com commit e1403b8edf669ff49bbdf602cc97fefa2760cb15 upstream. task_struct-pid/tgid should go away. 1. Change same_thread_group() to use task-signal for comparison.

[PATCH 3.10 05/22] netfilter: Zero the tuple in nfnl_cthelper_parse_tuple()

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ian Wilson iwil...@brocade.com commit 78146572b9cd20452da47951812f35b1ad4906be upstream. nfnl_cthelper_parse_tuple() is called from nfnl_cthelper_new(), nfnl_cthelper_get() and

[PATCH 3.10 08/22] ACPICA: Utilities: Cleanup to convert physical address printing formats.

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Lv Zheng lv.zh...@intel.com commit cc2080b0e5a7c6c33ef5e9ffccbc2b8f6f861393 upstream. ACPICA commit 7f06739db43a85083a70371c14141008f20b2198 For physical addresses, since the address may

[PATCH 3.10 20/22] ARM: clk-imx6q: refine satas parent

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Sebastien Szymanski sebastien.szyman...@armadeus.com commit da946aeaeadcd24ff0cda9984c6fb8ed2bfd462a upstream. According to IMX6D/Q RM, table 18-3, sata clock's parent is ahb, not ipg.

[PATCH 3.10 21/22] KVM: nSVM: Check for NRIPS support before updating control field

2015-07-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Bandan Das b...@redhat.com commit f104765b4f81fd74d69e0eb161e89096deade2db upstream. If hardware doesn't support DecodeAssist - a feature that provides more information about the intercept in

[GIT PULL] Devicetree changes for v4.1

2015-07-01 Thread Grant Likely
Hi Linus, Nothing exciting here. Mostly devicetree bug fixes. Please pull. g. The following changes since commit ba155e2d21f6bf05de86a78dbe5bfd8757604a65: Linux 4.1-rc5 (2015-05-24 18:22:35 -0700) are available in the git repository at:

Re: [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-07-01 Thread Greg KH
On Wed, Jul 01, 2015 at 10:55:49AM -0500, Jeremy White wrote: On 07/01/2015 12:44 AM, Greg KH wrote: On Tue, Jun 30, 2015 at 10:34:25PM -0500, Jeremy White wrote: 1. Is the basic premise reasonable? Is Hans correct in asserting that an alternate USB over IP module will be considered?

[PATCH] Staging: rts5208: Fix checkpatch warning: else is not generally useful

2015-07-01 Thread Leung Timothy Chi King
The following checkpatch warning was fixed: WARNING: else is not generally useful after a break or return Signed-off-by: Leung Timothy Chi King cont...@timothyleung.co --- drivers/staging/rts5208/sd.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

RE: [PATCH] x86, msr: Allow read access to /dev/cpu/X/msr

2015-07-01 Thread Brown, Len
This driver only knows how to handle counters, though. I'm not sure whether all of the MSRs that turbostat needs are counters. turbostat --debug dumps a lot of configuration MSRs that are not counters. --debug is not an obscure option, it is the only way that the turbostat is used by advanced

Re: [PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Colin Ian King
On 01/07/15 18:12, Emil Velikov wrote: On 1 July 2015 at 17:56, Ilia Mirkin imir...@alum.mit.edu wrote: On Wed, Jul 1, 2015 at 12:51 PM, Colin King colin.k...@canonical.com wrote: From: Colin Ian King colin.k...@canonical.com Various usif_ioctl helper functions do not initialize the return

Re: smp_store_mb() oddity..

2015-07-01 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 09:39:44AM -0700, Linus Torvalds wrote: Peter/Ingo, while resolving a conflict, I noticed that we have the generic default definition of smp_store_mb() be: do { WRITE_ONCE(var, value); mb(); } while (0) which looks pretty odd. Why? That mb() is a full memory

  1   2   3   4   5   6   7   8   9   10   >