[PATCH v7 2/3] ARM: dts: add TOPEET itop elite based board

2016-09-18 Thread Randy Li
The TOPEET itop exynos 4412 have three versions base board. The Elite version is the cheap one without too much peripheral devices on it. Currently supported are serial console, wired networking(USB), USB OTG in peripheral mode, USB host, SD storage, GPIO buttons, PWM beeper, ADC and LEDs. The WM8

[PATCH v7 3/3] devicetree: bindings: Add vendor prefix for Topeet.

2016-09-18 Thread Randy Li
Add TOPEET, a ARM devlopment board vendor in China mainland. Signed-off-by: Randy Li Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicet

[PATCH] drm/mediatek: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/mediatek/mtk_hdmi.c:1089:6: warning: no previous prototype for 'mtk_hdmi_audio_enable' [-Wmissing-prototypes] drivers/gpu/drm/mediatek/mtk_hdmi.c:1095:6: warning: no previous prototype for 'mtk_hdmi_audio_disable' [-Wmissing-prototy

[PATCH v7 1/3] ARM: dts: Add TOPEET itop core board SCP package version

2016-09-18 Thread Randy Li
The TOPEET itop is a samsung exnynos 4412 core board, which have two package versions. This patch add the support for SCP version. Currently supported are USB3503A HSIC, USB OTG, eMMC, rtc and PMIC. The future features are in the based board. Also MFC and watchdog have been enabled. Signed-off-by

[PATCH] make samsung interface entries explicitly

2016-09-18 Thread Randy Li
I found those modules should be selected directly, as I only use the simple sound card. Randy Li (1): ASoC: samsung: make audio interface/controller explicitly sound/soc/samsung/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4

[PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread Randy Li
It is simple sound card time, we could assign different codec to a interface without making a specific driver for it. Signed-off-by: Randy Li --- sound/soc/samsung/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kc

[PATCH] drm/amdgpu: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get 7 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1990:5: warning: no previous prototype for 'amdgpu_pre_soft_reset' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c:1548:5: warning: no previous prototype for 'amdgpu_connector_virtual

[PATCH] drm/amdgpu: remove unused functions

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:146:5: warning: no previous prototype for 'pool_to_domain' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/cz_smc.c:104:5: warning: no previous prototype for 'cz_send_msg_to_smc_with_parameter_async' [-W

[PATCH] ARM: tegra: nyan: Enable GPU node and related supply

2016-09-18 Thread Paul Kocialkowski
This enables the GPU node for tegra124 nyan boards, which is required to get graphics acceleration with nouveau on these devices. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/tegra124-nyan.dtsi | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH] drm/msm/adreno: move function declarations to header file

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/msm/adreno/a3xx_gpu.c:535:17: warning: no previous prototype for 'a3xx_gpu_init' [-Wmissing-prototypes] drivers/gpu/drm/msm/adreno/a4xx_gpu.c:624:17: warning: no previous prototype for 'a4xx_gpu_init' [-Wmissing-prototypes] In fact

[PATCH] cgroup/cpu: Fix tg_has_rt_task() malfunction

2016-09-18 Thread yingooyim
Hi, I am a graduate student of System Software Lab. at Konkuk University (http://sslab.konkuk.ac.kr). This patch is to fix the malfunction of tg_has_rt_tasks(). The tg_has_rt_tasks() function is supposed to determine whether a task group includes an "rt task" or not. However, it returns true for

[PATCH] drm/amdgpu: clean function declaration in amdgpu_pm.c up

2016-09-18 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:37:6: warning: no previous prototype for 'amdgpu_pm_acpi_event_handler' [-Wmissing-prototypes] In fact, this function is declared in drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c, but should be declared in a header

[RFC PATCH v2 0/2] adding panel claa070wp03xg support for exynos

2016-09-18 Thread Randy Li
I am trying to add LCD panel with LVDS interface for exynos 4412 topeet itop. That board using a bridge chip to convert the parallel RGB signal to LVDS signal. I could make a fb0 node appear in system now. But I can't make it work yet. redirecting the urandom to fb0 won't make anything change in pa

[RFC PATCH v2 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-09-18 Thread Randy Li
The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be supported by the simple panel driver. Signed-off-by: Randy Li --- .../display/panel/chunghwa,claa070wp03xg.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 files changed, 34 in

[RFC PATCH v2 1/2] ARM: dts: samsung: add rga-lvds panel in itop elite

2016-09-18 Thread Randy Li
It is actually a lvds panel connected through a rga-lvds bridge. The touchscreen is communicated with i2c bus but the driver is not support now. Signed-off-by: Randy Li --- arch/arm/boot/dts/exynos4412-itop-elite.dts | 54 +++-- 1 file changed, 52 insertions(+), 2 deletio

[PATCH] drm/amdgpu: add function declaration in amdgpu.h

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c:502:10: warning: no previous prototype for 'init_cond_exec' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c:514:6: warning: no previous prototype for 'patch_cond_exec' [-Wmissing-prototypes] In

Re: [RFC PATCH 00/10] ARM: dts: exynos: Fix invalid GIC interrupt flags

2016-09-18 Thread Krzysztof Kozlowski
On Sun, Sep 18, 2016 at 10:34:36AM +0100, Marc Zyngier wrote: > On Sat, 17 Sep 2016 19:55:53 +0200 > Krzysztof Kozlowski wrote: > > > On Sat, Sep 17, 2016 at 11:05:39PM +0530, Alim Akhtar wrote: > > > Hi Krzysztof, > > > > > > On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski > > > wrote:

Re: [PATCH v3) posix-timers: make it configurable

2016-09-18 Thread Richard Cochran
On Fri, Sep 16, 2016 at 10:57:58PM -0400, Nicolas Pitre wrote: > Subject: [PATCH] ptp_clock: allow for it to be optional > > In order to break the hard dependency between the PTP clock subsystem and > ethernet drivers capable of being clock providers, this patch provides > simple PTP stub function

Re: [PATCH 2/5] ipc/sem: rework task wakeups

2016-09-18 Thread Manfred Spraul
Hi Davidlohr, On 09/12/2016 01:53 PM, Davidlohr Bueso wrote: @@ -1933,22 +1823,32 @@ SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, queue.alter = alter; error = perform_atomic_semop(sma, &queue); - if (error == 0) { - /* If the operatio

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread Krzysztof Kozlowski
On Sun, Sep 18, 2016 at 10:09:11PM +0800, Randy Li wrote: > It is simple sound card time, we could assign different codec > to a interface without making a specific driver for it. The description does not convince me and I do not see an example using this. Could you provide one? Best regards, Krz

Re: [PATCH] avr32: fix 'undefined reference to `___copy_from_user'

2016-09-18 Thread Guenter Roeck
On 09/18/2016 02:46 AM, Hans-Christian Noren Egtvedt wrote: Around Sat 17 Sep 2016 13:09:17 -0700 or thereabout, Guenter Roeck wrote: On 09/17/2016 09:52 AM, Håvard Skinnemoen wrote: On Sat, Sep 17, 2016 at 7:56 AM, Guenter Roeck wrote: avr32 builds fail with: arch/avr32/kernel/built-in.o: I

[PATCH] staging: ks7010: fixes typo in ks_hostif.c

2016-09-18 Thread Hariharan R
Fixes typo, FAILUER -> FAILURE Recieve -> Receive Signed-off-by: Hariharan R --- drivers/staging/ks7010/ks_hostif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index a8822fe..8a18c85 100644 ---

Re: [PATCH] perf, tools: Handle events including .c and .o

2016-09-18 Thread Andi Kleen
On Sun, Sep 18, 2016 at 11:03:27AM +0200, Jiri Olsa wrote: > On Sat, Sep 17, 2016 at 06:02:46PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > This is a generic bug fix, but it helps with Sukadev's JSON event tree > > where such events can happen. > > > > Any event inclduing a .c/.o/.bpf

Re: pyc files in source dir with O=

2016-09-18 Thread Markus Heiser
Am 07.09.2016 um 15:28 schrieb Jani Nikula : > On Wed, 07 Sep 2016, Geert Uytterhoeven wrote: >> When running "make htmldocs O=/path/to/somewhere", *.pyc files end up >> in the source tree instead of in the build tree: >> >>$ git ls-files -o >>Documentation/sphinx/kernel-doc.pyc >>D

Re: [PATCH] perf, tools: Handle events including .c and .o

2016-09-18 Thread Andi Kleen
On Sun, Sep 18, 2016 at 06:20:04PM +0800, Wangnan (F) wrote: > > > On 2016/9/18 9:02, Andi Kleen wrote: > > From: Andi Kleen > > > > This is a generic bug fix, but it helps with Sukadev's JSON event tree > > where such events can happen. > > > > Any event inclduing a .c/.o/.bpf currently trigg

[PATCH 2/2] net: ethernet: broadcom: bcm63xx: use new api ethtool_{get|set}_link_ksettings

2016-09-18 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 52 ++ 1 files changed, 28 insertions(+), 24 deletions(-) diff --git a/drivers/n

[PATCH 1/2] net: ethernet: broadcom: bcm63xx: use phydev from struct net_device

2016-09-18 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread ayaka
On 09/18/2016 10:42 PM, Krzysztof Kozlowski wrote: On Sun, Sep 18, 2016 at 10:09:11PM +0800, Randy Li wrote: It is simple sound card time, we could assign different codec to a interface without making a specific driver for it. The description does not convince me and I do not see an example u

[PATCH] net: ethernet: broadcom: bcmgenet: use new api ethtool_{get|set}_link_ksettings

2016-09-18 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/etherne

Re: [PATCH 08/10] ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5410/exynos542x

2016-09-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/16/2016 03:42 PM, Krzysztof Kozlowski wrote: > Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and > generates an error: > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) > > The GIC requires shared interrupts to be edge risi

Re: [PATCH 06/10] ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5

2016-09-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/16/2016 03:42 PM, Krzysztof Kozlowski wrote: > Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and > generates an error: > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) > > The GIC requires shared interrupts to be edge risi

Re: Runtime failure running sh:qemu in -next due to 'sh: fix copy_from_user()'

2016-09-18 Thread Rich Felker
On Sat, Sep 17, 2016 at 11:40:28PM -0500, Rob Landley wrote: > > > On 09/16/2016 09:23 PM, Guenter Roeck wrote: > > On 09/16/2016 04:32 PM, Rich Felker wrote: > >>> 4.6.3 from kernel.org. > >> > >> That is utterly ancient and probaby very buggy. I would recommend 5.x+ > >> or at the very least 4.

Re: [PATCH 4/7] ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos5

2016-09-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/16/2016 05:41 PM, Krzysztof Kozlowski wrote: > Replace hard-coded values of type of GIC interrupt and its flags with > respective macros from header to increase code readability > > Signed-off-by: Krzysztof Kozlowski > --- On an Exynos5800 Peach Pi Chromebook and an Exyno

Re: openrisc: Consolidate setup to use memblock instead of bootmem

2016-09-18 Thread Guenter Roeck
On Wed, Apr 06, 2016 at 07:08:41PM +0900, Stafford Horne wrote: > Clearing out one todo item. This simplifies the boot process by using > the memblock api throughout the init process. > > The old logic bootstrapped from memblock -> bootmem -> buddy allocator > This is now simplified by using NO_B

Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k) toolchain

2016-09-18 Thread Guenter Roeck
On 09/16/2016 07:43 AM, Stafford Horne wrote: From: Guenter Roeck The output file format for or1k has changed from "elf32-or32" to "elf32-or1k". Select the correct output format automatically to be able to compile the kernel with both toolchain variants. Signed-off-by: Guenter Roeck Signed-of

[PATCH 2/6] f2fs: fix to return error number of read_all_xattrs correctly

2016-09-18 Thread Chao Yu
From: Chao Yu We treat all error in read_all_xattrs as a no memory error, which covers the real reason of failure in it. Fix it by return correct errno in order to reflect the real cause. Signed-off-by: Chao Yu --- fs/f2fs/xattr.c | 37 ++--- 1 file changed, 22

[PATCH 1/6] f2fs: make f2fs_filetype_table static

2016-09-18 Thread Chao Yu
From: Chao Yu There is no more user of f2fs_filetype_table outside of dir.c, make it static. Signed-off-by: Chao Yu --- fs/f2fs/dir.c | 2 +- fs/f2fs/f2fs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 2fb20fc..39a850b 100644 --- a/f

[PATCH 3/6] f2fs: fix to avoid race condition when updating sbi flag

2016-09-18 Thread Chao Yu
From: Chao Yu Making updating of sbi flag atomic by using {test,set,clear}_bit, otherwise in concurrency scenario, the flag could be updated incorrectly. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs

[PATCH 4/6] f2fs: introduce cp_lock to protect updating of ckpt_flags

2016-09-18 Thread Chao Yu
From: Chao Yu This patch introduces spinlock to protect updating process of ckpt_flags field in struct f2fs_checkpoint, it avoids incorrectly updating in race condition. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 24 fs/f2fs/f2fs.h | 29 +++

[PATCH 6/6] f2fs: show dirty inode number

2016-09-18 Thread Chao Yu
From: Chao Yu This patch enables showing dirty inode number in procfs. Signed-off-by: Chao Yu --- fs/f2fs/debug.c | 3 +++ fs/f2fs/f2fs.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index ae13521..fb245bd 100644 --- a/fs/f2fs/debug.

[PATCH 5/6] f2fs: support IO error injection

2016-09-18 Thread Chao Yu
From: Chao Yu This patch adds to support IO error injection for testing IO error tolerance of f2fs. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 5 + fs/f2fs/f2fs.h | 3 +++ fs/f2fs/super.c | 1 + 3 files changed, 9 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 120a995

Re: [PATCH 2/5] irqtime: Remove needless IRQs disablement on kcpustat update

2016-09-18 Thread Peter Zijlstra
On Sun, Sep 18, 2016 at 03:47:43PM +0200, Frederic Weisbecker wrote: > I love that! I've seen so many cases where I wanted this runtime check without > the overhead of it on production kernels. > > I can take that patch, now since this is lockdep code and my series is > scheduler's > code that de

[PATCH v2 2/3] usb: dwc3: cleanup with list_first_entry_or_null()

2016-09-18 Thread Masahiro Yamada
The combo of list_empty() check and return list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada --- drivers/usb/dwc3/gadget.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/dwc3/gadget.h b/drivers/usb/dwc3/gadget

[PATCH v2 1/3] usb: dwc2: cleanup with list_first_entry_or_null()

2016-09-18 Thread Masahiro Yamada
The combo of list_empty() check and return list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada Acked-by: John Youn --- drivers/usb/dwc2/gadget.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc2/gadget.c b/

[PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()

2016-09-18 Thread Masahiro Yamada
Replace the chain of list_empty() and list_first_entry() with list_first_entry_or_null(). Changes in v2: - Split into per-driver patches Masahiro Yamada (3): usb: dwc2: cleanup with list_first_entry_or_null() usb: dwc3: cleanup with list_first_entry_or_null() usb: renesas_usbhs: cleanup w

[PATCH v2 3/3] usb: renesas_usbhs: cleanup with list_first_entry_or_null()

2016-09-18 Thread Masahiro Yamada
The combo of list_empty() check and return list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada --- drivers/usb/renesas_usbhs/fifo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/u

[RESEND PATCH v2] clk: probe common clock drivers earlier

2016-09-18 Thread Masahiro Yamada
Several SoCs implement platform drivers for clocks rather than CLK_OF_DECLARE(). Clocks should come earlier because they are prerequisites for many of other drivers. It will help to mitigate EPROBE_DEFER issues. Also, drop the comment since it does not carry much value. Signed-off-by: Masahiro

Re: [PATCH v2] clk: probe common clock drivers earlier

2016-09-18 Thread Masahiro Yamada
Hi Greg, 2016-09-17 17:56 GMT+09:00 Greg Kroah-Hartman : > On Fri, Sep 16, 2016 at 04:12:45PM -0700, Stephen Boyd wrote: >> On 09/16, Masahiro Yamada wrote: >> > >> > >> > What do you think of this patch? >> > >> >> I assumed Greg would pick it up given that Mike already acked it. > > I was going

lib/atomic64_test.c:112:9: error: implicit declaration of function 'atomic64_add_unless'

2016-09-18 Thread kbuild test robot
Hi Joe, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files date:

[GIT PULL 1/3] ARM: soc: exynos: Drivers for v4.9

2016-09-18 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski Hi, Drivers related changes. Best regards, Krzysztof The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/k

[GIT PULL 2/3] ARM: dts: exynos: DT for v4.9, second round

2016-09-18 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski The following changes since commit 05b01dd936b46f2c3cfbb10bc89c0ec79c745e5d: ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' (2016-08-24 21:09:24 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git

[GIT PULL 3/3] ARM: dts: exynos: pinctrl cleanup for v4.9

2016-09-18 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski Hi, A separate topic branch with DT cleanup. Best regards, Krzysztof The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/li

[GIT PULL 0/3] ARM: exynos: Second round of stuff for v4.9

2016-09-18 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski Hi, I know it is late but it is not a big pull request. Mostly DT cleanup. One change touching clocksource was acked by Daniel Lezcano (he mentioned it can go through arm-soc). Some stuff moved into topic branch. No conflicts expected, no specific order of pulling. Be

Re: [PATCH 2/4] carl9170: fix debugfs crashes

2016-09-18 Thread Greg KH
On Sun, Sep 18, 2016 at 02:49:33PM +0200, Christian Lamparter wrote: > On Sunday, September 18, 2016 12:14:55 PM CEST Greg KH wrote: > > On Sun, Sep 18, 2016 at 10:54:18AM +0300, Kalle Valo wrote: > > > Greg KH writes: > > > > > > > On Sat, Sep 17, 2016 at 09:43:02PM +0200, Christian Lamparter wr

Re: [PATCH][linux-next][trivial] treewide: Fix typo in printk

2016-09-18 Thread Randy Dunlap
On 09/17/16 07:44, Masanari Iida wrote: > This patch fix spelling typos in printk and kconfig. > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > arch/arm64/kernel/hibernate.c | 4 ++-- > arch/mips/kernel/asm-offsets.c | 2 +- >

Re: usb device to ether is not identification in 64bit Windows OS

2016-09-18 Thread gre...@linuxfoundation.org
On Sun, Sep 18, 2016 at 01:16:59PM +, Lipengcheng wrote: > Hi, > kernel version:4.8.0 > file:Documentation / usb / linux.inf > problem:PC windows is 32bit OS, using Ethernet gadget driver, it can > be correct identification. But PC windows is 64bit OS, while modifying > linux.inf file LinuxDevi

[PATCH 0/5] drm/amdgpu: Fine-tuning for several function implementations

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 18:38:48 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (5): Use kmalloc_array() in amdgpu_debugfs_gca_config_read() Improve determination of sizes in two functions Rename a jump label in am

[PATCH 1/5] drm/amdgpu: Use kmalloc_array() in amdgpu_debugfs_gca_config_read()

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 17:00:52 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[PATCH 2/5] drm/amdgpu: Improve determination of sizes in two functions

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 17:24:47 +0200 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Marku

[PATCH 3/5] drm/amdgpu: Rename a jump label in amdgpu_debugfs_regs_read()

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 17:35:24 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH 4/5] drm/amdgpu: Rename a jump label in amdgpu_device_init()

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 17:50:09 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff

[PATCH 5/5] drm/amdgpu: Adjust checks for null pointers in nine functions

2016-09-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 18 Sep 2016 18:32:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * The script "checkpatch.pl" can point information out like the following. Comparison to NULL could be written !… Thus fix the affected source

Re: [PATCH v3) posix-timers: make it configurable

2016-09-18 Thread Nicolas Pitre
On Sun, 18 Sep 2016, Richard Cochran wrote: > On Fri, Sep 16, 2016 at 10:57:58PM -0400, Nicolas Pitre wrote: > > Subject: [PATCH] ptp_clock: allow for it to be optional > > > > In order to break the hard dependency between the PTP clock subsystem and > > ethernet drivers capable of being clock pr

[Patch-V2 1/6] HID:hid-logitech: Introduce control for combined pedals feature

2016-09-18 Thread Simon Wood
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle seperate accelerator and brake. Signed-off-by: Simon Wood --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 9 drivers/hid/hid-l

[Patch-V2 3/6] HID:hid-logitech: Compute combined pedals value

2016-09-18 Thread Simon Wood
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood --- drivers/hid/hid-lg4ff.c | 17 + 1 file changed, 17 insertions(+) diff --g

[Patch-V2 2/6] HID:hid-logitech: Add combined pedal support Logitech wheels

2016-09-18 Thread Simon Wood
Add support for reporting a combined accelerator/brake axis for wheels which contain combined data in their HID stream. This includes DF, MOMO, MOMO2 and DFP. Signed-off-by: Simon Wood --- drivers/hid/hid-lg.c| 12 drivers/hid/hid-lg4ff.c | 32

[Patch-V2 4/6] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-18 Thread Simon Wood
Rewrite the HID descriptor for _all_ Driving Force wheels (real or emulated) so that they can report separate Accelerator and Brake axis. If the user wants a combined accel/brake axis, they can use the 'combined pedals' feature. $ echo 1 > /sys/bus/hid/devices//combine_pedals Signed-off-by: Simo

[Patch-V2 5/6] HID:hid-logitech: Improve Wingman Formula Force GP support

2016-09-18 Thread Simon Wood
Move ForceFeedback support for the Formula Force GP into hid-lgff4 and re-write HID descriptor, thus allowing combined pedals or not as user desires. Signed-off-by: Simon Wood --- drivers/hid/hid-lg.c| 59 - drivers/hid/hid-lg4ff.c | 2 ++ 2 f

[Patch-V2 6/6] HID:hid-logitech: Documentation updates/corrections

2016-09-18 Thread Simon Wood
Signed-off-by: Simon Wood --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 6 ++ drivers/hid/Kconfig| 23 +- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff

Re: [PATCH 2/4] carl9170: fix debugfs crashes

2016-09-18 Thread Kalle Valo
Greg KH writes: > On Sun, Sep 18, 2016 at 10:54:18AM +0300, Kalle Valo wrote: >> Greg KH writes: >> >> > On Sat, Sep 17, 2016 at 09:43:02PM +0200, Christian Lamparter wrote: >> >> Ben Greear reported: >> >> > I see lots of instability as soon as I load up the carl9710 NIC. >> >> > My applicatio

Re: [PATCH] hwmon: (adt7470) No need for additional synchronization on kthread_stop()

2016-09-18 Thread Guenter Roeck
On 09/16/2016 01:07 AM, Daniel Wagner wrote: From: Daniel Wagner The kthread_stop() waits for the thread to exit. There is no need for an additional synchronization needed to join on the kthread. The completation was added by 89fac11cb3e7 ("adt7470: make automatic fan control really work"). S

[GIT PULL] fixes for v4.8-rc7

2016-09-18 Thread Guenter Roeck
Hi Linus, Please consider pulling fixes for Linux v4.8-rc7 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git fixes-for-linus-v4.8-rc7 Thanks, Guenter -- The following changes since commit d4690f1e1cdabb4d61207b6787b1605a0dc0aeab: fix iov_iter_fa

[PATCH 03/11] staging: r8188eu: remove pkt_hdrlen member of pkt_attrib structure

2016-09-18 Thread Ivan Safonov
pkt_hdrlen has a constant value. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_xmit.c| 4 +--- drivers/staging/rtl8188eu/include/rtw_xmit.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/r

[PATCH 07/11] staging: r8188eu: remove usb_hal.h

2016-09-18 Thread Ivan Safonov
usb_hal.h is empty. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c| 1 - drivers/staging/rtl8188eu/hal/usb_halinit.c | 1 - drivers/staging/rtl8188eu/include/usb_hal.h | 18 -- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 -- drivers/staging/rt

[PATCH 01/11] staging: r8188eu: change last argument type of the usb_write_port function

2016-09-18 Thread Ivan Safonov
usb_write_port writes only xmit_buf object data to device. In addition, an appropriate name for this argument is used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c| 4 ++-- drivers/staging/rtl8188eu/include/usb_ops_linux.h | 2 +- drivers/staging/rtl8188eu

[PATCH 10/11] staging: r8188eu: remove GET_RF_TYPE macro

2016-09-18 Thread Ivan Safonov
This macro does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h index 418bdb9..5362218 100644 --- a/d

[PATCH 04/11] staging: r8188eu: delete rtw_usb_bulk_size_boundary function

2016-09-18 Thread Ivan Safonov
This function does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/usb_ops_linux.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/usb_ops_linux.h b/drivers/staging/rtl8188eu/include/usb_ops_linux.h index fde7753.

[PATCH 06/11] staging: r8188eu: remove rtl8188eu_set_hal_ops function

2016-09-18 Thread Ivan Safonov
rtl8188eu_set_hal_ops only allocates HalData member of adapter structure. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 7 --- drivers/staging/rtl8188eu/include/usb_hal.h | 2 -- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 7 +-- 3 files changed, 5 inser

[PATCH 05/11] staging: r8188eu: replace N_BYTE_ALIGMENT macro with PTR_ALIGN

2016-09-18 Thread Ivan Safonov
PTR_ALIGN is a bit shorter than N_BYTE_ALIGMENT. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_recv.c | 2 +- drivers/staging/rtl8188eu/core/rtw_xmit.c | 6 +++--- drivers/staging/rtl8188eu/include/basic_types.h | 4 drivers/staging/rtl8188eu/os_dep/xmit_lin

[PATCH 08/11] staging: r8188eu: remove HW_VAR_DM_FLAG member of hw_variables enumeration

2016-09-18 Thread Ivan Safonov
rtw_hal_set_hwreg and rtw_hal_get_hwreg does not used with HW_VAR_DM_FLAG parameter. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 7 --- drivers/staging/rtl8188eu/include/hal_intf.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188

[PATCH 11/11] staging: r8188eu: remove GET_HAL_DATA macro

2016-09-18 Thread Ivan Safonov
GET_HAL_DATA replaced by its definition. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_sreset.c | 9 +-- drivers/staging/rtl8188eu/hal/bb_cfg.c| 13 ++-- drivers/staging/rtl8188eu/hal/odm.c | 17 ++--- drivers/staging/rtl8188eu/hal/phy.c

[PATCH 09/11] staging: r8188eu: set correct type for HalData member of adapter structure

2016-09-18 Thread Ivan Safonov
To avoid unnecessary typecast. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 7af690e..5c275fb 1

[PATCH 02/11] staging: r8188eu: remove xmitframe_direct function

2016-09-18 Thread Ivan Safonov
xmitframe_direct is a simple wrapper around rtw_xmitframe_coalesce and rtw_dump_xframe functions. Many wrappers complicates code reading. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) dif

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread kbuild test robot
ord what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Randy-Li/ASoC-samsung-make-audio-interface-controller-explicitly/20160918-222618 base: https://git.kernel.

Re: [PATCH 5/5] ipc/sem: use proper list api for pending_list wakeups

2016-09-18 Thread Manfred Spraul
On 09/12/2016 01:53 PM, Davidlohr Bueso wrote: ... saves some LoC and looks cleaner than re-implementing the calls. Signed-off-by: Davidlohr Bueso Acked-by: Manfred Spraul -- Manfred

Re: [PATCH] sysfs print name of undiscoverable attribute group as well

2016-09-18 Thread Johannes Thumshirn
On Sun, Sep 18, 2016 at 09:36:02AM +0200, Greg KH wrote: > On Thu, Sep 15, 2016 at 09:44:06PM +0200, Johannes Thumshirn wrote: > > Print the name of an undiscoverable attribute group as well, not just > > the pointer's address. > > Shouldn't we just drop the pointer address and use the name? It's

[PATCH v4] ARM: mmp: let clk_disable() return immediately if clk is NULL

2016-09-18 Thread Masahiro Yamada
In many of clk_disable() implementations, it is a no-op for a NULL pointer input, but this is one of the exceptions. Making it treewide consistent will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada --- Changes in v4: - Split into per-ar

[PATCH v4] ARM: w90x900: let clk_disable() return immediately if clk is NULL

2016-09-18 Thread Masahiro Yamada
In many of clk_disable() implementations, it is a no-op for a NULL pointer input, but this is one of the exceptions. Making it treewide consistent will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada Acked-by: Wan Zongshun --- Changes in v

[PATCH v4] m68k: let clk_disable() return immediately if clk is NULL

2016-09-18 Thread Masahiro Yamada
In many of clk_disable() implementations, it is a no-op for a NULL pointer input, but this is one of the exceptions. Making it treewide consistent will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada Acked-by: Greg Ungerer --- Changes in v

[PATCH v4] blackfin: bf609: let clk_disable() return immediately if clk is NULL

2016-09-18 Thread Masahiro Yamada
In many of clk_disable() implementations, it is a no-op for a NULL pointer input, but this is one of the exceptions. Making it treewide consistent will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada --- Changes in v4: - Split into per-ar

[PATCH v4] MIPS: bcm63xx: let clk_disable() return immediately if clk is NULL

2016-09-18 Thread Masahiro Yamada
In many of clk_disable() implementations, it is a no-op for a NULL pointer input, but this is one of the exceptions. Making it treewide consistent will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada --- Changes in v4: - Split into per-ar

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread Krzysztof Kozlowski
On Sun, Sep 18, 2016 at 11:12:34PM +0800, ayaka wrote: > > > On 09/18/2016 10:42 PM, Krzysztof Kozlowski wrote: > >On Sun, Sep 18, 2016 at 10:09:11PM +0800, Randy Li wrote: > >>It is simple sound card time, we could assign different codec > >>to a interface without making a specific driver for it

Re: [PATCH 2/2 v2] x86/e820: Use much less memory for e820/e820_saved, save up to 120k

2016-09-18 Thread Denys Vlasenko
On 09/18/2016 10:31 AM, Ingo Molnar wrote: * Denys Vlasenko wrote: On 09/15/2016 09:04 AM, Ingo Molnar wrote: * Denys Vlasenko wrote: The maximum size of e820 map array for EFI systems is defined as E820_X_MAX (E820MAX + 3 * MAX_NUMNODES). In x86_64 defconfig, this ends up with E820_X_MAX

[PATCH] ARM: mediatek: clean up mach-mediatek/Makefile

2016-09-18 Thread Masahiro Yamada
Kbuild descends into arch/arm/mach-mediatek/Makefile only when CONFIG_ARCH_MEDIATEK is enabled. So, obj-$(CONFIG_ARCH_MEDIATEK) is always equivalent to obj-y in this Makefile. Signed-off-by: Masahiro Yamada --- arch/arm/mach-mediatek/Makefile | 6 ++ 1 file changed, 2 insertions(+), 4 dele

Re: [GIT pull] irq fixes for 4.8

2016-09-18 Thread Linus Torvalds
On Sun, Sep 18, 2016 at 1:05 AM, Thomas Gleixner wrote: > > Boris Brezillon (2): > genirq: Provide irq_gc_{lock_irqsave,unlock_irqrestore}() helpers This seems somewhat questionable. The non-irqsafe versions of these functions have specialized non-SMP versions for them. The new ones don't.

[PATCH 1/2] perf, tools, list: Print aliases with --raw-dump

2016-09-18 Thread Andi Kleen
From: Andi Kleen Print aliases like 'cycles' with perf list --raw-dump, so that they can be completed by perf-completion.sh Signed-off-by: Andi Kleen --- tools/perf/util/parse-events.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c

[PATCH 2/2] perf, tools: Fix completion script to handle comma list

2016-09-18 Thread Andi Kleen
From: Andi Kleen The perf event completion script only handled a single event per -e option. So for "perf stat -e cycles,branches" branches could not be completed. Fix that issue by always only using the last suffix. For some reason it only works in bash currently, but zsh is the same as before

Re: [PATCH v2] dmaengine: s3c24xx: Add dma_slave_map for s3c2440 devices

2016-09-18 Thread Sam Van Den Berge
On Fri, Sep 16, 2016 at 01:00:12PM +0200, Sylwester Nawrocki wrote: > On 09/15/2016 09:41 PM, Sam Van Den Berge wrote: > > @@ -445,10 +446,44 @@ static struct s3c24xx_dma_channel > > s3c2440_dma_channels[DMACH_MAX] = { > > [DMACH_USB_EP4] = { S3C24XX_DMA_APB, true, S3C24XX_DMA_CHANREQ(4, 3), }

[PATCH 3/3 v2] x86/e820: Use much less memory for e820/e820_saved, save up to 120k

2016-09-18 Thread Denys Vlasenko
The maximum size of e820 map array for EFI systems is defined as E820_X_MAX (E820MAX + 3 * MAX_NUMNODES). In x86_64 defconfig, this ends up with E820_X_MAX = 320, e820 and e820_saved are 6404 bytes each. With larger configs, for example Fedora kernels, E820_X_MAX = 3200, e820 and e820_saved are 6

Re: [PATCH v3) posix-timers: make it configurable

2016-09-18 Thread Richard Cochran
On Sun, Sep 18, 2016 at 12:54:58PM -0400, Nicolas Pitre wrote: > > > +config PTP_1588_CLOCK_DEFAULT > > > + tristate > > > > I see what this option is doing, but I wonder about the name > > "DEFAULT". In what sense is this a default? > > It provides the default answer for when the PTP_1588_CLOCK

<    1   2   3   4   5   >