Re: Re: [V2 PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI

2015-07-29 Thread Michal Hocko
On Wed 29-07-15 05:48:47, 河合英宏 / KAWAI,HIDEHIRO wrote: > Hi, > > > From: linux-kernel-ow...@vger.kernel.org > > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Hidehiro Kawai > > (2015/07/27 23:34), Michal Hocko wrote: > > > On Mon 27-07-15 10:58:50, Hidehiro Kawai wrote: > [...] > > >

[PATCH v2 3/4] staging: rtl8188eu: don't duplicate ieee80211 WLAN_AUTH_* constants

2015-07-29 Thread Jakub Sitnicki
linux/ieee80211.h already defines constants for authentication algorithms. Remove the duplicated definitions. Signed-off-by: Jakub Sitnicki --- drivers/staging/rtl8188eu/include/ieee80211.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h

[tip:perf/core] perf script: Add option --show-switch-events

2015-07-29 Thread tip-bot for Adrian Hunter
Commit-ID: 7c14898ba9386ee5c939bb418643ac6baff52840 Gitweb: http://git.kernel.org/tip/7c14898ba9386ee5c939bb418643ac6baff52840 Author: Adrian Hunter AuthorDate: Tue, 21 Jul 2015 12:44:06 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:14 -0300 perf script:

[RFC PATCH v2 2/3] genirq: Add a function to set irq affinity of candidate IRQs

2015-07-29 Thread Taichi Kageyama
This new function can specify which CPU is used for interrupt probing. An interrupt probing code expects a CPU detects an interrupt from the target device, but it doesn't work when the CPU has interrupts disabled during the waiting time. The probing code can use this function to specify which CPU

Re: [PATCH 1/2] serial: 8250: Fix autoconfig_irq() to avoid race conditions

2015-07-29 Thread Taichi Kageyama
On 2015/07/24 7:32, gre...@linuxfoundation.org wrote: > On Fri, Jun 05, 2015 at 09:57:40AM +, Taichi Kageyama wrote: >> The following race conditions can happen if a serial is used as console. >> Case1. CPU_B handles an interrupt from a serial >> autoconfig_irq() fails whether the

[RFC PATCH v2 3/3] serial: 8250: Fix autoconfig_irq() to reduce the risk of failure

2015-07-29 Thread Taichi Kageyama
autoconfig_irq() expects a CPU detects an interrupt from a serial port, but it doesn't work when the CPU has interrupts disabled during the waiting time. New one tries to specify own CPU to probe the interrupt and reduce the risk of the failure as far as possible. Signed-off-by: Taichi Kageyama

[RFC PATCH v2 0/3] genirq, serial: 8250: Workaround to avoid irq=0 for console

2015-07-29 Thread Taichi Kageyama
This patch set provides a workaround to avoid the following problem. It's based on Linux 4.2-rc4 mainstream kernel. I've tested this patch set on x86-64 machine and KVM. RFC -- During interrupt probing phase, irq affinity of candidate IRQs can be changed immediately and

[RFC PATCH v2 1/3] serial: 8250: Fix autoconfig_irq() to avoid race conditions

2015-07-29 Thread Taichi Kageyama
The following race conditions can happen when a serial port is used as console. Case1: CPU_B is used to detect an interrupt from a serial port, but it can have interrupts disabled during the waiting time. Case2: CPU_B clears UART_IER just after CPU_A sets UART_IER and then a serial

[tip:x86/mm] arch/*/io.h: Add ioremap_uc() to all architectures

2015-07-29 Thread tip-bot for Luis R. Rodriguez
Commit-ID: 4c73e8926623ca0f64c2c6111289ab8096fa647a Gitweb: http://git.kernel.org/tip/4c73e8926623ca0f64c2c6111289ab8096fa647a Author: Luis R. Rodriguez AuthorDate: Tue, 28 Jul 2015 20:17:13 +0200 Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:02:36 +0200 arch/*/io.h: Add

[tip:irq/core] spmi/pmic_arb: Consolidate chained IRQ handler install/remove

2015-07-29 Thread tip-bot for Thomas Gleixner
Commit-ID: fb68ba6d0b06cf287e9081d60f705501c52124f6 Gitweb: http://git.kernel.org/tip/fb68ba6d0b06cf287e9081d60f705501c52124f6 Author: Thomas Gleixner AuthorDate: Mon, 13 Jul 2015 20:52:24 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:10 +0200 spmi/pmic_arb:

[tip:irq/core] xtensa/irq: Use access helper irq_data_get_affinity_mask()

2015-07-29 Thread tip-bot for Jiang Liu
Commit-ID: 1559f3b8d0527e24219149c95b3de5e7b2924828 Gitweb: http://git.kernel.org/tip/1559f3b8d0527e24219149c95b3de5e7b2924828 Author: Jiang Liu AuthorDate: Mon, 13 Jul 2015 20:53:10 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:11 +0200 xtensa/irq: Use access helper

[tip:irq/core] spmi/pmic: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-29 Thread tip-bot for Jiang Liu
Commit-ID: 7fe88f3c00e7bfa44421681640fab3a9fadfef3b Gitweb: http://git.kernel.org/tip/7fe88f3c00e7bfa44421681640fab3a9fadfef3b Author: Jiang Liu AuthorDate: Mon, 13 Jul 2015 20:52:25 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:10 +0200 spmi/pmic: Use

Re: [PATCH 2/2] serial: 8250: Allow to skip autoconfig_irq() for a console

2015-07-29 Thread Taichi Kageyama
On 2015/07/28 4:44, Peter Hurley wrote: > On 07/21/2015 05:44 AM, Taichi Kageyama wrote: >> On 2015/07/21 1:36, Peter Hurley wrote: >>> On 07/16/2015 05:58 AM, Taichi Kageyama wrote: On 2015/07/15 4:29, Peter Hurley wrote: > On 07/13/2015 09:16 PM, Taichi Kageyama wrote: >> On

[tip:irq/core] sh/irq: Use access helper irq_data_get_affinity_mask()

2015-07-29 Thread tip-bot for Thomas Gleixner
Commit-ID: 8b8149df9ce99e02cb2b4655bf20d0ce459b9076 Gitweb: http://git.kernel.org/tip/8b8149df9ce99e02cb2b4655bf20d0ce459b9076 Author: Thomas Gleixner AuthorDate: Mon, 13 Jul 2015 20:51:23 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:08 +0200 sh/irq: Use access

[tip:irq/core] sh/intc: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-29 Thread tip-bot for Jiang Liu
Commit-ID: 8228a048961a93e871779c658eaa801f747e6c1d Gitweb: http://git.kernel.org/tip/8228a048961a93e871779c658eaa801f747e6c1d Author: Jiang Liu AuthorDate: Mon, 13 Jul 2015 20:51:25 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:08 +0200 sh/intc: Use

[tip:irq/core] sh/irq: Use accessor irq_data_get_node()

2015-07-29 Thread tip-bot for Jiang Liu
Commit-ID: cde5c2756832089e35b0c50417cc2858630f2005 Gitweb: http://git.kernel.org/tip/cde5c2756832089e35b0c50417cc2858630f2005 Author: Jiang Liu AuthorDate: Mon, 13 Jul 2015 20:51:20 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:06 +0200 sh/irq: Use accessor

[tip:irq/core] sh/intc: Prepare irq flow handlers for irq argument removal

2015-07-29 Thread tip-bot for Thomas Gleixner
Commit-ID: c497615c0cb62ba0b06db9580911dcf6d612bdb9 Gitweb: http://git.kernel.org/tip/c497615c0cb62ba0b06db9580911dcf6d612bdb9 Author: Thomas Gleixner AuthorDate: Mon, 13 Jul 2015 20:51:26 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:09 +0200 sh/intc: Prepare irq

[tip:irq/core] sh/irq: Use irq accessor functions instead of open coded access

2015-07-29 Thread tip-bot for Jiang Liu
Commit-ID: d0abe2f3a9a541ded2e30ef7275f057fb7f0335a Gitweb: http://git.kernel.org/tip/d0abe2f3a9a541ded2e30ef7275f057fb7f0335a Author: Jiang Liu AuthorDate: Mon, 13 Jul 2015 20:51:22 + Committer: Ingo Molnar CommitDate: Wed, 29 Jul 2015 10:08:07 +0200 sh/irq: Use irq accessor

[PATCH v2 1/4] staging: rtl8188eu: don't duplicate ieee80211 WLAN_EID_* constants

2015-07-29 Thread Jakub Sitnicki
linux/ieee80211.h already defines constants for information element IDs. Resolve discrepancies in naming and remove the duplicated definitions. Signed-off-by: Jakub Sitnicki --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 2 +- drivers/staging/rtl8188eu/include/ieee80211.h | 38

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-07-29 Thread Lee Jones
On Tue, 28 Jul 2015, Stephen Boyd wrote: > On 07/28, Viresh Kumar wrote: > > Cc'ing few people (whom I cc'd last time as well :)). > > > > On 27-07-15, 16:20, Lee Jones wrote: > > > These OPPs are used in ST's CPUFreq implementation. > > > > > > Signed-off-by: Lee Jones > > > --- > > > > > >

[tip:perf/core] perf tools: Stop reading the kallsyms data from perf.data

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4263cece22e3da94f16fbbcf71ce3807946d3ef3 Gitweb: http://git.kernel.org/tip/4263cece22e3da94f16fbbcf71ce3807946d3ef3 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 16:48:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:11 -0300

[PATCH v2 4/4] staging: rtl8188eu: don't duplicate ieee80211 WLAN_HT_CAP_SM_PS_* constants

2015-07-29 Thread Jakub Sitnicki
linux/ieee80211.h already defines constants for spatial multiplexing power save modes. Remove the duplicated definitions. Signed-off-by: Jakub Sitnicki --- drivers/staging/rtl8188eu/include/wifi.h | 7 --- 1 file changed, 7 deletions(-) diff --git

[tip:perf/core] perf tools: Add new PERF_RECORD_SWITCH event

2015-07-29 Thread tip-bot for Adrian Hunter
Commit-ID: 0286039f777ec0b6684868c34f7b16f97a069d6e Gitweb: http://git.kernel.org/tip/0286039f777ec0b6684868c34f7b16f97a069d6e Author: Adrian Hunter AuthorDate: Tue, 21 Jul 2015 12:44:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:13 -0300 perf tools:

[tip:perf/core] perf script: Don' t assume evsel position of tracking events

2015-07-29 Thread tip-bot for Adrian Hunter
Commit-ID: 06b234ec26fde8d0fce54030fe0858e218636410 Gitweb: http://git.kernel.org/tip/06b234ec26fde8d0fce54030fe0858e218636410 Author: Adrian Hunter AuthorDate: Tue, 21 Jul 2015 12:44:05 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:14 -0300 perf script:

[tip:perf/core] perf record: Add option --switch-events to select PERF_RECORD_SWITCH events

2015-07-29 Thread tip-bot for Adrian Hunter
Commit-ID: b757bb09134f479a087ece08d2cd2a6ba31c9210 Gitweb: http://git.kernel.org/tip/b757bb09134f479a087ece08d2cd2a6ba31c9210 Author: Adrian Hunter AuthorDate: Tue, 21 Jul 2015 12:44:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:13 -0300 perf record:

[tip:perf/core] perf tools: Stop copying kallsyms into the perf.data file header

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6e5259e9b5b711b325a8455feb3ed27cdd0af0da Gitweb: http://git.kernel.org/tip/6e5259e9b5b711b325a8455feb3ed27cdd0af0da Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 17:02:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:12 -0300

[tip:perf/core] perf: Add PERF_RECORD_SWITCH to indicate context switches

2015-07-29 Thread tip-bot for Adrian Hunter
Commit-ID: 45ac1403f564f411c6a383a2448688ba8dd705a4 Gitweb: http://git.kernel.org/tip/45ac1403f564f411c6a383a2448688ba8dd705a4 Author: Adrian Hunter AuthorDate: Tue, 21 Jul 2015 12:44:02 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:12 -0300 perf: Add

[tip:perf/core] perf trace: Provide libtracevent with a kernel symbol resolver

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 706c3da409dfc6964740ac503c040c4c621954fd Gitweb: http://git.kernel.org/tip/706c3da409dfc6964740ac503c040c4c621954fd Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 16:16:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:01:38 -0300

[tip:perf/core] perf symbols: Add front end cache for DSO symbol lookup

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b685ac22b436455db9c9c16b384d7aa4531cdd80 Gitweb: http://git.kernel.org/tip/b685ac22b436455db9c9c16b384d7aa4531cdd80 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 12:52:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 11:28:35 -0300

Re: [PATCH] Staging : wilc1000: Remove unnecessary parentheses

2015-07-29 Thread Dan Carpenter
The original code is fine... I probably would write it the way you suggest, but I can also see why people would write it the other way. This isn't an official CodingStyle rule so I feel like the author gets to choose. Part of the reason for CodingStyle is so that we don't run into madness of

[tip:perf/core] perf script: Switch from perf.data' s kallsyms to perf's symbol resolver

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ccb3a8294a7d346257b526702eabcb2faeb721ac Gitweb: http://git.kernel.org/tip/ccb3a8294a7d346257b526702eabcb2faeb721ac Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 16:43:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:51:07 -0300

[tip:perf/core] perf symbols: Provide libtraceevent callback to resolve kernel symbols

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c3168b0db93ad5ffeede4ecdf807dab64270f55d Gitweb: http://git.kernel.org/tip/c3168b0db93ad5ffeede4ecdf807dab64270f55d Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 16:14:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:01:37 -0300

[tip:perf/core] tools lib traceevent: Allow setting an alternative symbol resolver

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 33a2471cc9b7b1fb27ff2031dbaff701644b1a4d Gitweb: http://git.kernel.org/tip/33a2471cc9b7b1fb27ff2031dbaff701644b1a4d Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jul 2015 12:36:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 22:01:26 -0300

[tip:perf/core] perf test: Check for refcnt in thread_map test

2015-07-29 Thread tip-bot for Jiri Olsa
Commit-ID: 35318d204db83f5c1f24c281839763b271b9b323 Gitweb: http://git.kernel.org/tip/35318d204db83f5c1f24c281839763b271b9b323 Author: Jiri Olsa AuthorDate: Tue, 21 Jul 2015 14:31:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Jul 2015 14:20:32 -0300 perf test: Check

[tip:perf/core] perf symbols: Introduce map__is_(kernel,kmodule)( )

2015-07-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e6ce712634ea038ce42bbb11932b692696756882 Gitweb: http://git.kernel.org/tip/e6ce712634ea038ce42bbb11932b692696756882 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Jul 2015 11:06:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jul 2015 11:28:36 -0300

Re: [PATCH RFC 2/3] x86: Add Intel PT logger

2015-07-29 Thread Takao Indoh
On 2015/07/29 15:08, Alexander Shishkin wrote: > Takao Indoh writes: > >> This patch provides Intel PT logging feature. When system boots with a >> parameter "intel_pt_log", log buffers for Intel PT are allocated and >> logging starts, then processor flow information is written in the log >>

[tip:perf/core] perf header: Use argv style storage for cmdline feature data

2015-07-29 Thread tip-bot for Jiri Olsa
Commit-ID: 768dd3f3a6af25730ed1eec458e47a3c481bc3e5 Gitweb: http://git.kernel.org/tip/768dd3f3a6af25730ed1eec458e47a3c481bc3e5 Author: Jiri Olsa AuthorDate: Tue, 21 Jul 2015 14:31:31 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Jul 2015 14:34:08 -0300 perf header: Use

[tip:perf/core] perf evlist: Tolerate NULL maps in propagate_maps

2015-07-29 Thread tip-bot for Jiri Olsa
Commit-ID: 0e5ffb317d7f861c309b0ab679ed2f59e9f72adf Gitweb: http://git.kernel.org/tip/0e5ffb317d7f861c309b0ab679ed2f59e9f72adf Author: Jiri Olsa AuthorDate: Tue, 21 Jul 2015 14:31:29 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Jul 2015 14:34:07 -0300 perf evlist:

[tip:perf/core] perf evlist: Use bool instead of target argument in propagate_maps()

2015-07-29 Thread tip-bot for Jiri Olsa
Commit-ID: 52361ff093c807464f5a32a587a370b360bd399a Gitweb: http://git.kernel.org/tip/52361ff093c807464f5a32a587a370b360bd399a Author: Jiri Olsa AuthorDate: Tue, 21 Jul 2015 14:31:28 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Jul 2015 14:34:07 -0300 perf evlist: Use

[tip:perf/core] perf evlist: Force perf_evlist__set_maps to propagate maps through events

2015-07-29 Thread tip-bot for Jiri Olsa
Commit-ID: 3de5cfb04435b82aa427d0285df996ba73d2f426 Gitweb: http://git.kernel.org/tip/3de5cfb04435b82aa427d0285df996ba73d2f426 Author: Jiri Olsa AuthorDate: Tue, 21 Jul 2015 14:31:30 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Jul 2015 14:25:12 -0300 perf evlist:

Re: [PATCH v3] DocBook: Add initial documentation for IIO

2015-07-29 Thread Crt Mori
On 28 July 2015 at 16:37, Daniel Baluta wrote: > This is intended to help developers faster find their way > inside the Industrial I/O core and reduce time spent on IIO > drivers development. > > Signed-off-by: Daniel Baluta > --- > Documentation/DocBook/Makefile | 2 +- >

Re: [PATCH v5 2/8] firmware: add support for ARM System Control and Power Interface(SCPI) protocol

2015-07-29 Thread Jassi Brar
On Thu, Jul 23, 2015 at 4:40 PM, Sudeep Holla wrote: ... > +static int scpi_probe(struct platform_device *pdev) > +{ > + int count, idx, ret; > + struct resource res; > + struct scpi_chan *scpi_chan; > + struct device *dev = >dev; > + struct device_node *np =

Re: [PATCH v2 5/5] iio: Support triggered events

2015-07-29 Thread Paul Bolle
On wo, 2015-07-29 at 00:58 -0700, Christoph Hellwig wrote: > Btw, who came up with that meaning? The default Linux license is GPLv2 > only and unless othewise specified that's what we should get by default. I cobbled together a short history of these license idents in

Re: [PATCH v2 5/5] iio: Support triggered events

2015-07-29 Thread Christoph Hellwig
On Wed, Jul 29, 2015 at 09:56:50AM +0200, Paul Bolle wrote: > > > +MODULE_LICENSE("GPL"); > > And, according to include/linux/module.h, this states the license is GPL > v2 or later. So either the comment or the ident used in the > Btw, who came up with that meaning? The default Linux license is

[PATCH] memory_failure: remove redundant check for the PG_HWPoison flag of 'hpage'

2015-07-29 Thread Wang Xiaoqiang
Hi, I find a little problem in the memory_failure function in mm/memory-failure.c . Please check it. memory_failure: remove redundant check for the PG_HWPoison flag of `hpage'. Since we have check the PG_HWPoison flag by `PageHWPoison' before, so the later check by `TestSetPageHWPoison' must

Re: [PATCH v2 5/5] iio: Support triggered events

2015-07-29 Thread Paul Bolle
Just a nit, I'm afraid. On di, 2015-07-28 at 02:07 +0300, Vladimir Barinov wrote: > --- /dev/null > +++ b/drivers/iio/industrialio-triggered-event.c > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License version 2 as

[PATCH v3] powerpc/dts: Add and fix 1588 timer node for eTSEC

2015-07-29 Thread Yangbo Lu
Add 1588 timer node in files: arch/powerpc/boot/dts/bsc9131rdb.dtsi arch/powerpc/boot/dts/bsc9132qds.dtsi arch/powerpc/boot/dts/p1010rdb.dtsi arch/powerpc/boot/dts/p1020rdb-pd.dts arch/powerpc/boot/dts/p1021rdb-pc.dtsi arch/powerpc/boot/dts/p1022ds.dtsi arch/powerpc/boot/dts/p1025twr.dtsi For

Re: [PATCH v13 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
On Wed, Jul 29, 2015 at 3:21 PM, Daniel Vetter wrote: > On Wed, Jul 29, 2015 at 02:54:46PM +0800, Jianwei Wang wrote: >> Changed in v13 >> -set regmap_config.cache_type to REGCACHE_RBTREE >> -add call drm_modeset_lock_all before drm_mode_config_reset > > This was a bug in one of my recently

linux-next: Tree for Jul 29

2015-07-29 Thread Stephen Rothwell
Hi all, Changes since 20150728: The mfd tree gained a conflict against the pm tree. The akpm-current tree gained a build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 4572 4631 files changed, 220996 insertions(+), 110218 deletions(-)

Re: linux-next: manual merge of the mfd tree with the pm tree

2015-07-29 Thread Lee Jones
> Hi Lee, Morning Stephen. > Today's linux-next merge of the mfd tree got a conflict in: > > drivers/acpi/scan.c > > between commit: > > 68c6b148daa6 ("ACPI / scan: Move device matching code to bus.c") > > from the pm tree and commit: > > 712e960f0ee9 ("ACPI / PM: Attach ACPI power

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Tue, 28 Jul 2015, Aaron Sierra wrote: > > > > > @@ -933,7 +956,7 @@ gpe0_done: > > > > > lpc_chipset_info[priv->chipset].use_gpio = ret; > > > > > lpc_ich_enable_gpio_space(dev); > > > > > > > > > > - lpc_ich_finalize_cell(dev, _ich_cells[LPC_GPIO]); > > > > > +

Re: [PATCH v7 4/6] block: loop: prepare for supporing direct IO

2015-07-29 Thread Ming Lei
On Mon, Jul 27, 2015 at 1:33 PM, Christoph Hellwig wrote: > On Mon, Jul 27, 2015 at 05:53:33AM -0400, Ming Lei wrote: >> Because size has to be 4k aligned too. > > Yes. But again I don't see any reason to limit us to a hardcoded 512 > byte block size here, especially considering the patches to

Re: [PATCH] net: switchdev: restrict vid range abstraction

2015-07-29 Thread Scott Feldman
On Sun, Jul 26, 2015 at 4:45 PM, Vivien Didelot wrote: > This patch replaces the vid_begin and vid_end members of the > switchdev_obj_vlan structure for a single vid member. This way, the VID > range abstraction is restricted to switchdev, not exposed to drivers. > > The main benefice to do so is

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Tue, 28 Jul 2015, Guenter Roeck wrote: > On Tue, Jul 28, 2015 at 06:32:16PM +0100, Lee Jones wrote: > > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > > > On 07/28/2015 08:28 AM, Lee Jones wrote: > > > >On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > > > > > >>On 07/28/2015 08:00 AM, Lee

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Jean Delvare
Hi Matt, On Mon, 27 Jul 2015 14:38:08 +0100, Matt Fleming wrote: > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index 241fafde42cb..5336fe2ff689 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -797,7 +797,7 @@ config ITCO_WDT > tristate

Re: [PATCH v3 6/6] dts: mt8173: Add iommu/smi nodes for mt8173

2015-07-29 Thread Yong Wu
On Thu, 2015-07-23 at 22:40 +0800, Daniel Kurtz wrote: > Hi Yong, > > On Thu, Jul 16, 2015 at 5:04 PM, Yong Wu wrote: > > > > This patch add the iommu/larbs nodes for mt8173 > > To what tree does this apply? > Please rebase these patches (especially this one) on an Matthias' > current

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Tue, 28 Jul 2015, Jean Delvare wrote: > Le Tuesday 28 July 2015 à 10:46 +0100, Lee Jones a écrit : > > On Mon, 27 Jul 2015, Matt Fleming wrote: > > > + strcpy(pdata->name, info->name); > > > > strncpy() is safer. > > And strlcpy() is even better. +1, thanks for that. -- Lee Jones Linaro

Re: [PATCH net v2 2/2] r8152: reset device when tx timeout

2015-07-29 Thread Oliver Neukum
On Wed, 2015-07-29 at 02:06 +, Hayes Wang wrote: > Oliver Neukum [mailto:oneu...@suse.com] > > Sent: Tuesday, July 28, 2015 8:59 PM > [...] > > > > > static void rtl8152_tx_timeout(struct net_device *netdev) { > > > > > struct r8152 *tp = netdev_priv(netdev); > > > > > - int

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-07-29 Thread Vlastimil Babka
On 07/28/2015 03:21 PM, Peter Zijlstra wrote: > +/* > -- */ > + > +/* > + * Two type wrappers around static_key, such that we can use compile time > + * type differentiation to emit the right code. > + * > + * All the below

[GIT PULL] s390 patches for 4.2-rc5

2015-07-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes: - Fix a crash on pre-z10 hardware due to cache-info - Fix an issue with classic BPF programs in the eBPF JIT

Re: [PATCH v13 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Daniel Vetter
On Wed, Jul 29, 2015 at 02:54:46PM +0800, Jianwei Wang wrote: > Changed in v13 > -set regmap_config.cache_type to REGCACHE_RBTREE > -add call drm_modeset_lock_all before drm_mode_config_reset This was a bug in one of my recently merged patches, please don't call drm_modeset_lock_all before

Re: [PATCH v5 01/10] clk: mediatek: Removed unused dpi_ck clock from MT8173

2015-07-29 Thread James Liao
Hi Stephen, Could you help to apply this patch into 4.2? Best regards, James On Wed, 2015-07-29 at 09:05 +0200, Heiko Stübner wrote: > Am Mittwoch, 29. Juli 2015, 14:52:25 schrieb James Liao: > > The dpi_ck clock can be removed because it not actually used > > in topckgen and subsystems. > >

Re: [PATCH v4] clk: at91: add generated clock driver

2015-07-29 Thread Boris Brezillon
Hi Nicolas, On Tue, 28 Jul 2015 18:08:05 +0200 Nicolas Ferre wrote: > +static void clk_generated_startup(struct clk_generated *gck) > +{ > + struct at91_pmc *pmc = gck->pmc; > + u32 tmp; > + > + pmc_lock(pmc); > + pmc_write(pmc, AT91_PMC_PCR, (gck->id & AT91_PMC_PCR_PID_MASK));

Re: [PATCH 4/8] misc: eeprom: clean up eeprom_read()

2015-07-29 Thread Jean Delvare
On Mon, 27 Jul 2015 00:18:49 +0300, Vladimir Zapolskiy wrote: > The change removes redundant sysfs binary file boundary check, since > this task is already done on caller side in fs/sysfs/file.c > > Signed-off-by: Vladimir Zapolskiy > Cc: Jean Delvare > --- > drivers/misc/eeprom/eeprom.c | 5

Re: [PATCH] packet: tpacket_snd(): fix signed/unsigned comparison

2015-07-29 Thread David Miller
From: Alexander Drozdov Date: Tue, 28 Jul 2015 13:57:01 +0300 > tpacket_fill_skb() can return a negative value (-errno) which > is stored in tp_len variable. In that case the following > condition will be (but shouldn't be) true: > > tp_len > dev->mtu + dev->hard_header_len > > as dev->mtu and

Re: [PATCH net-next 0/4] dwc_eth_qos: Add support for Synopsys DWC Ethernet QoS

2015-07-29 Thread David Miller
From: Lars Persson Date: Tue, 28 Jul 2015 12:01:46 +0200 > This is a driver supporting version 4.10a of the Synopsys DWC Ethernet QoS > gigabit ethernet controller. The IP has changed significantly compared to the > dwmac1000 so a separate driver is justified. > > The IP is highly configurable

[PATCH] Documentation: sysfs-bus-usb: s/CONFIG_PM_RUNTIME/CONFIG_PM/

2015-07-29 Thread Valentin Rothberg
PM_RUNTIME has been replaced with PM by commit 464ed18ebdb6 ("PM: Eliminate CONFIG_PM_RUNTIME") hence substitute the reference on PM_RUNTIME with PM and re-arrange the text to 80 column break. Signed-off-by: Valentin Rothberg --- Documentation/ABI/testing/sysfs-bus-usb | 12 ++-- 1 file

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

2015-07-29 Thread Guenter Roeck
On 07/29/2015 12:03 AM, Stephen Rothwell wrote: Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this: kernel/watchdog.c:654:6: error: redefinition of 'watchdog_nmi_enable_all' void watchdog_nmi_enable_all(void) {} ^ In file

Re: [PATCH v5 01/10] clk: mediatek: Removed unused dpi_ck clock from MT8173

2015-07-29 Thread Heiko Stübner
Am Mittwoch, 29. Juli 2015, 14:52:25 schrieb James Liao: > The dpi_ck clock can be removed because it not actually used > in topckgen and subsystems. > > Signed-off-by: James Liao >From our past discussions this change looks about right, and should still become _part of 4.2_, to not have the

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

2015-07-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this: kernel/watchdog.c:654:6: error: redefinition of 'watchdog_nmi_enable_all' void watchdog_nmi_enable_all(void) {} ^ In file included from kernel/watchdog.c:16:0:

[PATCH v13 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in programming languages.

[PATCH v13 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-29 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v13 4/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-29 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c9dd5f..66746e4 100644 ---

[PATCH v13 5/6] arm:dts:ls1021a: Add DCU dts node

2015-07-29 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

[PATCH v13 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-29 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++

[PATCH v13 6/6] arm:dts:ls1021a: Add a TFT LCD panel dts node

2015-07-29 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-twr.dts

[PATCH v13 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
Changed in v13 -set regmap_config.cache_type to REGCACHE_RBTREE -add call drm_modeset_lock_all before drm_mode_config_reset -adjust patch order for creating pull request Changed in v12 -Add one patch for MAINTAINER entry for drm/layerscape Adviced by Daniel Vetter -Add #include Changed in V11

[PATCH 1/1] Changed some lines according to coding style in drivers/tty/serial/jsm

2015-07-29 Thread Jose Manuel Abuin Mosquera
Changed some lines according to coding style in drivers/tty/serial/jsm. Some lines passing 80 characters are left Signed-off-by: Jose Manuel Abuin Mosquera --- drivers/tty/serial/jsm/jsm_tty.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff

[PATCH v5 00/10] Fixes and new clocks support for Mediatek MT8173

2015-07-29 Thread James Liao
This patchset is based on 4.2-rc1 and [1], and contains minor fixes and subsystem clocks support for Mediatek MT8173. The previous reviews can be found in [2]. The most different from previous patchset are adding separated patches for minor coding fixes, and refining USB clock implementation by

[PATCH v5 04/10] clk: mediatek: Add fixed clocks support for Mediatek SoC.

2015-07-29 Thread James Liao
This patch adds fixed clocks support by using CCF fixed-rate clock implementation. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mtk.c | 23 +++ drivers/clk/mediatek/clk-mtk.h | 17 + 2 files changed, 40 insertions(+) diff --git

[PATCH v5 03/10] clk: mediatek: Add __initdata and __init for data and functions

2015-07-29 Thread James Liao
Add __init for clock registration functions, and add __initdata for mtk_gate_regs initial structures. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-gate.c | 2 +- drivers/clk/mediatek/clk-mt8173.c | 6 +++--- drivers/clk/mediatek/clk-mtk.c| 13 +++-- 3 files changed, 11

Re: [PATCH -mm v2] sound: convert to parse_integer()

2015-07-29 Thread Takashi Iwai
On Mon, 27 Jul 2015 23:03:01 +0200, Alexey Dobriyan wrote: > > Convert away from deprecated simple_strto*() interfaces to > parse_integer() and kstrto*(). > > Signed-off-by: Alexey Dobriyan The error handling looks good to me. In addition to Andrew's suggestion and the removal of word

[PATCH v5 06/10] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-07-29 Thread James Liao
From: Sascha Hauer On the MT8173 the clocks are provided by different units. To enable the critical clocks we must be sure that all parent clocks are already registered, otherwise the parents of the critical clocks end up being unused and get disabled later. On MT8173, for example, it is the

Re: [PATCH 4/4] Input: Remove the max77843 haptic driver

2015-07-29 Thread Krzysztof Kozlowski
2015-07-29 15:31 GMT+09:00 Krzysztof Kozlowski : > The max77693 haptic driver supports Maxim 77843 device so remove the > max77843 driver. > > Signed-off-by: Krzysztof Kozlowski Crap, wrong signed-off-by. I'll respin. Best regards, Krzysztof -- To unsubscribe from this list: send the line

[PATCH v5 02/10] clk: mediatek: Remove unused code from MT8173.

2015-07-29 Thread James Liao
Remove unused header files from MT8173, and remove unused keywords from function declaration. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 2 -- drivers/clk/mediatek/clk-mtk.h| 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v5 10/10] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-07-29 Thread James Liao
This patch adds device nodes providing subsystem clocks on MT8173, includes mmsys, imgsys, vdecsys, vencsys and vencltsys. Signed-off-by: James Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 37 1 file changed, 37 insertions(+) diff --git

[PATCH v5 07/10] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-07-29 Thread James Liao
This adds the binding documentation for the mmsys, imgsys, vdecsys, vencsys and vencltsys controllers found on Mediatek SoCs. Signed-off-by: James Liao --- .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++ .../bindings/arm/mediatek/mediatek,mmsys.txt | 22

[PATCH v5 05/10] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-07-29 Thread James Liao
Remove the dependency from clk_null, and give all root clocks a typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. dpi_ck was removed due to no clock reference to it. Replace parent clock of infra_cpum with cpum_ck, which is an external clock and can be defined in the device

Re: [PATCH 1/4] auxdisplay: ks0108: fix refcount

2015-07-29 Thread Sudip Mukherjee
On Mon, Jul 20, 2015 at 05:27:21PM +0530, Sudip Mukherjee wrote: > parport_find_base() will implicitly do parport_get_port() which > increases the refcount. Then parport_register_device() will again > increment the refcount. But while unloading the module we are only > doing

[PATCH] Staging : wilc1000: Remove braces for single statement blocks

2015-07-29 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v5 08/10] clk: mediatek: Add subsystem clocks of MT8173

2015-07-29 Thread James Liao
Most multimedia subsystem clocks will be accessed by multiple drivers, so it's a better way to manage these clocks in CCF. This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT subsystems. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 267

[PATCH v5 01/10] clk: mediatek: Removed unused dpi_ck clock from MT8173

2015-07-29 Thread James Liao
The dpi_ck clock can be removed because it not actually used in topckgen and subsystems. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 1 - include/dt-bindings/clock/mt8173-clk.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/clk/mediatek/clk-mt8173.c

[PATCH v5 09/10] clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS

2015-07-29 Thread James Liao
Add REF2USB_TX clock support into MT8173 APMIXEDSYS. This clock is needed by USB 3.0. Signed-off-by: James Liao --- drivers/clk/mediatek/Makefile | 2 +- drivers/clk/mediatek/clk-apmixed.c | 107 + drivers/clk/mediatek/clk-mt8173.c | 47

Re: [PATCH v2 08/25] arch: introduce memremap()

2015-07-29 Thread Christoph Hellwig
On Mon, Jul 27, 2015 at 04:26:03PM -0700, Dan Williams wrote: > Oh, because all we have at this point is ioremap_cache() which > silently falls back. It's not until the introduction of > arch_memremp() where we update the arch code to break that behavior. Ok, makes sense. Might be worth to

Re: [PATCH -mm v2] sound: convert to parse_integer()

2015-07-29 Thread Takashi Iwai
On Tue, 28 Jul 2015 23:06:15 +0200, Andrew Morton wrote: > > On Tue, 28 Jul 2015 00:03:01 +0300 Alexey Dobriyan > wrote: > > > Convert away from deprecated simple_strto*() interfaces to > > parse_integer() and kstrto*(). > > The patch does a lot more than this! It also adds lots of handling

Re: [PATCH -v2 0/8] jump_label: Another (better) static_key interface

2015-07-29 Thread Heiko Carstens
On Tue, Jul 28, 2015 at 03:20:55PM +0200, Peter Zijlstra wrote: > Hi all, > > After yet another bug because of the weirdness of the static key interface, > here an attempt at providing a better one. > > This series is tested on x86_64 (by me) and s390x (heiko). Works nice. You may include the

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Jean Delvare
Le Tuesday 28 July 2015 à 10:46 +0100, Lee Jones a écrit : > On Mon, 27 Jul 2015, Matt Fleming wrote: > > + strcpy(pdata->name, info->name); > > strncpy() is safer. And strlcpy() is even better. -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 3/5] iTCO_wdt: Add support for TCO on Intel Sunrisepoint

2015-07-29 Thread Jean Delvare
Hi Matt, Le Monday 27 July 2015 à 14:38 +0100, Matt Fleming a écrit : > From: Matt Fleming > > The revision of the watchdog hardware in Sunrisepoint necessitates a new > "version" inside the TCO watchdog driver because some of the register > layouts have changed. > > Cc: Wim Van Sebroeck >

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-07-29 Thread Heiko Carstens
On Tue, Jul 28, 2015 at 03:21:01PM +0200, Peter Zijlstra wrote: > There are various problems and short-comings with the current > static_key interface: > > - static_key_{true,false}() read like a branch depending on the key >value, instead of the actual likely/unlikely branch depending on >

Re: [RFC 1/4] mm, compaction: introduce kcompactd

2015-07-29 Thread Vlastimil Babka
On 07/29/2015 02:33 AM, David Rientjes wrote: > On Fri, 24 Jul 2015, Vlastimil Babka wrote: > >> > Two issues I want to bring up: >> > >> > (1) do non-thp configs benefit from periodic compaction? >> > >> > In my experience, no, but perhaps there are other use cases where >> >

<    4   5   6   7   8   9   10   11   12   13   >