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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

[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

[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

[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

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

[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

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(+) >

[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

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

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

[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

[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

[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

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

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

[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

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

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

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

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

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

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

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

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

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

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 Rothwell

[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

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

[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

[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

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

[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

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

[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

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

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.

[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

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

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

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

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

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

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

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

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

[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

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

Re: [git pull] IOMMU Updates for Linux v4.1

2015-04-20 Thread Oded Gabbay
Hi Joerg, I sent to you (cc iommu mailing list) an important fix on Apr-16 for a bug in amd_iommu_v2.c (from kernel 4.0). See: http://lists.linuxfoundation.org/pipermail/iommu/2015-April/012757.html Could you please add that to the pull request ? Its creating problems when running HSA

Re: [PATCH kernel v8 14/31] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework IOMMU ownership control

2015-04-20 Thread Alexey Kardashevskiy
On 04/20/2015 12:44 PM, David Gibson wrote: On Fri, Apr 17, 2015 at 08:09:29PM +1000, Alexey Kardashevskiy wrote: On 04/16/2015 04:07 PM, David Gibson wrote: On Fri, Apr 10, 2015 at 04:30:56PM +1000, Alexey Kardashevskiy wrote: At the moment the iommu_table struct has a set_bypass() which

Re: [PATCH v2 3/5] mmc: mediatek: Add PM support for MMC driver

2015-04-20 Thread Sascha Hauer
On Tue, Mar 17, 2015 at 11:13:53AM +0800, Chaotian Jing wrote: > Add PM support for Mediatek MMC driver > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 94 > ++- > 1 file changed, 93 insertions(+), 1 deletion(-) > > diff --git

Re: [patch for 4.0] x86: silence warning in /dev/mem support

2015-04-20 Thread Ingo Molnar
* Pavel Machek wrote: > Hi! > > > > CC arch/x86/mm/ioremap.o > > > arch/x86/mm/ioremap.c: In function ‘xlate_dev_mem_ptr’: > > > arch/x86/mm/ioremap.c:363:10: warning: cast to pointer from integer of > > > different size [-Wint-to-pointer-cast] > > > addr = (void *)((unsigned

Re: [PATCH 2/2] arm64: add KASan support

2015-04-20 Thread Andrey Ryabinin
On 04/17/2015 09:39 PM, David Keitel wrote: > On 04/15/2015 11:04 AM, Andrey Ryabinin wrote: >> I've pushed the most fresh thing that I have in git: >> git://github.com/aryabinin/linux.git kasan/arm64v1 >> >> It's the same patches with two simple but important fixes on top of it. > > Thanks,

Re: [PATCH v2 3/5] mmc: mediatek: Add PM support for MMC driver

2015-04-20 Thread Sascha Hauer
On Tue, Mar 17, 2015 at 11:13:53AM +0800, Chaotian Jing wrote: > Add PM support for Mediatek MMC driver > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 94 > ++- > 1 file changed, 93 insertions(+), 1 deletion(-) > > @@ -1003,6

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-04-20 Thread Anshuman Khandual
On 04/13/2015 02:18 PM, Anshuman Khandual wrote: > On 04/10/2015 04:03 PM, Ulrich Weigand wrote: >> Anshuman Khandual wrote on 10.04.2015 >> 11:10:35: > > I believed it stores the check pointed MSR value which was in the register > before the transaction started. But then how it is different

Re: Need some guidance on i2c-ocores driver

2015-04-20 Thread Lee Jones
On Fri, 17 Apr 2015, York Sun wrote: > Resend to LKML > > Lee, > > This question is actually more about MFD. Can you point me to the possible > causes for my failure below? It's hard to tell exactly without code, but it looks like you're trying to allocate overlapping memory regions. Double

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

2015-04-20 Thread Jens Wiklander
On Sat, Apr 18, 2015 at 10:57:47AM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 17, 2015 at 09:50:57AM +0200, Jens Wiklander wrote: > > Adds mostly stubbed OP-TEE driver which also can be compiled as a > > loadable module. > > Please provide a "real" driver, so that we can see how this is all

[PATCH v8 11/17] h8300: clock driver

2015-04-20 Thread Yoshinori Sato
h8300 clock generator drivers. H8/3069 is simple oscillator. H8S2678 is PLL multiplier support. Signed-off-by: Yoshinori Sato --- drivers/clk/Makefile| 1 + drivers/clk/h8300/Makefile | 2 + drivers/clk/h8300/clk-h83069.c | 80 +++

[PATCH v8 15/17] Add ELF machine

2015-04-20 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- include/uapi/linux/elf-em.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index ae99f77..b088296 100644 --- a/include/uapi/linux/elf-em.h +++ b/include/uapi/linux/elf-em.h @@ -25,6 +25,7 @@ #define

[PATCH v8 06/17] h8300: CPU depend helpers

2015-04-20 Thread Yoshinori Sato
H8/3069 and H8S2678 have little different specification (peripheral, interrupt and trace). Its difference is absorbed here. Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/cpu/Makefile | 4 + arch/h8300/kernel/cpu/h83069/Makefile | 1 + arch/h8300/kernel/cpu/h83069/setup.c |

[PATCH v8 13/17] h8300: configs

2015-04-20 Thread Yoshinori Sato
h8300h-sim_defconfig: H8/300H simulator config. h8s-sim_defconfig:H8S simulator config. edosk2674_defconfig: EDOSK2674R evalution board config. Signed-off-by: Yoshinori Sato --- arch/h8300/configs/h8300h-sim_defconfig | 53 +

[PATCH v8 09/17] h8300: library functions

2015-04-20 Thread Yoshinori Sato
h8300 assembly functions and private libgcc. Signed-off-by: Yoshinori Sato --- arch/h8300/lib/Makefile| 7 ++ arch/h8300/lib/abs.S | 20 ++ arch/h8300/lib/ashldi3.c | 24 +++ arch/h8300/lib/ashrdi3.c | 24 +++ arch/h8300/lib/checksum.c | 167

[PATCH v8 05/17] h8300: process and signals

2015-04-20 Thread Yoshinori Sato
process management helper and signal handling Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/process.c | 171 ++ arch/h8300/kernel/ptrace.c | 203 +++ arch/h8300/kernel/signal.c | 289 3

[PATCH v8 12/17] h8300: clocksource

2015-04-20 Thread Yoshinori Sato
H8/300 internal timer driver. h8300_timer8 - 8bit Timer driver. h8300_timer16 - 16bit Timer driver (only H8/3069). h8300_tpu - Timer Pulse Unit driver (only H8S2678). Signed-off-by: Yoshinori Sato --- drivers/clocksource/Kconfig | 6 + drivers/clocksource/Makefile| 3 +

[PATCH v8 04/17] h8300: kernel booting

2015-04-20 Thread Yoshinori Sato
zImage startup / kernel entry point / arch depend startup Signed-off-by: Yoshinori Sato --- arch/h8300/boot/Makefile | 26 + arch/h8300/boot/compressed/Makefile| 37 +++ arch/h8300/boot/compressed/head.S | 48 + arch/h8300/boot/compressed/misc.c |

[PATCH v8 17/17] Add H8/300 entry

2015-04-20 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- CREDITS | 5 - MAINTAINERS | 11 +++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CREDITS b/CREDITS index 96935df..3bea091 100644 --- a/CREDITS +++ b/CREDITS @@ -3194,11 +3194,6 @@ N: Dipankar Sarma E: dipan...@in.ibm.com D:

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

2015-04-20 Thread Yoshinori Sato
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/asm/bitops.h| 185 +

<    2   3   4   5   6   7   8   9   10   11   >