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

2015-07-28 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 re

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

2015-07-28 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 a/drivers/clk/mediate

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

2015-07-28 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-28 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 terminat

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

2015-07-28 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 CLK

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

2015-07-28 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 "unsub

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

2015-07-28 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 a/drivers/clk/mediatek/cl

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

2015-07-28 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 a/arch/arm64/boot/

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

2015-07-28 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-28 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 t

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

2015-07-28 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 parport_unregister_devi

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

2015-07-28 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 a/drivers/staging/wilc1000/core

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

2015-07-28 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-28 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 b/dr

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

2015-07-28 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-28 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 docum

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

2015-07-28 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 o

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

2015-07-28 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 s3

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

2015-07-28 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 linu

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

2015-07-28 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 > Sig

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

2015-07-28 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-28 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 >> > this

Re: [PATCH v2 2/5] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2015-07-28 Thread Vignesh R
On 07/23/2015 09:05 PM, R, Vignesh wrote: > > > On 7/16/2015 9:01 PM, R, Vignesh wrote: >> Hi, >> >> On 07/16/2015 03:24 AM, Paul Walmsley wrote: >>> Hi, >>> >>> some comments. >>> >>> On Wed, 3 Jun 2015, Vignesh R wrote: >>> Add hwmod entries for the PWMSS on DRA7. Set l4_root_c

Re: [PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-28 Thread Yong Wu
On Mon, 2015-07-27 at 14:23 +0100, Robin Murphy wrote: > On 16/07/15 10:04, Yong Wu wrote: > > This patch adds support for mediatek m4u (MultiMedia Memory Management > > Unit). > > > > Signed-off-by: Yong Wu > [...] > > +static void mtk_iommu_flush_pgtable(void *ptr, size_t size, void *cookie) > >

[PATCH 1/4] Input: max77693: Remove a read-only pwm_divisor field

2015-07-28 Thread Krzysztof Kozlowski
Storing a predefined PWM divisor in state container structure is meaningless. The field, after initialization, is only read so this only obfuscates the code. Remove the field and use directly enum value. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/max77693-haptic.c | 4 +--- 1 file

[PATCH 3/4] Input: max77693: Add support for Maxim 77843

2015-07-28 Thread Krzysztof Kozlowski
The Maxim 77843 haptic driver differs from 77693 by: 1. Setting the bias. 2. Different configuration register. 3. Not enabling the low-sys DAC. 4. Using same regmap for PMIC and haptic blocks. Incorporate all differences into max77693 haptic driver so both devices can be supported. Signed-off-by:

[PATCH 2/4] Input: max77693: Prepare for adding support for Maxim 77843

2015-07-28 Thread Krzysztof Kozlowski
Prepare the driver for supporting two devices: Maxim 77693 and 77843: 1. Add table of device ids and store current device type for later usage. 2. Differentiate the haptic device configuration. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/max77693-haptic.c | 41 ++

[PATCH 0/4] Input: Merge max77843 haptic driver into max77693

2015-07-28 Thread Krzysztof Kozlowski
Hi, Description === The Maxim 77843 haptic driver differs from 77693 by: 1. Setting the bias. 2. Different configuration register. 3. Not enabling the low-sys DAC. 4. Using same regmap for PMIC and haptic blocks. The patchset merges max77843 driver into the max77693. Dependencies =

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

2015-07-28 Thread Krzysztof Kozlowski
The max77693 haptic driver supports Maxim 77843 device so remove the max77843 driver. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/Kconfig | 12 -- drivers/input/misc/Makefile | 1 - drivers/input/misc/max77843-haptic.c | 359 ---

Re: [RFCv2 1/3] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-07-28 Thread Moritz Fischer
Hi Sören, On Tue, Jul 28, 2015 at 3:53 PM, Sören Brinkmann wrote: > On Mon, 2015-07-27 at 09:52PM -0700, Moritz Fischer wrote: >> Hi Sören, >> >> thanks for your feedback. >> >> On Mon, Jul 27, 2015 at 7:58 PM, Sören Brinkmann >> wrote: >> > Hi Moritz, >> > >> > On Fri, 2015-07-24 at 05:21PM -07

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Tomeu Vizoso
On 28 July 2015 at 17:31, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso > wrote: >> On 28 July 2015 at 15:39, Rob Herring wrote: >>> On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso >>> wrote: From an arbitrary node in the tree, find the enclosing node that correspon

[PATCH] drivers/rtc/rtc-pl031.c: fix typo for author email

2015-07-28 Thread Leo Yan
The email address missed character ">", so add it. Signed-off-by: Leo Yan --- drivers/rtc/rtc-pl031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c index 99181fff..41dcb7d 100644 --- a/drivers/rtc/rtc-pl031.c +++ b/drivers/r

[PATCH] memstick: fix Kconfig typo

2015-07-28 Thread AceLan Kao
The module name of the Realtek USB Memstick Card Interface Driver should be rtsx_usb_ms, instead of rts5139_ms. Signed-off-by: AceLan Kao --- drivers/memstick/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memstick/host/Kconfig b/drivers/memstick/host/Kc

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

2015-07-28 Thread Alexander Shishkin
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 > buffer by hardware like flight recorder. This is very helpf

[PATCH] drivers/rtc/rtc-pl031.c: reset registers in init flow

2015-07-28 Thread Leo Yan
When use rtc-pl031 for suspend test on Hisilicon's SoC Hi6220, Usually the data register (DR) will read back as value zero. So the suspend test code will set the match register (MR) for 10 seconds' timeout; But there have chance later will read back some random values from DR register; So finally m

Re: [PATCH RFC 0/3] x86: Intel Processor Trace Logger

2015-07-28 Thread Takao Indoh
On 2015/07/29 14:44, Alexander Shishkin wrote: > Takao Indoh writes: > >> Hi all, >> >> This patch creates log buffer for Intel PT and enable logging at boot >> time. When kernel panic occurs, we can get this log buffer from >> crashdump file by kdump, and reconstruct the flow that led to the pan

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

2015-07-28 Thread 河合英宏 / KAWAI,HIDEHIRO
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: [...] > > The check could be also relaxed a bit and nmi_panic would > > return onl

Re: [PATCH] input: twl4030-vibra: Fix ERROR: Bad of_node_put() warning

2015-07-28 Thread Dr. H. Nikolaus Schaller
Hi all, Am 29.07.2015 um 05:13 schrieb Rob Herring : > On Tue, Jul 28, 2015 at 3:23 PM, Belisko Marek > wrote: >> Hi Dmitry, >> >> On Thu, Jul 23, 2015 at 10:53 PM, Dmitry Torokhov >> wrote: >>> On Thu, Jul 23, 2015 at 10:38:34PM +0200, Marek Belisko wrote: Fix following: [8.862

Re: [PATCH v2] cpufreq: Avoid attempts to create duplicate symbolic links

2015-07-28 Thread Viresh Kumar
On 29-07-15, 03:38, Rafael J. Wysocki wrote: > The rule is supposed to be "all of the present CPUs which do not own > a policy should point to one, unless it doesn't exist". The right > approach is then to create links from them to a policy object as soon > as we create one for them. Waiting for

Re: [PATCH RFC 0/3] x86: Intel Processor Trace Logger

2015-07-28 Thread Alexander Shishkin
Takao Indoh writes: > Hi all, > > This patch creates log buffer for Intel PT and enable logging at boot > time. When kernel panic occurs, we can get this log buffer from > crashdump file by kdump, and reconstruct the flow that led to the panic. Good to see this work going forward! > Takao Indoh

Re: [PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-28 Thread Yong Wu
On Mon, 2015-07-27 at 16:49 +0100, Robin Murphy wrote: > On 27/07/15 16:31, Russell King - ARM Linux wrote: > > On Mon, Jul 27, 2015 at 02:23:26PM +0100, Robin Murphy wrote: > >> On 16/07/15 10:04, Yong Wu wrote: > >>> This patch adds support for mediatek m4u (MultiMedia Memory Management > >>> Uni

[PATCH 1/8] x86/vm86: Move vm86 fields out of thread_struct

2015-07-28 Thread Brian Gerst
Allocate a separate structure for the vm86 fields. Signed-off-by: Brian Gerst --- arch/x86/include/asm/processor.h | 11 +++--- arch/x86/include/asm/vm86.h | 19 - arch/x86/kernel/process.c| 3 +++ arch/x86/kernel/vm86_32.c| 46 +++---

[PATCH 3/8] x86/vm86: Eliminate kernel_vm86_struct

2015-07-28 Thread Brian Gerst
Now there is no vm86-specific data left on the kernel stack while in userspace, except for the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 25 +--- arch/x86/kernel/vm86_32.c | 95 +++-- 2 files changed, 42 insertions

[PATCH 5/8] x86/vm86: Add a separate config option for hardware IRQ handling

2015-07-28 Thread Brian Gerst
Allow disabling hardware interrupt support for vm86. Signed-off-by: Brian Gerst --- arch/x86/Kconfig | 8 arch/x86/include/asm/irq_vectors.h | 10 -- arch/x86/include/asm/vm86.h| 20 ++-- arch/x86/kernel/vm86_32.c | 12

[PATCH 7/8] x86/vm86: Rename vm86->vm86_info to user_vm86

2015-07-28 Thread Brian Gerst
Make it clearer that this is the pointer to the userspace vm86 state area. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 2 +- arch/x86/kernel/vm86_32.c | 70 +++-- 2 files changed, 37 insertions(+), 35 deletions(-) diff --git a/arch/x86

[PATCH 4/8] x86/vm86: Use the normal pt_regs area for vm86

2015-07-28 Thread Brian Gerst
Change to use the normal pt_regs area to enter and exit vm86 mode. This is done by increasing the padding at the top of the stack to make room for the extra vm86 segment slots in the IRET frame. It then saves the 32-bit regs in the off-stack vm86 data, and copies in the vm86 regs. Exiting back t

[PATCH 2/8] x86/vm86: Move fields from kernel_vm86_struct

2015-07-28 Thread Brian Gerst
Move the non-regs fields to the off-stack data. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 16 arch/x86/kernel/vm86_32.c | 42 ++ 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/arch/x86/include/asm/vm8

[PATCH 8/8] x86/vm86: Rename vm86->v86flags and v86mask

2015-07-28 Thread Brian Gerst
Rename v86flags to veflags, and v86mask to veflags_mask. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 4 ++-- arch/x86/kernel/vm86_32.c | 20 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/x86/include/asm/vm86.h b/arch/x86/include/as

[PATCH 6/8] x86/vm86: Clean up vm86.h includes

2015-07-28 Thread Brian Gerst
vm86.h was being implicitly included in alot of places via processor.h, which in turn got it from math_emu.h. Break that chain and explicitly include vm86.h in all files that need it. Also remove unused vm86 field from math_emu_info. Signed-off-by: Brian Gerst --- arch/x86/include/asm/math_emu

[PATCH v4] x86: vm86 cleanups

2015-07-28 Thread Brian Gerst
The goal of this set of patches is to change vm86 support to return to userspace with the normal exit paths instead of leaving data on the kernel stack and jumping directly into the exit asm routines. This fixes issues like ptrace and syscall auditing not working with vm86, and makes possible clea

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-07-28 Thread Archit Taneja
Hi Srini, On 07/28/2015 06:24 PM, Srinivas Kandagatla wrote: This patch adds LVDS panel for IFC6410. Signed-off-by: Rob Clark [Rob Clark: WIP patch] Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 66 ++ 1 file changed, 66 ins

Re: [PATCH] cpufreq: Replace recover_policy with new_policy in cpufreq_online()

2015-07-28 Thread Viresh Kumar
On 29-07-15, 03:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The recover_policy is unsed in cpufreq_online() to indicate whether > a new policy object is created or an existing one is reinitialized. > > The "recover" part of the name is slightly confusing (it should be > "reinitial

Re: Next round: revised futex(2) man page for review

2015-07-28 Thread Darren Hart
On Tue, Jul 28, 2015 at 09:11:41PM -0700, Darren Hart wrote: > On Tue, Jul 28, 2015 at 10:23:51PM +0200, Thomas Gleixner wrote: > > On Mon, 27 Jul 2015, Michael Kerrisk (man-pages) wrote: > > ... > > > >FUTEX_REQUEUE (since Linux 2.6.0) > > > .\" FIXME(Torvald) Is there some indication th

Re: [Update 2x][PATCH 7/7] cpufreq: Separate CPU device registration from CPU online

2015-07-28 Thread Viresh Kumar
On 29-07-15, 03:03, Rafael J. Wysocki wrote: > +static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif) > +{ > + unsigned cpu = dev->id; > + int ret; > + > + dev_dbg(dev, "%s: adding CPU%u\n", __func__, cpu); > + > + if (cpu_online(cpu)) { > + ret =

[PATCH 2/2] rcu: Use call_rcu_func_to to replace explicit type equivalents

2015-07-28 Thread Boqun Feng
We have call_rcu_func_t for a quite while, but we still use explicit function pointer type equivalents in some places, this patch replace these equivalent types with call_rcu_func_t to gain better readability. Signed-off-by: Boqun Feng --- kernel/rcu/rcutorture.c | 2 +- kernel/rcu/tree.h

[PATCH 1/2] rcu: Use rcu_callback_t in call_rcu*() and friends

2015-07-28 Thread Boqun Feng
As we now have rcu_callback_t typedefs as the type of rcu callbacks, we should use it in call_rcu*() and friends as the type of parameters. This could save us a few lines of code and make it clear which function requires an rcu callbacks rather than other callbacks as its argument. Besides, this c

[PATCH 0/2] Replace explicit function pointer types with rcu_callback_t and call_rcu_func_t

2015-07-28 Thread Boqun Feng
Commit ("rcu: Create a synchronize_rcu_mult()") in linux-rcu.git#rcu/next branch has introduced rcu_callback_t as the type for rcu callback functions and call_rcu_func_t has been introduced for a while. This patch series uses the rcu_callback_t and call_rcu_func_t to save a few lines of code. This

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 8:01 PM, Boris Ostrovsky wrote: > On 07/28/2015 08:47 PM, Andrew Cooper wrote: >> >> On 29/07/2015 01:21, Andy Lutomirski wrote: >>> >>> On Tue, Jul 28, 2015 at 10:10 AM, Boris Ostrovsky >>> wrote: On 07/28/2015 01:07 PM, Andy Lutomirski wrote: > > On Tue

Re: Next round: revised futex(2) man page for review

2015-07-28 Thread Darren Hart
On Tue, Jul 28, 2015 at 10:23:51PM +0200, Thomas Gleixner wrote: > On Mon, 27 Jul 2015, Michael Kerrisk (man-pages) wrote: ... > >FUTEX_REQUEUE (since Linux 2.6.0) > > .\" FIXME(Torvald) Is there some indication that FUTEX_REQUEUE is broken > > .\" in general, or is this comment impli

[PATCH] Staging : wilc1000: Remove unnecessary parentheses

2015-07-28 Thread Shraddha Barke
Remove parentheses around the right hand side of an assignment as they are not needed The semantic patch used is : @@ expression E; expression f; constant C; @@ ( f = (E == C) | f = - ( E - ) ) Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/wilc_sdio.c | 2 +- 1 file changed, 1

Re: [PATCH v2 2/5] mtd: nand: Qualcomm NAND controller driver

2015-07-28 Thread Archit Taneja
On 07/29/2015 07:18 AM, Stephen Boyd wrote: On 07/27/2015 09:34 PM, Archit Taneja wrote: Hi, On 07/25/2015 06:21 AM, Stephen Boyd wrote: On 07/21/2015 03:34 AM, Archit Taneja wrote: + int size) +{Looks like a +struct desc_info *desc; +struct dma_async_tx_descriptor *dma_

RE: [PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-28 Thread PINTU KUMAR
Sorry, for late reply. > -Original Message- > From: Mel Gorman [mailto:mgor...@suse.de] > Sent: Wednesday, July 22, 2015 7:36 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; cor...@lwn.net; vba...@suse.cz; > gorcu...@openvz.org; mho...@suse.cz; emun...@akamai.com; > kirill.shute...@l

Re: [PATCH v2 2/4] toshiba_acpi: Remove "*not supported" feature prints

2015-07-28 Thread Darren Hart
Hi Azael, On Mon, Jul 27, 2015 at 07:22:26PM -0600, Azael Avalos wrote: > Currently the driver prints "*not supported" if any of the features > queried are in fact not supported, let us print the available > features instead. > > This patch removes all instances pr_info printing "*not supported",

Re: [PATCH v2 1/4] toshiba_acpi: Change *available functions return type

2015-07-28 Thread Darren Hart
On Mon, Jul 27, 2015 at 07:22:25PM -0600, Azael Avalos wrote: > This patch changes the *available functions return type from int to > void. > > The checks for support of their respective features are done inside > such functions and there was no need to return anything as we can > flag the queried

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

2015-07-28 Thread Takao Indoh
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 buffer by hardware like flight recorder. This is very helpful to investigate a cause of k

Re: [PATCH v1 0/7] DT: APQ8064 for qcom-dt-next

2015-07-28 Thread Andy Gross
On Tue, Jul 28, 2015 at 01:52:36PM +0100, Srinivas Kandagatla wrote: > Hi Andy, > > As discussed here are some dt patches which depend on > pmic header "dt-bindings/pinctrl/qcom,pmic-gpio.h" which is availble in > linux-next. Ok. I took all of these and put them on top of my 4.3 tags on the qco

Re: [PATCH v2] toshiba_acpi: Add set_fan_status function

2015-07-28 Thread Darren Hart
On Mon, Jul 27, 2015 at 07:22:23PM -0600, Azael Avalos wrote: > This patch adds a new function named "set_fan_status" to complement > its get* counterpart, as well as to avoid code duplication between > "fan_proc_write" and "fan_store". > > Also, both functions (get*, set*) are now checking for TO

[PATCH RFC 3/3] x86: Stop Intel PT and save its registers when panic occurs

2015-07-28 Thread Takao Indoh
When panic occurs, Intel PT logging is stopped to prevent it from overwrite its log buffer. The registers of Intel PT are saved in the memory on panic, they are needed for debugger to find the last position where Intel PT wrote data. Signed-off-by: Takao Indoh --- arch/x86/include/asm/intel_pt.h

[PATCH RFC 1/3] x86: Add Intel PT common files

2015-07-28 Thread Takao Indoh
Rename existing intel_pt.h to intel_pt_perf.h as a perf-specific header, and make a new intel_pt.h as a common header of Intel PT feature. Also add intel_pt_cap.c for Intel PT capability stuff. Signed-off-by: Takao Indoh --- arch/x86/include/asm/intel_pt.h | 82 ++ ar

Re: [PATCH v2 3/4] toshiba_acpi: Refactor *{get, set} functions return value

2015-07-28 Thread Darren Hart
On Mon, Jul 27, 2015 at 07:22:27PM -0600, Azael Avalos wrote: > This patch changes the default return value of the driver *{get, set} > functions from 0 (success) to -EIO, since the driver default error > value is -EIO. > > All the functions now check for TOS_FAILURE, TOS_NOT_SUPPORTED and > TOS_S

[PATCH RFC 0/3] x86: Intel Processor Trace Logger

2015-07-28 Thread Takao Indoh
Hi all, These patch series provide logging feature for Intel Processor Trace (Intel PT). Intel PT is a new feature of Intel CPU "Broadwell", it captures information about program execution flow. Here is a article about Intel PT. https://software.intel.com/en-us/blogs/2013/09/18/processor-tracing

RE: [PATCH] [trivial] i2c: Fix typo in i2c-bfin-twi.c

2015-07-28 Thread Zhang, Sonic
Acked-by: Sonic Zhang >-Original Message- >From: Masanari Iida [mailto:standby2...@gmail.com] >Sent: Tuesday, July 28, 2015 7:11 PM >To: triv...@kernel.org; Zhang, Sonic; w...@the-dreams.de; >linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; >bryan...@analog.com >Cc: Masanari Iida

Re: [PATCH] of/irq: introduce of_has_named_irqs helper

2015-07-28 Thread Vignesh R
On 07/28/2015 11:37 PM, Dmitry Torokhov wrote: > On Tue, Jul 28, 2015 at 11:16:44PM +0530, R, Vignesh wrote: >> Hi, >> >> On 7/28/2015 10:53 PM, Dmitry Torokhov wrote: >>> On Tue, Jul 28, 2015 at 06:53:52PM +0530, Vignesh R wrote: Hi Dmitry, On 07/25/2015 01:46 AM, Dmitry Torokhov

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 8:01 PM, Boris Ostrovsky wrote: > On 07/28/2015 08:47 PM, Andrew Cooper wrote: >> >> On 29/07/2015 01:21, Andy Lutomirski wrote: >>> >>> On Tue, Jul 28, 2015 at 10:10 AM, Boris Ostrovsky >>> wrote: On 07/28/2015 01:07 PM, Andy Lutomirski wrote: > > On Tue

Re: [PATCH v3 01/11] stm class: Introduce an abstraction for System Trace Module devices

2015-07-28 Thread Chunyan Zhang
On Mon, Jul 6, 2015 at 6:08 PM, Alexander Shishkin wrote: > A System Trace Module (STM) is a device exporting data in System Trace > Protocol (STP) format as defined by MIPI STP standards. Examples of such > devices are Intel Trace Hub and Coresight STM. > > This abstraction provides a unified int

Re: [PATCH 1/2] mtd: spi-nor: rework spi nor read and write.

2015-07-28 Thread Michal Suchanek
On 28 July 2015 at 20:15, Marek Vasut wrote: > On Tuesday, July 28, 2015 at 11:23:02 AM, Michal Suchanek wrote: >> The spi_nor read and write functions pass thru the mtd retlen to the >> chip-specific read and write function. This makes it difficult to check >> for errors in read and write functio

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

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: > This patch adds the Altera PCIe host controller driver. > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig | 9 + > drivers/pci/host/Makefile | 1 + > drivers/pci/host/pcie-altera.c | 576 > +

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-28 Thread Dinh Nguyen
On Tue, Jul 28, 2015 at 10:07 PM, Ley Foon Tan wrote: > On Wed, Jul 29, 2015 at 1:00 AM, Dinh Nguyen wrote: >> On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: >>> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >>> number of vectors, which is a dts parameter. >>>

Re: Bug: shared usb dt document is incorrect

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 10:12 PM, Peter Chen wrote: > >> > I was just doing some testing with USB on a Qualcomm SoC. >> > >> > I followed the instructions in the binding document: >> > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt >> > >> > which has a compatible for "qcom,ci-hdrc", and i

Re: [PATCH] input: twl4030-vibra: Fix ERROR: Bad of_node_put() warning

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 3:23 PM, Belisko Marek wrote: > Hi Dmitry, > > On Thu, Jul 23, 2015 at 10:53 PM, Dmitry Torokhov > wrote: >> On Thu, Jul 23, 2015 at 10:38:34PM +0200, Marek Belisko wrote: >>> Fix following: >>> [8.862274] ERROR: Bad of_node_put() on /ocp/i2c@4807/twl@48/audio >>>

RE: Bug: shared usb dt document is incorrect

2015-07-28 Thread Peter Chen
> > I was just doing some testing with USB on a Qualcomm SoC. > > > > I followed the instructions in the binding document: > > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt > > > > which has a compatible for "qcom,ci-hdrc", and is, in general, for > > chipidea-based USB controllers. > >

Re: [PATCH] arch/*/io.h: Add ioremap_uc() to all architectures

2015-07-28 Thread Stephen Rothwell
Hi Luis, On Tue, 28 Jul 2015 11:22:07 -0700 "Luis R. Rodriguez" wrote: > > From: "Luis R. Rodriguez" > > This adds ioremap_uc() only for architectures that do not > include asm-generic.h/io.h as that already provides a default > definition for them for both cases where you have CONFIG_MMU > an

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-28 Thread Ley Foon Tan
On Wed, Jul 29, 2015 at 1:00 AM, Dinh Nguyen wrote: > On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: >> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >> number of vectors, which is a dts parameter. >> @@ -154,4 +154,11 @@ config PCIE_ALTERA >> Say Y he

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

2015-07-28 Thread Ley Foon Tan
On Wed, Jul 29, 2015 at 12:45 AM, Dinh Nguyen wrote: > On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: >> This patch adds the Altera PCIe host controller driver. >> >> Signed-off-by: Ley Foon Tan >> --- >> drivers/pci/host/Kconfig | 9 + >> drivers/pci/host/Makefile | 1 + >>

Re: [PATCH 2/6] arm: mach-socfpga: enable pci support

2015-07-28 Thread Ley Foon Tan
On Tue, Jul 28, 2015 at 9:26 PM, Rob Herring wrote: > On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: >> Enable CONFIG_ARCH_SUPPORT_MSI and CONFIG_PCI in SOCFPGA platform. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/arm/mach-socfpga/Kconfig | 2 ++ >> 1 file changed, 2 insertions(+) >

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Boris Ostrovsky
On 07/28/2015 08:47 PM, Andrew Cooper wrote: On 29/07/2015 01:21, Andy Lutomirski wrote: On Tue, Jul 28, 2015 at 10:10 AM, Boris Ostrovsky wrote: On 07/28/2015 01:07 PM, Andy Lutomirski wrote: On Tue, Jul 28, 2015 at 9:30 AM, Andrew Cooper wrote: I suspect that the set_ldt(NULL, 0) call has

Re: [PATCH v6 0/3] Add MediaTek display PWM driver

2015-07-28 Thread YH Huang
On Fri, 2015-07-24 at 17:10 +0800, YH Huang wrote: > On Fri, 2015-07-24 at 10:42 +0200, Matthias Brugger wrote: > > On Monday, July 20, 2015 04:17:14 PM YH Huang wrote: > > > This patch series add the use of display PWM driver, documentation > > > and device tree for Mediatek SoCs. The driver is us

Re: Bug: shared usb dt document is incorrect

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:06 PM, Tim Bird wrote: > Antoine and Rob, > > I was just doing some testing with USB on a Qualcomm SoC. > > I followed the instructions in the binding document: > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt > > which has a compatible for "qcom,ci-hdrc", and is,

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

2015-07-28 Thread Stephen Rothwell
Hi Lee, 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 domain only once") from the mfd tree. I fix

Re: Possible regression due to "tick: broadcast: Prevent livelock from event handler"

2015-07-28 Thread Simon Horman
Hi Thomas, On Fri, Jul 03, 2015 at 04:53:49PM +0200, Thomas Gleixner wrote: > On Fri, 3 Jul 2015, Wolfram Sang wrote: > > > So this is a single core machine and uses the em_sti timer w/o the > > > broadcast nonsense. In Simons case it looks like em_sti is used as > > > broadcast device. > > > > W

Re: Next round: revised futex(2) man page for review

2015-07-28 Thread Davidlohr Bueso
On Tue, 2015-07-28 at 22:45 +0200, Peter Zijlstra wrote: > Also, this code seems to use plist, which means it won't do the right > thing for SCHED_DEADLINE either. Ick, I don't look forward to seeing nice futex plists converted into rbtrees. As opposed to, eg. rtmutexes, there are a few caveats:

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

2015-07-28 Thread Hayes Wang
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; > > > > > > > > netif_warn(tp, tx_err, netdev, "Tx timeo

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

2015-07-28 Thread Hall, Christopher S
> -Original Message- > From: John Stultz [mailto:john.stu...@linaro.org] > Sent: Monday, July 27, 2015 9:11 PM > To: Hall, Christopher S > Cc: Thomas Gleixner; Richard Cochran; Ingo Molnar; Kirsher, Jeffrey T; > Ronciak, John; H. Peter Anvin; x...@kernel.org; lkml; > net...@vger.kernel.or

Re: [PATCH] virtio_mmio: add ACPI probing

2015-07-28 Thread Shannon Zhao
On 2015/7/29 5:10, Peter Maydell wrote: > On 28 July 2015 at 21:28, G Gregory wrote: >> > On 28 July 2015 at 21:12, Peter Maydell wrote: >>> >> Mmm. I'm not terribly happy about stuff being in QEMU before the >>> >> ACPI spec for it has been finalised. We should not be picking >>> >> stuff rand

RE: [PATCH 1/2] drivers: watchdog: at91sam9_wdt: add new feature support

2015-07-28 Thread Yang, Wenyou
Hi Guenter, Thank you for your prompt answer. > -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 2015年7月29日 9:23 > To: Yang, Wenyou; w...@iguana.be; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.

Re: [PATCH v2 2/5] mtd: nand: Qualcomm NAND controller driver

2015-07-28 Thread Stephen Boyd
On 07/27/2015 09:34 PM, Archit Taneja wrote: Hi, On 07/25/2015 06:21 AM, Stephen Boyd wrote: On 07/21/2015 03:34 AM, Archit Taneja wrote: + int size) +{ +struct desc_info *desc; +struct dma_async_tx_descriptor *dma_desc; +struct scatterlist *sgl; +int r; + +de

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

2015-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 6:18 PM, Hall, Christopher S wrote: > > >> -Original Message- >> From: Andy Lutomirski [mailto:l...@kernel.org] >> Sent: Monday, July 27, 2015 6:32 PM >> To: Hall, Christopher S; john.stu...@linaro.org; t...@linutronix.de; >> richardcoch...@gmail.com; mi...@redhat.c

RE: [PATCH 1/5] Add functions producing system time given a backing counter value

2015-07-28 Thread Hall, Christopher S
> -Original Message- > From: John Stultz [mailto:john.stu...@linaro.org] > Sent: Monday, July 27, 2015 8:44 PM > To: Hall, Christopher S > Cc: Thomas Gleixner; Richard Cochran; Ingo Molnar; Kirsher, Jeffrey T; > Ronciak, John; H. Peter Anvin; x...@kernel.org; lkml; > net...@vger.kernel.org

RE: [PATCH 00/22] ACPICA: 20150717 Release

2015-07-28 Thread Zheng, Lv
Hi, Rafael You may also need this patch: https://patchwork.kernel.org/patch/6879621/ Which fixes a problem in this release. Sorry for noticing this late. Thanks and best regards -Lv > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Wednesday, July 29, 2015 8:58 AM > > On Thursday,

[PATCH 1/2] drm/panel: Add Sharp LS043T1LE01 panel binding documentation

2015-07-28 Thread Bjorn Andersson
From: Werner Johansson Signed-off-by: Werner Johansson Signed-off-by: Bjorn Andersson --- .../bindings/panel/sharp,ls043t1le01.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/sharp,ls043t1le01.txt diff --

  1   2   3   4   5   6   7   8   9   10   >