RE: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware

2015-04-16 Thread Kweh, Hock Leong
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Wednesday, April 15, 2015 9:19 PM > > On Wed, Apr 15, 2015 at 11:32:29AM +, Kweh, Hock Leong wrote: > > > -Original Message- > > > From: Greg Kroah-Hartman

Re: [PATCH v3] ARM: at91/dt: add support for kizbox2

2015-04-16 Thread Alexandre Belloni
On 13/04/2015 at 14:57:16 +0200, Gaël PORTAY wrote : > Add DT file for Kizbox 2 board. > This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. > > Signed-off-by: Gaël PORTAY > Acked-by: Boris Brezillon Acked-by: Alexandre Belloni > --- > Changes since v1: > - drop ek boards from compatible

Re: [PATCH v3 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-16 Thread Alexandre Belloni
On 13/04/2015 at 14:56:14 +0200, Gaël PORTAY wrote : > Add DT file for Kizbox mini board. > This board is based on Atmel's AT91SAM9G25 SoC. > > Signed-off-by: Gaël PORTAY Acked-by: Alexandre Belloni > --- > arch/arm/boot/dts/Makefile| 1 + > arch/arm/boot/dts/at91-kizboxmini.dts

Re: [PATCH V3 2/6] i2c: qup: Add V2 tags support

2015-04-16 Thread Sricharan R
Hi Ivan, On 04/16/2015 02:06 PM, Ivan T. Ivanov wrote: Hi Sricharan, On Wed, 2015-04-15 at 20:14 +0530, Sricharan R wrote: +#define QUP_I2C_MX_CONFIG_DURING_RUN BIT(31) Could you explain what is this for? This is a new feature in the V2 version of the controller, to

Re: n900 in 4.1-rc0

2015-04-16 Thread Marc Zyngier
On 16/04/15 10:32, Pavel Machek wrote: > Hi! > > Just tried booting 4.1-rc0 on n900 (commit > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken. > > Any ideas? To such a question, the only answer I have is "Yes". For a more useful reply, I'm afraid you'll have to ask a better

Re: [PATCH v8 0/4] hwspinlock core & omap dt support

2015-04-16 Thread Mark Rutland
Hi, Apologies for the delay on this. > > Gentle reminder. Can you please provide your ack on the bindings in this > > series (Patches 1 & 3) for Ohad to queue up the series for 4.1. > > > > Ping again, if you can provide your ack on these bindings and the qcom > hwmutex bindings, then Ohad can

n900 in 4.1-rc0

2015-04-16 Thread Pavel Machek
Hi! Just tried booting 4.1-rc0 on n900 (commit 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken. Any ideas? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

[PATCH] iio: common: ssp_sensors: Fix uninitialized warning for timestamp

2015-04-16 Thread Karol Wrona
calculated_time variable caused warning as uninitialized. It was not harmful because it was evaluated in the path in which was used later but it is to satisfy the checkers. Signed-off-by: Karol Wrona --- drivers/iio/common/ssp_sensors/ssp_iio.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2] power_supply: Add TI BQ24257 charger driver

2015-04-16 Thread Laurentiu Palcu
Based on the datasheet found here: http://www.ti.com/lit/ds/symlink/bq24257.pdf Signed-off-by: Laurentiu Palcu --- Changes since v1: * removed redundant bq24257_is_writeable_reg(); * made power_supply_desc struct a static const, since it's not changed; laurentiu

Re: [PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-16 Thread Arnd Bergmann
On Tuesday 14 April 2015 12:03:09 Michal Simek wrote: > Do not probe all serial drivers by of_serial.c which are using > device_type = "serial"; property. Only drivers which have valid > compatible strings listed in the driver should be probed. > > When PORT_UNKNOWN is setup probe will fail

Re: [PATCH v3 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-16 Thread Alexandre Belloni
On 13/04/2015 at 14:56:13 +0200, Gaël PORTAY wrote : > Defines the pinctrl configurations for PWM0. > > Signed-off-by: Gaël PORTAY Acked-by: Alexandre Belloni > --- > arch/arm/boot/dts/at91sam9x5.dtsi | 46 > +++ > 1 file changed, 46 insertions(+) > >

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Jean Delvare
Le Thursday 16 April 2015 à 16:46 +0800, Zhenzhong Duan a écrit : > On 2015/4/16 15:09, Jean Delvare wrote: > > Le Thursday 16 April 2015 à 14:22 +0800, Zhenzhong Duan a écrit : > >> The basic idea is right, but you ignore the case dmi_walk_early may > >> fail, though looks impossible when bootup.

RE: [Xen-devel] "tcp: refine TSO autosizing" causes performance regression on Xen

2015-04-16 Thread David Laight
From: George Dunlap > Sent: 16 April 2015 09:56 > On 04/15/2015 07:19 PM, Eric Dumazet wrote: > > On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: > > > >> Maybe you should stop wasting all of our time and just tell us what > >> you're thinking. > > > > I think you make me wasting my time.

Re: [Xen-devel] "tcp: refine TSO autosizing" causes performance regression on Xen

2015-04-16 Thread Daniel Borkmann
On 04/16/2015 10:56 AM, George Dunlap wrote: On 04/15/2015 07:19 PM, Eric Dumazet wrote: On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: Maybe you should stop wasting all of our time and just tell us what you're thinking. I think you make me wasting my time. I already gave all the

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Mel Gorman
On Thu, Apr 16, 2015 at 05:29:55PM +0900, Minchan Kim wrote: > On Thu, Apr 16, 2015 at 09:07:22AM +0100, Mel Gorman wrote: > > On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: > > > Hello Mel, > > > > > > On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: > > > > On Wed, Apr

Re: [PATCH 2/3 v2] futex: avoid double wake up in futex_wake() on -RT

2015-04-16 Thread Thomas Gleixner
On Wed, 15 Apr 2015, Davidlohr Bueso wrote: > On Sun, 2015-04-12 at 20:02 -0700, Davidlohr Bueso wrote: > > Doing the wakeups while holding the lock is also a general performance > > issue for futex_wake. The problem being dealing with spurious wakeups > > (wacky drivers), which makes no

Re: [PATCH 3/5 v2] lightnvm: RRPC target

2015-04-16 Thread Paul Bolle
On Wed, 2015-04-15 at 14:34 +0200, Matias Bjørling wrote: > --- /dev/null > +++ b/drivers/lightnvm/Kconfig > +menuconfig NVM > + bool "Open-Channel SSD target support" > + depends on BLK_DEV_NVM > + help > + Say Y here to get to enable Open-channel SSDs. > + > +

Re: [PATCH v3 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-16 Thread Boris Brezillon
On Mon, 13 Apr 2015 14:56:12 +0200 Gaël PORTAY wrote: > Hi, > > Here are two patches to bring support for a new hardware based on SAM9G25 SoC. > > The first one adds the PIN controller definition for PWM0. > The second defines the new board. To the whole series, Acked-by: Boris Brezillon >

Re: [PATCH 2/5 v2] blk-mq: Support for Open-Channel SSDs

2015-04-16 Thread Paul Bolle
A few things I spotted (while actually fiddling with 3/5). On Wed, 2015-04-15 at 14:34 +0200, Matias Bjørling wrote: > index f3dd028..58a8a71 100644 > --- a/block/blk-mq.c > +++ b/block/blk-mq.c > @@ -221,6 +221,9 @@ static void blk_mq_rq_ctx_init(struct request_queue *q, > struct blk_mq_ctx

Re: [patch 04/39] sound: Use hrtimer_resolution instead of hrtimer_get_res()

2015-04-16 Thread Thomas Gleixner
On Thu, 16 Apr 2015, Takashi Iwai wrote: > At Tue, 14 Apr 2015 21:08:30 -, > Thomas Gleixner wrote: > > > > No point in converting a timespec now that the value is directly > > accessible. Get rid of the null check while at it. Resolution is > > guaranteed to be > 0. > > > > Signed-off-by:

[PATCH RFC 3/3] iio: Use with iio_trigger_register_with_dev to register trigger

2015-04-16 Thread Robert Dolca
The trigger registered by the driver has the main purpose to be used with this driver so it should be linked to the IIO device. This way the user space applications can find the connection between them. Signed-off-by: Robert Dolca --- drivers/iio/common/st_sensors/st_sensors_trigger.c | 2 +- 1

[PATCH RFC 2/3] iio: Improve iio_trigger_register_with_dev to register trigger after device

2015-04-16 Thread Robert Dolca
Until now calling iio_trigger_register_with_dev after registering the IIO device added the trigger to the device's trigger list and saved a reference to the device in the trigger's struct but it did not create the symlink. In order to know if the device was registered or not this patch adds a

[PATCH RFC 1/3] iio: Add symlink to triggers in the device's trigger folder

2015-04-16 Thread Robert Dolca
This patch adds a new function called iio_trigger_register_with_dev which is a wrapper for iio_trigger_register. Besides the iio_trigger struct this function requires iio_dev struct. It adds the trigger in the device's trigger list and saves a reference to the device in the trigger's struct. When

[PATCH RFC 0/3] Add IIO trigger symlink in iio:device0/trigger/

2015-04-16 Thread Robert Dolca
Currently the user space applications write the trigger name in the current_trigger file. The user space application should know what trigger to use. The association can be manually configured or can be "detected" based on the trigger's name if the triggers name has the device's index in the name

Re: [Xen-devel] "tcp: refine TSO autosizing" causes performance regression on Xen

2015-04-16 Thread George Dunlap
On 04/15/2015 07:19 PM, Eric Dumazet wrote: > On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: > >> Maybe you should stop wasting all of our time and just tell us what >> you're thinking. > > I think you make me wasting my time. > > I already gave all the hints in prior discussions.

Re: [PATCH 3/3] sched: fair: Fix wrong idle timestamp usage

2015-04-16 Thread Daniel Lezcano
On 04/15/2015 07:10 PM, Morten Rasmussen wrote: On Wed, Apr 15, 2015 at 04:43:17PM +0100, Daniel Lezcano wrote: On 04/15/2015 02:18 PM, Peter Zijlstra wrote: On Wed, Apr 15, 2015 at 12:00:24PM +0200, Daniel Lezcano wrote: The find_idlest_cpu is assuming the rq->idle_stamp information reflects

Re: [RFC PATCH 0/14] Parallel memory initialisation

2015-04-16 Thread Mel Gorman
On Thu, Apr 16, 2015 at 12:25:01AM -0700, Andrew Morton wrote: > On Mon, 13 Apr 2015 11:16:52 +0100 Mel Gorman wrote: > > > Memory initialisation > > I wish we didn't call this "memory initialization". Because memory > initialization is memset(), and that isn't what we're doing here. > >

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Zhenzhong Duan
On 2015/4/16 15:09, Jean Delvare wrote: Hi zduan, Thanks for your reply. Le Thursday 16 April 2015 à 14:22 +0800, Zhenzhong Duan a écrit : On 2015/4/15 17:02, Jean Delvare wrote: In function dmi_present(), dmi_walk_early() calls dmi_table(), which calls dmi_decode(), which ultimately calls

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread Jiri Kosina
On Wed, 15 Apr 2015, Greg Kroah-Hartman wrote: > > I originally didn't want to comment on this, but now that you are > > making this argument for 3rd or 4th time, I can't really resist. What > > exactly are you trying to "prove" by the 13k-lines argument? > > > > mm/vmscan.c is less that 4k

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

2015-04-16 Thread Beata Michalska
On 04/16/2015 05:46 AM, Eric Sandeen wrote: > On 4/15/15 2:15 AM, Beata Michalska wrote: >> Introduce configurable generic interface for file >> system-wide event notifications to provide file >> systems with a common way of reporting any potential >> issues as they emerge. >> >> The notifications

Re: [PATCH V3 2/6] i2c: qup: Add V2 tags support

2015-04-16 Thread Ivan T. Ivanov
Hi Sricharan, On Wed, 2015-04-15 at 20:14 +0530, Sricharan R wrote: > > > > > > > > > > > +#define QUP_I2C_MX_CONFIG_DURING_RUN BIT(31) > > > > > > > > Could you explain what is this for? > > > > > > > This is a new feature in the V2 version of the controller, > > > to support

Re: [Patch 1/3] firmware: dmi_scan: rename dmi_table to dmi_decode_table

2015-04-16 Thread Jean Delvare
Hi Matt, On Wed, 15 Apr 2015 15:35:30 +0100, Matt Fleming wrote: > On Thu, 02 Apr, at 03:57:01PM, Ivan Khoronzhuk wrote: > > The "dmi_table" function looks like data instance, but it does DMI > > table decode. This patch renames it to "dmi_decode_table" name as > > more appropriate. That allows

Re: [PATCH] KVM: MMU: fix comment in kvm_mmu_zap_collapsible_spte

2015-04-16 Thread Wanpeng Li
On Wed, Apr 15, 2015 at 05:05:48PM +0200, Paolo Bonzini wrote: > > >> - * Only EPT supported for now; otherwise, one would need to >> - * find out efficiently whether the guest page tables are >> - * also using huge pages. >> + * We can not do huge page mapping for

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Minchan Kim
On Thu, Apr 16, 2015 at 09:07:22AM +0100, Mel Gorman wrote: > On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: > > Hello Mel, > > > > On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: > > > On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: > > > > On Wed, 15 Apr

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Chanwoo Choi
On 04/16/2015 05:01 PM, Peter Chen wrote: > On Thu, Apr 16, 2015 at 04:59:31PM +0900, Chanwoo Choi wrote: >> On 04/16/2015 04:13 PM, Ivan T. Ivanov wrote: >>> Hi, >>> >>> On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: >

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

2015-04-16 Thread Beata Michalska
On 04/15/2015 09:25 PM, Darrick J. Wong wrote: > On Wed, Apr 15, 2015 at 09:15:44AM +0200, Beata Michalska wrote: >> Introduce configurable generic interface for file >> system-wide event notifications to provide file >> systems with a common way of reporting any potential >> issues as they

Re: [PATCH 0/2] Tentative fix for the divide-by-zero on score/paris/..

2015-04-16 Thread Quentin Casasnovas
On Wed, Apr 15, 2015 at 06:43:11PM -0700, Guenter Roeck wrote: > > For > > >From 2e9abac9cbde18af48951c54d52c9c515f9883a7 Mon Sep 17 00:00:00 2001 > From: Quentin Casasnovas > Date: Wed, 15 Apr 2015 22:39:50 +0200 > Subject: [PATCH] modpost: do not try to match the SHT_NUL section. > >

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

2015-04-16 Thread Michael Wang
We have get rid of all the scene using legacy rdma_node_get_transport(), now clean it up. 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 v4 26/27] IB/Verbs: Clean up rdma_ib_or_iboe()

2015-04-16 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: 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 |

[PATCH 0/6] Enhancements to twl4030 phy to support better charging.

2015-04-16 Thread NeilBrown
Hi Kishon, this is a slightly modified version of the series I sent earlier. I've removed that patches which use the old 'notifier chain' and will solve the issue of communicating current available separately. I've added a couple of patches which fix some pm_runtime issues. In particular:

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

2015-04-16 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: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty

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

2015-04-16 Thread Michael Wang
Introduce helper cap_af_ib() to help us check if the port of an IB device support Native Infiniband Address. 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 | 2 +-

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

2015-04-16 Thread Michael Wang
Introduce helper cap_eth_ah() to help us check if the port of an IB device support Ethernet Address Handler. 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 | 6 +++---

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

2015-04-16 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: 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

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

2015-04-16 Thread Michael Wang
Introduce helper cap_ipoib() to help us check if the port of an IB device support IP over Infiniband. 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 | 2 +-

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

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_mcast() to help us check if the port of an IB device support Infiniband Multicast. 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 | 6 +++---

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

2015-04-16 Thread Michael Wang
Introduce helper cap_iw_cm() to help us check if the port of an IB device support IWARP Communication Manager. 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 | 14 +++---

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

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_sa() to help us check if the port of an IB device support Infiniband Subnet Administrator. 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 | 4 ++--

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. 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 | 20

[PATCH 5/6] phy: twl4030-usb: add support for reading resistor on ID pin.

2015-04-16 Thread NeilBrown
From: NeilBrown The twl4030 phy can measure, with low precision, the resistance-to-ground of the ID pin. Add a function to read the value, and export the result via sysfs. If the read fails, which it does sometimes, try again in 50msec. Acked-by: Pavel Machek Signed-off-by: NeilBrown ---

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

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_cm() to help us check if the port of an IB device support Infiniband Communication Manager. 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 | 6 +++---

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

2015-04-16 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: 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

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core multicast. 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(+), 9 deletions(-)

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform rest part in IB-core cma. 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 | 16 +++- 1 file changed, 7 insertions(+), 9

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform route related part in IB-core cma. 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 v4 14/27] IB/Verbs: Reform cma_acquire_dev()

2015-04-16 Thread Michael Wang
Reform cma_acquire_dev() with management helpers, introduce cma_validate_port() to make the code more clean. 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 | 69

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

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_mad() to help us check if the port of an IB device support Infiniband Management Datagrams. 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/mad.c | 6

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core verbs/uverbs_cmd/sysfs. 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/core/uverbs_cmd.c | 6

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform cm related part in IB-core cma/ucm. These 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: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc:

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform mcast related part in IB-core cma. 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 | 57 +++ 1 file

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-ulp xprtrdma. 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_transport.c | 45

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

2015-04-16 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: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang ---

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core sa_query. 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, 18 insertions(+),

[PATCH 6/6] phy: twl4030-usb: add extcon to report cable connections.

2015-04-16 Thread NeilBrown
From: NeilBrown Signed-off-by: NeilBrown --- drivers/phy/phy-twl4030-usb.c | 67 + 1 file changed, 67 insertions(+) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 1d6f3e70193e..c42153d43ec2 100644 ---

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-ulp ipoib. 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 insertions(+), 7

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Mel Gorman
On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: > Hello Mel, > > On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: > > On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: > > > On Wed, 15 Apr 2015, Rik van Riel wrote: > > > > On 04/15/2015 06:42 AM, Mel Gorman

Re: [patch 04/39] sound: Use hrtimer_resolution instead of hrtimer_get_res()

2015-04-16 Thread Takashi Iwai
At Tue, 14 Apr 2015 21:08:30 -, Thomas Gleixner wrote: > > No point in converting a timespec now that the value is directly > accessible. Get rid of the null check while at it. Resolution is > guaranteed to be > 0. > > Signed-off-by: Thomas Gleixner > Cc: Jaroslav Kysela > Cc: Takashi Iwai

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

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core cm. 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 | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-)

[PATCH 3/6] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-04-16 Thread NeilBrown
The USB phy should initialize with power-off, and will be powered on by the USB system when a cable connection is detected. Having this pm_runtime_get_sync() during probe causes the phy to *always* be powered on. Removing it returns to sensible power management. Fixes:

[PATCH 2/6] phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback.

2015-04-16 Thread NeilBrown
When the runtime_suspend callback is running, 'runtime_status' is always RPM_SUSPENDING, so pm_runtime_suspended() will always fail. Similarly while the runtime_resume callback is running 'runtime_status' is RPM_RESUMING, so pm_runtime_active() will always fail. So remove these two pointless

[PATCH 4/6] phy: twl4030-usb: add ABI documentation

2015-04-16 Thread NeilBrown
From: NeilBrown This driver device one local attribute: vbus. Describe that in Documentation/ABI/testing/sysfs-platform/twl4030-usb. Signed-off-by: NeilBrown --- .../ABI/testing/sysfs-platform-twl4030-usb |8 1 file changed, 8 insertions(+) create mode 100644

[PATCH 1/6] phy: twl4030-usb: make runtime pm more reliable.

2015-04-16 Thread NeilBrown
From: NeilBrown A construct like: if (pm_runtime_suspended(twl->dev)) pm_runtime_get_sync(twl->dev); is against the spirit of the runtime_pm interface as it makes the internal refcounting useless. In this case it is also racy, particularly as 'put_autosuspend' is used

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

2015-04-16 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 for 4.0] x86: silence warning in /dev/mem support

2015-04-16 Thread Pavel Machek
The compiler is right, the code is tricky, but it is also correct AFAICT. Signed-off-by: Pavel Machek diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index fdf617c..8a8dce8 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -341,7 +341,7 @@ void

Re: Allowing reset controllers before SMP initialization (on ARM)?

2015-04-16 Thread Arnd Bergmann
On Wednesday 15 April 2015 17:51:18 Florian Fainelli wrote: > Hi, > > In order to support initialization of the secondary core on BCM63138 > SoCs, I would want to utilize a reset controller to release the > secondary CPU from reset [1]. > > Here are multiple options: > > - expose a custom

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 04:59:31PM +0900, Chanwoo Choi wrote: > On 04/16/2015 04:13 PM, Ivan T. Ivanov wrote: > > Hi, > > > > On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: > >> Hi Peter, > >> > >> On 04/16/2015 10:59 AM, Peter Chen wrote: > >>> > > > >>> Ok, from USB point, external

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

2015-04-16 Thread Michael Wang
Since v3: * Apply suggestions from Sean, Ira, Jason, thanks for the comments :-) and please remind me if I missed anything :-P * No more cap_XX_dev(), all the check are per-port now, use port 1 for cases only care about the cm type, can't support mixing cm type device in future.

Re: [RFC 3/4] ext4: Add support for generic FS events

2015-04-16 Thread Beata Michalska
On 04/15/2015 09:18 PM, Darrick J. Wong wrote: > On Wed, Apr 15, 2015 at 09:15:46AM +0200, Beata Michalska wrote: >> Add support for generic FS events including threshold >> notifications, ENOSPC and remount as read-only warnings, >> along with generic internal warnings/errors. >> >>

[PATCH v2 3/4] ARM: dts: UniPhier: add support for UniPhier SoCs and boards

2015-04-16 Thread Masahiro Yamada
Initial device trees for UniPhier SoCs: PH1-sLD3, PH1-LD4, PH1-Pro4, and PH1-sLD8. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/boot/dts/Makefile | 5 ++ arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 51 +

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 10:13:44AM +0300, Ivan T. Ivanov wrote: > Hi, > > On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: > > Hi Peter, > > > > On 04/16/2015 10:59 AM, Peter Chen wrote: > > > > > > > Ok, from USB point, external id/vbus value can't decide > > > which role the controller

[PATCH v2 0/4] ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)

2015-04-16 Thread Masahiro Yamada
This is an initial series for supporting Socionext UniPhier SoCs, based on ARM Cortex-A9, mainly used for digital TVs, video recorders, etc. Masahiro Yamada (4): ARM: UniPhier: add basic support for UniPhier architecture ARM: multi_v7_defconfig: enable UniPhier SoC family ARM: dts:

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Chanwoo Choi
On 04/16/2015 04:13 PM, Ivan T. Ivanov wrote: > Hi, > > On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: >> Hi Peter, >> >> On 04/16/2015 10:59 AM, Peter Chen wrote: >>> > >>> Ok, from USB point, external id/vbus value can't decide >>> which role the controller will be, the controller

[PATCH v2 4/4] MAINTAINERS: add myself as ARM/UniPhier maintainer

2015-04-16 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v2: None MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 56a432d..a1f7c07 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1526,6 +1526,13 @@ F: drivers/rtc/rtc-ab3100.c F:

[PATCH v2 1/4] ARM: UniPhier: add basic support for UniPhier architecture

2015-04-16 Thread Masahiro Yamada
Initial commit for a new SoC family, UniPhier, developed by Socionext Inc. (formerly, System LSI Business Division of Panasonic Corporation). This commit includes a minimal set of components for booting the kernel, including SMP support. Signed-off-by: Masahiro Yamada --- Changes in v2: -

[PATCH v2 2/4] ARM: multi_v7_defconfig: enable UniPhier SoC family

2015-04-16 Thread Masahiro Yamada
Add UniPhier, a new citizen in the ARM multi platform. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index

[git pull] Please pull mpe/linux.git powerpc-4.1-1 tag

2015-04-16 Thread Michael Ellerman
Hi Linus, Please pull powerpc updates for 4.1: The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.1-1 for

Re: [PATCH] Support gcc 6 for building

2015-04-16 Thread Michal Marek
On 2015-04-15 21:45, Andi Kleen wrote: > From: Andi Kleen > > gcc recently switched to a new version number scheme, where every version > gets a new major version number. The current version is 5.x, the next 6.x, > etc. > > The gcc git repository trunk branch just switched to report 6.x for

Re: Commit a551d91473 (ALSA: hda - Use regmap for command verb caches, too) breaks TOSLINK

2015-04-16 Thread Takashi Iwai
At Thu, 16 Apr 2015 09:15:04 +0200, Markus Trippelsdorf wrote: > > Hi, > > since commit a551d914: > Author: Takashi Iwai > Date: Thu Feb 26 12:34:49 2015 +0100 > > ALSA: hda - Use regmap for command verb caches, too > > my DAC receives no signal over TOSLINK-S/PDIF anymore. > >

Re: [RFC][PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow

2015-04-16 Thread Miroslav Lichvar
On Wed, Apr 15, 2015 at 12:17:36PM -0400, Justin Keller wrote: > Is there a reason for "step = leap"? It's there to not change the behavior when a leap second occurs, the clock still needs to be stepped. I guess it could be optimized a bit, if it used "if (unlikely(leap || tk->xtime_sec >=

Re: [RFC][PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow

2015-04-16 Thread Miroslav Lichvar
On Wed, Apr 15, 2015 at 10:31:54PM +0100, One Thousand Gnomes wrote: > On Wed, 15 Apr 2015 17:41:28 +0200 > Miroslav Lichvar wrote: > > larger value. When the maximum is reached in normal time accumulation, > > the clock will be stepped back by one week. > > Which itself is open to exploits and

Re: [PATCH v2] usb: chipidea: Use extcon framework for VBUS and ID detect

2015-04-16 Thread Peter Chen
On Wed, Apr 15, 2015 at 04:35:15PM +0300, Ivan T. Ivanov wrote: > On recent Qualcomm platforms VBUS and ID lines are not routed to > USB PHY LINK controller. Use extcon framework to receive connect > and disconnect ID and VBUS notification. > > Signed-off-by: Ivan T. Ivanov > --- > > Changes

Re: make mandocs build failure with next-20150407

2015-04-16 Thread Jonathan Corbet
On Thu, 16 Apr 2015 08:33:15 +0900 Masanari Iida wrote: > On Wed, Apr 8, 2015 at 7:41 AM, Jim Davis wrote: > > DOCPROC Documentation/DocBook/80211.xml > > Error(.//include/net/mac80211.h:329): Cannot parse enum! > > Error(.//include/net/mac80211.h:367): Cannot parse enum! > >

Re: [PATCH] uio: add irq control support to uio_pci_generic

2015-04-16 Thread Michael S. Tsirkin
On Wed, Apr 15, 2015 at 09:59:34AM -0700, Stephen Hemminger wrote: > The driver already supported INTX interrupts but had no in kernel > function to enable and disable them. > > It is possible for userspace to do this by accessing PCI config > directly, but this racy How is it racy? We have

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

2015-04-16 Thread Ivan T. Ivanov
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 and Device > > > controller driver. Which can be loaded simultaneously and >

Re: [PATCH] x86: Enable fast 32-bit put_user_64 for copy_to_user

2015-04-16 Thread Chris Wilson
On Thu, Apr 16, 2015 at 09:28:02AM +0200, Ingo Molnar wrote: > > * Chris Wilson wrote: > > > For fixed sized copies, copy_to_user() will utilize __put_user_size > > fastpaths. However, it is missing the translation for 64bit copies on > > x86/32. Testing on a Pinetrail Atom, the 64 bit put_user

Re: [PATCH 1/1] ARM: dts: Make DP a consumer of DISP1 power domain on Exynos5420

2015-04-16 Thread Javier Martinez Canillas
Hello Kukjin, On 04/12/2015 10:30 PM, Javier Martinez Canillas wrote: > Commit ea08de16eb1b ("ARM: dts: Add DISP1 power domain for exynos5420") > added a device node for the Exynos5420 DISP1 power domain but dit not > make the DP controller a consumer of that power domain. > > This causes an

[PATCH] mfd: rtsx: add support for rts522A

2015-04-16 Thread micky_ching
From: Micky Ching rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. Add it to file mfd/rts5227.c to support this chip. Signed-off-by: Micky Ching --- drivers/mfd/rts5227.c| 77 ++-- drivers/mfd/rtsx_pcr.c | 5 +++

Re: [LKP] [mtd] 6b44d910ae7: WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3547 check_flags+0xae/0x17b()

2015-04-16 Thread Frans Klaver
On Thu, Apr 16, 2015 at 7:27 AM, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit 6b44d910ae7de5316fcf1fc828ff4a8d48cac5e2 ("mtd: core: set some > defaults when dev.parent is set") > > I would then

[PATCH 2/3] f2fs: avoid abnormal behavior on broken symlink

2015-04-16 Thread Jaegeuk Kim
When f2fs_symlink was triggered and checkpoint was done before syncing its link path, f2fs can get broken symlink like "xxx -> \0\0\0". This incurs abnormal path_walk by VFS. Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 20 +++- 1 file changed, 19 insertions(+), 1

[PATCH 1/3] f2fs: flush symlink path to avoid broken symlink after POR

2015-04-16 Thread Jaegeuk Kim
This patch tries to avoid broken symlink case after POR in best effort. This results in performance regression. But, if f2fs has inline_data and the target path is under 3KB-sized long, the page would be stored in its inode_block, so that there would be no performance regression. Note that, if

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