Re: [RFC][PATCH v2 06/13] usb: hcd: Add hcd add/remove functions for OTG use

2015-04-20 Thread Roger Quadros
On 17/04/15 17:03, Alan Stern wrote: > On Fri, 17 Apr 2015, Roger Quadros wrote: > >> On 17/04/15 05:18, Peter Chen wrote: >>> On Tue, Apr 14, 2015 at 01:41:53PM +0300, Roger Quadros wrote: The existing usb_add/remove_hcd() functionality remains unchanged for non-OTG devices. For OTG >>>

[PATCH] nbd: Fix timeout detection

2015-04-20 Thread Markus Pargmann
At the moment the nbd timeout just detects hanging tcp operations. This is not enough to detect a hanging or bad connection as expected of a timeout. This patch redesigns the timeout detection to include some more cases. The timeout is now in relation to replies from the server. If the server does

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-20 Thread Javier González
> On 19 Apr 2015, at 21:47, Arnd Bergmann wrote: > > On Sunday 19 April 2015 13:17:20 Javier González wrote: >> >> Only providing user space support would defeat one of the main purposes >> of the driver. We could better organize the patches and divide them into user >> space support and in-kern

Re: [PATCH 02/21] ND NFIT-Defined/NVIDIMM Subsystem

2015-04-20 Thread Ingo Molnar
* Dan Williams wrote: > Maintainer information and documenation for drivers/block/nd/ > > Cc: Andy Lutomirski > Cc: Boaz Harrosh > Cc: H. Peter Anvin > Cc: Jens Axboe > Cc: Ingo Molnar > Cc: Christoph Hellwig > Cc: Neil Brown > Cc: Greg KH > Signed-off-by: Dan Williams > --- > Documen

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Tomeu Vizoso
On 17 April 2015 at 19:30, Alan Stern wrote: > On Fri, 17 Apr 2015, Laurent Pinchart wrote: > >> Hi Tomeu, >> >> Thank you for the patch. >> >> On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: >> > Introduce a new per-device flag power.force_direct_complete that will >> > instruct the PM core

Re: [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps

2015-04-20 Thread Tomeu Vizoso
On 17 April 2015 at 19:32, Alan Stern wrote: > On Fri, 17 Apr 2015, Tomeu Vizoso wrote: > >> When the system goes to sleep and afterwards resumes, a significant >> amount of time is spent suspending and resuming devices that were >> already runtime-suspended. >> >> By setting the power.force_direc

Re: [PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable

2015-04-20 Thread Ingo Molnar
* Len Brown wrote: > +config X86_INIT_MDELAY > + int "Milliseconds to wait to de-assert INIT upon CPU startup" if SMP > + range 0 10 > + default "10" > + ---help--- > + This allows you to specify how long the BSP will delay > + between asserting INIT and de-asserting

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-20 Thread Peter Griffin
Hi Paul, On Fri, 17 Apr 2015, Paul Bolle wrote: > On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote: > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > > +config CLKSRC_ST_LPC_CLOCK > > + bool > > + depends on ARCH_STI > > + select CLKSRC_OF if OF > > + h

Re: [PATCH v5 1/6] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2015-04-20 Thread David Long
On 03/25/15 09:44, Catalin Marinas wrote: On Tue, Feb 17, 2015 at 06:11:36PM -0500, David Long wrote: diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h index 6913643..700d28b 100644 --- a/arch/arm64/include/uapi/asm/ptrace.h +++ b/arch/arm64/include/uapi/a

Re: [PATCH] ALSA: hda - Mute headphone pin on suspend on XPS13 9333

2015-04-20 Thread Takashi Iwai
At Sun, 19 Apr 2015 19:00:40 +0200, Gabriele Mazzotta wrote: > > Muting the headphone output pin right before the codec suspension > prevents pop noises when headphones are plugged in (except for a > barely audible click noise). > This solution allows to truly save some power when headphones are >

Re: [PATCH 0/1] speeding up cpu_up()

2015-04-20 Thread Ingo Molnar
* Len Brown wrote: > The following patch... > > [PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable > > enables reducing cpu_up() time by 10ms on modern systems. > > This means that for every processor in the system, > boot-time and resume-time can be reduced by 10ms per-processor

Re: [PATCH v8 01/17] h8300: Assembly headers.

2015-04-20 Thread Richard Weinberger
dOn Mon, Apr 20, 2015 at 8:13 AM, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato > --- > arch/h8300/include/asm/Kbuild | 66 ++ > arch/h8300/include/asm/asm-offsets.h | 1 + > arch/h8300/include/asm/atomic.h| 159 +++ > arch/h8300/include/

Re: [RFC][PATCH v2 00/13] USB: OTG/DRD Core functionality

2015-04-20 Thread Roger Quadros
Hi Peter, On 20/04/15 06:05, Peter Chen wrote: > On Tue, Apr 14, 2015 at 01:41:47PM +0300, Roger Quadros wrote: >> This is an attempt to centralize OTG/Dual-role functionality in the kernel. >> As of now I've got Dual-role functionality working pretty reliably on >> dra7-evm. xhci side of things f

[PATCH] Staging: dgnc: Using a temporary value for repeated dereferences.

2015-04-20 Thread Yorick Rommers
Sorry, it has been changed in the patch below. --- A patch for a line being too long (>80) in dgnc_mgmt.c, fixed by making a temporary value for dgnc_Board[brd], replacing all instanced of dgnc_Board[brd] with temporary value, and removing unnecessary typecasts

Re: Fwd: Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-20 Thread Michael Ellerman
On Sun, 2015-04-19 at 22:17 -0700, Guenter Roeck wrote: > Hi Michael, Hi Guenter, > On 04/19/2015 08:01 PM, Michael Ellerman wrote: > > > Someone needs to be doing s390/alpha builds with that enabled anyway, > > because > > otherwise a clash between generic code and s390/alpha won't be caught.

Re: [PATCH v8 01/17] h8300: Assembly headers.

2015-04-20 Thread Tobias Klauser
On 2015-04-20 at 08:13:17 +0200, Yoshinori Sato wrote: [...] > diff --git a/arch/h8300/include/asm/elf.h b/arch/h8300/include/asm/elf.h > new file mode 100644 > index 000..09031d0 > --- /dev/null > +++ b/arch/h8300/include/asm/elf.h > @@ -0,0 +1,101 @@ > +#ifndef __ASM_H8300_ELF_H > +#define

[PATCH v2 2/7] ARM: dts: qcom: Add PM8941 functions device nodes

2015-04-20 Thread Ivan T. Ivanov
Add configuration nodes for following devices: * GPIO block, with 36 pins * MPP block, with 8 pins * Current ADC (IADC) * Volatage ADC (VADC), with multiple inputs * Thermal sensor device, which is using on chip VADC channel report PMIC die temperature * Power key device, which is responsible fo

[PATCH v2 4/7] arm64: dts: qcom: Add SPMI PMIC Arbiter node for MSM8916

2015-04-20 Thread Ivan T. Ivanov
Add SPMI PMIC Arbiter configuration nodes for MSM8916. Signed-off-by: Ivan T. Ivanov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index f212b83..92c

[PATCH v2 7/7] arm64: dts: qcom: Add initial set of PMIC and SoC pins for APQ8016 SBC board

2015-04-20 Thread Ivan T. Ivanov
Add initial device configuration nodes for APQ8016 and PM8916 GPIO's. Signed-off-by: Ivan T. Ivanov --- .../arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 30 ++ arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi | 21 +++ arch/arm64/boot/dts/qcom/apq8016-sbc.dt

[PATCH v2 6/7] arm64: dts: qcom: Add MSM8916 restart device node

2015-04-20 Thread Ivan T. Ivanov
Add the restart node so we can reboot the device. Signed-off-by: Ivan T. Ivanov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 92c96eb..7887588 100644 --- a/ar

[PATCH v2 3/7] ARM: dts: qcom: Add PMA8084 functions device nodes

2015-04-20 Thread Ivan T. Ivanov
Add configuration nodes for following devices: * GPIO block, with 22 pins * MPP block, with 8 pins * Volatage ADC (VADC), with multiple inputs * Thermal sensor device, which is using on chip VADC channel report PMIC die temperature. * RTC device Signed-off-by: Ivan T. Ivanov --- arch/arm/boot

[PATCH v2 0/7] ARM: dts: qcom: Add more device coniguration nodes

2015-04-20 Thread Ivan T. Ivanov
Recent Qualcomm PMIC's devices are accessed over SPMI bus. Every PMIC has several "sub-function" devices inside. First three patches are adding device nodes to PM8841, PM8941 and PMA8084 PMIC's. Next two are introducing PM8916 PMIC chip with its device nodes. The sixth one add restart device node

[PATCH v2 5/7] arm64: dts: qcom: Add 8x16 chipset SPMI PMIC's nodes

2015-04-20 Thread Ivan T. Ivanov
PM9816 has 2 SPMI devices per physical package. Add PMIC configuration nodes including sub-function device nodes and include them in boards, which are using 8x16 based chipset. PM9816 sub-function devices include: * GPIO block, with 4 pins * MPP block, with 4 pins * Volatage ADC (VADC), with mult

[PATCH v2 1/7] ARM: dts: qcom: Add PM8841 functions device nodes

2015-04-20 Thread Ivan T. Ivanov
Add configuration nodes for multi purpose pins and thermal sensor devices. Thermal sensor will report PMIC die temperature. Signed-off-by: Ivan T. Ivanov --- arch/arm/boot/dts/qcom-pm8841.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pm8841.d

Re: [PATCH v8 01/17] h8300: Assembly headers.

2015-04-20 Thread Stephen Rothwell
Hi Richard, On Mon, 20 Apr 2015 09:17:30 +0200 Richard Weinberger wrote: > *tons removed* Please edit quoted text in your replies down to the essentials. That one was so large that I could not even find what you had commented on. :-( -- Cheers, Stephen Rothwells...@canb

Re: [PATCH linux-next v5] mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for 32Bit architectures

2015-04-20 Thread Eli Cohen
On Wed, Apr 15, 2015 at 04:36:15PM +0800, Honggang Li wrote: > If CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for x86 systems and physical > memory is more than 4GB, dma_map_page may return a valid memory > address which greater than 0x. As a result, the mlx5 device page > allocator RB tree will b

Re: [PATCH v8 01/17] h8300: Assembly headers.

2015-04-20 Thread Richard Weinberger
On Mon, Apr 20, 2015 at 9:47 AM, Stephen Rothwell wrote: > Hi Richard, > > On Mon, 20 Apr 2015 09:17:30 +0200 Richard Weinberger > wrote: >> > > *tons removed* > > Please edit quoted text in your replies down to the essentials. That > one was so large that I could not even find what you had com

Re: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-20 Thread Dan Carpenter
On Sat, Apr 18, 2015 at 10:12:14PM +0200, Yorick Rommers wrote: > From: Yorick Don't include a From: unless you are sending a patch someone else wrote. Otherwise we prefer to get it from your email From. Also you forgot your last name. > @@ -488,8 +488,8 @@ static int i2o_block_reply(struct i2o

Re: [PATCH RT 3.18] irq_work: Provide a soft-irq based queue

2015-04-20 Thread Mike Galbraith
On Thu, 2015-04-16 at 18:28 +0200, Jan Kiszka wrote: > Instead of turning all irq_work requests into lazy ones on -rt, just > move their execution from hard into soft-irq context. > > This resolves deadlocks of ftrace which will queue work from > arbitrary > contexts, including those that have lo

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-20 Thread Dongsu Park
Hi Ming, On 18.04.2015 00:23, Ming Lei wrote: > > Does anyone have an idea? > > As far as I can see, at least two problems exist: > - race between timeout and CPU hotplug > - in case of shared tags, during CPU online handling, about setting > and checking hctx->tags > > So could you please test

Re: [PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 02:04:39AM +0200, Yorick Rommers wrote: > A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. > > Signed-off-by: Yorick Rommers > --- > drivers/staging/dgnc/dgnc_mgmt.c | 4 +- > drivers/staging/dgnc/dgnc_neo.c | 210 > +++

Darlehen bieten AT 1,5% ZINS

2015-04-20 Thread DIAMOND SWISS LOAN COMPANY
-- Guten Tag Dies ist DIAMOMD Schweizer LOAN COMPANY Darlehen Angebot. DIAMOMD Schweizer LOAN COMPANY bietet flexible und kostengünstige Kredite für jeden Zweck, Ihnen beim Erreichen Ihrer Ziele zu helfen. Wir Darlehen zu niedrigen Zinssatz von 1,5 %. Hier sind einige wichtige Merkmale des

Re: [PATCH v6 3/3] powerpc/powernv: Introduce sysfs control for fastsleep workaround behavior

2015-04-20 Thread Preeti U Murthy
On 04/20/2015 10:32 AM, Shreyas B. Prabhu wrote: > Fastsleep is one of the idle state which cpuidle subsystem currently > uses on power8 machines. In this state L2 cache is brought down to a > threshold voltage. Therefore when the core is in fastsleep, the > communication between L2 and L3 needs to

Re: [PATCH] Staging: dgnc: fixed code style issue

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 09:18:23PM +0200, Yorick Rommers wrote: > A patch for a line being too long (>80) in dgnc_mgmt.c, > fixed by making a temporary value for dgnc_Board[brd], and removing > an unnecessary typecast. > > Signed-off-by: Yorick Rommers > --- > drivers/staging/dgnc/dgnc_mgmt.c |

Re: [PATCH 02/21] ND NFIT-Defined/NVIDIMM Subsystem

2015-04-20 Thread Dan Williams
On Mon, Apr 20, 2015 at 12:06 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> Maintainer information and documenation for drivers/block/nd/ >> >> Cc: Andy Lutomirski >> Cc: Boaz Harrosh >> Cc: H. Peter Anvin >> Cc: Jens Axboe >> Cc: Ingo Molnar >> Cc: Christoph Hellwig >> Cc: Neil Bro

Re: [PATCH] usb: ehci-msm: Don't ioremap configuration space exclusively

2015-04-20 Thread Ivan T. Ivanov
On Thu, 2015-04-16 at 10:42 +0300, Ivan T. Ivanov wrote: > Hi, > > On Wed, 2015-04-15 at 21:28 +0530, Vivek Gautam wrote: > > On Thu, Apr 9, 2015 at 8:19 PM, Alan Stern > > wrote: > > > On Thu, 9 Apr 2015, Ivan T. Ivanov wrote: > > > > > > > This allow same IO space to be shared between HCD an

Re: [PATCH 3/7] perf tools: Move TUI-specific fields to struct hist_entry_tui

2015-04-20 Thread Jiri Olsa
On Sun, Apr 19, 2015 at 01:04:11PM +0900, Namhyung Kim wrote: > Since perf diff only support stdio output, TUI fields are only accessed > from perf report (or perf top). So add new struct hist_entry_tui and > move those fields into them. And include it as an union member. > SNIP > > - /*

[GIT PULL] s390 patches for the 4.1 merge window #2

2015-04-20 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: The big thing in this second merge for s390 is the new eBPF JIT from Michael which replaces the old 32-bit backend. The remaining

Re: [PATCH 5/7] perf hists browser: Fix possible memory leak

2015-04-20 Thread Jiri Olsa
On Sun, Apr 19, 2015 at 01:04:13PM +0900, Namhyung Kim wrote: > The options array saves strings for each popup menu item. The number of > items can be vary according to the currently selected item. So it can > leak some memory if it's exited from a small item. Fix it by freeing > all items when

Re: [PATCH] staging: rtl8192u: ieee80211: Silence sparse warning

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 05:43:51PM -0300, Gaston Gonzalez wrote: > Silence the following sparse warning: > > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c:184:16: warning: > cast to restricted __le16 > We have a tkip_mixing_phase2() function in net/mac80211/tkip.c. That's probably

[PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-20 Thread Xunlei Pang
From: Xunlei Pang Currently, SMP RT scheduler has some trouble in dealing with equal prio cases. For example, in check_preempt_equal_prio(): When RT1(current task) gets preempted by RT2, if there is a migratable RT3 with same prio, RT3 will be pushed away instead of RT1 afterwards, because RT1 w

[PATCH v6 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-04-20 Thread Xunlei Pang
From: Xunlei Pang If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT scheduler. This patch adds a common __plist_add() for adding @node before or after existing nodes with

[PATCH v6 3/3] sched/rt: Check to push the task when changing its affinity

2015-04-20 Thread Xunlei Pang
From: Xunlei Pang We may suffer from extra rt overload rq due to the affinity, so when the affinity of any runnable rt task is changed, we should check to trigger balancing, otherwise it will cause some unnecessary delayed real-time response. Unfortunately, current RT global scheduler does nothin

Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 11:58:53PM +0200, Yorick Rommers wrote: > Hello Joe, > > Thank you once again for the feedback. > I've changed my patch accordingly, see below. > > -- The patch is nice except for this chunk. And also you should be putting version numb

Re: [alsa-devel] [PATCH 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection"

2015-04-20 Thread Charles Keepax
On Mon, Apr 20, 2015 at 10:45:14AM +0900, Inha Song wrote: > Hi, > > Thanks for your comments, > > > On Fri, 17 Apr 2015 10:00:47 +0100 > Charles Keepax wrote: > > > On Fri, Apr 17, 2015 at 05:32:58PM +0900, Inha Song wrote: > > > This patch add support for select accessory detect mode to HPDE

[PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-20 Thread Michael Wang
Since v4: * Thanks for the comments from Hal, Sean, Tom, Or Gerlitz, Jason, Roland, Ira and Steve :-) Please remind me if anything missed :-P * Fix logical issue inside 3#, 14# * Refine 3#, 4#, 5# with label 'free' * Rework 10# to stop using port 1 when port already assigned There are

[PATCH v5 02/27] IB/Verbs: Implement raw management helpers

2015-04-20 Thread Michael Wang
Add raw helpers: rdma_tech_ib rdma_tech_iboe rdma_tech_iwarp rdma_ib_or_iboe (transition, clean up later) To help us detect which technology the port supported. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny

Re: [PATCH v2 1/5] mmc: dt-bindings: add Mediatek MMC bindings

2015-04-20 Thread Sascha Hauer
Hi Chaotian, On Tue, Mar 17, 2015 at 11:13:51AM +0800, Chaotian Jing wrote: > Document the device-tree binding of Mediatek MMC host > > Signed-off-by: Chaotian Jing > --- > Documentation/devicetree/bindings/mmc/mtk-sd.txt | 33 > > 1 file changed, 33 insertions(+) > c

[PATCH v5 01/27] IB/Verbs: Implement new callback query_transport()

2015-04-20 Thread Michael Wang
Add new callback query_transport() and implement for each HW. Mapping List: node-type link-layer old-transport new-transport nes RNICETH IWARP IWARP amso1100RNICETH IWARP IWARP cxg

[PATCH v5 06/27] IB/Verbs: Reform IB-core multicast

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-core multicast. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/multicast.c | 12 +++- 1 file changed, 3 insertions(+

[PATCH v5 07/27] IB/Verbs: Reform IB-ulp ipoib

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-ulp ipoib. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 15 --- 1 file changed, 8 insertio

Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 05:54:19PM -0700, Joe Perches wrote: > > diff --git a/drivers/staging/dgnc/dgnc_mgmt.c > > b/drivers/staging/dgnc/dgnc_mgmt.c > > index b13318a..0437117 100644 > > --- a/drivers/staging/dgnc/dgnc_mgmt.c > > +++ b/drivers/staging/dgnc/dgnc_mgmt.c > > @@ -131,6 +131,7 @@ long

Re: [PATCH] s390: char: con3215: Free memory in error path

2015-04-20 Thread Martin Schwidefsky
On Sun, 19 Apr 2015 15:17:36 +0200 Christophe Jaillet wrote: > If one memory allocation fails, there is a memory leak. > > Signed-off-by: Christophe Jaillet > --- > drivers/s390/char/con3215.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/s390/char/con3215.c b/drivers/s39

Re: [patch 02/39] hrtimer: Get rid of the resolution field in hrtimer_clock_base

2015-04-20 Thread Preeti U Murthy
On 04/15/2015 02:38 AM, Thomas Gleixner wrote: >>The field has no value because all clock bases have the same >>resolution. The resolution only changes when we switch to high >>resolution timer mode. We can evaluate that from a single static >>variable as well. In the !HIGHRES case its simply a con

[PATCH v5 04/27] IB/Verbs: Reform IB-core cm

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-core cm. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cm.c | 20 +--- 1 file changed, 17 insertions(+), 3

[PATCH v5 05/27] IB/Verbs: Reform IB-core sa_query

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-core sa_query. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/sa_query.c | 29 + 1 file changed,

[PATCH v5 12/27] IB/Verbs: Reform mcast related part in IB-core cma

2015-04-20 Thread Michael Wang
Use raw management helpers to reform mcast related part in IB-core cma. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 56 ++

[PATCH v5 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-20 Thread Michael Wang
Use raw management helpers to reform cm related part in IB-core cma/ucm. Few checks focus on the device cm type rather than the port capability, directly pass port 1 works currently, but can't support mixing cm type device in future. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason

[PATCH v5 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-core verbs/uverbs_cmd/sysfs. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/sysfs.c | 8 ++-- drivers/infiniband/co

[PATCH v5 08/27] IB/Verbs: Reform IB-ulp xprtrdma

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-ulp xprtrdma. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 3 +-- net/sunrpc/xprtrdma/svc_rdma_transpo

[PATCH v5 11/27] IB/Verbs: Reform route related part in IB-core cma

2015-04-20 Thread Michael Wang
Use raw management helpers to reform route related part in IB-core cma. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 31 ---

[PATCH v5 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-20 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/agent.c| 2 +- drivers/infiniband/core/mad.c

[PATCH v5 13/27] IB/Verbs: Reserve legacy transport type in 'dev_addr'

2015-04-20 Thread Michael Wang
Reserve the legacy transport type for the 'transport' member of 'struct rdma_dev_addr' until we make sure this is no longer needed. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/i

[PATCH v5 16/27] IB/Verbs: Use management helper cap_ib_mad()

2015-04-20 Thread Michael Wang
Introduce helper cap_ib_mad() to help us check if the port of an IB device support Infiniband Management Datagrams. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/m

[PATCH v5 14/27] IB/Verbs: Reform cma_acquire_dev()

2015-04-20 Thread Michael Wang
Reform cma_acquire_dev() with management helpers, introduce cma_validate_port() to make the code more clean. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c |

[PATCH v5 15/27] IB/Verbs: Reform rest part in IB-core cma

2015-04-20 Thread Michael Wang
Use raw management helpers to reform rest part in IB-core cma. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 20 +--- 1 file changed, 9 ins

[PATCH v5 19/27] IB/Verbs: Use management helper cap_iw_cm()

2015-04-20 Thread Michael Wang
Introduce helper cap_iw_cm() to help us check if the port of an IB device support IWARP Communication Manager. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c

[PATCH v5 17/27] IB/Verbs: Use management helper cap_ib_smi()

2015-04-20 Thread Michael Wang
Introduce helper cap_ib_smi() to help us check if the port of an IB device support Infiniband Subnet Management Interface. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband

[PATCH v5 18/27] IB/Verbs: Use management helper cap_ib_cm()

2015-04-20 Thread Michael Wang
Introduce helper cap_ib_cm() to help us check if the port of an IB device support Infiniband Communication Manager. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/c

[PATCH v5 22/27] IB/Verbs: Use management helper cap_ipoib()

2015-04-20 Thread Michael Wang
Introduce helper cap_ipoib() to help us check if the port of an IB device support IP over Infiniband. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/ulp/ipoib/ipoib_main

[PATCH v5 20/27] IB/Verbs: Use management helper cap_ib_sa()

2015-04-20 Thread Michael Wang
Introduce helper cap_ib_sa() to help us check if the port of an IB device support Infiniband Subnet Administration. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/c

[PATCH v5 21/27] IB/Verbs: Use management helper cap_ib_mcast()

2015-04-20 Thread Michael Wang
Introduce helper cap_ib_mcast() to help us check if the port of an IB device support Infiniband Multicast. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c

[PATCH v5 23/27] IB/Verbs: Use management helper cap_read_multi_sge()

2015-04-20 Thread Michael Wang
Introduce helper cap_read_multi_sge() to help us check if the port of an IB device support RDMA Read Multiple Scatter-Gather Entries. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- include

[PATCH v5 24/27] IB/Verbs: Use management helper cap_af_ib()

2015-04-20 Thread Michael Wang
Introduce helper cap_af_ib() to help us check if the port of an IB device support Native Infiniband Address. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c |

Re: [PATCH 11/11] k_clock:Remove the 32bit methods with timespec type

2015-04-20 Thread Richard Cochran
On Mon, Apr 20, 2015 at 01:57:39PM +0800, Baolin Wang wrote: > @@ -911,18 +907,14 @@ retry: > return -EINVAL; > > kc = clockid_to_kclock(timr->it_clock); > - if (WARN_ON_ONCE(!kc || (!kc->timer_set && !kc->timer_set64))) { > + if (WARN_ON_ONCE(!kc || !kc->timer_set64)

[PATCH v5 25/27] IB/Verbs: Use management helper cap_eth_ah()

2015-04-20 Thread Michael Wang
Introduce helper cap_eth_ah() to help us check if the port of an IB device support Ethernet Address Handler. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c

[PATCH v5 27/27] IB/Verbs: Cleanup rdma_node_get_transport()

2015-04-20 Thread Michael Wang
We have get rid of all the scene using legacy rdma_node_get_transport(), now clean it up. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/verbs.c | 21 --

[PATCH v5 26/27] IB/Verbs: Clean up rdma_ib_or_iboe()

2015-04-20 Thread Michael Wang
We have finished introducing the cap_XX(), and raw helper rdma_ib_or_iboe() is no longer necessary, thus clean it up. Cc: Hal Rosenstock Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- include/rdma/ib_verbs.h

Re: [PATCH] Bluetooth: Pre-initialize variables in read_local_oob_ext_data_complete()

2015-04-20 Thread Geert Uytterhoeven
Hi Marcel, On Fri, Apr 17, 2015 at 10:38 PM, Marcel Holtmann wrote: net/bluetooth/mgmt.c: In function ‘read_local_oob_ext_data_complete’: net/bluetooth/mgmt.c:6474: warning: ‘r256’ may be used uninitialized in this function net/bluetooth/mgmt.c:6474: warning: ‘h256’ may be us

[PATCH v4 2/3] memory-failure: change type of action_result's param 3 to enum

2015-04-20 Thread Xie XiuQi
Change type of action_result's param 3 to enum for type consistency, and rename mf_outcome to mf_result for clearly. Signed-off-by: Xie XiuQi --- include/linux/mm.h | 2 +- mm/memory-failure.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/mm.h b/include/l

[PATCH v4 0/3] tracing: add trace event for memory-failure

2015-04-20 Thread Xie XiuQi
RAS user space tools like rasdaemon which base on trace event, could receive mce error event, but no memory recovery result event. So, I want to add this event to make this scenario complete. This patchset add a event at ras group for memory-failure. The output like below: # tracer: nop # # ent

[PATCH v4 3/3] tracing: add trace event for memory-failure

2015-04-20 Thread Xie XiuQi
RAS user space tools like rasdaemon which base on trace event, could receive mce error event, but no memory recovery result event. So, I want to add this event to make this scenario complete. This patch add a event at ras group for memory-failure. The output like below: # tracer: nop # # entrie

Re: [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag.

2015-04-20 Thread David Howells
NeilBrown wrote: > + .fs_flags = FS_REQUIRES_DEV | FS_BINARY_MOUNTDATA | > + FS_SUPPORTS_SEEK_HOLE, I must be missing something: warthog>git merge linus/master Already up-to-date. warthog>stg id 09d51602cf84a1264946711dd4ea0dddbac5

[PATCH v4 1/3] memory-failure: export page_type and action result

2015-04-20 Thread Xie XiuQi
Export 'outcome' and 'action_page_type' to mm.h, so we could use this enums outside. This patch is preparation for adding trace events for memory-failure recovery action. Signed-off-by: Xie XiuQi --- include/linux/mm.h | 34 +++ mm/memory-failure.c | 168 +-

Re: [RFC 1/4] fs: Add generic file system event notifications

2015-04-20 Thread Beata Michalska
Hi, On 04/18/2015 12:44 AM, Andreas Dilger wrote: > On Apr 17, 2015, at 5:31 AM, Jan Kara wrote: >> On Wed 15-04-15 09:15:44, Beata Michalska wrote: >>> Introduce configurable generic interface for file >>> system-wide event notifications to provide file >>> systems with a common way of reporting

RE: [RFC,1/8] soc/fman: Add FMan MURAM support

2015-04-20 Thread igal.liber...@freescale.com
Regards, Igal Liberman. > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Thursday, March 12, 2015 5:57 PM > To: Liberman Igal-B31950 > Cc: linuxppc-...@lists.ozlabs.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Wood Scott-B07421 > Subject

Re: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-20 Thread Alan Cox
On Sat, 2015-04-18 at 22:12 +0200, Yorick Rommers wrote: > From: Yorick > > This is a patch that fixes errors regarding whitespaces and split strings. Wouldn't worry. The i2o layer is in staging because it is about to be dropped from the kernel unless someone steps up to maintain it. Given its u

Re: [PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-20 Thread Chris Wilson
On Mon, Apr 20, 2015 at 07:26:33AM +0200, Radek Dostal wrote: > commit eaf99c749d43 ("drm: Perform cmdline mode parsing during connector > initialisation") breaks HDMI output on BeagleBone Black with LG TV > (model 19LS4R-ZA) when "video=HDMI-A-1:1280x720@60" is specified on > the command line. >

Re: [PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-20 Thread Jiri Olsa
On Sun, Apr 19, 2015 at 01:04:14PM +0900, Namhyung Kim wrote: SNIP > + > +static int > +add_script_opt(struct popup_option *opt, char **optstr, > +struct hist_browser *browser __maybe_unused, > +struct thread *thread, struct symbol *sym) > +{ > + if (thread) { > +

[PATCH] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-20 Thread Gaël PORTAY
Sort nodes, rename to match Atmel naming convention and update the features below: - command-line, - use proper serial uart, - rename leds and gpio-keys, - update to pwm-leds and - fix gpio-key level. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 2 +- arch/arm/boot/d

[PATCH v2] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-04-20 Thread pi-cheng.chen
This patch adds CPU mux clocks which are used by Mediatek cpufreq driver for intermediate clock source switching. It is based on v11 of common clock support for Mediatek MT8135 and MT8173[1] [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/335967.html Changes in v2: - Remove u

Re: [PATCH v13 2/3] power-domain: rockchip: add power domain driver

2015-04-20 Thread Paul Bolle
On Sun, 2015-04-19 at 18:44 +0800, Caesar Wang wrote: > --- a/arch/arm/mach-rockchip/Makefile > +++ b/arch/arm/mach-rockchip/Makefile +obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o PM_GENERIC_DOMAINS is a bool symbol, so pm_domains.o can never be part of a module. Is that correct? > --- /dev/

[PATCH 1/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-04-20 Thread pi-cheng.chen
This patch implements MT8173 specific cpufreq driver with OPP table defined in the driver code. Signed-off-by: pi-cheng.chen --- drivers/cpufreq/Kconfig.arm | 6 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/mt8173-cpufreq.c | 509 +++ 3 f

[PATCH v3 0/2] cpufreq: add cpufreq driver for Mediatek MT8173 SoC

2015-04-20 Thread pi-cheng.chen
MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster share the same power and clock domain. This series tries to add cpufreq support for MT8173 SoC. Changes in v3: - Implement MT8173 specific standalone cpufreq driver instead of using cpufreq-dt driver - Define OPP table in

[PATCH 2/2] ARM64: mt8173: dts Add MT8173 cpufreq driver support

2015-04-20 Thread pi-cheng.chen
This patch adds voltage supplies and clocks used by MT8173 cpufreq driver. Signed-off-by: pi-cheng.chen --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 9 + arch/arm64/boot/dts/mediatek/mt8173.dtsi| 6 ++ 2 files changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/media

Re: [patch 08/39] hrtimer: Make offset update smarter

2015-04-20 Thread Preeti U Murthy
On 04/15/2015 02:38 AM, Thomas Gleixner wrote: >>On every tick/hrtimer interrupt we update the offset variables of the >>clock bases. That's silly because these offsets change very seldom. >> >>Add a sequence counter to the time keeping code which keeps track of >>the offset updates (clock_was_set(

Re: [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag.

2015-04-20 Thread NeilBrown
On Mon, 20 Apr 2015 09:47:42 +0100 David Howells wrote: > NeilBrown wrote: > > > + .fs_flags = FS_REQUIRES_DEV | FS_BINARY_MOUNTDATA | > > + FS_SUPPORTS_SEEK_HOLE, > > I must be missing something: > > warthog>git merge linus/master > Already up-to-date.

Re: [PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-20 Thread Radek Dostál
Hi Chris, On 04/20/2015 11:09 AM, Chris Wilson wrote: > The EDID modes should be earlier in the list, and so higher priority > than the cmdline mode. The only instance I see that breaking down is if > the mode gets created by drm_pick_cmdline_mode, i.e. indeed at the beginning the command line mo

Re: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > Implement the protocol for tearing down the monitor state established with > the host. > > Signed-off-by: K. Y. Srinivasan Unfortunatelly this patch leads to the following crash: pre-udev:/# modprobe hv_vmbus modprobe hv_vmbus [ 14.832334] hv_vmbus: Hyper-V Host

Re: [PATCH 3.10 31/34] kernel.h: define u8, s8, u32, etc. limits

2015-04-20 Thread Konstantin Khlebnikov
On Fri, Apr 17, 2015 at 4:29 PM, Greg Kroah-Hartman wrote: > 3.10-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Alex Elder > > commit 89a0714106aac7309c7dfa0f004b39e1e89d2942 upstream. > > Create constants that define the maximum and mini

  1   2   3   4   5   6   7   >