[PATCH 1/7] autofs: remove wrong comment

2017-01-30 Thread Ian Kent
From: Tomohiro Kusumi This format seems to have been taken from device mapper header, but autofs has no such file:function in both kernel and userspace. Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- include/uapi/linux/auto_dev-ioctl.h |4 1 file changed, 4 deletions(-)

[PATCH 5/7] autofs: add command enum/macros for root-dir ioctls

2017-01-30 Thread Ian Kent
From: Tomohiro Kusumi Sync root-dir ioctl with misc-char-dev ioctl's enum/macro format since these two types of ioctls aren't completely independent of each other in terms of command nr. No functional changes. Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- include/uapi/linux/auto_

[PATCH 4/7] autofs: update ioctl documentation regarding struct autofs_dev_ioctl

2017-01-30 Thread Ian Kent
From: Tomohiro Kusumi This is the same as bf72eda5 except that it's a different file. Sync documentation with changes made by 730c9eec in 2009. Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- .../filesystems/autofs4-mount-control.txt |1 + Documentation/filesystems/aut

Re: [PATCH V2] ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys

2017-01-30 Thread Aditya Xavier
Would you require me to send the revised Patch ? Or would this do ? And thanks for guiding me through this process :) > On 29-Jan-2017, at 2:45 AM, Rafał Miłecki wrote: > > On 28 January 2017 at 15:37, AdityaXavier wrote: >> From: Aditya Xavier >> >> Added two WAN status LEDs and a GPIO Ke

[PATCH 2/2] HID: cp2112: fix gpio-callback error handling

2017-01-30 Thread Johan Hovold
In case of a zero-length report, the gpio direction_input callback would currently return success instead of an errno. Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable") Cc: stable # 4.9 Signed-off-by: Johan Hovold --- drivers/hid/hid-cp2112.c | 2 +- 1 file changed, 1 i

[PATCH 1/2] HID: cp2112: fix sleep-while-atomic

2017-01-30 Thread Johan Hovold
A recent commit fixing DMA-buffers on stack added a shared transfer buffer protected by a spinlock. This is broken as the USB HID request callbacks can sleep. Fix this up by replacing the spinlock with a mutex. Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable") Cc: stable

Re: [PATCH 5/9] treewide: use kv[mz]alloc* rather than opencoded variants

2017-01-30 Thread Leon Romanovsky
On Mon, Jan 30, 2017 at 10:49:36AM +0100, Michal Hocko wrote: > From: Michal Hocko > > There are many code paths opencoding kvmalloc. Let's use the helper > instead. The main difference to kvmalloc is that those users are usually > not considering all the aspects of the memory allocator. E.g. allo

Re: [PATCH 2/3] lightnvm: allow targets to use sysfs

2017-01-30 Thread Matias Bjørling
On 01/26/2017 12:47 PM, Javier González wrote: > In order to register through the sysfs interface, a driver needs to know > its kobject. On a disk structure, this happens when the partition > information is added (device_add_disk), which for lightnvm takes place > after the target has been initiali

Re: [PATCH v3 04/10] clk: sunxi-ng: add support for Allwinner H5 SoC

2017-01-30 Thread Maxime Ripard
On Sun, Jan 29, 2017 at 10:33:25AM +0800, Icenowy Zheng wrote: > Allwinner H5 is a SoC that features a CCU like H3, but with MMC phase > clocks removed (for new MMC controller) and a new bus gate/reset > imported. > > Add support for it. > > Signed-off-by: Icenowy Zheng > --- > See the comments

Re: [PATCH] perf tools: Create for_each_event{_system, _file} macros for tracepoints iteration

2017-01-30 Thread Taeung Song
On 01/30/2017 06:08 PM, Jiri Olsa wrote: On Mon, Jan 30, 2017 at 05:35:28PM +0900, Taeung Song wrote: SNIP +#define for_each_event_system(dir, dent, tps) \ + while ((dent = readdir(dir))) \ + if (dent->d_type == DT_DIR &&

Re: [PATCH v4 2/3] watchdog: introduce watchdog.open_timeout commandline parameter

2017-01-30 Thread Rasmus Villemoes
On 2017-01-13 10:11, Rasmus Villemoes wrote: > On 2017-01-11 12:02, Guenter Roeck wrote: >> This will require input from others on the semantics. > > I agree, it would be nice to have others chime in on whether they'd even > find this useful, and what semantics they'd like. Ping. -- Rasmus Vill

Re: [PATCHv1 1/2] mmc: sdhci-msm: Remove platform_execute_tuning from sdhci_msm_ops

2017-01-30 Thread Ulf Hansson
On 24 January 2017 at 09:50, Ritesh Harjani wrote: > platform_execute_tuning should not really exist as it does not > do anything useful. > > So remove this ops and directly plug sdhci_msm_execute_tuning > with mmc_host_ops. > > Also in case of HS400 tuning clear SDHCI_HS400_TUNING flag once > HS4

[PATCH 0/2] HID: cp2112: fix sleep-while-atomic regression

2017-01-30 Thread Johan Hovold
These patches fix a sleep-while-atomic and an error-handling issue introduced by a patch that went into 4.9. Note that this series has only been compile tested. Johan Johan Hovold (2): HID: cp2112: fix sleep-while-atomic HID: cp2112: fix gpio-callback error handling drivers/hid/hid-cp2112

Re: [PATCH 2/2] perf evsel: Check for NULL before perf_evsel__is_bpf_output()

2017-01-30 Thread Taeung Song
Hi, jirka :) Thank you! Taeung On 01/30/2017 05:55 PM, Jiri Olsa wrote: On Mon, Jan 30, 2017 at 02:23:39PM +0900, Taeung Song wrote: If 'evsel' is NULL, in perf_evsel__is_bpf_output() NULL pointer error can happen so check it. Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Taeung Song ---

Re: [PATCH v2 3/8] pinctrl: samsung: Add support for pad retention control for Exynos5433 SoCs

2017-01-30 Thread Marek Szyprowski
Hi Krzysztof, On 2017-01-27 19:02, Krzysztof Kozlowski wrote: On Thu, Jan 26, 2017 at 09:48:11PM +0200, Krzysztof Kozlowski wrote: On Thu, Jan 26, 2017 at 09:33:49AM +0100, Marek Szyprowski wrote: This patch adds support for retention control for Exynos5433 SoCs. Three groups of pins has been

Re: [PATCH V6 3/5] OF: Add missing I/O range exception for indirect-IO devices

2017-01-30 Thread John Garry
On 27/01/2017 22:03, Rob Herring wrote: On Tue, Jan 24, 2017 at 03:05:23PM +0800, zhichang.yuan wrote: There are some special ISA/LPC devices that work on a specific I/O range where it is not correct to specify a 'ranges' property in DTS parent node as cpu addresses translated from DTS node are

Re: [PATCH v5 0/13] arm64: allwinner: a64: Enable MMC support

2017-01-30 Thread Maxime Ripard
Hi, On Sat, Jan 28, 2017 at 08:44:02PM +0800, Chen-Yu Tsai wrote: > On Sat, Jan 28, 2017 at 5:38 AM, Maxime Ripard > wrote: > > Hi, > > > > Here is a new attempt at getting the MMC controllers running, following the > > work done by Andre. > > > > This has been tested on a board with one SDIO dev

Re: [PATCH v15 2/5] tee: generic TEE subsystem

2017-01-30 Thread Benjamin GAIGNARD
On 01/28/2017 01:19 PM, Jens Wiklander wrote: > Initial patch for generic TEE subsystem. > This subsystem provides: > * Registration/un-registration of TEE drivers. > * Shared memory between normal world and secure world. > * Ioctl interface for interaction with user space. > * Sysfs implementati

Re: [PATCH 1/5] gpio: Add the devm_get_index_gpiod_from_child() helper

2017-01-30 Thread Boris Brezillon
Hi Linus, On Mon, 30 Jan 2017 10:49:23 +0100 Linus Walleij wrote: > On Fri, Jan 27, 2017 at 5:34 PM, Boris Brezillon > wrote: > > > devm_get_gpiod_from_child() currently allows GPIO users to request a GPIO > > that is defined in a child fwnode instead of directly in the device > > fwnode. Exte

Re: [3/8] x86/tsc: Store and check TSC ADJUST MSR

2017-01-30 Thread Thomas Gleixner
Henning, On Fri, 27 Jan 2017, Henning Schild wrote: > > did you by any chance look into TSC synchronization by adjusting the > absolute value (MSR_IA32_TSC) as well? As far as i have seen Linux did > that a long time ago and eventually it was stopped because it caused more > harm than good. I wa

Re: [PATCH v4 1/4] PM / devfreq: Fix the wrong description for userspace governor

2017-01-30 Thread Rafael J. Wysocki
On Tue, Jan 24, 2017 at 4:42 AM, MyungJoo Ham wrote: >> This patch fixes the wrong description of governor_userspace.c >> and removes the unneeded blank line. >> >> Signed-off-by: Chanwoo Choi >> --- > > Applied in for-next Quite frankly I'm not entirely sure what's going on in the devfreq land

Re: [PATCH 1/2] perf tools: Use zfree() instead of free() in parse-events.c

2017-01-30 Thread Taeung Song
On 01/30/2017 06:01 PM, Jiri Olsa wrote: On Mon, Jan 30, 2017 at 02:23:38PM +0900, Taeung Song wrote: Currently there are several parts not checking NULL after allocating with zalloc() or asigning NULL value to a pointer variable after doing free(). So I fill in code checking NULL and use zfr

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2017-01-30 Thread Anshuman Khandual
On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > Hi everyone, > > I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 > with feedbacks for ver.1. Hello Noaya, I have been working with Zi Yan on the parallel huge page migration series (https://lkml.org/lkml/2016/11/22/457) and

[PATCH] thermal/intel_powerclamp: Remove set-but-not-used variables

2017-01-30 Thread Augusto Mecking Caringi
In poll_pkg_cstate() function, the variables jiffies_last and jiffies_now are set but never used. This has been detected by building the driver with W=1: drivers/thermal/intel_powerclamp.c: In function ‘poll_pkg_cstate’: drivers/thermal/intel_powerclamp.c:464:23: warning: variable ‘jiffies_last’

[PATCH v2 2/3] remoteproc: qcom: Add scm call to protect modem mem in mss rproc drv.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add hypervisor call support for second stage translation from mss remoteproc driver, this is required so that modem on msm8996 which is based on armv8 architecture can access DDR region where modem firmware are loaded. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_

[PATCH v2 0/3] Enable msm8996 support in mss rproc driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
In continuation of earlier RFC patch series, this series consist three patches, which add following. 1- Add hypervisor call support to enable second stage translation of intermediat physical address generated by individual subsystem, second stage mapping of address is supporte

[PATCH v2 3/3] remoteproc: qcom: Add msm8996 specific changes in mss rproc driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add msm8996 support in existing mss rproc driver. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 178 ++--- 2 files changed, 154 insertions(+), 25 deletions(-)

[PATCH v2 1/3] soc: qcom: Add scm call to protect modem mem in qcom scm driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add scm call support to make hypervisor call for protecting memory region on armv8 arch cpu's. This is required to bring up modem on msm8996. MSS rproc driver will make hypervisor call for protecting and granting permission of DDR region where MBA, MDT, FW are loaded. Signed-off-by: Ava

Re: [PATCH 60/60] staging: lustre: libcfs: fix minimum size check for libcfs ioctl

2017-01-30 Thread Dan Carpenter
It looks like what happened is there were two patches applied out of sync. Let's add a fixes tag and CC the original author. Fixes: ed2f549dc0f6 ("staging: lustre: libcfs: test if userland data is to small") This patch was probably correct when it was written but commit 1290932728e5 ("staging:

Re: [RFC] [PATCH] audit: log module name on init_module

2017-01-30 Thread Steve Grubb
On Thu, 26 Jan 2017 14:50:07 -0500 Richard Guy Briggs wrote: > This adds a new auxiliary record MODULE_INIT to the SYSCALL event. Thanks, this is definitely needed. Can you provide an example event generated by this? -Steve > We get finit_module for free since it made most sense to hook this i

Re: [Patch v4 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2017-01-30 Thread Will Deacon
Hi Olof, On Sun, Jan 29, 2017 at 04:24:51PM -0800, Olof Johansson wrote: > On Thu, Jan 19, 2017 at 8:58 AM, Andy Gross wrote: > > This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. > > > > On Qualcomm ARM64 platforms, the SMC call can return before it has > > completed. If this

Re: [PATCH 60/60] staging: lustre: libcfs: fix minimum size check for libcfs ioctl

2017-01-30 Thread Dan Carpenter
On Mon, Jan 30, 2017 at 01:51:56PM +0300, Dan Carpenter wrote: > The lstcon_ioctl_entry() function doesn't have enough size checking. Actually, the lstcon_ioctl_entry() would have been fine before we apply this [patch 60/60]... As near as I can tell, no in kernel code is negatively affected by th

Re: [PATCH v12 1/2] serial: exar: split out the exar code from 8250_pci

2017-01-30 Thread Andy Shevchenko
On Mon, Jan 30, 2017 at 12:22 AM, Sudip Mukherjee wrote: > From: Sudip Mukherjee > > Add the serial driver for the Exar chips. And also register the > platform device for the GPIO provided by the Exar chips. Looks almost perfect, just few finishing strokes below and take my Reviewed-by: Andy She

Re: [PATCH v5 3/8] ARM: dts: rockchip: add timer entries to rk3188 SoC

2017-01-30 Thread Daniel Lezcano
On Tue, Jan 24, 2017 at 03:16:38PM +0300, Alexander Kochetkov wrote: > The patch add two timers to all rk3188 based boards. > > The first timer is from alive subsystem and it act as a backup > for the local timers at sleep time. It act the same as other > SoC rockchip timers already present in ker

Re: [PATCH] clockevents: Add a clkevt-of mechanism like clksrc-of

2017-01-30 Thread Alexander Kochetkov
> 25 янв. 2017 г., в 15:21, Daniel Lezcano > написал(а): > > Hopefully, that can help to do some housework in the directory, perhaps > split the drivers in to entities, for example: > - clksrc-rockchip.c > - clkevt-rockchip.c > > Also, it gives the possibility to declare clocksourc

[PATCH 2/6] ARM: xen: Register with kernel restart handler

2017-01-30 Thread Thierry Reding
From: Guenter Roeck Register with kernel restart handler instead of setting arm_pm_restart directly. Select a high priority of 192 to ensure that default restart handlers are replaced if Xen is running. Acked-by: Arnd Bergmann Reviewed-by: Wolfram Sang Reviewed-by: Stefano Stabellini Signed-

[PATCH 5/6] ARM64: Remove arm_pm_restart()

2017-01-30 Thread Thierry Reding
From: Guenter Roeck All users of arm_pm_restart() have been converted to use the kernel restart handler. Acked-by: Arnd Bergmann Reviewed-by: Wolfram Sang Tested-by: Wolfram Sang Acked-by: Catalin Marinas Signed-off-by: Guenter Roeck Signed-off-by: Thierry Reding --- arch/arm64/include/as

[PATCH 1/6] ARM: prima2: Register with kernel restart handler

2017-01-30 Thread Thierry Reding
From: Guenter Roeck Register with kernel restart handler instead of setting arm_pm_restart directly. By doing this, the prima2 reset handler can be prioritized among other restart methods available on a particular board. Select a high priority of 192 since the original code overwrites the defaul

[PATCH 0/6] ARM, arm64: Remove arm_pm_restart()

2017-01-30 Thread Thierry Reding
From: Thierry Reding Hi everyone, This small series is preparatory work for a series that I'm working on which attempts to establish a formal framework for system restart and power off. Guenter has done a lot of good work in this area, but it never got merged. I think this set is a valuable add

[PATCH 0/4] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-01-30 Thread Neil Armstrong
The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller in combination with a very custom PHY. Thanks to Laurent Pinchart's changes, the HW report the following : Detected HDMI TX controller v2.01a with HDCP (Vendor PHY) The following differs from common PHY integration as manage

Re: [PATCH v5 6/13] mmc: sunxi: Add EMMC (MMC2) controller compatible

2017-01-30 Thread Maxime Ripard
On Mon, Jan 30, 2017 at 11:06:05AM +0100, Ulf Hansson wrote: > On 27 January 2017 at 22:38, Maxime Ripard > wrote: > > The MMC2 controller on the A64 is kind of a special beast. > > > > While the general controller design is the same than the other MMC > > controllers in the SoC, it also has a bun

[PATCH 1/4] drm: bridge: dw-hdmi: Switch to regmap for register access

2017-01-30 Thread Neil Armstrong
The Synopsys Designware HDMI TX Controller does not enforce register access on platforms instanciating it. The current driver supports two different types of memory-mapped flat register access, but in order to support the Amlogic Meson SoCs integration, and provide a more generic way to handle all

[PATCH 4/6] ARM: Register with kernel restart handler

2017-01-30 Thread Thierry Reding
From: Guenter Roeck By making use of the kernel restart handler, board specific restart handlers can be prioritized amongst available mechanisms for a particular board or system. Select the default priority of 128 to indicate that the restart callback in the machine description is the default re

[PATCH 2/4] drm: bridge: dw-hdmi: Add support for custom PHY handling

2017-01-30 Thread Neil Armstrong
The Synopsys DesignWare HDMI TX Controller support various Transceivers (PHY) attached to the controller, but also allows fully custom PHYs to be connected. Add PHY init and disable functions in phy_ops structure passed in plat_data to handle fully custom PHY init or provide the default one. Some

Re: [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-01-30 Thread Patrice CHOTARD
Hi Lee On 01/27/2017 06:28 PM, Lee Jones wrote: > Having just defined some new Pinctrl groups for when when HW flow- double "when" > control is {en,dis}abled, let's reference them for use within the > driver. > > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/stih407-family.dtsi | 3 +-- >

[PATCH 4/4] drm: bridge: dw-hdmi: Take input format from plat_data

2017-01-30 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c | 55 include/drm/bridge/dw_hdmi.h

[PATCH 6/6] ARM: Remove arm_pm_restart()

2017-01-30 Thread Thierry Reding
From: Guenter Roeck All users of arm_pm_restart() have been converted to use the kernel restart handler. Acked-by: Arnd Bergmann Reviewed-by: Wolfram Sang Signed-off-by: Guenter Roeck Signed-off-by: Thierry Reding --- arch/arm/include/asm/system_misc.h | 1 - arch/arm/kernel/reboot.c

[PATCH v5 2/3] hv: export current Hyper-V clocksource

2017-01-30 Thread Vitaly Kuznetsov
As a preparation to implementing Hyper-V PTP device supporting .getcrosststamp we need to export a reference to the current Hyper-V clocksource in use (MSR or TSC page). Signed-off-by: Vitaly Kuznetsov --- arch/x86/hyperv/hv_init.c | 13 + arch/x86/include/asm/mshyperv.h | 3 +

Re: [PATCH v2 1/2] mfd: lpc_ich: Enable watchdog on Intel Apollo Lake PCH

2017-01-30 Thread Mika Westerberg
On Sat, Jan 28, 2017 at 04:27:33PM +0200, Andy Shevchenko wrote: > From: Tan Jui Nee > > Assign iTCO_version which effectively enables watchdog device on > Intel Apollo Lake PCH. > > Signed-off-by: Tan Jui Nee > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg

[PATCH 3/4] drm: bridge: dw-hdmi: Enable CSC even for DVI

2017-01-30 Thread Neil Armstrong
If the input pixel format is not RGB, the CSC must be enabled in order to provide valid pixel to DVI sinks. This patch removes the hdmi only dependency on the CSC enabling. Reviewed-by: Jose Abreu Reviewed-by: Laurent Pinchart Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c

[PATCH 3/6] drivers: firmware: psci: Register with kernel restart handler

2017-01-30 Thread Thierry Reding
From: Guenter Roeck Register with kernel restart handler instead of setting arm_pm_restart directly. This enables support for replacing the PSCI restart handler with a different handler if necessary for a specific board. Select a priority of 129 to indicate a higher than default priority, but ke

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-01-30 Thread Mark Rutland
Hi, On Fri, Jan 27, 2017 at 04:52:23PM -0500, Christopher Covington wrote: > On 01/27/2017 09:38 AM, Mark Rutland wrote: > > On Wed, Jan 25, 2017 at 10:52:30AM -0500, Christopher Covington wrote: > >> Replacing the above sequence with the one below will ensure that no TLB > >> entries with an inc

[PATCH v5 3/3] hv_utils: implement Hyper-V PTP source

2017-01-30 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

[PATCH v5 1/3] hv_util: switch to using timespec64

2017-01-30 Thread Vitaly Kuznetsov
do_settimeofday() is deprecated, use do_settimeofday64() instead. Signed-off-by: Vitaly Kuznetsov Acked-by: John Stultz Acked-by: Thomas Gleixner --- drivers/hv/hv_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index

Re: [PATCH v2 2/2] mfd: lpc_ich: Remove useless comments in core part

2017-01-30 Thread Mika Westerberg
On Sat, Jan 28, 2017 at 04:27:34PM +0200, Andy Shevchenko wrote: > First of all, remove stalled references to datasheets. If someone knows > the document numbers, it would be added later. Yeah, those are kind of useless without the document number. > Second, remove FSF snail address since it's su

[PATCH v5 0/3] hv_util: adjust system time smoothly

2017-01-30 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

Re: [PATCH v5 0/13] arm64: allwinner: a64: Enable MMC support

2017-01-30 Thread Maxime Ripard
On Fri, Jan 27, 2017 at 10:38:32PM +0100, Maxime Ripard wrote: > Hi, > > Here is a new attempt at getting the MMC controllers running, following the > work done by Andre. > > This has been tested on a board with one SDIO device (a Marvell WiFi chip) > and a Kingston eMMC with 1.8V IOs. > > For S

Re: [PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-30 Thread Uwe Kleine-König
On Mon, Jan 30, 2017 at 09:54:55AM +0100, Thierry Reding wrote: > On Mon, Jan 30, 2017 at 09:07:15AM +0100, Uwe Kleine-König wrote: > > Hello, > > > > On Mon, Jan 30, 2017 at 08:12:17AM +0100, Thierry Reding wrote: > > > On Mon, Jan 30, 2017 at 10:33:07AM +0530, Shailendra Verma wrote: > > > > of_

Re: [PATCH] i2c: busses: constify i2c_algorithm structures

2017-01-30 Thread Jarkko Nikula
On 01/27/2017 08:06 PM, Bhumika Goyal wrote: Declare i2c_algorithm structures as const as they are only stored in the algo field of an i2c_adapter structure. This field is of type const, so i2c_algorithm structures having this property can be made const too. Done using Coccinelle: ... diff --g

Re: [PATCH v6 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

2017-01-30 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Mon, Jan 30, 2017 at 4:47 AM, Michael Ellerman wrote: >> "Gautham R. Shenoy" writes: >> >>> From: "Gautham R. Shenoy" >>> >>> In the current code for powernv_add_idle_states, there is a lot of code >>> duplication while initializing an idle state in powernv_sta

Re: [PATCH v5 3/8] ARM: dts: rockchip: add timer entries to rk3188 SoC

2017-01-30 Thread Alexander Kochetkov
> 30 янв. 2017 г., в 14:04, Daniel Lezcano > написал(а): > > t is up to the RTC to wake up the system from suspend and there is no > idle state stopping the local timers on these SoCs. So, the rockchip timers > won't be ever used on the rk3188, right ? No rockchip timers where used on rk3188 b

Re: BUG at net/sctp/socket.c:7425

2017-01-30 Thread Alexander Popov
On 29.01.2017 13:40, Marcelo Ricardo Leitner wrote: > On Sun, Jan 29, 2017 at 03:35:31AM +0300, Alexander Popov wrote: >> Hello, >> >> I'm running the syzkaller fuzzer for v4.10-rc4 >> (0aa0313f9d576affd7747cc3f179feb097d28990) >> and have such a crash in sctp code: >> > ... >> >> Unfortunately, I

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-30 Thread Juergen Gross
On 27/01/17 17:10, Dmitry Torokhov wrote: > On January 27, 2017 12:31:19 AM PST, Juergen Gross wrote: >> On 27/01/17 09:26, Oleksandr Andrushchenko wrote: >>> On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Oleksandr Andrushchenko wrote: > On 01/27/2017 09:46 AM, Juergen G

Re: [PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-30 Thread Thierry Reding
On Mon, Jan 30, 2017 at 12:15:53PM +0100, Uwe Kleine-König wrote: > On Mon, Jan 30, 2017 at 09:54:55AM +0100, Thierry Reding wrote: > > On Mon, Jan 30, 2017 at 09:07:15AM +0100, Uwe Kleine-König wrote: > > > Hello, > > > > > > On Mon, Jan 30, 2017 at 08:12:17AM +0100, Thierry Reding wrote: > > > >

Re: [PATCH 2/4] irqchip: Add IRQCHIP_DECLARE_DRIVER macro

2017-01-30 Thread Marc Zyngier
On 27/01/17 18:13, Andrey Smirnov wrote: > +Cc linux-kernel@vger.kernel.org since I messed up original distribution list > > On Fri, Jan 27, 2017 at 12:51 AM, Marc Zyngier wrote: >> On 26/01/17 21:56, Andrey Smirnov wrote: >>> Add IRQCHIP_DECLARE_DRIVER macro to allow having driver code that both

[PATCH] acpi: nfit: use %u format string specifier for unsigned ints

2017-01-30 Thread Colin King
From: Colin Ian King scrub_mode and scrub_count are both unsigned ints, however, the %d format string specifier is being used instead of %u. Trivial fix, use %u. Signed-off-by: Colin Ian King --- drivers/acpi/nfit/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [PATCH] clockevents: Add a clkevt-of mechanism like clksrc-of

2017-01-30 Thread Daniel Lezcano
On Mon, Jan 30, 2017 at 02:04:42PM +0300, Alexander Kochetkov wrote: > > > 25 янв. 2017 г., в 15:21, Daniel Lezcano > > написал(а): > > > > Hopefully, that can help to do some housework in the directory, perhaps > > split the drivers in to entities, for example: > > - clksrc-rockchip.c > >

Re: [PATCH 05/60] staging: lustre: llite: check request != NULL in ll_migrate

2017-01-30 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:33PM -0500, James Simmons wrote: > From: wang di > > Check if the request is NULL, before retrieve reply body > from the request. > > Signed-off-by: wang di > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7396 > Reviewed-on: http://review.whamcloud.com/17079

Re: [PATCH 1/3] lightnvm: submit erases using the I/O path

2017-01-30 Thread Matias Bjørling
On 01/26/2017 12:47 PM, Javier González wrote: > Until now erases has been submitted as synchronous commands through a > dedicated erase function. In order to allow targets implementing > asynchronous erases, refactor the erase path so that it uses the normal > async I/O submission path. If a targe

[PATCH 01/14] crypto: sun4i-ss - simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

Re: [PATCH v6 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

2017-01-30 Thread Gautham R Shenoy
On Mon, Jan 30, 2017 at 10:17:50PM +1100, Michael Ellerman wrote: > "Rafael J. Wysocki" writes: > > > On Mon, Jan 30, 2017 at 4:47 AM, Michael Ellerman > > wrote: > >> "Gautham R. Shenoy" writes: > >> > >>> From: "Gautham R. Shenoy" > >>> > >>> In the current code for powernv_add_idle_states,

[PATCH 07/14] mmc: sdhci-st: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 11/14] serial: 8250_dw: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 02/14] i2c: mv64xxx: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 03/14] [media] coda: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional without special cases and to call reset_control_reset un

[PATCH 05/14] [media] rc: sunxi-cir: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

Re: [RFC] [PATCH] audit: log module name on init_module

2017-01-30 Thread Richard Guy Briggs
On 2017-01-30 11:54, Steve Grubb wrote: > On Thu, 26 Jan 2017 14:50:07 -0500 > Richard Guy Briggs wrote: > > > This adds a new auxiliary record MODULE_INIT to the SYSCALL event. > > Thanks, this is definitely needed. Can you provide an example event > generated by this? It's in the wiki RFE, th

[PATCH 09/14] mtd: nand: sunxi: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

Re: next-20170125 hangs on aarch64

2017-01-30 Thread James Morse
0xffc8 address, which is most probably the >> attempt to dereference the ENOSYS error code as the address. next-20170124 >> works >> fine, at least it boots. >> >> Does anyone have details on that? I hit this with next-20170130 too, in /arch/arm64/kernel/smccc-call.

[GIT PULL] phy: for 4.11

2017-01-30 Thread Kishon Vijay Abraham I
Hi Greg, Please find the phy pull request for 4.11 merge window below. This adds couple of Qualcomm PHY drivers (HSIC and HS) and a USB3 phy driver used in Broadcom NSP SoC. This also includes minor fixes and cleanups. Let me know if I have to change something. Cheers Kishon The following chan

[PATCH 01/15] phy: rockchip-inno-usb2: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

2017-01-30 Thread Kishon Vijay Abraham I
From: Baolin Wang According to the documentation, we should set the EXTCON_USB when one SDP charger connector was reported. Signed-off-by: Baolin Wang Reviewed-by: Chanwoo Choi Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rockchip-inno-usb2.c |7 ++- 1 file changed, 6 in

[tip:perf/core] perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: 0b3589be9b98994ce3d5aeca52445d1f5627c4ba Gitweb: http://git.kernel.org/tip/0b3589be9b98994ce3d5aeca52445d1f5627c4ba Author: Peter Zijlstra AuthorDate: Thu, 26 Jan 2017 23:15:08 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:41:26 +0100 perf/core: Fix PERF_RECOR

[PATCH 15/15] phy: qcom-ufs: Fix misplaced jump label

2017-01-30 Thread Kishon Vijay Abraham I
From: Vivek Gautam We want to skip only tx/rx_iface clocks and not ref_clk_src as well. Fix the jump label accordingly. Fixes: 300f96771d78 ("phy: qcom-ufs: Skip obtaining rx/tx_iface_clk for msm8996 based phy") Cc: Subhash Jadavani Cc: Martin K. Petersen Cc: Kishon Vijay Abraham I Cc: sta.

[PATCH 02/14] phy: rcar-gen3-usb2: Replace the deprecated extcon API

2017-01-30 Thread Kishon Vijay Abraham I
From: Chanwoo Choi This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Signed-off-by: Chanwoo Choi Acked-by: Yoshihiro Shimoda Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rcar-gen3-usb2.c |8 1 file cha

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-30 Thread Oleksandr Andrushchenko
On 01/30/2017 01:23 PM, Juergen Gross wrote: On 27/01/17 17:10, Dmitry Torokhov wrote: On January 27, 2017 12:31:19 AM PST, Juergen Gross wrote: On 27/01/17 09:26, Oleksandr Andrushchenko wrote: On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Oleksandr Andrushchenko wrote: O

[tip:locking/core] locking/rtmutex: Flip unlikely() branch to likely() in __rt_mutex_slowlock()

2017-01-30 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 4009f4b3a9d8b74547269f293e6a920adf278996 Gitweb: http://git.kernel.org/tip/4009f4b3a9d8b74547269f293e6a920adf278996 Author: Steven Rostedt (VMware) AuthorDate: Thu, 19 Jan 2017 11:32:34 -0500 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:42:59 +0100 locking/rtmutex:

[tip:perf/core] perf/core: Fix use-after-free bug

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: a76a82a3e38c8d3fb6499e3dfaeb0949241ab588 Gitweb: http://git.kernel.org/tip/a76a82a3e38c8d3fb6499e3dfaeb0949241ab588 Author: Peter Zijlstra AuthorDate: Thu, 26 Jan 2017 16:39:55 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:41:25 +0100 perf/core: Fix use-after-

[PATCH 10/14] phy: qcom-ufs: Suppress extraneous logging

2017-01-30 Thread Kishon Vijay Abraham I
From: Bjorn Andersson The error paths of the common qcom-ufs functions for registering the phy, acquiring clocks and acquiring regulators all print specific error messages before returning an error, so there is no value in printing yet another - more generic - message when this occur. Reviewed-b

Re: [PATCH 1/2] spi: When no dma_chan map buffers with spi_master's parent

2017-01-30 Thread Robin Murphy
On 28/01/17 22:17, Andy Shevchenko wrote: > On Thu, Jan 26, 2017 at 6:21 PM, Daniel Kurtz wrote: >> Back before commit 1dccb598df54 ("arm64: simplify dma_get_ops"), for >> arm64, devices for which dma_ops were not explicitly set were automatically >> configured to use swiotlb_dma_ops, since this w

Re: [PATCH 0/4] phy/mfd/soc: exynos: Header cleanup

2017-01-30 Thread Kishon Vijay Abraham I
On Saturday 28 January 2017 01:35 AM, Krzysztof Kozlowski wrote: > Hi, > > Suggested by Marek, continuation of cleanup of PMU register defines > in headers. > > Let's keep all of them in include/linux/soc/samsung/exynos-regs-pmu.h. > > This is based on: > 1. Marek's recent work around pinctrl/

[PATCH 14/14] phy: qcom-ufs: Fix misplaced jump label

2017-01-30 Thread Kishon Vijay Abraham I
From: Vivek Gautam We want to skip only tx/rx_iface clocks and not ref_clk_src as well. Fix the jump label accordingly. Fixes: 300f96771d78 ("phy: qcom-ufs: Skip obtaining rx/tx_iface_clk for msm8996 based phy") Cc: Subhash Jadavani Cc: Martin K. Petersen Cc: Kishon Vijay Abraham I Cc: sta.

[tip:locking/core] locking/mutex: Fix lockdep_assert_held() fail

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: b9c16a0e1f733c97e48798b2a9362c485bb3b731 Gitweb: http://git.kernel.org/tip/b9c16a0e1f733c97e48798b2a9362c485bb3b731 Author: Peter Zijlstra AuthorDate: Tue, 17 Jan 2017 16:06:09 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:42:59 +0100 locking/mutex: Fix lockde

[PATCH 12/15] dt-bindings: phy: Add documentation for NSP USB3 PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 1 file changed, 39

[PATCH 14/15] phy: fix rockchip-inno-usb2 build errors

2017-01-30 Thread Kishon Vijay Abraham I
From: Randy Dunlap Fix build errors in phy-rockchip-inno-usb2.c. The driver uses extcon interfaces so it should depend on EXTCON. Fixes these build errors: drivers/built-in.o: In function `rockchip_usb2phy_otg_sm_work': phy-rockchip-inno-usb2.c:(.text+0x2bcb): undefined reference to `extcon_ge

[PATCH 13/14] phy: fix rockchip-inno-usb2 build errors

2017-01-30 Thread Kishon Vijay Abraham I
From: Randy Dunlap Fix build errors in phy-rockchip-inno-usb2.c. The driver uses extcon interfaces so it should depend on EXTCON. Fixes these build errors: drivers/built-in.o: In function `rockchip_usb2phy_otg_sm_work': phy-rockchip-inno-usb2.c:(.text+0x2bcb): undefined reference to `extcon_ge

[PATCH 13/15] phy: Add USB3 PHY support for Broadcom NSP SoC

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy This patch adds support for Broadcom NSP USB3 PHY Signed-off-by: Yendapally Reddy Dhananjaya Reddy Reviewed-by: Florian Fainelli Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/Kconfig|8 ++ drivers/phy/Makefile |1 +

[PATCH 10/15] phy: qcom-ufs: Remove -always-on property

2017-01-30 Thread Kishon Vijay Abraham I
From: Bjorn Andersson The fact that a regulator is always-on is a property of the regulator, not a specific consumer. Implementing this in the driver leads to a system behaviour that is dependent on if the Qualcomm UFS PHY was ever (partially) probed. If the specific regulator should be always o

[PATCH 11/14] dt-bindings: phy: Add documentation for NSP USB3 PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 1 file changed, 39

[tip:sched/core] sched/core: Optimize pick_next_task() for idle_sched_class

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: 49ee576809d837442624ac18804b07943267cd57 Gitweb: http://git.kernel.org/tip/49ee576809d837442624ac18804b07943267cd57 Author: Peter Zijlstra AuthorDate: Thu, 19 Jan 2017 18:44:08 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:46:34 +0100 sched/core: Optimize pick

[tip:sched/core] sched/core: Fix &rd->rto_mask memory leak

2017-01-30 Thread tip-bot for Mathieu Poirier
Commit-ID: 92c99ac829931abba33107e09358447c8ad6bd32 Gitweb: http://git.kernel.org/tip/92c99ac829931abba33107e09358447c8ad6bd32 Author: Mathieu Poirier AuthorDate: Tue, 24 Jan 2017 14:11:34 -0700 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:46:36 +0100 sched/core: Fix &rd->rto

<    3   4   5   6   7   8   9   10   11   >