Re: [PATCH v3 8/9] IB/mlx5: Add helper mlx5_ib_post_send_wait

2016-10-27 Thread Leon Romanovsky
On Wed, Oct 26, 2016 at 01:31:13PM +0530, Binoy Jayan wrote: > Clean up the following common code (to post a list of work requests to the > send queue of the specified QP) at various places and add a helper function > 'mlx5_ib_post_send_wait' to implement the same. > > - Initialize

Re: linux-next: Tree for Oct 25

2016-10-27 Thread Daniel Vetter
On Tue, Oct 25, 2016 at 09:09:33PM -0400, Paul Gortmaker wrote: > On Mon, Oct 24, 2016 at 11:31 PM, Stephen Rothwell > wrote: > > Hi all, > > > > There will probably be no linux-next releases next week while I attend > > the Kernel Summit. > > > > Changes since 20161024: >

Re: [PATCH 1/8] block: add WRITE_BG

2016-10-27 Thread Christoph Hellwig
> * non-volatile media on completion. > + * WRITE_BG Background write. This is for background activity like > + * the periodic flush and background threshold writeback > * > */ > #define RW_MASK REQ_OP_WRITE > @@ -202,6

Re: [RFC 0/8] Define coherent device memory node

2016-10-27 Thread Anshuman Khandual
On 10/27/2016 10:08 AM, Anshuman Khandual wrote: > On 10/26/2016 09:32 PM, Jerome Glisse wrote: >> On Wed, Oct 26, 2016 at 04:43:10PM +0530, Anshuman Khandual wrote: >>> On 10/26/2016 12:22 AM, Jerome Glisse wrote: On Tue, Oct 25, 2016 at 11:01:08PM +0530, Aneesh Kumar K.V wrote: > Jerome

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-10-27 Thread Alexey Kardashevskiy
On 18/10/16 08:22, Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for the devices which are IOMMU capable. > Mediated device only uses IOMMU APIs, the underlying hardware can be > managed by an IOMMU domain. > > Aim of this change is: > - To use most of the code of TYPE1 IOMMU driver for

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-10-27 Thread Baolin Wang
Hi Felipe, On 19 October 2016 at 10:37, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add

Re: [PATCH V3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-10-27 Thread Charles Keepax
On Thu, Oct 27, 2016 at 09:09:30AM +0530, Viresh Kumar wrote: > The kernel WARNs and then crashes today if wm8994_device_init() fails > after calling devm_regulator_bulk_get(). > > That happens because there are multiple devices involved here and the > order in which resources are freed isn't

Re: [PATCH v2 11/11] mpt3sas: Bump driver version as "14.101.00.00"

2016-10-27 Thread Hannes Reinecke
On 10/26/2016 10:04 AM, Suganath Prabu S wrote: > Signed-off-by: Chaitra P B > Signed-off-by: Sathya Prakash > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--

Re: [PATCH v2 03/11] mpt3sas: Implement device_remove_in_progress check in IOCTL path

2016-10-27 Thread Hannes Reinecke
On 10/26/2016 10:04 AM, Suganath Prabu S wrote: > When device missing event arrives, device_remove_in_progress bit will be > set and hence driver has to stop sending IOCTL commands.Now the check has > been added in IOCTL path to test device_remove_in_progress bit is set, if > so then IOCTL will be

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-27 Thread Jike Song
On 10/21/2016 01:12 AM, Alex Williamson wrote: > On Thu, 20 Oct 2016 15:23:53 +0800 > Jike Song wrote: > >> On 10/18/2016 05:22 AM, Kirti Wankhede wrote: >>> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c >>> new file mode 100644 >>> index

[PATCH] blk-mq: remove the double hctx->numa_node init code.

2016-10-27 Thread Xiubo Li
Since the commit f14bbe77a96bb ("blk-mq: pass in suggested NUMA node to ->alloc_hctx()") has already computed and set the suggested NUMA node for hctx, so this code here is reduntant. Signed-off-by: Xiubo Li --- block/blk-mq.c | 19 ++- 1 file

Re: [PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-27 Thread Chen-Yu Tsai
On Thu, Oct 27, 2016 at 2:40 PM, Archit Taneja wrote: > > > On 10/25/2016 02:29 PM, Chen-Yu Tsai wrote: >> >> On Tue, Oct 25, 2016 at 4:09 PM, Archit Taneja >> wrote: >>> >>> Hi, >>> >>> On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote:

Re: [PATCH 1/2] mm/memblock: prepare a capability to support memblock near alloc

2016-10-27 Thread Michal Hocko
On Thu 27-10-16 10:41:24, Leizhen (ThunderTown) wrote: > > > On 2016/10/26 17:31, Michal Hocko wrote: > > On Wed 26-10-16 11:10:44, Leizhen (ThunderTown) wrote: > >> > >> > >> On 2016/10/25 21:23, Michal Hocko wrote: > >>> On Tue 25-10-16 10:59:17, Zhen Lei wrote: > If HAVE_MEMORYLESS_NODES

[PATCH] lib/ida: Document locking requirements a bit better v2

2016-10-27 Thread Daniel Vetter
I wanted to wrap a bunch of ida_simple_get calls into their own locking, until I dug around and read the original commit message. Stuff like this should imo be added to the kernel doc, let's do that. v2: Improve the kerneldoc per Tejun's review. Cc: Mel Gorman Cc:

Re: [PATCH] arm64: defconfig: Enable DRM DU and V4L2 FCP + VSP modules

2016-10-27 Thread Magnus Damm
Hi Simon, On Thu, Oct 27, 2016 at 4:15 PM, Simon Horman wrote: > On Thu, Oct 27, 2016 at 09:08:01AM +0200, Simon Horman wrote: >> On Wed, Oct 26, 2016 at 02:24:22PM +0900, Magnus Damm wrote: >> > From: Magnus Damm >> > >> > Extend the ARM64

Re: [PATCH] can: fix warning in bcm_connect/proc_register

2016-10-27 Thread Marc Kleine-Budde
On 10/24/2016 10:17 PM, Cong Wang wrote: > On Mon, Oct 24, 2016 at 1:10 PM, Cong Wang wrote: >> On Mon, Oct 24, 2016 at 12:11 PM, Oliver Hartkopp >> wrote: >>> if (proc_dir) { >>> /* unique socket address as filename */

[PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings

2016-10-27 Thread H. Nikolaus Schaller
While we fix the GTA04 we add proper pinmux for the penirq gpio. Tested on: GTA04A4 and Pyra-Handheld Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v6 0/8] drivers: touchscreen: tsc2007 and ads7846/tsc2046 improvements (use common touchscreen bindings, pre-calibration, spi fix and provide iio raw values)

2016-10-27 Thread H. Nikolaus Schaller
Changes V6: * iio patch (no changes elsewhere) - tsc2007_iio: fix a missing return 0 for non-iio case (found by kbuid test robot) - tsc2007_core: group error return paths so that tsc2007_iio_unconfigure is called at only one place - tsc2007_iio: fix copyright (this file

[PATCH v6 8/8] DT:omap3+ads7846: use new common touchscreen bindings

2016-10-27 Thread H. Nikolaus Schaller
The standard touch screen bindings [1] replace the private ti,swap-xy with touchscreen-swaped-x-y. And for the Openpandora we use touchscreen-size etc. to match the LCD screen size. [1]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt Tested with OpenPandora. Signed-off-by:

Re: [PATCH 9/9] Input: wm97xx: add new AC97 bus support

2016-10-27 Thread Charles Keepax
On Wed, Oct 26, 2016 at 09:41:47PM +0200, Robert Jarzmik wrote: > This adds support for the new AC97 bus code, which discovers the devices > rather than uses platform data. > > As part of this discovery, it enables a multi-function device wm97xx, > which supports touchscreen, battery, ADC and an

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Mel Gorman
On Thu, Oct 27, 2016 at 10:08:52AM +0200, Peter Zijlstra wrote: > On Thu, Oct 27, 2016 at 12:07:26AM +0100, Mel Gorman wrote: > > > but I consider PeterZ's > > > patch the fix to that, so I wouldn't worry about it. > > > > > > > Agreed. Peter, do you plan to finish that patch? > > I was waiting

Re: [Intel-gfx] [PATCH 0/5] drm/i915/skl: Backport watermark fixes for 4.8.y

2016-10-27 Thread Daniel Vetter
On Wed, Oct 26, 2016 at 03:36:32PM -0400, Lyude wrote: > Now that these have finally made it into 4.9, it's time to finally backport > these fixes. Skylake has been a mess in multi-monitor setups for a while now > because up until recently we've been updating the watermarks on Skylake just > like

Re: [PATCH] x86: quirks: hide maybe-uninitialized warning

2016-10-27 Thread Ingo Molnar
* Bjorn Helgaas wrote: > On Mon, Oct 24, 2016 at 05:33:18PM +0200, Arnd Bergmann wrote: > > gcc -Wmaybe-uninitialized detects that quirk_intel_brickland_xeon_ras_cap > > uses uninitialized data when CONFIG_PCI is not set: > > > > arch/x86/kernel/quirks.c: In function

Re: [PATCH v2 8/8] IB/mlx5: Add helper mlx5_ib_post_send_wait

2016-10-27 Thread Binoy Jayan
On 27 October 2016 at 11:35, Leon Romanovsky wrote: > On Tue, Oct 25, 2016 at 06:46:58PM +0530, Binoy Jayan wrote: >> On 25 October 2016 at 17:56, Leon Romanovsky wrote: >> > On Tue, Oct 25, 2016 at 05:31:59PM +0530, Binoy Jayan wrote: >> >> > In case of success

Re: [PATCH v4 00/10] infiniband: Remove semaphores

2016-10-27 Thread Leon Romanovsky
On Thu, Oct 27, 2016 at 12:29:04PM +0530, Binoy Jayan wrote: > Hi, > > These are a set of patches [v4] which removes semaphores from infiniband. > These are part of a bigger effort to eliminate all semaphores from the > linux kernel. > > v3 -> v4: > > IB/mlx5: Added patch - Replace semaphore

Re: [PATCH] [media] smiapp: make PM functions as __maybe_unused

2016-10-27 Thread Sakari Ailus
Hi Arnd, On Wed, Oct 26, 2016 at 10:38:01PM +0200, Arnd Bergmann wrote: > The rework of the PM support has caused two functions to > be orphaned when CONFIG_PM is disabled: > > media/i2c/smiapp/smiapp-core.c:1352:12: error: 'smiapp_power_off' defined but > not used [-Werror=unused-function] >

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-27 Thread Sebastian Andrzej Siewior
Hi Andrew, On 2016-10-26 19:51:03 [+0200], Sven Joachim wrote: > On 2016-10-25 09:30 +0200, Sebastian Andrzej Siewior wrote: > > > On 2016-10-24 19:32:30 [+0200], Sven Joachim wrote: > >> On 2016-10-24 09:43 +0200, Sebastian Andrzej Siewior wrote: > >> > >> > On 2016-10-24 09:38:49 [+0200],

Re: bio linked list corruption.

2016-10-27 Thread Christoph Hellwig
> Dave, can you hit the warnings with this? Totally untested... Can we just kill off the unhelpful blk_map_ctx structure, e.g.: diff --git a/block/blk-mq.c b/block/blk-mq.c index ddc2eed..d74a74a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1190,21 +1190,15 @@ static inline bool

[PATCH v2 09/10] pwm: imx: doc: Update imx-pwm.txt documentation entry

2016-10-27 Thread Lukasz Majewski
The imx-pwm.txt documentation update as a preparation for polarity support. Signed-off-by: Bhuvanchandra DV Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch --- Documentation/devicetree/bindings/pwm/imx-pwm.txt | 6 +++--- 1

[PATCH v2 05/10] pwm: imx: Move PWMv2 wait for fifo slot code to a separate function

2016-10-27 Thread Lukasz Majewski
The code, which waits for fifo slot, has been extracted from imx_pwm_config_v2 function and moved to new one - imx_pwm_wait_fifo_slot(). This change reduces the overall size of imx_pwm_config_v2() and prepares it for atomic PWM operation. Suggested-by: Stefan Agner

[PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-27 Thread Lukasz Majewski
The code has been rewritten to remove "generic" calls to imx_pwm_{enable|disable|config}. Such approach would facilitate switch to atomic PWM (a.k.a ->apply()) implementation. Suggested-by: Stefan Agner Suggested-by: Boris Brezillon

Re: [PATCH 0/6] pwm: imx: Provide atomic operation for IMX PWM driver

2016-10-27 Thread Lukasz Majewski
On Tue, 25 Oct 2016 15:09:03 -0200 Fabio Estevam wrote: > On Tue, Oct 25, 2016 at 3:08 PM, Fabio Estevam > wrote: > > >> the i.MX6q is not booting. Apparently I do need to wait for things > >> to calm down. > > > > Does this commit help with the boot

Re: [PATCH] arm64: defconfig: Enable DRM DU and V4L2 FCP + VSP modules

2016-10-27 Thread Simon Horman
On Thu, Oct 27, 2016 at 09:08:01AM +0200, Simon Horman wrote: > On Wed, Oct 26, 2016 at 02:24:22PM +0900, Magnus Damm wrote: > > From: Magnus Damm > > > > Extend the ARM64 defconfig to enable the DU DRM device as module > > together with required dependencies of V4L2

Re: Re: [PATCH] i2c: imx: add slave support. v2 status

2016-10-27 Thread Frkuska, Joshua
Hi Maxim, Dmitriy, Wolfram, If there is no immediate plan for a third release of the below patch set, would it be possible to continue with merging v2 after addressing the remaining concerns? Thank you and regards, Joshua Hi Maxim, On 2016-03-04 11:06:10 in the thread "Re: [PATCH] i2c:

Re: [PATCH v4] time: alarmtimer: Add the trcepoints for alarmtimer

2016-10-27 Thread Baolin Wang
Hi, On 18 October 2016 at 14:47, Baolin Wang wrote: > For system debugging, we sometimes want to know who sets one > alarm timer, the time of the timer, when the timer started and > fired and so on. Thus adding tracepoints can help us trace the > alarmtimer information. >

Re: [PATCH 4/5] misc: sgi-gru: print a hex number after a 0x prefix

2016-10-27 Thread Uwe Kleine-König
On Wed, Oct 26, 2016 at 08:47:46AM -0500, Dimitri Sivanich wrote: > On Wed, Oct 26, 2016 at 02:56:57PM +0200, Uwe Kleine-König wrote: > > It makes the result hard to interpret correctly if a base 10 number is > > prefixed by 0x. So change to a hex number. > > > > Would like to have this be a

Re: [PATCH 2/4] x86/unwind: ensure stack grows down

2016-10-27 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Add a sanity check to ensure the stack only grows down, and print a > warning if the check fails. > > Signed-off-by: Josh Poimboeuf > --- > arch/x86/kernel/unwind_frame.c | 36 > 1 file

[PATCH v2 04/10] pwm: imx: Move PWMv2 software reset code to a separate function

2016-10-27 Thread Lukasz Majewski
The software reset code has been extracted from imx_pwm_config_v2 function and moved to new one - imx_pwm_sw_reset(). This change reduces the overall size of imx_pwm_config_v2() and prepares it for atomic PWM operation. Suggested-by: Stefan Agner Suggested-by: Boris Brezillon

[PATCH v2 06/10] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2016-10-27 Thread Lukasz Majewski
This commit provides apply() callback implementation for i.MX's PWMv2. Suggested-by: Stefan Agner Suggested-by: Boris Brezillon Signed-off-by: Lukasz Majewski Reviewed-by: Boris Brezillon

RE: [PATCH 1/6] dt/bindings: adjust bindings for Layerscape SCFG MSI

2016-10-27 Thread Leo Li
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Wednesday, October 26, 2016 5:31 AM > To: M.H. Lian > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; Marc Zyngier

Re: Build regressions/improvements in v4.9-rc1

2016-10-27 Thread Thomas Petazzoni
Hello, On Thu, 27 Oct 2016 10:56:02 +1100, Michael Ellerman wrote: > > Hm... that's strange - it used to work but doesn't work with newer > > Buildroot... > > > > Anyways if something very simple (i.e. with no extra libraries) works for > > you just go > > ahead and grab pre-built image that

Re: [PATCH] arm64: defconfig: Enable DRM DU and V4L2 FCP + VSP modules

2016-10-27 Thread Simon Horman
On Wed, Oct 26, 2016 at 02:24:22PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Extend the ARM64 defconfig to enable the DU DRM device as module > together with required dependencies of V4L2 FCP and VSP modules. > > This enables VGA output on the r8a7795

Re: [PATCH v1] memcg: Prevent caches to be both OFF_SLAB & OBJFREELIST_SLAB

2016-10-27 Thread Michal Hocko
The patch is marked for memcg but I do not see any direct relation. I am not familiar with this code enough probably but if this really is memcg kmem related, please do not forget to CC Vladimir On Wed 26-10-16 10:41:28, Thomas Garnier wrote: > While testing OBJFREELIST_SLAB integration with

[PATCH v2 02/10] pwm: imx: Add separate set of pwm ops for PWMv1 and PWMv2

2016-10-27 Thread Lukasz Majewski
This patch provides separate set of pwm ops utilized by i.MX's PWMv1 and PWMv2. Signed-off-by: Lothar Waßmann Signed-off-by: Bhuvanchandra DV Signed-off-by: Lukasz Majewski Acked-by: Shawn Guo

[PATCH v2 01/10] pwm: print error messages with pr_err() instead of pr_debug()

2016-10-27 Thread Lukasz Majewski
From: Lothar Wassmann Make the messages that are printed in case of fatal errors actually visible to the user without having to recompile the driver with debugging enabled. Signed-off-by: Lothar Waßmann Signed-off-by: Bhuvanchandra DV

Re: [PATCH 1/8] vfs - change d_manage() to take a struct path

2016-10-27 Thread Ian Kent
On Thu, 2016-10-27 at 10:47 +0800, Ian Kent wrote: > On Thu, 2016-10-27 at 03:11 +0100, Al Viro wrote: > >  > > > > How much testing did it get?  I've several test setups involving > > autofs, but they are nowhere near exhaustive and I don't have good > > enough feel of the codebase to slap

Re: [PATCH 0/5] print a hex number after a 0x prefix

2016-10-27 Thread Uwe Kleine-König
On Wed, Oct 26, 2016 at 04:35:22PM -0700, Joe Perches wrote: > On Wed, 2016-10-26 at 14:56 +0200, Uwe Kleine-König wrote: > > Hello, > > > > these were found by > > > > git grep -i 0x%[lh]*[du] > > > > Maybe it would make sense to catch this type of unconvenience in > > checkpatch? > >

Re: [PATCH v2] mm: remove unnecessary __get_user_pages_unlocked() calls

2016-10-27 Thread Lorenzo Stoakes
On Wed, Oct 26, 2016 at 05:12:07PM -0700, Andrew Morton wrote: > It's a KVM patch and should have been called "kvm: remove ...". > Possibly the KVM maintainers will miss it for this reason. > Ah, indeed, however I think given my and Michal's discussion in this thread regarding adjusting

[tip:core/urgent] objtool: Fix rare switch jump table pattern detection

2016-10-27 Thread tip-bot for Josh Poimboeuf
Commit-ID: 56fb2d6eb63acd48b50437b415b6f7d2fcffe75d Gitweb: http://git.kernel.org/tip/56fb2d6eb63acd48b50437b415b6f7d2fcffe75d Author: Josh Poimboeuf AuthorDate: Wed, 26 Oct 2016 10:34:08 -0500 Committer: Ingo Molnar CommitDate: Thu, 27 Oct 2016

[tip:x86/asm] x86/unwind: Warn on bad frame pointer

2016-10-27 Thread tip-bot for Josh Poimboeuf
Commit-ID: c32c47c68a0ae701088c5b2c3798856ed16746ae Gitweb: http://git.kernel.org/tip/c32c47c68a0ae701088c5b2c3798856ed16746ae Author: Josh Poimboeuf AuthorDate: Wed, 26 Oct 2016 10:41:48 -0500 Committer: Ingo Molnar CommitDate: Thu, 27 Oct 2016

[tip:sched/urgent] sched/fair: Remove unused but set variable 'rq'

2016-10-27 Thread tip-bot for Tobias Klauser
Commit-ID: f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b Gitweb: http://git.kernel.org/tip/f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b Author: Tobias Klauser AuthorDate: Wed, 26 Oct 2016 13:37:04 +0200 Committer: Ingo Molnar CommitDate: Thu, 27 Oct 2016

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 08:29:39 +0200 Lukasz Majewski wrote: > The code has been rewritten to remove "generic" calls to > imx_pwm_{enable|disable|config}. > > Such approach would facilitate switch to atomic PWM (a.k.a ->apply()) > implementation. > > Suggested-by: Stefan

[tip:x86/asm] x86/unwind: Detect bad stack return address

2016-10-27 Thread tip-bot for Josh Poimboeuf
Commit-ID: b6959a362177053c1c90db6dc1af25b6bddd8548 Gitweb: http://git.kernel.org/tip/b6959a362177053c1c90db6dc1af25b6bddd8548 Author: Josh Poimboeuf AuthorDate: Wed, 26 Oct 2016 10:41:51 -0500 Committer: Ingo Molnar CommitDate: Thu, 27 Oct 2016

[tip:x86/asm] x86/dumpstack: Warn on stack recursion

2016-10-27 Thread tip-bot for Josh Poimboeuf
Commit-ID: 0d2b8579add41e08aa1110da864f1071d58e6048 Gitweb: http://git.kernel.org/tip/0d2b8579add41e08aa1110da864f1071d58e6048 Author: Josh Poimboeuf AuthorDate: Wed, 26 Oct 2016 10:41:50 -0500 Committer: Ingo Molnar CommitDate: Thu, 27 Oct 2016

Re: [PATCH 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2016-10-27 Thread Peter Ujfalusi
On 10/26/16 16:02, Peter Ujfalusi wrote: > On 10/26/16 15:12, Lee Jones wrote: >> On Fri, 30 Sep 2016, Peter Ujfalusi wrote: >> >>> Move the check for gpio and regulator initial state to a new function and >>> document better what we are checking and why. >>> >>> It is going to be easier to fix or

Re: [PATCH] lib/ida: Document locking requirements a bit better

2016-10-27 Thread Daniel Vetter
On Wed, Oct 26, 2016 at 04:07:25PM -0400, Tejun Heo wrote: > Hello, Daniel. > > On Wed, Oct 26, 2016 at 09:25:25PM +0200, Daniel Vetter wrote: > > > > + * Note that callers must ensure that concurrent access to @ida is not > > > > possible. > > > > + * When simplicity trumps concurrency needs

[PATCH v2 00/10] pwm: imx: Provide atomic operation for IMX PWM driver

2016-10-27 Thread Lukasz Majewski
This patch set brings atomic operation to i.MX's PWMv2 driver. This work has been supported and suggested by Boris Brezillon [1] and Stefan Agner, by showing how simple the transition could be :-). It has been divided into several steps: - Provide different pwm ops for PWMv1 and PWM v2 -

[PATCH v2 08/10] pwm: core: make the PWM_POLARITY flag in DTB optional

2016-10-27 Thread Lukasz Majewski
From: Lothar Wassmann Change the pwm chip driver registration, so that a chip driver that supports polarity inversion can still be used with DTBs that don't provide the 'PWM_POLARITY' flag. This is done to provide polarity inversion support for the pwm-imx driver

[PATCH v2 10/10] pwm: imx: Add polarity inversion support to i.MX's PWMv2

2016-10-27 Thread Lukasz Majewski
With this patch the polarity settings for i.MX's PWMv2 is now supported on top of atomic PWM setting Signed-off-by: Bhuvanchandra DV Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch --- drivers/pwm/pwm-imx.c | 11 +++ 1

[PATCH v2 07/10] pwm: imx: Remove redundant i.MX PWMv2 code

2016-10-27 Thread Lukasz Majewski
The code providing functionality surpassed by the atomic PWM is not needed anymore and hence can be removed. Suggested-by: Stefan Agner Suggested-by: Boris Brezillon Signed-off-by: Lukasz Majewski Reviewed-by: Boris

Re: [PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-27 Thread Archit Taneja
On 10/25/2016 02:29 PM, Chen-Yu Tsai wrote: On Tue, Oct 25, 2016 at 4:09 PM, Archit Taneja wrote: Hi, On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: Some rgb-to-vga bridges have an enable GPIO, either directly tied to an enable pin on the bridge IC, or indirectly

[PATCH v4 08/10] IB/mlx5: Add helper mlx5_ib_post_send_wait

2016-10-27 Thread Binoy Jayan
Clean up the following common code (to post a list of work requests to the send queue of the specified QP) at various places and add a helper function 'mlx5_ib_post_send_wait' to implement the same. - Initialize 'mlx5_ib_umr_context' on stack - Assign "mlx5_umr_wr:wr:wr_cqe to umr_context.cqe

[PATCH v4 05/10] IB/isert: Replace semaphore sem with completion

2016-10-27 Thread Binoy Jayan
The semaphore 'sem' in isert_device is used as completion, so convert it to struct completion. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/infiniband/ulp/isert/ib_isert.c | 6 +++--- drivers/infiniband/ulp/isert/ib_isert.h | 3 ++- 2

[PATCH v4 09/10] IB/mlx5: Replace semaphore umr_common:sem with wait_event

2016-10-27 Thread Binoy Jayan
Remove semaphore umr_common:sem used to limit concurrent access to umr qp and introduce an atomic value 'users' to keep track of the same. Use a wait_event to block when the limit is reached. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/mlx5/main.c| 6 +-

[PATCH v4 04/10] IB/mthca: Replace semaphore poll_sem with mutex

2016-10-27 Thread Binoy Jayan
The semaphore 'poll_sem' is a simple mutex, so it should be written as one. Semaphores are going away in the future. So replace it with a mutex. Also, remove mutex_[un]lock from mthca_cmd_use_events and mthca_cmd_use_polling respectively. Signed-off-by: Binoy Jayan ---

[PATCH v4 10/10] IB/mlx5: Simplify completion into a wait_event

2016-10-27 Thread Binoy Jayan
Convert the completion 'mlx5_ib_umr_context:done' to a wait_event as it just waits for the return value to be filled. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +- drivers/infiniband/hw/mlx5/mr.c | 9 + include/rdma/ib_verbs.h

Re: [PATCH] [media] smiapp: make PM functions as __maybe_unused

2016-10-27 Thread Arnd Bergmann
On Thursday, October 27, 2016 10:28:18 AM CEST Sakari Ailus wrote: > > On Wed, Oct 26, 2016 at 10:38:01PM +0200, Arnd Bergmann wrote: > > The rework of the PM support has caused two functions to > > be orphaned when CONFIG_PM is disabled: > > > > media/i2c/smiapp/smiapp-core.c:1352:12: error:

Re: [PATCH 8/9] mfd: wm97xx-core: core support for wm97xx Codec

2016-10-27 Thread Charles Keepax
On Wed, Oct 26, 2016 at 09:41:46PM +0200, Robert Jarzmik wrote: > The WM9705, WM9712 and WM9713 are highly integrated codecs, with an > audio codec, DAC and ADC, GPIO unit and a touchscreen interface. > > Historically the support was spread across drivers/input/touchscreen and > sound/soc/codecs.

Re: [PATCH v2 8/8] IB/mlx5: Add helper mlx5_ib_post_send_wait

2016-10-27 Thread Leon Romanovsky
On Tue, Oct 25, 2016 at 06:46:58PM +0530, Binoy Jayan wrote: > On 25 October 2016 at 17:56, Leon Romanovsky wrote: > > On Tue, Oct 25, 2016 at 05:31:59PM +0530, Binoy Jayan wrote: > > > In case of success (err == 0), you will call to unmap_dma instead of > > normal flow. > > > >

[PATCH v4 03/10] IB/hns: Replace semaphore poll_sem with mutex

2016-10-27 Thread Binoy Jayan
The semaphore 'poll_sem' is a simple mutex, so it should be written as one. Semaphores are going away in the future. So replace it with a mutex. Also, remove mutex_[un]lock from mthca_cmd_use_events and mthca_cmd_use_polling respectively. Signed-off-by: Binoy Jayan ---

[PATCH v4 01/10] IB/core: iwpm_nlmsg_request: Replace semaphore with completion

2016-10-27 Thread Binoy Jayan
Semaphore sem in iwpm_nlmsg_request is used as completion, so convert it to a struct completion type. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/infiniband/core/iwpm_msg.c | 8 drivers/infiniband/core/iwpm_util.c | 7 +++

[PATCH v4 07/10] IB/mthca: Replace counting semaphore event_sem with wait_event

2016-10-27 Thread Binoy Jayan
Counting semaphores are going away in the future, so replace the semaphore mthca_cmd::event_sem with a conditional wait_event. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/mthca/mthca_cmd.c | 47 ++---

[PATCH v4 02/10] IB/core: Replace semaphore sm_sem with an atomic wait

2016-10-27 Thread Binoy Jayan
The semaphore 'sm_sem' is used for an exclusive ownership of the device so model the same as an atomic variable with an associated wait_event. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/infiniband/core/user_mad.c | 20

[PATCH v4 00/10] infiniband: Remove semaphores

2016-10-27 Thread Binoy Jayan
Hi, These are a set of patches [v4] which removes semaphores from infiniband. These are part of a bigger effort to eliminate all semaphores from the linux kernel. v3 -> v4: IB/mlx5: Added patch - Replace semaphore umr_common:sem with wait_event IB/mlx5: Fixed a bug pointed out by Leon

[PATCH v4 06/10] IB/hns: Replace counting semaphore event_sem with wait_event

2016-10-27 Thread Binoy Jayan
Counting semaphores are going away in the future, so replace the semaphore mthca_cmd::event_sem with a conditional wait_event. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/hns/hns_roce_cmd.c| 46 -

Re: [RFC v1 02/14] bus1: provide stub cdev /dev/bus1

2016-10-27 Thread Arnd Bergmann
On Thursday, October 27, 2016 1:54:05 AM CEST Tom Gundersen wrote: > On Thu, Oct 27, 2016 at 1:19 AM, Andy Lutomirski wrote: > > This may have been covered elsewhere, but could this use syscalls instead? > > Yes, syscalls would work essentially the same. For now, we are

[PATCH 4/4] arm: dts: am57xx-idk-common: Add overide powerhold property

2016-10-27 Thread Keerthy
The PMICs have POWERHOLD set by default which prevents PMIC shutdown even on DEV_CTRL On bit set to 0 as the Powerhold has higher priority. So to enable pmic power off this property lets one over ride the default value and enable pmic power off. Signed-off-by: Keerthy ---

Re: [PATCH v2 05/11] mpt3sas: Bump driver version as "14.100.00.00"

2016-10-27 Thread Hannes Reinecke
On 10/26/2016 10:04 AM, Suganath Prabu S wrote: > Signed-off-by: Chaitra P B > Signed-off-by: Sathya Prakash > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--

Re: [PATCH 0/5] mm: workingset: radix tree subtleties & single-page file refaults

2016-10-27 Thread Jan Kara
On Wed 26-10-16 14:15:09, Johannes Weiner wrote: > On Wed, Oct 26, 2016 at 11:21:07AM +0200, Jan Kara wrote: > > On Mon 24-10-16 14:47:39, Johannes Weiner wrote: > > > From: Johannes Weiner > > > Date: Mon, 17 Oct 2016 09:00:04 -0400 > > > Subject: [PATCH] mm: workingset:

Re: Getting interrupt every million cache misses

2016-10-27 Thread Peter Zijlstra
On Thu, Oct 27, 2016 at 10:46:38AM +0200, Pavel Machek wrote: > And actually, printk() is not needed, udelay(50msec) is. Reason is, > that DRAM becomes unreliable if about milion cache misses happen in > under 64msec -- so I'd like to slow the system down in such cases to > prevent bug from

[PATCH v6 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-10-27 Thread H. Nikolaus Schaller
commit b98abe52fa8e ("Input: add common DT binding for touchscreens") introduced common DT bindings for touchscreens [1] and a helper function to parse the DT. commit ed7c9870c9bc ("Input: of_touchscreen - add support for inverted / swapped axes") added another helper for parsing axis inversion

[PATCH v6 2/8] drivers:input:tsc2007: send pendown and penup only once like ads7846(+tsc2046) driver does

2016-10-27 Thread H. Nikolaus Schaller
this should reduce unnecessary input events. Signed-off-by: H. Nikolaus Schaller --- drivers/input/touchscreen/tsc2007.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/tsc2007.c

Re: [RFC v1 04/14] bus1: util - fixed list utility library

2016-10-27 Thread Peter Zijlstra
On Wed, Oct 26, 2016 at 09:18:00PM +0200, David Herrmann wrote: > + e = kmalloc_array(sizeof(*e), BUS1_FLIST_BATCH + 1, gfp); > +#define BUS1_FLIST_BATCH (1024) > +struct bus1_flist { > + union { > + struct bus1_flist *next; > + void *ptr; > + }; > +};

Re: [RFC PATCH 5/5] of: overlay-mgr: add a detector for headers stored on a ds2431 eeprom over w1

2016-10-27 Thread Matthias Brugger
On 10/26/2016 04:57 PM, Antoine Tenart wrote: Signed-off-by: Antoine Tenart --- Please provide a commit message. Thanks, Matthias

Re: [PATCH v12 3/5] Input: goodix - add runtime power management support

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > Add support for runtime power management so that the device is > turned off when not used (when the userspace holds no open > handles of the input device). The device uses autosuspend with a > default delay of 2 seconds, so the device will

Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding for meson GPIO interrupt controller

2016-10-27 Thread Mark Rutland
On Wed, Oct 26, 2016 at 04:42:35PM -0500, Rob Herring wrote: > On Wed, Oct 19, 2016 at 05:21:13PM +0200, Jerome Brunet wrote: > > > > This commit adds the device tree bindings description for Amlogic's GPIO > > interrupt controller available on the meson8, meson8b and gxbb SoC families > > > >

Re: [PATCH] lib/ida: Document locking requirements a bit better v2

2016-10-27 Thread Tejun Heo
On Thu, Oct 27, 2016 at 09:22:16AM +0200, Daniel Vetter wrote: > I wanted to wrap a bunch of ida_simple_get calls into their own > locking, until I dug around and read the original commit message. > Stuff like this should imo be added to the kernel doc, let's do that. > > v2: Improve the

Re: [PATCH v12 4/5] Input: goodix - fix reset sequence

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > According to the Goodix datasheet, the reset sequence will leave > the reset line set to output high. To end the selection of the I2C > address, we just need to set the input line to low for at least > 50 ms and then set it to input floating

Re: [PATCH v12 5/5] Input: goodix - add support for gt9157

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > Goodix touchscreen GT9157 has the same basic functionality > as GT911 touchscreen. This is based on Goodix datasheets > for GT911 and GT9157 and on Goodix driver gt9xx.c for > Android (publicly available in Android kernel trees for > various

Re: [RFC PATCH 00/13] of: Make drivers/of/resolver.c more readable

2016-10-27 Thread Rob Herring
On Tue, Oct 25, 2016 at 4:02 PM, Frank Rowand wrote: > On 10/25/16 13:58, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> drivers/of/resolve.c is a bit difficult to read. Clean it up so >> that review of future overlay related patches

Re: [PATCH] pci: Don't set RCB bit in LNKCTL if the upstream bridge hasn't

2016-10-27 Thread Hannes Reinecke
On 10/27/2016 01:51 PM, Bjorn Helgaas wrote: > On Thu, Oct 27, 2016 at 07:42:27AM +0200, Hannes Reinecke wrote: >> On 10/26/2016 09:43 PM, Bjorn Helgaas wrote: >>> Hi Johannes, >>> >>> On Wed, Oct 26, 2016 at 03:53:34PM +0200, Johannes Thumshirn wrote: The Read Completion Boundary bit must

Re: [PATCH v6: 4/4] x86/cpufeature: Add R3MWAIT to CPU features

2016-10-27 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 04:02:03PM +0200, Grzegorz Andrejczuk wrote: > Add cpu feature for ring 3 monitor/mwait. > Set HWCAP2 1st bit during init. > > Signed-off-by: Grzegorz Andrejczuk > --- > arch/x86/include/asm/cpufeatures.h | 2 ++ >

[PATCH 1/2] iopoll: Avoid namespace collision within macros

2016-10-27 Thread Ramesh Shanmugasundaram
Renamed variable "timeout" to "__timeout" to avoid namespace collision. Signed-off-by: Ramesh Shanmugasundaram --- include/linux/iopoll.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/iopoll.h

[PATCH] Input: gpio-keys - use module_platform_driver macro

2016-10-27 Thread Slawomir Stepien
The gpio_keys_init() and gpio_keys_exit() are not doing anything more then just register and unregister. Replace these functions with module_platform_driver. Signed-off-by: Slawomir Stepien --- drivers/input/keyboard/gpio_keys.c | 13 + 1 file changed, 1

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-27 Thread Lukasz Majewski
Hi Boris, > On Thu, 27 Oct 2016 08:29:39 +0200 > Lukasz Majewski wrote: > > > The code has been rewritten to remove "generic" calls to > > imx_pwm_{enable|disable|config}. > > > > Such approach would facilitate switch to atomic PWM (a.k.a > > ->apply()) implementation. >

[PATCHv3 0/3] z3fold: background page compaction

2016-10-27 Thread Vitaly Wool
The coming patchset is another take on z3fold page layout optimization problem. The previous solution [1] used shrinker to solve the issue of in-page space fragmentation but after some discussions the decision was made to rewrite background page layout optimization using good old work queues. The

[PATCH 0/2] x86/vdso: small fixups for map_vdso

2016-10-27 Thread Dmitry Safonov
The first one is a fixup for arch_prctl constants uapi visability, the second is code simplification. Dmitry Safonov (2): x86/prctl/uapi: remove ifdef for CHECKPOINT_RESTORE x86/vdso: set vdso pointer only after success arch/x86/entry/vdso/vma.c | 10 +++---

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-10-27 Thread Alex Williamson
On Thu, 27 Oct 2016 18:01:51 +0530 Kirti Wankhede wrote: > On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: > > On 18/10/16 08:22, Kirti Wankhede wrote: > >> VFIO IOMMU drivers are designed for the devices which are IOMMU capable. > >> Mediated device only uses IOMMU

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-10-27 Thread Giuseppe CAVALLARO
Hello Rayagond ! On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: +static int dwmac4_wrback_get_rx_timestamp_status(void *desc, u32 ats) > { > struct dma_desc *p = (struct dma_desc *)desc; > + int ret = -EINVAL; > + > + /* Get the status from normal w/b descriptor */ > +

[patch v1 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread vadimp
From: Vadim Pasternak Add calls for mlxcpld-hotplug platform driver registration/unregistration and add platform hotplug data configurations. Signed-off-by: Vadim Pasternak --- drivers/platform/x86/mlx-platform.c | 100

  1   2   3   4   5   6   7   8   9   10   >