[PATCH] Support TrackStick of Thinkpad L570

2017-11-19 Thread Masaki Ota
From: Masaki Ota - The issue is that Thinkpad L570 TrackStick does not work. Because the main interface of Thinkpad L570 device is SMBus, so ALPS overlooked PS2 interface Firmware setting of TrackStick. The detail is that TrackStick otp bit is disabled. - Add the code that checks 0xD7 address v

[PATCH v2] staging: comedi: add missing MODULE_DESCRIPTION/LICENSE

2017-11-19 Thread Jesse Chan
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/comedi/drivers/ni_atmio.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. MODULE_D

[PATCH v2] net/9p: trans_xen: add missing MODULE_AUTHOR/DESCRIPTION/LICENSE

2017-11-19 Thread Jesse Chan
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in net/9p/9pnet_xen.o see include/linux/module.h for more information This adds the license as "Dual MIT/GPL", which matches the header of the file. MODULE_DESCRIPTION and

Re: [PATCH] MAINTAINERS: change maintainer for Rockchip drm drivers

2017-11-19 Thread Daniel Vetter
On Mon, Nov 13, 2017 at 06:15:31PM +0800, Mark Yao wrote: > For personal reasons, Mark Yao will leave rockchip, > can not continue maintain drm/rockchip, Sandy Huang > will take over the drm/rockchip. > > Cc: Sandy Huang > Cc: Heiko Stuebner > > Signed-off-by: Mark Yao Since rockchip is in dr

[PATCH v3] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION

2017-11-19 Thread Jesse Chan
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.o see include/linux/module.h for more information This adds the license as "GPL v2", which matches the header of the

[PATCH v2] ASoC: pcm512x-spi: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

2017-11-19 Thread Jesse Chan
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in sound/soc/codecs/snd-soc-pcm512x-spi.o see include/linux/module.h for more information This adds the license as "GPL v2", which matches the header of the file. MODULE_D

Re: [PATCH] perf report/top: Add a tip about source line matching

2017-11-19 Thread Jiri Olsa
On Sat, Nov 18, 2017 at 04:01:19PM +0900, Hyeim Yang wrote: > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Taeung Song > --- > tools/perf/Documentation/tips.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/perf/Documentation/tips.txt > b/tools/perf/Documentation/tips.txt > index d

Re: linux-next: manual merge of the devicetree tree with the drm tree

2017-11-19 Thread Daniel Vetter
On Mon, Nov 13, 2017 at 09:51:29PM +0200, Jyri Sarha wrote: > On 11/13/17 20:43, Frank Rowand wrote: > > Hi Jyri, > > > > On 11/13/17 07:40, Jyri Sarha wrote: > >> On 11/13/17 07:58, Stephen Rothwell wrote: > >>> Hi all, > >>> > >>> On Mon, 30 Oct 2017 20:37:56 + Mark Brown wrote: > Toda

Re: [PATCH] ASoC: bells: Use common error handling code in bells_set_bias_level_post()

2017-11-19 Thread Krzysztof Kozlowski
On Sun, Nov 19, 2017 at 3:08 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 19 Nov 2017 15:00:22 +0100 > > * Add a jump target so that a specific error message is stored only once > at the end of this function implementation. > > * Replace two calls of the macro "pr_err" by go

Re: [Patch v6 07/22] CIFS: SMBD: Implement function to create a SMB Direct connection

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [PATCH] ALSA: hda/realtek: Add headset mic support for Intel NUC Skull Canyon

2017-11-19 Thread Takashi Iwai
On Mon, 20 Nov 2017 08:29:13 +0100, Kai-Heng Feng wrote: > > Users have been using knob "model=dell-headset-multi" on Intel Skull > Canyon for a while. > > Add the equivalent quirk, ALC269_FIXUP_DELL1_MIC_NO_PRESENCE for Skull > Canyon. > > BugLink: https://bugs.launchpad.net/bugs/1732034 > Sign

Re: [Patch v7 06/22] CIFS: SMBD: export protocol initial values

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [PATCH] ARM: exynos: add machine description for ODROID-XU3/4

2017-11-19 Thread Krzysztof Kozlowski
On Sun, Nov 19, 2017 at 6:21 PM, Tobias Jakobi wrote: > I don't think this approach scales at all. DietPi can just read the devicetree > through sysfs and retrieve the compatible and/or model of the base node. Exactly, do not add new machines just for reading DT. Use /sys/firmware/devicetree/base

Re: [patches] Re: [PATCH v9 03/12] dt-bindings: RISC-V CPU Bindings

2017-11-19 Thread Jonathan Neuschäfer
Hi Palmer, On Thu, Oct 05, 2017 at 11:16:33AM +0100, Mark Rutland wrote: [...] > I would *strongly* recommend that from day one, you determine the SMP > bringup mechanism via an enable-method property, and document the > contract with FW/bootloader somewhere in the kernel tree. Somewhat, but not

Re: [PATCH] perf parse events: Fix invalid precise_ip handling

2017-11-19 Thread Jiri Olsa
On Wed, Nov 15, 2017 at 09:00:03AM +0800, zhangmengting wrote: > Hi Jiri, thanks for your detailed review, please see my comments inline. > > > On 2017/11/10 18:39, Jiri Olsa wrote: > > On Fri, Nov 10, 2017 at 04:28:37PM +0800, Mengting Zhang wrote: > > > > SNIP > > > > > diff --git a/tools/per

Re: [PATCH] nvme: fix spelling mistake: "requeing" -> "requeuing"

2017-11-19 Thread Christoph Hellwig
Thanks, applied to nvme-4.15

[PATCH] ALSA: hda/realtek: Add headset mic support for Intel NUC Skull Canyon

2017-11-19 Thread Kai-Heng Feng
Users have been using knob "model=dell-headset-multi" on Intel Skull Canyon for a while. Add the equivalent quirk, ALC269_FIXUP_DELL1_MIC_NO_PRESENCE for Skull Canyon. BugLink: https://bugs.launchpad.net/bugs/1732034 Signed-off-by: Kai-Heng Feng --- sound/pci/hda/patch_realtek.c | 4 1 fil

[PATCH] regmap: Remove the redundant config to select hwspinlock

2017-11-19 Thread Baolin Wang
The hwspinlock was changed to a bool by commit d048236dfdfe ("hwspinlock: Change hwspinlock to a bool"), so we do not need the REGMAP_HWSPINLOCK config to select hwspinlock or not. Signed-off-by: Baolin Wang --- drivers/base/regmap/Kconfig | 4 drivers/base/regmap/regmap.c | 11 ++

[tegra186]: emmc resume errors after booting from suspend

2017-11-19 Thread Pintu Kumar
Hi, I am trying to verify suspend-to-disk on jetson-tx2 board (nvidia tegra186). Suspend is working fine, but during resume emmc is failing to resume. Kernel version: 4.4 Repo: https://nv-tegra.nvidia.com/gitweb/?p=linux-4.4.git;a=summary It returns with: mmc0: error -110 during resume (card was

Re: [Xen-devel] [PATCH RFC v3 0/6] x86/idle: add halt poll support

2017-11-19 Thread Quan Xu
On 2017-11-16 05:31, Konrad Rzeszutek Wilk wrote: On Mon, Nov 13, 2017 at 06:05:59PM +0800, Quan Xu wrote: From: Yang Zhang Some latency-intensive workload have seen obviously performance drop when running inside VM. The main reason is that the overhead is amplified when running inside VM. T

Re: [PATCH] staging: comedi: add missing MODULE_DESCRIPTION/LICENSE

2017-11-19 Thread Greg Kroah-Hartman
On Sun, Nov 19, 2017 at 11:02:52PM -0800, Jesse Chan wrote: > Signed-off-by: Jesse Chan I can't take patches without any changelog text :(

[PATCH] staging: comedi: add missing MODULE_DESCRIPTION/LICENSE

2017-11-19 Thread Jesse Chan
Signed-off-by: Jesse Chan --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index 2d62a8c57332..b61d56367773 100644 --- a/drivers/staging/comedi/drivers/ni_atm

Re: [PATCH] USB: option: add Quectel BG96 2c7c:0296

2017-11-19 Thread Greg KH
On Sun, Nov 19, 2017 at 08:40:28PM +0100, ssjoh...@mac.com wrote: > From: ssjoholm > > Signed-off-by: ssjoholm This goes at the bottom of the changelog text. And we need a real name, I doubt you use this to sign legal documents. > Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supportin

Re: [PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path

2017-11-19 Thread Quan Xu
On 2017-11-16 17:45, Daniel Lezcano wrote: On 16/11/2017 10:12, Quan Xu wrote: On 2017-11-16 06:03, Thomas Gleixner wrote: On Wed, 15 Nov 2017, Peter Zijlstra wrote: On Mon, Nov 13, 2017 at 06:06:02PM +0800, Quan Xu wrote: From: Yang Zhang Implement a generic idle poll which resembles t

Re: [PATCH 00/10] x86: Add support for running as secondary Jailhouse guest

2017-11-19 Thread Jan Kiszka
On 2017-11-18 22:15, H. Peter Anvin wrote: > On 11/15/17 23:26, Jan Kiszka wrote: >> This series paves the way to run Linux in so-called non-root cells >> (guest partitions) of the Jailhouse hypervisor. >> >> Jailhouse [1] was started 4 years ago as an open-source (GPL) leight- >> weight hypervisor

Re: [PATCH net,stable] net: qmi_wwan: add Quectel BG96 2c7c:0296

2017-11-19 Thread Bjørn Mork
On November 20, 2017 5:19:21 AM GMT+01:00, ssjoh...@mac.com wrote: >From: ssjoholm > >Signed-off-by: ssjoholm > >Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both >CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel >development board (EVB). >The USB id is added to q

[PATCH v3] mfd: syscon: Add hardware spinlock support

2017-11-19 Thread Baolin Wang
Some system control registers need hardware spinlock to synchronize between the multiple subsystems, so we should add hardware spinlock support for syscon. Signed-off-by: Baolin Wang Acked-by: Rob Herring --- Changes since v2: - Add acked tag from Rob. Changes since v1: - Remove timeout confi

Re: [GIT PULL] NTB bug fixes for v4.15

2017-11-19 Thread Logan Gunthorpe
On 19/11/17 11:37 PM, Linus Torvalds wrote: > Gaah. I guess I can take the pull request. Many thanks. > I do want to protest the timing and the lack of linux-next coverage. > If it has really been ready for months, why hasn't it been in > linux-next at all? Understood. I can't speak for Jon, b

[PATCH v1 5/9] perf util: Remove a set of shadow stats static variables

2017-11-19 Thread Jin Yao
In previous patches, we have reconstructed the code and let it not access the static variables directly. This patch removes these static variables. Signed-off-by: Jin Yao --- tools/perf/util/stat-shadow.c | 64 ++- tools/perf/util/stat.h| 1 + 2

[PATCH v1 2/9] perf util: Define a structure for runtime shadow metrics stats

2017-11-19 Thread Jin Yao
Perf has a set of static variables to record the runtime shadow metrics stats. While if we want to record the runtime shadow stats for per-thread, it will be the limitation. This patch creates a structure and the next patches will use this structure to update the runtime shadow stats for per-threa

[PATCH v1 3/9] perf util: Reconstruct rblist for supporting per-thread shadow stats

2017-11-19 Thread Jin Yao
In current stat-shadow.c, the rblist deleting is ignored. The patch reconstructs the codes of rblist init/free, and adds the implementation to node_delete method of rblist. This patch also does: 1. Add the ctx/type/stat into rbtree keys because we will use this rbtree to maintain shadow metrics

[PATCH v1 9/9] perf stat: Resort '--per-thread' result

2017-11-19 Thread Jin Yao
There are many threads reported if we enable '--per-thread' globally. 1. Most of the threads are not counted or counting value 0. This patch removes these threads. 2. We also resort the threads in display according to the counting value. It's useful for user to see the hottest threads easily. Fo

[PATCH v1 8/9] perf stat: Remove --per-thread pid/tid limitation

2017-11-19 Thread Jin Yao
Currently, if we execute 'perf stat --per-thread' without specifying pid/tid, perf will return error. root@skl:/tmp# perf stat --per-thread The --per-thread option is only available when monitoring via -p -t options. -p, --pidstat events on existing process id -t, --tidstat

[PATCH v1 7/9] perf util: Reuse thread_map__new_by_uid to enumerate threads from /proc

2017-11-19 Thread Jin Yao
Perf already has a function thread_map__new_by_uid() which can enumerate all threads from /proc by uid. This patch creates a static function enumerate_threads() which reuses the common code in thread_map__new_by_uid() to enumerate threads from /proc. The enumerate_threads() is shared by thread_ma

[PATCH v1 1/9] perf util: Create rblist__reset() function

2017-11-19 Thread Jin Yao
Currently we have a rblist__delete() which is used to delete a rblist. While rblist__delete() will free the pointer of rblist at the end. It's inconvenience for user to delete a rblist which is not allocated by something like malloc(). For example, the rblist is defined in a data structure. This

[PATCH v1 4/9] perf util: Update and print per-thread shadow stats

2017-11-19 Thread Jin Yao
The functions perf_stat__update_shadow_stats() and perf_stat__print_shadow_statss() are called to update and print the shadow stats on a set of static variables. But the static variables are the limitations to support per-thread shadow stats. This patch lets the perf_stat__update_shadow_stats() s

[PATCH v1 6/9] perf stat: Allocate shadow stats buffer for threads

2017-11-19 Thread Jin Yao
After perf_evlist__create_maps() being executed, we can get all threads from /proc. And via thread_map__nr(), we can also get the number of threads. With the number of threads, the patch allocates a buffer which will record the shadow stats for these threads. The buffer pointer is saved in stat_c

[PATCH v1 0/9] perf stat: Enable '--per-thread' on all threads

2017-11-19 Thread Jin Yao
perf stat --per-thread is useful to break down data per thread. But it currently requires specifying --pid/--tid to limit it to a process. For analysis it would be useful to do it globally for the whole system. 1. Currently, if we perform 'perf stat --per-thread' without pid/tid, perf returns err

Re: [PATCH v7 04/13] slimbus: core: Add slim controllers support

2017-11-19 Thread Srinivas Kandagatla
On 17/11/17 08:13, Greg KH wrote: On Fri, Nov 17, 2017 at 10:12:22AM +0530, Vinod Koul wrote: On Thu, Nov 16, 2017 at 05:29:35PM +, Srinivas Kandagatla wrote: thanks for the comments. On 16/11/17 16:42, Vinod Koul wrote: On Wed, Nov 15, 2017 at 02:10:34PM +,srinivas.kandaga...@lina

Re: [PATCH v7 06/13] slimbus: Add messaging APIs to slimbus framework

2017-11-19 Thread Srinivas Kandagatla
thanks for the comments, On 17/11/17 07:48, Vinod Koul wrote: On Wed, Nov 15, 2017 at 02:10:36PM +, srinivas.kandaga...@linaro.org wrote: +void slim_msg_response(struct slim_controller *ctrl, u8 *reply, u8 tid, u8 len) +{ + struct slim_msg_txn *txn; + struct slim_val_inf *msg;

Re: [PATCH 4/6 v3] mmc: sdhci-spear: Handle return value of platform_get_irq

2017-11-19 Thread Viresh Kumar
On 19-11-17, 10:22, Arvind Yadav wrote: > platform_get_irq() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > changes in v2 : > Add failure case '<= 0' instead of '< 0'. IRQ0 is not valid. > changes in v3 : > return -EINVAL inst

Re: [PATCH 4/6 v2] mmc: sdhci-spear: Handle return value of platform_get_irq

2017-11-19 Thread Arvind Yadav
Hi viresh, Could you please acknowledge a latest version(v3) of this patch. Thanks, On Monday 20 November 2017 11:14 AM, Viresh Kumar wrote: On 18-11-17, 15:03, Arvind Yadav wrote: platform_get_irq() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- changes

Re: [PATCH 4/6] mmc: sdhci-spear: Handle return value of platform_get_irq

2017-11-19 Thread Arvind Yadav
Hi viresh, Could you please acknowledge a latest version of this patch. Thanks, On Monday 20 November 2017 11:13 AM, Viresh Kumar wrote: On 18-11-17, 01:58, Arvind Yadav wrote: platform_get_irq() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/mm

[PATCH v2] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION

2017-11-19 Thread Jesse Chan
Signed-off-by: Jesse Chan --- Change in v2: - fix a mistake drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c index 46768c056193..0c

Re: [GIT PULL] NTB bug fixes for v4.15

2017-11-19 Thread Linus Torvalds
On Sun, Nov 19, 2017 at 8:25 PM, Logan Gunthorpe wrote: > > > On 19/11/17 11:12 AM, Linus Torvalds wrote: >> I am now traveling, and am not inclined to pull stuff that hasn't been >> in linux-next unless it's just obviously bug-fixes. > > Sigh. This work has been held up for two cycles due to issu

Re: [GIT pull] printk updates for 4.15

2017-11-19 Thread Linus Torvalds
On Sun, Nov 19, 2017 at 8:20 PM, Kevin Easton wrote: > > As a comment from the userspace peanut gallery, I personally hope this > does pass muster. The existing POSIX wording implies that MONOTONIC > doesn't stop counting over suspend, and that's what you need when you > want to know the time ela

Re: [PATCH 4.4 00/59] 4.4.100-stable review

2017-11-19 Thread Naresh Kamboju
ers-tests - pass: 12, And the hikey results. Summary kernel: 4.4.100-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git tag: 4.4.100-rc1-hikey-20171119 git commit: 13a8ba2ce732f7f1b59b72a6ccb2f5246008f4f1 git describe: 4.4.100-rc1-hikey-20171119 Test details: htt

Re: [PATCH] platform/x86: Add Acer Wireless Radio Control driver

2017-11-19 Thread Chris Chiu
On Fri, Nov 17, 2017 at 10:25 PM, Andy Shevchenko wrote: > On Thu, Nov 16, 2017 at 3:44 PM, Chris Chiu wrote: >> New Acer laptops in 2018 will have a separate ACPI device for >> notifications from the airplane mode hotkey. The device name in >> the DSDT is SMKB and its ACPI _HID is 10251229. >> >

Re: [GIT pull] printk updates for 4.15

2017-11-19 Thread Kevin Easton
On Sat, Nov 18, 2017 at 01:26:07AM +0100, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Thomas Gleixner wrote: > > I hope that I can find a few spare cycles to whip up a POC patch which does > > not make stuff fall apart immediately. > > Here you go. It survived suspend resume in a VM. > > Thanks

[PATCH] net/9p: trans_xen: add missing MODULE_AUTHOR/DESCRIPTION/LICENSE

2017-11-19 Thread Jesse Chan
Signed-off-by: Jesse Chan --- net/9p/trans_xen.c | 4 1 file changed, 4 insertions(+) diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c index 6ad3e043c617..90402e744fbf 100644 --- a/net/9p/trans_xen.c +++ b/net/9p/trans_xen.c @@ -543,3 +543,7 @@ static void p9_trans_xen_exit(void)

[PATCH] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION

2017-11-19 Thread Jesse Chan
Signed-off-by: Jesse Chan --- drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c index 113b2097f061..d8212d759067 100644 --- a/drivers

Re: [GIT PULL] NTB bug fixes for v4.15

2017-11-19 Thread Logan Gunthorpe
On 19/11/17 11:12 AM, Linus Torvalds wrote: > I am now traveling, and am not inclined to pull stuff that hasn't been > in linux-next unless it's just obviously bug-fixes. Sigh. This work has been held up for two cycles due to issues with the process. If it's of any consideration, my Switchtec N

Re: [PATCH 4.9 00/72] 4.9.64-stable review

2017-11-19 Thread Naresh Kamboju
On 19 November 2017 at 20:08, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.64 release. > There are 72 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respon

[PATCH V5 01/12] drivers: move clock common macros out from vendor directories

2017-11-19 Thread Chunyan Zhang
These macros are used by more than one SoC vendor platforms, avoid to have many copies of these code, this patch moves them to the common clock directory which every clock drivers can access to. Signed-off-by: Chunyan Zhang --- drivers/clk/clk_common.h | 60 ++

[PATCH V5 00/12] add clock driver for Spreadtrum platforms

2017-11-19 Thread Chunyan Zhang
This series adds Spreadtrum clock support together with its binding documentation and devicetree data. Any comments would be greatly appreciated. This patchset also added a few common clock mactos into drivers/clk/clk_common.h, which are generally useful for all vendors' clock driver, sunxi-ng,

[PATCH V5 11/12] arm64: dts: add syscon for whale2 platform

2017-11-19 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, the proper syscon node will be quoted under the definitions of those clocks in DT. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 46 +++- 1 file changed, 45 insertion

[PATCH V5 02/12] clk: sprd: Add common infrastructure

2017-11-19 Thread Chunyan Zhang
Added Spreadtrum's clock driver framework together with common structures and interface functions. Signed-off-by: Chunyan Zhang --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/sprd/Kconfig | 4 ++ drivers/clk/sprd/Makefile | 3 ++ drivers/clk/sprd/commo

[PATCH V5 09/12] clk: sprd: Add dt-bindings include file for SC9860

2017-11-19 Thread Chunyan Zhang
This file defines all SC9860 clock indexes, it should be included in the device tree in which there's device using the clocks. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- include/dt-bindings/clock/sprd,sc9860-clk.h | 408 1 file changed, 408 insertions(+)

[PATCH V5 03/12] clk: sprd: add gate clock support

2017-11-19 Thread Chunyan Zhang
Some clocks on the Spreadtrum's SoCs are just simple gates. Add support for those clocks. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/gate.c | 113 ++ drivers/clk/sprd/gate.h | 61 +

[PATCH V5 07/12] clk: sprd: add adjustable pll support

2017-11-19 Thread Chunyan Zhang
Introduced a common adjustable pll clock driver for Spreadtrum SoCs. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/pll.c| 268 ++ drivers/clk/sprd/pll.h| 110 +++ 3 files changed, 379 inser

[PATCH V5 12/12] arm64: dts: add clocks for SC9860

2017-11-19 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, those are what have a property of 'sprd,syscon' which would refer to syscon devices, others would have a reg property indicated their address ranges. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc9860.dtsi | 11

[PATCH V5 10/12] clk: sprd: add clocks support for SC9860

2017-11-19 Thread Chunyan Zhang
This patch added the list of clocks for Spreadtrum's SC9860 SoC, together with clock initialization code. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Kconfig | 10 + drivers/clk/sprd/Makefile |3 + drivers/clk/sprd/sc9860-clk.c | 1987

[PATCH V5 05/12] clk: sprd: add divider clock support

2017-11-19 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/div.c| 92 +++ drivers/clk/sprd/div.h

[PATCH V5 06/12] clk: sprd: add composite clock support

2017-11-19 Thread Chunyan Zhang
This patch introduced composite driver for Spreadtrum's SoCs. The functions of this composite clock simply consist of divider and mux clocks. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile| 1 + drivers/clk/sprd/composite.c | 62 driv

[PATCH V5 08/12] dt-bindings: Add Spreadtrum clock binding documentation

2017-11-19 Thread Chunyan Zhang
Introduce a new binding with its documentation for Spreadtrum clock sub-framework. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/sprd.txt | 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree

[PATCH V5 04/12] clk: sprd: add mux clock support

2017-11-19 Thread Chunyan Zhang
This patch adds clock multiplexor support for Spreadtrum platforms, the mux clocks also can be found in sprd composite clocks, so provides two helpers that can be reused later on. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/mux.c| 78 ++

RE: [Patch v7 05/22] CIFS: SMBD: Establish SMB Direct connection

2017-11-19 Thread Long Li
> -Original Message- > From: Leif Sahlberg [mailto:lsahl...@redhat.com] > Sent: Sunday, November 19, 2017 9:47 PM > To: Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-r...@vger.kernel.org; Christoph Hellwig > ; Tom Talpey ; Matthew > Wilcox

Re: [PATCH] ASoC: wm8804: Use common error handling code in wm8804_probe()

2017-11-19 Thread Charles Keepax
On Sun, Nov 19, 2017 at 08:04:28AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 19 Nov 2017 07:55:49 +0100 > > * Add a jump target so that a specific error message is stored only once > at the end of this function implementation. > > * Replace two calls of the function "

[PATCH] ASoC: pcm512x-spi: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

2017-11-19 Thread Jesse Chan
Signed-off-by: Jesse Chan --- sound/soc/codecs/pcm512x-spi.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/codecs/pcm512x-spi.c b/sound/soc/codecs/pcm512x-spi.c index 25c63510ae15..7cdd2dc4fd79 100644 --- a/sound/soc/codecs/pcm512x-spi.c +++ b/sound/soc/codecs/pcm512x-spi.c @@

Re: [PATCH v6 18/37] tracing: Add simple expression support to hist triggers

2017-11-19 Thread Namhyung Kim
Hi Tom, On Fri, Nov 17, 2017 at 02:32:57PM -0600, Tom Zanussi wrote: > Add support for simple addition, subtraction, and unary expressions > (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in > order to support a minimal set of useful inter-event calculations. > > These operati

Re: [Patch v7 05/22] CIFS: SMBD: Establish SMB Direct connection

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg But two tiny nits: + * e.g. cifs.smbd_logging_class=0x500 will log all log_rdma_recv() and Should be 0xa0 +// queue_work(info->workqueue, &info->destroy_work); Don't leave commented out code in there. - Original Message - From: "Long Li" To: "Steve French

Re: [PATCH 4/6] mmc: sdhci-spear: Handle return value of platform_get_irq

2017-11-19 Thread Viresh Kumar
On 18-11-17, 01:58, Arvind Yadav wrote: > platform_get_irq() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > drivers/mmc/host/sdhci-spear.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sd

Re: [PATCH 4/6 v2] mmc: sdhci-spear: Handle return value of platform_get_irq

2017-11-19 Thread Viresh Kumar
On 18-11-17, 15:03, Arvind Yadav wrote: > platform_get_irq() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > changes in v2 : > Add failure case '<= 0' instead of '< 0'. IRQ0 is not valid. > > drivers/mmc/host/sdhci-spear.c | 4 > 1 fi

Re: [PATCH v2 1/4] omapdrm: fix compatible string for td028ttec1

2017-11-19 Thread H. Nikolaus Schaller
Hi Andrew, > Am 16.11.2017 um 19:56 schrieb H. Nikolaus Schaller : > > Hi Andrew, > >> Am 16.11.2017 um 19:32 schrieb Andrew F. Davis : >> >> On 11/16/2017 12:18 PM, H. Nikolaus Schaller wrote: >>> Am 16.11.2017 um 18:08 schrieb Andrew F. Davis : On 11/16/2017 10:10 AM, H. Niko

Re: [Patch v7 04/22] CIFS: SMBD: Add SMB Direct protocol initial values and constants

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [Patch v7 03/22] CIFS: SMBD: Add rdma mount option

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [PATCH v4 4/5] DTS: gta04: add serdev node for w2sg00x4

2017-11-19 Thread H. Nikolaus Schaller
Hi Tony, > Am 17.11.2017 um 18:08 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [171115 21:41]: >> GTA04 has a W2SG0004/84 connected to UART2 of the OMAP3 >> processor. A GPIO can pulse the on/off toggle switch. >> >> The VSIM regulator is used to power on/off the LNA of an external >> act

Re: [Patch v7 02/22] CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [Patch v7 01/22] CIFS: SMBD: Add parameter rdata to smb2_new_read_req

2017-11-19 Thread Leif Sahlberg
Acked-by: Ronnie Sahlberg - Original Message - From: "Long Li" To: "Steve French" , linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org, "Christoph Hellwig" , "Tom Talpey" , "Matthew Wilcox" , "Stephen Hemminger" Cc:

Re: [PATCH] drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation

2017-11-19 Thread Gustavo A. R. Silva
Quoting Harry Wentland : On 2017-11-10 05:31 PM, Gustavo A. R. Silva wrote: Make use of the swap macro instead of _manually_ swapping values and remove unnecessary variable swap. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-

[PATCH] USB: option: add Quectel BG96 2c7c:0296

2017-11-19 Thread ssjoholm
From: ssjoholm Signed-off-by: ssjoholm Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel development board (EVB). The USB id is added to option.c to allow DIAG,GPS,AT and modem communication with the BG96. --- d

[PATCH net,stable] net: qmi_wwan: add Quectel BG96 2c7c:0296

2017-11-19 Thread ssjoholm
From: ssjoholm Signed-off-by: ssjoholm Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel development board (EVB). The USB id is added to qmi_wwan.c to allow QMI communication with the BG96. --- drivers/net/usb/qmi

Re: intel-gpio interrupts stop firing with Focaltech I2C-HID touchpad

2017-11-19 Thread Chris Chiu
On Fri, Nov 17, 2017 at 9:52 PM, Mika Westerberg wrote: > On Fri, Nov 17, 2017 at 03:35:18PM +0200, Mika Westerberg wrote: >> > pin 18 (GPIO_18) GPIO 0x40900100 0x00024075 > > Hmm, > > If I decode 0x40900100 correctly PADCFG0_GPIROUTIOXAPIC (BIT 20) flag is > set for the pin. This means the interr

[PATCH] Documentation: fix profile= options in kernel-parameters.txt

2017-11-19 Thread Randy Dunlap
From: Randy Dunlap Correctly the formatting of several additions to the profile= option that have been added by using and listing the choices for it. Signed-off-by: Randy Dunlap --- Documentation/admin-guide/kernel-parameters.txt |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-19 Thread Guenter Roeck
On 11/19/2017 08:08 PM, Nicolas Pitre wrote: On Sun, 19 Nov 2017, Guenter Roeck wrote: On 11/19/2017 12:36 PM, Nicolas Pitre wrote: On Sat, 18 Nov 2017, Guenter Roeck wrote: On Tue, Oct 03, 2017 at 06:29:49PM -0400, Nicolas Pitre wrote: @@ -2295,6 +2295,7 @@ void __init setup_per_cpu_areas(vo

Re: [PATCH] scsi: bnx2i: bnx2i_hwi: use swap macro in bnx2i_send_iscsi_nopout

2017-11-19 Thread Gustavo A. R. Silva
Quoting "Rangankar, Manish" : On 04/11/17 1:28 AM, "Gustavo A. R. Silva" wrote: Make use of the swap macro and remove unnecessary variable tmp. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drive

AW: ICT-Helpdesk

2017-11-19 Thread Waniek, Sabina
Von: Waniek, Sabina Gesendet: Montag, 20. November 2017 05:34 An: Waniek, Sabina Betreff: ICT-Helpdesk Lieber E-Mail-Benutzer. Ihr Outlook-E-MAIL-KONTO-PASSWORT läuft HEUTE ab, und Sie werden aufgefordert, es innerhalb von 24 Stunden NEU zu VALIDIEREN

Re: [PATCH v2] iio: adc: aspeed: Deassert reset in probe

2017-11-19 Thread Joel Stanley
On Mon, Nov 20, 2017 at 2:33 AM, Jonathan Cameron wrote: > On Thu, 2 Nov 2017 14:49:32 + > Jonathan Cameron wrote: >> IIO is closed for this cycle anyway now. >> Otherwise, series looks good. >> >> Will pick up when back with my main PC as traveling for this week and >> next. > > Forgot to as

[PATCH v6 1/4] pmbus (core): Add fan control support

2017-11-19 Thread Andrew Jeffery
Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. Fans in a PMBus device are driven by the configuration of two registers, FAN_CONFIG_x_y and FAN_COMMAND_x: FAN_CONFIG_x_y dictates how the fan and the tacho operate (if installed), while FAN_COMMAND_x sets the desired fan rate. The u

[PATCH v6 3/4] pmbus (core): Add virtual page config bit

2017-11-19 Thread Andrew Jeffery
Some circumstances call for virtual pages, to expose multiple values packed into an extended PMBus register in a manner non-compliant with the PMBus standard. An example of this is the Maxim MAX31785 controller, which extends the READ_FAN_SPEED_1 PMBus register from two to four bytes to support tac

[PATCH v6 2/4] pmbus (max31785): Add fan control

2017-11-19 Thread Andrew Jeffery
The implementation makes use of the new fan control virtual registers exposed by the pmbus core. It mixes use of the default implementations with some overrides via the read/write handlers to handle FAN_COMMAND_1 on the MAX31785, whose definition breaks the value range into various control bands de

[PATCH v6 0/4] pmbus: Expand fan support and add MAX31785 driver

2017-11-19 Thread Andrew Jeffery
Hello, This series introduces support for the MAX31785 intelligent fan controller, a PMBus device providing closed-loop fan control among a number of other features. Along the way the series adds support to control fans and create virtual pages to the PMBus core, the latter to support some of the

[PATCH v6 4/4] pmbus (max31785): Add dual tachometer support

2017-11-19 Thread Andrew Jeffery
The dual tachometer feature is implemented in hardware with a TACHSEL input to indicate the rotor under measurement, and exposed on the device by extending the READ_FAN_SPEED_1 word with two extra bytes*. The need to read the non-standard four-byte response leads to a cut-down implementation of i2c

Re: linux-next: build failure after merge of the akpm-current tree

2017-11-19 Thread Dan Williams
On Sun, Nov 19, 2017 at 8:32 PM, Stephen Rothwell wrote: > Hi Dan, > > On Sun, 19 Nov 2017 20:25:18 -0800 Dan Williams > wrote: >> >> Ugh, yes. Looks correct. I might have confused my build success >> notifications from 0day. I'll spin out a new branch to make sure this >> is the last of it. > >

Re: RFC: Copying Device Tree File into reserved area of VMLINUX before deployment

2017-11-19 Thread Frank Rowand
Hi Ulf, On 11/19/17 23:23, Frank Rowand wrote: > adding devicetree list, devicetree maintainers > > On 11/18/17 12:59, Ulf Samuelsson wrote: >> I noticed when checking out the OpenWRT support for the board that they have >> a method to avoid having to pass the device tree address to the kernel,

Re: linux-next: build failure after merge of the akpm-current tree

2017-11-19 Thread Stephen Rothwell
Hi Dan, On Sun, 19 Nov 2017 20:25:18 -0800 Dan Williams wrote: > > Ugh, yes. Looks correct. I might have confused my build success > notifications from 0day. I'll spin out a new branch to make sure this > is the last of it. Thanks. While I have your attention ... did you consider using the oth

Re: linux-next: build failure after merge of the akpm-current tree

2017-11-19 Thread Dan Williams
On Sun, Nov 19, 2017 at 5:57 PM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (powerpc64 > allnoconfig) failed like this: > > In file included from arch/powerpc/include/asm/book3s/64/mmu > -hash.h:24:0, > from arch/powerpc/

Re: RFC: Copying Device Tree File into reserved area of VMLINUX before deployment

2017-11-19 Thread Frank Rowand
adding devicetree list, devicetree maintainers On 11/18/17 12:59, Ulf Samuelsson wrote: > I noticed when checking out the OpenWRT support for the board that they have > a method to avoid having to pass the device tree address to the kernel, and > can thus boot device tree based kernels with U-bo

Re: WARNING in kvm_arch_vcpu_ioctl_run (2)

2017-11-19 Thread Wanpeng Li
2017-11-18 4:22 GMT+08:00 syzbot : > Hello, > > syzbot has tested the proposed patch but the reproducer still triggered > crash: > WARNING in kvm_arch_vcpu_ioctl_run > > VMExit: intr_info= errcode= ilen= > reason=8021 qualification= > IDTVectoring

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-19 Thread Nicolas Pitre
On Sun, 19 Nov 2017, Guenter Roeck wrote: > On 11/19/2017 12:36 PM, Nicolas Pitre wrote: > > On Sat, 18 Nov 2017, Guenter Roeck wrote: > > > On Tue, Oct 03, 2017 at 06:29:49PM -0400, Nicolas Pitre wrote: > > > > @@ -2295,6 +2295,7 @@ void __init setup_per_cpu_areas(void) > > > > if (pcpu_se

  1   2   3   4   5   >