[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 --- arch/arm/boot/dts/am57x

[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: H

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: [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 */ >>> sprintf(bo->procname, "%lu", sock

[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 a/arch/arm/boot/dts/omap3

[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 is

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 corr

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 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/mpt3sas/mpt3sas_b

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 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] [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: 'sm

[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 08:32:38 +0200 x86/dumpstack: Warn on st

[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 08:33:52 +0200 sched/fair: Remove unused

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 Agner > Suggested-by: Bor

[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 08:32:38 +0200 x86/unwind: Detect bad st

[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 08:32:37 +0200 x86/unwind: Warn on bad f

[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 08:20:27 +0200 objtool: Fix rare switch

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 defconfig to enable the DU DRM device as module >> > to

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 this in their kernels > o

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. > > For example, when we d

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: imx

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] > me

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], Sven

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 pagea

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: Michal Hocko Cc: Vlastimil Bab

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 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 loo

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 issue you observed? > > Sorry, missed to pu

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 FCP and VSP modules. > > > >

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 umr_co

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 Salvator-X board. > > Signed-off-by

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 Th

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 get_user_p

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

[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 files changed, 5 insertion

[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 +- drivers/infiniband/hw/ml

[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 --- drivers/infiniband/hw/mthc

[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 | 1 + 3 file

[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 ++--- drivers/infiniband/hw/mthca/mthca_dev.h | 3 ++- 2 files

[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 ++-- 1 file changed, 14

[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 Romanovsky

[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 - drivers/infiniband/hw/hns/hns_roce_device.h | 2 +- 2 fil

[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 --- drivers/infiniband/hw/hns/

[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 +++ drivers/infiniband/core

<    4   5   6   7   8   9