Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Rutland
On Tue, Dec 15, 2015 at 04:23:18PM +, Catalin Marinas wrote: > On Tue, Dec 15, 2015 at 03:57:37PM +, Mark Rutland wrote: > > On Tue, Dec 15, 2015 at 03:46:51PM +, Juri Lelli wrote: > > > On 15/12/15 15:32, Mark Rutland wrote: > > > > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown

Re: randconfig build error with next-20151215, in arch/x86/entry/vdso/vma.c

2015-12-15 Thread Andy Lutomirski
On Tue, Dec 15, 2015 at 8:32 AM, Jim Davis wrote: > Building with the attached random configuration file, > > arch/x86/built-in.o: In function `map_vdso': > vma.c:(.text+0x13fc): undefined reference to `pvclock_pvti_cpu0_va' Whoops, thanks! I confused CONFIG_PARAVIRT_CLOCK

Re: [PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Sergei Ianovich
On Tue, 2015-12-15 at 17:32 +0100, Arnd Bergmann wrote: > On Tuesday 15 December 2015 19:27:50 Sergei Ianovich wrote: > >  .../devicetree/bindings/vendor-prefixes.txt|   1 + > >  arch/arm/boot/dts/Makefile |   3 + > >  arch/arm/boot/dts/pxa27x-lp8x4x-i105.dts

Re: [Xen-devel] [PATCH RFC 0/3] Xen on Virtio

2015-12-15 Thread Andy Lutomirski
On Tue, Dec 15, 2015 at 4:13 AM, Stefano Stabellini wrote: > On Mon, 14 Dec 2015, Andy Lutomirski wrote: >> On Mon, Dec 14, 2015 at 6:12 AM, Michael S. Tsirkin wrote: >> > On Mon, Dec 14, 2015 at 02:00:05PM +, David Vrabel wrote: >> >> On

Re: [PATCH 09/19] ARM: dts: am335x: replace gpio-key,wakeup with wakeup-source property

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard driver for GPIO buttons(gpio-keys) will continue to check for/support the legacy "gpio-key,wakeup" boolean property to enable gpio buttons as wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy

[PATCH 1/3] iio: mma8452: remove unused register description

2015-12-15 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/accel/mma8452.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c

[PATCH 2/3] iio: mma8452: use enum for channel index

2015-12-15 Thread Martin Kepplinger
This gets rid of some magic numbers by adding an enum. Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/accel/mma8452.c | 39 +++ 1 file

[PATCHv2 0/3] iio: mma8452: cleanup and freefall mode

2015-12-15 Thread Martin Kepplinger
This is v2 of cleanup and freefall detection for mma8452 devices. [PATCH 1/3] iio: mma8452: remove unused register description [PATCH 2/3] iio: mma8452: use enum for channel index [PATCH 3/3] iio: mma8452: add freefall detection for Freescale's If freefall mode (x falling event) is enabled,

[PATCH 3/3] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-12-15 Thread Martin Kepplinger
This adds freefall event detection to the supported devices. It adds the in_accel_x_mag_falling_en iio event attribute, which activates freefall mode. In freefall mode, the current acceleration magnitude (AND combination of all axis values) is compared to the specified threshold. If it falls

Re: [PATCHv2 1/2] ARM: multi_v7_defconfig: Enable Rockchip generic power domain.

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 09:20:51 Enric Balletbo i Serra wrote: > In order to meet high performance an low power requirement for Rockchip > enable the power domain support. The patch also fixes a drm/kms issue, > driver deferring untils power-domains are available) > > Signed-off-by: Enric

Re: [BISECTED] rcu_sched self-detected stall since 3.17

2015-12-15 Thread Oleg Nesterov
Sorry again for the huge delay. And all I can say is that I am all confused. On 12/01, Peter Zijlstra wrote: > > On Fri, Nov 20, 2015 at 03:35:38PM +, Vladimir Murzin wrote: > > commit 743162013d40ca612b4cb53d3a200dff2d9ab26e > > Author: NeilBrown > > Date: Mon Jul 7

RE: [PATCH 02/40] staging: lustre: fix 'NULL pointer dereference' errors for LNet

2015-12-15 Thread Simmons, James A.
>> diff --git a/drivers/staging/lustre/lnet/selftest/conctl.c >> b/drivers/staging/lustre/lnet/selftest/conctl.c >> index 556c837..2ca7d0e 100644 >> --- a/drivers/staging/lustre/lnet/selftest/conctl.c >> +++ b/drivers/staging/lustre/lnet/selftest/conctl.c >> @@ -679,45 +679,46 @@ static int >>

RE: [PATCH 13/40] staging: lustre: Dynamic LNet Configuration (DLC) show command

2015-12-15 Thread Simmons, James A.
>> struct libcfs_ioctl_hdr { >> __u32 ioc_len; >> @@ -87,6 +88,13 @@ do { \ >> data.ioc_hdr.ioc_len = sizeof(data);\ >> } while (0) >> >> +#define LIBCFS_IOC_INIT_V2(data, hdr) \ >> +do {

Re: [PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Robert Jarzmik
Sergei Ianovich writes: > On Tue, 2015-12-15 at 18:02 +0100, Arnd Bergmann wrote: >> On Tuesday 15 December 2015 19:42:07 Sergei Ianovich wrote: >> > There are several board-specific devices on LP8x4x: custom FPGA, >> > custom >> > UART, custom IRQ on FPGA, custom parallel bus

Re: futex(3) man page, final draft for pre-release review

2015-12-15 Thread Michael Kerrisk (man-pages)
Hello Torvald, On 12/15/2015 04:34 PM, Torvald Riegel wrote: > On Tue, 2015-12-15 at 14:43 +0100, Michael Kerrisk (man-pages) wrote: >> Hello all, >> >> After much too long a time, the revised futex man page *will* >> go out in the next man pages release (it has been merged >> into master). >> >>

Re: [f2fs-dev] [PATCH 7/8] f2fs: introduce new option for controlling data flush

2015-12-15 Thread Chao Yu
Hi Jaegeuk, The 7, 8 patches could not be merged on current dev-test branch due to I generate them on incorrect base line. I will rebase and resent them tomorrow, sorry for the noisy. Thanks, On 12/15/15 1:35 PM, Chao Yu wrote: > Add a new option 'data_flush' to enable/disable data flush

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 16:37, wrote: > On 12/15/2015 10:24 AM, Jan Beulich wrote: > On 15.12.15 at 16:14, wrote: >>> On 12/15/2015 10:03 AM, Jan Beulich wrote: >>> On 15.12.15 at 15:36, wrote: > On

Re: [PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-12-15 Thread Andrew F. Davis
On 12/09/2015 06:35 AM, Linus Walleij wrote: On Tue, Dec 8, 2015 at 8:16 PM, Mark Brown wrote: On Mon, Dec 07, 2015 at 01:58:47PM -0600, Andrew F. Davis wrote: As all of this driver should be taken though the MFD tree how can this gpiolib change be handled? If we have

Re: [PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 19:27:50 Sergei Ianovich wrote: > .../devicetree/bindings/vendor-prefixes.txt| 1 + > arch/arm/boot/dts/Makefile | 3 + > arch/arm/boot/dts/pxa27x-lp8x4x-i105.dts | 50 > arch/arm/boot/dts/pxa27x-lp8x4x.dts

Re: isolate_lru_page on !head pages

2015-12-15 Thread Michal Hocko
On Tue 15-12-15 14:03:18, Kirill A. Shutemov wrote: > On Tue, Dec 15, 2015 at 09:52:33AM +0100, Michal Hocko wrote: > > On Mon 14-12-15 14:04:56, Kirill A. Shutemov wrote: > > > On Wed, Dec 09, 2015 at 02:02:05PM +0100, Michal Hocko wrote: > > > > Hi Kirill, > > > > > > [ sorry for late reply,

[PATCH RESEND] ACPI/Kconfig: Make ACPI_NFIT depend on EFI_STUB on X86

2015-12-15 Thread Toshi Kani
ACPI 6.0 defines NFIT table and new persistent memory types for EFI memory table (EFI_PERSISTENT_MEMORY) and e820 table (E820_PMEM). setup_e820() enabled by EFI_STUB converts EFI_PERSISTENT_MEMORY to E820_PMEM for the e820_map table on x86 EFI platforms. When EFI_STUB is disabled, x86 kernels

Re: [PATCH] net/mlx4_core: fix handling return value of mlx4_slave_convert_port

2015-12-15 Thread David Miller
From: Or Gerlitz Date: Tue, 15 Dec 2015 11:09:40 +0200 > On 12/14/2015 12:05 PM, Andrzej Hajda wrote: >> The function can return negative values, so its result should >> be assigned to signed variable. >> >> The problem has been detected using proposed semantic patch >>

Re: [PATCH 3/9] Drivers: hv: utils: introduce HVUTIL_TRANSPORT_DESTROY mode

2015-12-15 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >> Of K. Y. Srinivasan >> Sent: Tuesday, December 15, 2015 11:02 >> To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; >>

[ANNOUNCE] Linux 4.2.y-ckt extended stable support

2015-12-15 Thread Kamal Mostafa
On Mon, 2015-12-14 at 22:39 -0800, Greg KH wrote: > This is the LAST 4.2.y kernel to be released [...] Canonical's kernel team will pick up stable maintenance where Greg KH left off with v4.2.8 (thanks, Greg!)... Canonical's Ubuntu kernel team is pleased to announce that we will be providing

[PATCH 4/4] ser_gigaset: remove unnecessary kfree() calls from release method

2015-12-15 Thread Paul Bolle
From: Tilman Schmidt device->platform_data and platform_device->resource are never used and remain NULL through their entire life. Drops the kfree() calls for them from the device release method. Signed-off-by: Tilman Schmidt Signed-off-by: Paul Bolle

[PATCH 0/4] ser_gigaset: fic deallocation of platform device structure

2015-12-15 Thread Paul Bolle
Sascha Levin reported that the syzkaller fuzzer triggered a WARNING in ser_gigaset (see https://lkml.kernel.org/g/56587467.8050...@oracle.com ). It turned out that ser_gigaset has always deallocated its platform device structure incorrectly. Tilman submitted the patch that fixes that (3/4) and a

[PATCH 3/4] ser_gigaset: fix deallocation of platform device structure

2015-12-15 Thread Paul Bolle
From: Tilman Schmidt When shutting down the device, the struct ser_cardstate must not be kfree()d immediately after the call to platform_device_unregister() since the embedded struct platform_device is still in use. Move the kfree() call to the release method instead.

Re: [PATCH 16/19] ARM: dts: s5pv210: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux,input-wakeup" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup

[PATCH] Revert "drm: Stop resetting connector state to unknown"

2015-12-15 Thread Lyude
This reverts commit 5677d67ae394 ("drm: Stop resetting connector state to unknown") Unfortunately, not resetting the connector status to unknown actually breaks reprobing on suspend/resume in i915, which is important to have working since it means a user docking their laptop in suspend won't have

Re: [PATCH] pty: fix use after free of tty->driver_data

2015-12-15 Thread Herton R. Krzesinski
On Tue, Dec 15, 2015 at 09:36:26AM -0800, Peter Hurley wrote: > Hi Herton, > > On 12/14/2015 07:29 PM, Herton R. Krzesinski wrote: > > pty_unix98_shutdown allows a potential use after free of inode from > > slave tty->driver_data: if final pty close is called with slave > > tty_struct, and inode

[PATCH] staging: lustre: fix address space mismatches

2015-12-15 Thread Okash Khawaja
This patch fixes address space warnings from sparse. Function lprocfs_write_helper() accepts user space buffer but was being passed kernel space buffer by these functions: contention_seconds_store() lockless_truncate_store() Since these functions are used to implement show and store functions

[PATCH] trace-cmd: add trace_hash_find_reverse

2015-12-15 Thread Josef Bacik
Sometimes we want to FIFO identical entries in the hash table, so add trace_hash_find_reverse, which will cycle through the hash list in reverse. This is helpful in our case where we are monitoring block request issues to match with their corresponding completes, if we issue multiple times to the

[PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Sergei Ianovich
ICP DAS calls LP-8x4x 'programmable automation controller'. It is an industrial computer based on PXA270 SoC. They ship it with a 2.6.19 kernel and proprietary kernel module and userspace library to access its industrial IO. This patch allows to boot a modern kernel with device tree on the

[PATCH v2 0/2] Minor _OSC error handling improvements

2015-12-15 Thread Andy Lutomirski
This time, I think I'm sending to the right people. This doesn't fix any bugs, but it makes the debugging output a little more useful. Changes from v1: - Added Bjorn's acks - Split an overly long line Andy Lutomirski (2): acpi: Tidy up _OSC error spacing acpi: Show _OSC UUID when _OSC

[PATCH v2 2/2] acpi: Show _OSC UUID when _OSC fails

2015-12-15 Thread Andy Lutomirski
When _OSC fails and especially when it fails due to an invalid UUID, it's helpful to show the UUID that we tried. Acked-by: Bjorn Helgaas Signed-off-by: Andy Lutomirski --- drivers/acpi/bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

Re: [Linaro-acpi] [PATCH v2 0/2] acpi, apei: add BERT support

2015-12-15 Thread Timur Tabi
On Tue, Aug 18, 2015 at 11:44 AM, wrote: > From: Fu Wei > > ACPI/APEI is designed to verifiy/report H/W errors, like Corrected > Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, > ERST, EINJ and BERT. The first three tables have been

Re: [PATCH RESEND] infiniband:core:Add needed error path in cm_init_av_by_path

2015-12-15 Thread Michael Wang
On 12/15/2015 04:52 PM, Nicholas Krause wrote: > This adds a needed error path in the function, cm_init_av_by_path > after the call to ib_init_ah_from_path in order to avoid incorrectly > accessing the path pointer of structure type ib_sa_path_rec if this > function call fails to complete its

Re: [for-4.4-rc6 PATCH] scatterlist: fix sg_phys() masking

2015-12-15 Thread Dan Williams
On Tue, Dec 15, 2015 at 2:35 AM, Joerg Roedel wrote: > On Mon, Dec 14, 2015 at 03:17:39PM -0800, Dan Williams wrote: >> commit db0fa0cb0157 "scatterlist: use sg_phys()" did replacements of the >> form: >> >> phys_addr_t phys = page_to_phys(sg_page(s)); >> phys_addr_t phys

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Rutland
On Tue, Dec 15, 2015 at 05:59:34PM +0100, Vincent Guittot wrote: > On 15 December 2015 at 17:41, Mark Rutland wrote: > > On Tue, Dec 15, 2015 at 04:23:18PM +, Catalin Marinas wrote: > >> On Tue, Dec 15, 2015 at 03:57:37PM +, Mark Rutland wrote: > >> > On Tue, Dec 15,

[PATCH 1/4] ser_gigaset: fix up NULL checks

2015-12-15 Thread Paul Bolle
From: Tilman Schmidt Commit f34d7a5b7010 ("tty: The big operations rework") changed tty->driver to tty->ops but left NULL checks for tty->driver untouched. Fix. Signed-off-by: Tilman Schmidt [pebolle: removed Fixes tag] Signed-off-by: Paul Bolle

Re: [RFC PATCH man-pages] Add membarrier system call man page

2015-12-15 Thread Michael Kerrisk (man-pages)
Hi Mathieu, On 12/13/2015 02:17 PM, Mathieu Desnoyers wrote: > [ Updated following feedback from Michael Kerrisk. Not sure what to put > in SEE ALSO section ? Maybe we think of something later. > Also, the example uses the syscall() macro. > Should we target this, or some API eventually

Re: [PATCH v2 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2015-12-15 Thread Marc Zyngier
On 14/12/15 22:42, Joshua Henderson wrote: > From: Cristian Birsan > > This adds support for the interrupt controller present on PIC32 class > devices. > > The following features are supported: > - DT properties for EVIC and for devices that use interrupt lines >

Re: [PATCH] android: fix warning when releasing active sync point

2015-12-15 Thread Dmitry Torokhov
On Tue, Dec 15, 2015 at 2:01 AM, Maarten Lankhorst wrote: > Op 15-12-15 om 02:29 schreef Dmitry Torokhov: >> Userspace can close the sync device while there are still active fence >> points, in which case kernel produces the following warning: >> >> [

RE: [PATCH 21/40] staging: lustre: improve LNet clean up code and API

2015-12-15 Thread Simmons, James A.
>Actually we're going to have to redo so much code that it's not worth it >for me to review the rest of these patches. Sorry I didn't get back to you sooner but I was on vacation. Thanks for reviewing this work. Especially since this is the first major bug fixing merge for the lustre client

Re: [PATCHv2] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-15 Thread Gregory CLEMENT
Hi Hans, On jeu., déc. 10 2015, Andrew Lunn wrote: > On Thu, Dec 10, 2015 at 06:33:08AM +0100, Hans Ulli Kroll wrote: >> Add a new DTS file to support the Zyxel NSA325(v2) dual bay >> NAS device, based on the NSA320 DTS files. >> >> The only difference to the NSA320 device is

Re: pty: fix use after free/oops at pty_unix98_shutdown

2015-12-15 Thread Peter Hurley
Hi Herton, On 12/14/2015 07:29 PM, Herton R. Krzesinski wrote: > Hi, > > recently I got a report of a crash at pty_unix98_shutdown. after analyzing the > issue, I managed to create a small reproducer: > > $ cat test.sh > #!/bin/sh > > while true; do > find /sys > ./dopty >

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-12-15 Thread Thierry Reding
On Mon, Dec 14, 2015 at 12:39:44PM +0100, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:56:22 Andy Yan wrote: > > rockchip platform have a protocol to pass the kernel reboot > > mode to bootloader by some special registers when system reboot. > > By this way the bootloader can take

Re: [PATCH 17/19] ARM: dts: armada: replace isil,irq2-can-wakeup-machine with wakeup-source property

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the driver will continue to check for and support the legacy "isil,irq2-can-wakeup-machine" boolean property to wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy "isil,irq2-can-wakeup-machine" with the

Re: 4.4-rc5: ugly warn on: 5 W+X pages found

2015-12-15 Thread H. Peter Anvin
On 12/15/15 06:08, Pavel Machek wrote: > > But it still says: > > address sizes : 32 bits physical, 32 bits virtual > > I thought pae would be 36bit virtual? > It should be unless the CPU reports otherwise, which your CPU probably does (a CPUID dump might be useful.) -hpa -- To

[PATCH v2 1/2] acpi: Tidy up _OSC error spacing

2015-12-15 Thread Andy Lutomirski
The whitespace in _OSC error reports is weird. Improve it. Acked-by: Bjorn Helgaas Signed-off-by: Andy Lutomirski --- drivers/acpi/bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c

Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2)

2015-12-15 Thread Andy Lutomirski
On Tue, Dec 15, 2015 at 7:53 AM, Andrew Vagin wrote: > On Mon, Dec 14, 2015 at 02:38:06PM -0800, Andy Lutomirski wrote: >> On Dec 13, 2015 11:52 PM, "Andrew Vagin" wrote: >> > >> > On Thu, Dec 03, 2015 at 03:20:30PM -0800, Andy Lutomirski wrote: >> > >

[PATCH RFC] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-15 Thread Vitaly Kuznetsov
Currently, all newly added memory blocks remain in 'offline' state unless someone onlines them, some linux distributions carry special udev rules like: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" to make this happen automatically. This is not a great solution

Re: [PATCH RESEND] ACPI/Kconfig: Make ACPI_NFIT depend on EFI_STUB on X86

2015-12-15 Thread Dan Williams
On Tue, Dec 15, 2015 at 9:56 AM, Toshi Kani wrote: > On Tue, 2015-12-15 at 09:53 -0800, Dan Williams wrote: [..] >> > > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig >> > > > index 5eef4cb..5368baa 100644 >> > > > --- a/drivers/acpi/Kconfig >> > > > +++

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Rutland
On Tue, Dec 15, 2015 at 05:45:16PM +, Mark Brown wrote: > On Tue, Dec 15, 2015 at 05:28:37PM +, Mark Rutland wrote: > > On Tue, Dec 15, 2015 at 05:17:13PM +, Mark Brown wrote: > > > > Obviously people are going to get upset if we introduce performance > > > regressions - but that's

Re: staging: lustre: Delete unnecessary goto statements in six functions

2015-12-15 Thread SF Markus Elfring
> This is the original code: Really …? > result = baz(); > if (result) > goto label; > > label: > go on... I do not see such a source code structure at the six places I propose to clean-up. > I don't find the test->goto label; label: use offensive, > but if he

Re: [PATCH 1/7] staging: lustre: Delete unnecessary goto statements in six functions

2015-12-15 Thread Joe Perches
On Tue, 2015-12-15 at 20:48 +0300, Dan Carpenter wrote: > On Tue, Dec 15, 2015 at 07:02:31AM -0800, Joe Perches wrote: > > This is the original code: > > > > result = foo(); > > if (result) > > goto label; > > > > result = bar(); > > if (result) > > goto

Re: [PATCH] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread kbuild test robot
Hi Stanislav, [auto build test WARNING on v4.4-rc5] [also build test WARNING on next-20151215] url: https://github.com/0day-ci/linux/commits/Stanislav-Kinsburskiy/fcntl-allow-to-set-O_DIRECT-flag-on-pipe/20151216-000234 config: i386-randconfig-x009-12141102 (attached as .config) reproduce

Re: [PATCH 13/19] ARM: dts: tegra: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "nvidia,wakeup-source" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup

Re: [PATCH 15/19] ARM: dts: omap: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux,wakeup" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup properties

Re: pty: fix use after free/oops at pty_unix98_shutdown

2015-12-15 Thread Herton R. Krzesinski
On Tue, Dec 15, 2015 at 08:17:56AM -0800, Peter Hurley wrote: > > I also expect in a rare case where all ptmx references are gone/closed, > > this also > > could happen on final close when the master tty is given to > > pty_unix98_shutdown. > > This logic I'm not following. If the pty master is

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 17:31:22 Thierry Reding wrote: > On Mon, Dec 14, 2015 at 12:39:44PM +0100, Arnd Bergmann wrote: > > On Wednesday 18 November 2015 17:56:22 Andy Yan wrote: > > > rockchip platform have a protocol to pass the kernel reboot > > > mode to bootloader by some special

Re: [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux-keypad,wakeup" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup

randconfig build error with next-20151215, in arch/x86/entry/vdso/vma.c

2015-12-15 Thread Jim Davis
Building with the attached random configuration file, arch/x86/built-in.o: In function `map_vdso': vma.c:(.text+0x13fc): undefined reference to `pvclock_pvti_cpu0_va' -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.4.0-rc5 Kernel Configuration # CONFIG_64BIT=y

Re: [PATCH] bnx2fc:Add proper locking protection in bnx2fc_ctrlr_enabled

2015-12-15 Thread Chad Dupuis
On Sat, 12 Dec 2015, Nicholas Krause wrote: This adds proper locking protection in bnx2fc_ctrl_enabled around the calls to the functions, _bnx2fc_enable and _bnx2fc_disable in order to avoid concurrent access on these functions accessing global referenced data structures in their internal

Re: [PATCH 2/2] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-12-15 Thread Martin Kepplinger
On 2015-12-15 07:04, Martin Kepplinger wrote: > Am 2015-12-12 um 16:34 schrieb Jonathan Cameron: >> On 08/12/15 16:21, Martin Kepplinger wrote: >>> This adds freefall event detection to the supported devices. It adds >>> the in_accel_x_mag_falling_en iio event attribute, which activates >>>

[PATCH RESEND] misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state

2015-12-15 Thread Ashutosh Dixit
This patch fixes the following crash seen when MIC reset is invoked in RESET_FAILED state due to device_del being called a second time on an already deleted device: [] device_del+0x45/0x1d0 [] device_unregister+0x1e/0x60 [] scif_unregister_device+0x12/0x20 [scif_bus] [] cosm_stop+0xaa/0xe0

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Brown
On Tue, Dec 15, 2015 at 03:32:19PM +, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > > On Tue, Dec 15, 2015 at 02:01:36PM +, Mark Rutland wrote: > > > I really don't want to see a table of magic numbers in the kernel. > > Right, there's pitfalls there

Re: [PATCH] android: fix warning when releasing active sync point

2015-12-15 Thread Dmitry Torokhov
On Tue, Dec 15, 2015 at 1:26 AM, Daniel Vetter wrote: > On Mon, Dec 14, 2015 at 05:29:55PM -0800, Dmitry Torokhov wrote: >> Userspace can close the sync device while there are still active fence >> points, in which case kernel produces the following warning: >> >> [ 43.853176]

Re: [PATCH 4.3] vrf: Fix memory leak on registration failure in vrf_newlink()

2015-12-15 Thread David Miller
From: Ben Hutchings Date: Tue, 15 Dec 2015 15:12:43 + > The backported version of commit 7f109f7cc371 ("vrf: fix double free > and memory corruption on register_netdevice failure") incorrectly > removed a kfree() from the failure path as well as the free_netdev(). > Add

Re: [PATCH] watchdog: dw_wdt: fix signedness bug in dw_wdt_top_in_seconds()

2015-12-15 Thread Guenter Roeck
On 12/15/2015 06:25 AM, Jisheng Zhang wrote: On 64bit platforms, "(1 << (16 + top)) / clk_get_rate(dw_wdt.clk)" is sign-extended to 64bit then converted to unsigned 64bit, finally divide the clk rate. If the top is the maximum TOP i.e 15, "(1 << (16 +15))" will be sign-extended to

Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-12-15 Thread Ulf Hansson
Hi Shawn, Sorry for the delay. [...] >> >> I think your are in right track, but unfortunate you still have some >> work to do. :-) >> >> You can't call sdhci_suspend_host() with a runtime suspended host. You >> will for example access sdhci internal registers, even-though the >> clock to the

Re: [PATCH] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread kbuild test robot
Hi Stanislav, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151215] url: https://github.com/0day-ci/linux/commits/Stanislav-Kinsburskiy/fcntl-allow-to-set-O_DIRECT-flag-on-pipe/20151216-000234 config: x86_64-randconfig-x011-12141150 (attached as .config) reproduce

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Catalin Marinas
On Tue, Dec 15, 2015 at 03:57:37PM +, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 03:46:51PM +, Juri Lelli wrote: > > On 15/12/15 15:32, Mark Rutland wrote: > > > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > > > > My expectation is that we just need good enough, not

Re: [PATCH 4.3 2/2] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-15 Thread Ben Hutchings
Sorry, this was from me; I didn't mean to forge Nikolay's address. Ben. On Tue, 2015-12-15 at 15:32 +, Nikolay Aleksandrov wrote: > commit 7f109f7cc37108cba7243bc832988525b0d85909 upstream. > > When vrf's ->newlink is called, if register_netdevice() fails then it > does free_netdev(), but

Re: [PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 19:42:07 Sergei Ianovich wrote: > On Tue, 2015-12-15 at 17:32 +0100, Arnd Bergmann wrote: > > On Tuesday 15 December 2015 19:27:50 Sergei Ianovich wrote: > > > .../devicetree/bindings/vendor-prefixes.txt| 1 + > > > arch/arm/boot/dts/Makefile

Re: [PATCH 17/19] ARM: dts: armada: replace isil,irq2-can-wakeup-machine with wakeup-source property

2015-12-15 Thread Gregory CLEMENT
Hi Sudeep, On mar., déc. 15 2015, Sudeep Holla wrote: > On 21/10/15 11:10, Sudeep Holla wrote: >> Though the driver will continue to check for and support the legacy >> "isil,irq2-can-wakeup-machine" boolean property to wakeup source, >> "wakeup-source" is the new

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Vincent Guittot
On 15 December 2015 at 17:41, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 04:23:18PM +, Catalin Marinas wrote: >> On Tue, Dec 15, 2015 at 03:57:37PM +, Mark Rutland wrote: >> > On Tue, Dec 15, 2015 at 03:46:51PM +, Juri Lelli wrote: >> > > On 15/12/15 15:32,

[PATCH 2/4] ser_gigaset: turn nonsense checks into WARN_ON

2015-12-15 Thread Paul Bolle
From: Alan Cox These checks do nothing useful to protect the code from races. On the other hand if the old code has been masking a real bug we would like to know about it. The check for tiocmset is kept because it is valid for a tty driver to have a NULL tiocmset method.

[PATCH 0/3] OOM detection rework v4

2015-12-15 Thread Michal Hocko
Hi, This is v4 of the series. The previous version was posted [1]. I have dropped the RFC because this has been sitting and waiting for the fundamental objections for quite some time and there were none. I still do not think we should rush this and merge it no sooner than 4.6. Having this in the

Re: [PATCH RESEND 22/27] tools/hv: Use include/uapi with __EXPORTED_HEADERS__

2015-12-15 Thread Kamal Mostafa
On Mon, 2015-12-14 at 19:11 -0800, Greg KH wrote: > On Mon, Dec 14, 2015 at 04:01:53PM -0800, K. Y. Srinivasan wrote: > > From: Kamal Mostafa > > > > Use the local uapi headers to keep in sync with "recently" added #define's > > (e.g. VSS_OP_REGISTER1). > > > > Fixes:

[PATCH v6 3/7] ARM: dts: Exynos542x/5800: add CPU OPP properties

2015-12-15 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham For Exynos542x/5800 platforms, add CPU operating points for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5420 support from the original patch - merged Exynos5422 fixes from Ben

[PATCH v6 1/7] ARM: dts: Exynos542x/5800: add cluster regulator supply properties

2015-12-15 Thread Bartlomiej Zolnierkiewicz
Add cluster regulator supply properties as a preparation to adding generic cpufreq-dt driver support for Exynos542x and Exynos5800 based boards. Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas

[PATCH RFC 3/3] splice: add support of splicing to packetized pipe

2015-12-15 Thread Stanislav Kinsburskiy
This patch uses SPLICE_F_PACKET as a flag, representing packetized pipe. In splice_to_pipe() this flag is converted into PIPE_BUF_FLAG_PACKET on pipe buffer. Signed-off-by: Stanislav Kinsburskiy --- fs/splice.c |8 1 file changed, 8 insertions(+) diff

RE: [PATCH v9 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-15 Thread KY Srinivasan
> -Original Message- > From: ja...@microsoft.com [mailto:ja...@microsoft.com] > Sent: Wednesday, December 9, 2015 2:55 PM > To: gre...@linuxfoundation.org; KY Srinivasan ; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; >

Re: pty: fix use after free/oops at pty_unix98_shutdown

2015-12-15 Thread Peter Hurley
On 12/15/2015 08:36 AM, Herton R. Krzesinski wrote: > On Tue, Dec 15, 2015 at 08:17:56AM -0800, Peter Hurley wrote: >>> I also expect in a rare case where all ptmx references are gone/closed, >>> this also >>> could happen on final close when the master tty is given to >>> pty_unix98_shutdown.

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-12-15 Thread Heiko Stübner
Am Dienstag, 15. Dezember 2015, 17:34:00 schrieb Arnd Bergmann: > On Tuesday 15 December 2015 17:31:22 Thierry Reding wrote: > > On Mon, Dec 14, 2015 at 12:39:44PM +0100, Arnd Bergmann wrote: > > > On Wednesday 18 November 2015 17:56:22 Andy Yan wrote: > > > > rockchip platform have a protocol to

Re: [PATCH RESEND] infiniband:core:Add needed error path in cm_init_av_by_path

2015-12-15 Thread Jason Gunthorpe
On Tue, Dec 15, 2015 at 05:38:34PM +0100, Michael Wang wrote: > The hop_limit is only suggest that the package allowed to be > routed, not have to, correct? If the hop limit is >= 2 (?) then the GRH is mandatory. The SM will return this information in the PathRecord if it determines a GRH is

[PATCH v6 0/7] cpufreq: add generic cpufreq driver support for Exynos542x/5800 platforms

2015-12-15 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds generic cpufreq-dt driver support for Exynos542x/5800 (using the new CPU clock type which allows it). It has been tested on Exynos5422 based ODROID-XU3 Lite board. Depends on: - next-20151211 branch of linux-next kernel tree - "[PATCH] ARM: dts: Make CPU configuration

[PATCH RFC 0/3] Fix splice for packetized pipes

2015-12-15 Thread Stanislav Kinsburskiy
With introduction of packetized pipes, splice wasn't updated to respect this new behaviour. In terms of splice it means, that it never set PIPE_BUF_FLAG_PACKET on created pipe buffer regarless pipe operating mode, thus breaking the whole logic. To fix this, new SPLICE_F_PACKET flag was introduced.

[PATCH v5] mtd: support BB SRAM on ICP DAS LP-8x4x

2015-12-15 Thread Sergei Ianovich
This provides an MTD device driver for 512kB of battery backed up SRAM on ICPDAS LP-8X4X programmable automation controllers. SRAM chip is connected via FPGA and is not accessible without a driver, unlike flash memory which is wired to CPU MMU. This SRAM becomes an excellent persisent storage of

Re: [PATCH 12/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-12-15 Thread Michal Hocko
On Tue 08-12-15 10:30:22, Johannes Weiner wrote: > Socket memory can be a significant share of overall memory consumed by > common workloads. In order to provide reasonable resource isolation in > the unified hierarchy, this type of memory needs to be included in the > tracking/accounting of a

[PATCH] Add hw_breakpoint_enable to correct dr6 stuffing

2015-12-15 Thread Jeff Merkey
Please consider the attached patch. SUMMARY The current function to manually restore breakpoints (hw_breakpoint_restore) places the contents of the thread.debugreg6 variable back into the dr6 hardware register, a piece of hardware intended to be read, not used as local storage. The problem with

Re: [PATCH v2 07/14] DEVICETREE: Add bindings for PIC32 pin control and GPIO

2015-12-15 Thread Rob Herring
On Mon, Dec 14, 2015 at 03:42:09PM -0700, Joshua Henderson wrote: > Document the devicetree bindings for PINCTRL and GPIO found on Microchip > PIC32 class devices. > > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle Acked-by: Rob Herring

Re: [PATCH RESEND] ACPI/Kconfig: Make ACPI_NFIT depend on EFI_STUB on X86

2015-12-15 Thread Toshi Kani
On Tue, 2015-12-15 at 10:05 -0800, Dan Williams wrote: > On Tue, Dec 15, 2015 at 9:56 AM, Toshi Kani wrote: > > On Tue, 2015-12-15 at 09:53 -0800, Dan Williams wrote: > [..] > > > > > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > > > > > > index 5eef4cb..5368baa

[PATCH 1/2] devicetree: mxsfb: add reset-active property

2015-12-15 Thread Mans Rullgard
Some boards connect the LCD_RESET pin to a reset input on the display panel. On these boards, this pin must be set to the proper level for the display to function. This adds an optional "reset-active" property to the "display" subnode such that devicetrees can specify the desired polarity of the

[PATCH 2/2] video: mxsfb: manage LCD_RESET signal according to reset-active property

2015-12-15 Thread Mans Rullgard
Activate/deactivate the LCD_RESET signal as specified by the reset-active DT property when the controller is disabled/enabled. If the property is missing, leave the signal unchanged. Signed-off-by: Mans Rullgard --- drivers/video/fbdev/mxsfb.c | 28 +---

Re: [PATCH 13/40] staging: lustre: Dynamic LNet Configuration (DLC) show command

2015-12-15 Thread Greg Kroah-Hartman
On Tue, Dec 15, 2015 at 06:14:19PM +, Simmons, James A. wrote: > > >> struct libcfs_ioctl_hdr { > >>__u32 ioc_len; > >> @@ -87,6 +88,13 @@ do {\ > >>data.ioc_hdr.ioc_len = sizeof(data);\ > >> } while (0) > >> >

Request for Comment: Adding information to user core dumps

2015-12-15 Thread Kevin Grigorenko
Hi there. I plan to create a patch that puts additional ELF notes into core dumps of user processes produced by the kernel. These are desired in customer field work because 1) we often get a core without access to the original machine and much of this would remove significant delays and

Re: [PATCH] android: fix warning when releasing active sync point

2015-12-15 Thread Gustavo Padovan
2015-12-15 Daniel Vetter : > On Mon, Dec 14, 2015 at 05:29:55PM -0800, Dmitry Torokhov wrote: > > Userspace can close the sync device while there are still active fence > > points, in which case kernel produces the following warning: > > > > [ 43.853176] [ cut here

Re: [PATCH] net: fix uninitialized variable issue

2015-12-15 Thread Eric Dumazet
On Tue, 2015-12-15 at 10:46 -0800, Tadeusz Struk wrote: > msg_iocb needs to be initialized on the recv/recvfrom path. > Otherwise afalg will wrongly interpret it as an async call. > > Cc: sta...@vger.kernel.org > Reported-by: Harald Freudenberger > Signed-off-by:

  1   2   3   4   5   6   7   8   9   10   >