[PATCH v14 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 ++ drivers/gpu/drm/panel/panel-sim

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

2015-07-29 Thread Dave Chinner
On Wed, Jul 29, 2015 at 03:33:52AM -0400, Ming Lei wrote: > 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

[PATCH v14 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 --- a/MAINTA

[PATCH v14 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. Instead

[PATCH v14 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 b/Documen

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

2015-07-29 Thread Sudeep Holla
On 29/07/15 09:05, Jassi Brar wrote: 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 = &pdev->dev; +

[PATCH v14 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 b/arch/arm/boot/

[PATCH v14 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 v14 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
Changed in v14 -Remove drm_modeset_lock_all before drm_mode_config_reset 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 f

Re: [PATCH 3/6] pci:host: Add Altera PCIe host controller driver

2015-07-29 Thread Paul Bolle
On di, 2015-07-28 at 18:45 +0800, Ley Foon Tan wrote: > --- a/drivers/pci/host/Kconfig > +++ b/drivers/pci/host/Kconfig > +config PCIE_ALTERA > + bool "Altera PCIe controller" > + depends on ARCH_SOCFPGA > + depends on OF > + select PCI_MSI_IRQ_DOMAIN if PCI_MSI > + help > +

Re: [PATCH v2] mm: show proportional swap share of the mapping

2015-07-29 Thread Jerome Marchand
On 06/15/2015 03:06 PM, Minchan Kim wrote: > We want to know per-process workingset size for smart memory management > on userland and we use swap(ex, zram) heavily to maximize memory efficiency > so workingset includes swap as well as RSS. > > On such system, if there are lots of shared anonymous

Re: [PATCH 1/2] mailbox: switch to hrtimer for tx_complete polling

2015-07-29 Thread Jassi Brar
On Mon, Jul 27, 2015 at 3:18 PM, Sudeep Holla wrote: > On 27/07/15 04:26, Jassi Brar wrote: >> > we might end-up waiting > for atleast a jiffy even though the response for that message from the > remote is received via interrupt and processed in relatively smaller > time granu

Re: [PATCH] soc: versatile: Use devm_kzalloc

2015-07-29 Thread Linus Walleij
On Tue, Jul 28, 2015 at 4:17 PM, Vaishali Thakkar wrote: > On 28 Jul 2015 17:35, "Linus Walleij" wrote: >> Reviewed-by: Linus Walleij >> Please get this through ARM SoC or tell me if I should handle it. > > So, do you want me to send this in ARM SoC mailing list? linux-arm-ker...@lists.infrade

Re: [PATCH] x86/mm, efi: Check for valid image type

2015-07-29 Thread Sebastian Andrzej Siewior
On 07/29/2015 02:10 AM, j...@joshtriplett.org wrote: >> On Wed, 22 Jul, at 05:32:44PM, Sebastian Andrzej Siewior wrote: >>> now and then. The data behind that pointer changes on each boot because >>> nobody preserves the content across kexec. > > Right. The kernel copies this image precisely beca

Re: [RFC/BUG] perf tools: static build fails

2015-07-29 Thread Jiri Olsa
On Tue, Jul 28, 2015 at 06:21:38PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 29, 2015 at 12:14:41AM +0300, Adrian Hunter escreveu: > > On 28/07/2015 7:11 p.m., Arnaldo Carvalho de Melo wrote: > > >Em Tue, Jul 28, 2015 at 05:13:47PM +0200, Jiri Olsa escreveu: > > > >>it's failing on perf

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-07-29 Thread Sivakumar Thulasimani
why not detect reverse in intel_dp_detect/intel_hpd_pulse ? that way you can identify both lane count and reversal state without touching anything in the link training code. i am yet to upstream my changes for CHT that i can share if required that does the same in intel_dp_detect without touchi

Re: [PATCH 3/5] Add calls to translate Always Running Timer (ART) to system time

2015-07-29 Thread Paul Bolle
On ma, 2015-07-27 at 17:46 -0700, Christopher Hall wrote: > --- /dev/null > +++ b/arch/x86/include/asm/art.h > +#ifndef CONFIG_X86_ART > + > +static inline int setup_art(void) > +{ > + return 0; > +} > + > +static inline bool has_art(void) > +{ > + return false; > +} > + > +static inline i

Re: [PATCH 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-07-29 Thread Andrea Scian
Dear Han Xu, Il 28/07/2015 19:50, Han Xu ha scritto: i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to gf/2 and if bitflip detected, GPMI driver will correct the data to all 0xFF. Th

[PATCH v2 0/4] staging: rtl8188eu: clean up duplicated WLAN_* constants

2015-07-29 Thread Jakub Sitnicki
This short series was initially a patch[1] that had to be rebased and split (patches 1 & 2). Since then it has been extended to clean up other WLAN_* constants duplicated in rtl8188eu driver's headers (patches 3 & 4). [1] http://lkml.kernel.org/g/1437750758-17120-1-git-send-email-jsitni...@gmail

[PATCH v2 2/4] staging: rtl8188eu: wrap a long if condition and remove extra parenthesis

2015-07-29 Thread Jakub Sitnicki
Signed-off-by: Jakub Sitnicki --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index 554c04d..844ed6f 100644 --- a/drivers/stagi

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: > [...] > > > T

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

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

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

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

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

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

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

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

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 2015/07/

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

[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 irq_desc_get_xxx(

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

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

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

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

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

[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 a/drivers/staging/rtl8188eu/include/wifi.h

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

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

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

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

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

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 chan

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

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

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

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

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

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

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

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 +- > Documentation/DocBoo

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 = &pdev->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 https://lkml.kernel.org/r/14

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 ret

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 p

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

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 merged

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 dom

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, &lpc_ich_cells[LPC_GPIO]); > > > > > + lpc_ic

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 fi

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 Jone

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 "In

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 v4.2-next/

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 ST

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 i;

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 co

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

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 config_

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 a

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

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: include/linux/

[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. Instead

[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 b/Documen

[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 --- a/MAINTA

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

[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 ++ drivers/gpu/drm/panel/panel-sim

[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

<    4   5   6   7   8   9