[PATCH v3 09/12] devicetree: Add bindings for the ATH79 GPIO controllers

2015-04-24 Thread Alban Bedel
These bindings support the GPIO controllers found on the Qualcomm Atheros AR7xxx/AR9XXX SoC. Signed-off-by: Alban Bedel --- v2: * Add the ngpios property to have fewer fallbacks and simpler code v3: * Fix missing 's' typo * Fix the example to be valid with the binding --- .../devicetree/bind

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
(this was having installed the ASUS driver and plugged my WIFI card in) Chris. -- Disclaimer: I work for IBM, but I do not represent IBM. Any opinions expressed in this email are personal and don’t necessarily represent my employer’s positions, strategies or opinions. -- To unsubscribe from this

[PATCH v3 11/12] of: Add vendor prefix for TP-Link Technologies Co. Ltd

2015-04-24 Thread Alban Bedel
Signed-off-by: Alban Bedel --- v3: * Put the new entry at the right place --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt in

Re: Thunderbolt hotplug not working on MacMini7,1

2015-04-24 Thread Andreas Noever
On Fri, Apr 24, 2015 at 6:50 AM, Adam Goode wrote: > On Thu, Apr 23, 2015 at 1:15 PM, Adam Goode wrote: >> On Thu, Apr 23, 2015 at 12:12 PM, Andreas Noever >> wrote: >>> On Thu, Apr 23, 2015 at 5:10 PM, Adam Goode wrote: On Thu, Apr 23, 2015 at 9:28 AM, Adam Goode wrote: > > On Th

Re: [patch] mm: vmscan: invoke slab shrinkers from shrink_zone()

2015-04-24 Thread Vlastimil Babka
On 04/17/2015 07:06 AM, Joonsoo Kim wrote: On Thu, Apr 16, 2015 at 10:34:13AM -0400, Johannes Weiner wrote: Hi Joonsoo, On Thu, Apr 16, 2015 at 12:57:36PM +0900, Joonsoo Kim wrote: Hello, Johannes. Ccing Vlastimil, because this patch causes some regression on stress-highalloc test in mmtests

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 13:37, Chris Ward wrote: I just tried building the driver from ASUS with the current kernel from OpenSUSE (3.16.7-21), and got a trap when booting (in the insmod, I think) With an out-of-tree driver you are on your own, sorry. Did you enable the in-tree driver (CONFIG_RTL8192C

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Andi Kleen wrote: > > There are better ways to do that than using heuristics. We have to > > deal with 3 variants of the reference counter: > > > > 1) Core and Atom: counts bus cycles and we know that frequency already > > from the local apic calibration > > > >

Re: [PATCH] xfs: call xfs_idestroy_fork() in xfs_ilock() critical section

2015-04-24 Thread Brian Foster
On Fri, Apr 24, 2015 at 08:08:23AM +1000, Dave Chinner wrote: > On Thu, Apr 23, 2015 at 08:21:50AM -0400, Brian Foster wrote: > > On Thu, Apr 23, 2015 at 09:17:58AM +1000, Dave Chinner wrote: > > > @@ -410,11 +418,12 @@ xfs_attr_inactive(xfs_inode_t *dp) > > >*/ > > > trans = xfs_trans_alloc(

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. I've just built the OpenSUSE kernel from source, it has that CONFIG=m . I think ASUS have changed the chip set. Do we have to wait for ASUS to debug their driver ? Supposedly it worked with an older kernel (up to 3.10 I think) C

[PATCH v9] psmouse - focaltech pass finger width to userspace

2015-04-24 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse/foca

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Brian Gerst
On Fri, Apr 24, 2015 at 7:27 AM, Denys Vlasenko wrote: > On 04/24/2015 04:15 AM, Andy Lutomirski wrote: >> AMD CPUs don't reinitialize the SS descriptor on SYSRET, so SYSRET >> with SS == 0 results in an invalid usermode state in which SS is >> apparently equal to __USER_DS but causes #SS if used.

Re: [PATCH] crypto: x86/sha512_ssse3 - fixup for asm function prototype change

2015-04-24 Thread Herbert Xu
On Fri, Apr 24, 2015 at 08:37:09AM +0200, Ard Biesheuvel wrote: > Patch e68410ebf626 ("crypto: x86/sha512_ssse3 - move SHA-384/512 > SSSE3 implementation to base layer") changed the prototypes of the > core asm SHA-512 implementations so that they are compatible with > the prototype used by the bas

Re: [PATCH] crypto: CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA

2015-04-24 Thread Herbert Xu
On Thu, Apr 23, 2015 at 08:03:58PM +0200, Geert Uytterhoeven wrote: > If NO_DMA=y: > > drivers/built-in.o: In function `img_hash_write_via_dma_stop': > img-hash.c:(.text+0xa2b822): undefined reference to `dma_unmap_sg' > drivers/built-in.o: In function `img_hash_xmit_dma': > img-ha

[PATCH v6 01/26] IB/Verbs: Implement new callback query_transport()

2015-04-24 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 cxgb

[PATCH v6 04/26] IB/Verbs: Reform IB-core cm

2015-04-24 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 d

[PATCH v6 16/26] IB/Verbs: Use management helper cap_ib_mad()

2015-04-24 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/ma

[PATCH v6 19/26] IB/Verbs: Use management helper cap_iw_cm()

2015-04-24 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 v6 5/8] vhost: introduce vhost_is_little_endian() helper

2015-04-24 Thread Greg Kurz
Signed-off-by: Greg Kurz --- drivers/vhost/vhost.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 8c1c792..6a49960 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -173,34 +173,39 @@ sta

[PATCH v6 4/8] vringh: introduce vringh_is_little_endian() helper

2015-04-24 Thread Greg Kurz
Signed-off-by: Greg Kurz --- include/linux/vringh.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/vringh.h b/include/linux/vringh.h index a3fa537..3ed62ef 100644 --- a/include/linux/vringh.h +++ b/include/linux/vringh.h @@ -226,33 +226,38 @

[PATCH v6 2/8] tun: add tun_is_little_endian() helper

2015-04-24 Thread Greg Kurz
Signed-off-by: Greg Kurz --- drivers/net/tun.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 857dca4..3c3d6c0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -206,14 +206,19 @@ struct tun_struct { u32

[PATCH v6 3/8] macvtap: introduce macvtap_is_little_endian() helper

2015-04-24 Thread Greg Kurz
Signed-off-by: Greg Kurz --- drivers/net/macvtap.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 27ecc5c..a2f2958 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -49,14 +49,19 @@ struct macvtap

[PATCH v6 21/26] IB/Verbs: Use management helper cap_ib_mcast()

2015-04-24 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 v6 6/8] virtio: add explicit big-endian support to memory accessors

2015-04-24 Thread Greg Kurz
The current memory accessors logic is: - little endian if little_endian - native endian (i.e. no byteswap) if !little_endian If we want to fully support cross-endian vhost, we also need to be able to convert to big endian. Instead of changing the little_endian argument to some 3-value enum, this

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 13:59, Chris Ward wrote: lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. OK, thanks I've just built the OpenSUSE kernel from source, it has that CONFIG=m . I think ASUS have changed the chip set. only the USB id AFAICT - 0b05:17ab is supported Do we have

[PATCH v6 18/26] IB/Verbs: Use management helper cap_ib_cm()

2015-04-24 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/cm

[PATCH v6 25/26] IB/Verbs: Clean up rdma_ib_or_iboe()

2015-04-24 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

[PATCH v6 20/26] IB/Verbs: Use management helper cap_ib_sa()

2015-04-24 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/cm

[PATCH v6 7/8] vhost: cross-endian support for legacy devices

2015-04-24 Thread Greg Kurz
This patch brings cross-endian support to vhost when used to implement legacy virtio devices. Since it is a relatively rare situation, the feature availability is controlled by a kernel config option (not set by default). The vq->is_le boolean field is added to cache the endianness to be used for

[PATCH v6 26/26] IB/Verbs: Cleanup rdma_node_get_transport()

2015-04-24 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 v3 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-04-24 Thread Alban Bedel
Add a DTS for TL-WR1043ND version 1 and allow to have it built in the kernel to circumvent the broken u-boot found on these boards. Currently only the UART, LEDs and buttons are supported. Signed-off-by: Alban Bedel --- v2: * Rebased for the new vendor directory structure * Merged the 2 separ

[PATCH v6 24/26] IB/Verbs: Use management helper cap_eth_ah()

2015-04-24 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 v6 1/8] virtio: introduce virtio_is_little_endian() helper

2015-04-24 Thread Greg Kurz
Signed-off-by: Greg Kurz --- include/linux/virtio_config.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ca3ed78..bd1a582 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/v

[PATCH v6 23/26] IB/Verbs: Use management helper cap_af_ib()

2015-04-24 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 |

[PATCH v6 22/26] IB/Verbs: Use management helper cap_read_multi_sge()

2015-04-24 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 v6 0/8] vhost: support for cross endian guests

2015-04-24 Thread Greg Kurz
Only cosmetic and documentation changes since v5. --- Greg Kurz (8): virtio: introduce virtio_is_little_endian() helper tun: add tun_is_little_endian() helper macvtap: introduce macvtap_is_little_endian() helper vringh: introduce vringh_is_little_endian() helper vhos

[PATCH v6 17/26] IB/Verbs: Use management helper cap_ib_smi()

2015-04-24 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 v6 15/26] IB/Verbs: Reform rest part in IB-core cma

2015-04-24 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 inse

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

2015-04-24 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 --- d

[PATCH v6 08/26] IB/Verbs: Reform IB-ulp xprtrdma

2015-04-24 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_transpor

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

2015-04-24 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 v6 13/26] IB/Verbs: Reserve legacy transport type in 'dev_addr'

2015-04-24 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/in

[PATCH v6 14/26] IB/Verbs: Reform cma_acquire_dev()

2015-04-24 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 | 6

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

2015-04-24 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 G

[PATCH v6 09/26] IB/Verbs: Reform IB-core verbs

2015-04-24 Thread Michael Wang
Use raw management helpers to reform IB-core verbs 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 | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH v6 07/26] IB/Verbs: Reform IB-ulp ipoib

2015-04-24 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 insertion

[PATCH v6 00/26] IB/Verbs: IB Management Helpers

2015-04-24 Thread Michael Wang
Since v5: * Thanks to Ira, Devesh for the review and testing :-) * Thanks for the comments from Steve, Tom, Jason, Hal, Devesh, Ira, Liran, Jason, Dave :-) Please remind me if anything missed :-P * Trivial fix for 4# * Drop the reform on acquiring link-layer in 9# * Drop cap_ipoib()

[PATCH v6 05/26] IB/Verbs: Reform IB-core sa_query

2015-04-24 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 | 30 +- 1 file changed,

[PATCH v6 02/26] IB/Verbs: Implement raw management helpers

2015-04-24 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

[PATCH v6 03/26] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-24 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 v6 06/26] IB/Verbs: Reform IB-core multicast

2015-04-24 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(+)

Re: [PATCH] spi: fsl-spi: fix devm_ioremap_resource() error case

2015-04-24 Thread Mark Brown
On Thu, Apr 23, 2015 at 02:11:47PM +0200, Christophe Leroy wrote: > devm_ioremap_resource() doesn't return NULL but an ERR_PTR on error. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] Kbuild: Add an option to enable GCC VTA

2015-04-24 Thread Josh Boyer
On Thu, Apr 23, 2015 at 5:25 PM, Frank Ch. Eigler wrote: > From: Josh Stone > > Due to isolated gcc codegen issues, gcc -fvar-tracking-assignments > was unconditionally disabled in commit 2062afb4f804 ("Fix gcc-4.9.0 > miscompilation of load_balance() in scheduler"). > > However, this reduces th

Re: [Cluster-devel] linux-next: Tree for Apr 20 (gfs2)

2015-04-24 Thread Bob Peterson
- Original Message - > On 04/19/15 22:45, Stephen Rothwell wrote: > > Hi all, > > > > Please do not add any v4.2 material to your linux-next included trees > > until after v4.1-rc1 is released. > > > > Changes since 20150415: > > > > on i386: > > ERROR: "__divdi3" [fs/gfs2/gfs2.ko] und

[PATCH v6 8/8] macvtap/tun: cross-endian support for little-endian hosts

2015-04-24 Thread Greg Kurz
The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers that are always little-endian. It can also be used to handle the special case of a legacy little-endian device implemented by a big-endian host. Let's add a flag and ioctls for big-endian devices as well. If both flags are set,

Re: [PATCH 1/2] leds: use hrtimer for blinking

2015-04-24 Thread Jacek Anaszewski
Hi Stas, On 22.04.2015 19:06, Stas Sergeev wrote:> > Add the following resolutions to led trigger timer: > 'n' for nanosecond resolution > 'u' for microsecond resolution > 'm' for millisecond resolution > The default is 'm' for backward compatibility. > > This functionality is needed for things

Re: Turn Sony motion controller into RGB led

2015-04-24 Thread Pavel Machek
Hi! > >I did not yet figure out how to get sensor data from the controller, > >but it works rather well as a RGB led. > > Hi Pavel, > > From what I've read, the motion controller only sends sensor data when > connected via bluetooth. > Otherwise it should be in report 1 with the buttons and othe

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

2015-04-24 Thread Sascha Hauer
On Fri, Apr 24, 2015 at 02:46:25PM +0800, Pi-Cheng Chen wrote: > Hi Sascha, > > Thanks for reviewing. > > On Thu, Apr 23, 2015 at 8:01 PM, Sascha Hauer wrote: > > On Mon, Apr 20, 2015 at 05:27:26PM +0800, pi-cheng.chen wrote: > >> This patch implements MT8173 specific cpufreq driver with OPP tab

Re: [PATCH] xillybus: XILLYBUS_OF should depend on HAS_DMA

2015-04-24 Thread Geert Uytterhoeven
Hi Eli, On Fri, Apr 24, 2015 at 2:42 PM, Eli Billauer wrote: > Thanks for this. The dependency on HAS_DMA is obviously missing (is there > any real platform that uses OF but has HAS_DMA off? Sounds a bit esoteric to > me). I hit this with the patch that allows to enable OF if COMPILE_TEST, which

Re: [PATCH] xillybus: XILLYBUS_OF should depend on HAS_DMA

2015-04-24 Thread Eli Billauer
Hello Geert, Thanks for this. The dependency on HAS_DMA is obviously missing (is there any real platform that uses OF but has HAS_DMA off? Sounds a bit esoteric to me). And if we're at it, I now realize that XILLYBUS_PCIE maybe also should depend on HAS_DMA, in case PCI is enabled but HAS_DM

Re: [PATCH] ipmi: Fix a problem that messages are not issued in run_to_completion mode

2015-04-24 Thread Corey Minyard
Ah, yes, you are correct. Queued for 4.1. Thanks. -corey On 04/22/2015 09:16 PM, Hidehiro Kawai wrote: > start_next_msg() issues a message placed in smi_info->waiting_msg > if it is non-NULL. However, sender() sets a message to > smi_info->curr_msg and NULL to smi_info->waiting_msg in the cont

Re: [PATCH] elevator: fix memory leak in ->elevator_init_fn

2015-04-24 Thread Jeff Moyer
Chao Yu writes: > In ->elevator_init_fn, if we fail to call kzalloc_node, we should release > elevator queue space which is allocated previously, otherwise it will cause > memory leak. > > Signed-off-by: Chao Yu Acked-by: Jeff Moyer -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v6 00/26] IB/Verbs: IB Management Helpers

2015-04-24 Thread Michael Wang
Add missing Cc: Devesh Sharma " Liran Liss " Dave Goodell " Regards, Michael Wang On 04/24/2015 02:23 PM, Michael Wang wrote: > Since v5: > * Thanks to Ira, Devesh for the review and testing :-) > * Thanks for the comments from Steve, Tom, Jason, Hal, Devesh, Ira, > Liran, Jason, Dave :-

Re: [PATCH] xillybus: XILLYBUS_OF should depend on HAS_DMA

2015-04-24 Thread Eli Billauer
On 24/04/15 15:58, Geert Uytterhoeven wrote: Can I add your Acked-by, then I can send an updated version to Greg and Arnd? Yes, indeed. Thanks. Eli -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majord

[PATCH] tick: Fix hang caused by hrtimer in broadcast mode

2015-04-24 Thread Andreas Sandberg
The hrtimer callback in the hrtimer's tick broadcast code sometimes incorrectly ends up scheduling events at the current tick causing the kernel to hang servicing the same hrtimer forever. This typically happens when a device is swapped out by tick_install_broadcast_device(), which replaces the eve

[GIT PULL]: dma-buf updates for 4.1-rc1

2015-04-24 Thread Sumit Semwal
Hi Linus, May I request you to pull a few dma-buf changes for 4.1-rc1? minor cleanup only; this could've gone in for the 4.0 merge window, but for a copy-paste stupidity from me. It has been in the for-next since then, and no issues reported. Thanks and best regards, Sumit. The following chang

Re: [PATCH V7 00/25] perf tools: Introduce an abstraction for AUX Area and Instruction Tracing

2015-04-24 Thread Adrian Hunter
On 23/04/15 17:30, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 31, 2015 at 02:38:29PM +0300, Adrian Hunter escreveu: >> Hi >> >> Here is V7 of some more preparatory patches for Intel PT >> that introduce an abstraction for using the AUX area and >> Instruction tracing. >> >> The master branch of

Re: [PATCH v2] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM

2015-04-24 Thread Konrad Rzeszutek Wilk
On Fri, Apr 24, 2015 at 10:16:40AM +0100, Stefano Stabellini wrote: > Make sure that xen_swiotlb_init allocates buffers that are DMA capable > when at least one memblock is available below 4G. Otherwise we assume > that all devices on the SoC can cope with >4G addresses. We do this on > ARM and ARM

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-04-24 Thread Pavel Machek
Hi! On Fri 2015-04-10 12:35:52, Archit Taneja wrote: > >That said, if the fb is in RAM, and is only written by the CPU, I think > >a normal memcpy() for fb_memcpy_fromfb() should be fine... > > I didn't test for performance regressions when I posted this patch. > > A look at _memcpy_fromio in ar

Re: [PATCH v7 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-04-24 Thread Jacek Anaszewski
On Thu, 23 Apr 2015 22:18:04 +0900 Hi Ingi, Ingi Kim wrote: > This patch adds the device tree bindings for ktd2692 flash LEDs. > Add Optional properties of child node for Flash LED > > Signed-off-by: Ingi Kim > Acked-by: Seung-Woo Kim > --- > .../devicetree/bindings/leds/leds-ktd2692.txt

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-04-24 Thread Pavel Machek
> > The difference is probably caused by memcpy() vs memcpy_fromio(). The > > comment above memcpy_fromio() says "This needs to be optimized". I think > > generally speaking memcpy_fromio() is correct for a framebuffer. > > > > That said, if the fb is in RAM, and is only written by the CPU, I thi

Re: [PATCH v6 0/8] vhost: support for cross endian guests

2015-04-24 Thread Michael S. Tsirkin
On Fri, Apr 24, 2015 at 02:24:15PM +0200, Greg Kurz wrote: > Only cosmetic and documentation changes since v5. > > --- Looks sane to me. I plan to review and apply next week. > Greg Kurz (8): > virtio: introduce virtio_is_little_endian() helper > tun: add tun_is_little_endian() helpe

[Question] How does perf still record the stack of a specified pid even when that process is interrupted and CPU is scheduled to other process

2015-04-24 Thread Yunlong Song
[Profiling Background] Now we are profiling the performance of ext4 and f2fs on an eMMC card with iozone, we find a case that ext4 is better than f2fs in random write under the test of "iozone -s 262144 -r 64 -i 0 -i 2". We want to analyze the I/O delay of the two file systems. We have got a concl

Re: [PATCH] perf/x86/intel/uncore: fix IMC missing box initialization

2015-04-24 Thread Vince Weaver
On Thu, 23 Apr 2015, Stephane Eranian wrote: > This patch fixes a bug introduced by: > > commit c05199e5a57a579fea1e8fa65e2b511ceb524ffc > Author: Kan Liang > Date: Tue Jan 20 04:54:25 2015 + I was hoping this would fix the uncore/imc bug that the perf_fuzzer triggers on my Haswell box,

Re: [PATCH] net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface

2015-04-24 Thread Sergei Shtylyov
Hello. On 4/23/2015 10:17 PM, Murali Karicheri wrote: Currently when interface type is MAC to Phy, netif_carrier_(on/off) is called which is not needed as Phy lib already updates the carrier status to net stack. This is needed only for other interface types Signed-off-by: Murali Karicheri -

[PATCH 2/2] md/raid5: exclusive wait_for_stripe

2015-04-24 Thread Yuanhan Liu
I noticed heavy spin lock contention at get_active_stripe() with fsmark multiple thread write workloads. Here is how this hot contention comes from. We have limited stripes, and it's a multiple thread write workload. Hence, those stripes will be taken soon, which puts later processes to sleep for

[PATCH 1/2] md/raid5: split wait_for_stripe and introduce wait_for_quiesce

2015-04-24 Thread Yuanhan Liu
If I read code correctly, current wait_for_stripe actually has 2 usage: - wait for there is enough free stripe cache, triggered when get_free_stripe() failed. This is what wait_for_stripe intend for literally. - wait for quiesce == 0 or active_aligned_reads == 0 && active_stripes =

Re: [PATCH v2] Staging: fixed multiple spelling errors.

2015-04-24 Thread Carlos E. Garcia
Fixed multiple spelling errors. Signed-off-by: Carlos E. Garcia --- Changes in v2: - Fixing my own mistakes. drivers/staging/android/ion/ion_priv.h| 6 +++--- drivers/staging/android/uapi/ion.h| 2 +- drivers/staging/comedi/comedi_fops.c | 2 +-

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-04-24 Thread Tomi Valkeinen
On 24/04/15 16:29, Pavel Machek wrote: > Hi! > > On Fri 2015-04-10 12:35:52, Archit Taneja wrote: >>> That said, if the fb is in RAM, and is only written by the CPU, I think >>> a normal memcpy() for fb_memcpy_fromfb() should be fine... >> >> I didn't test for performance regressions when I posted

Re: [RFC][PATCHSET] non-recursive link_path_walk() and reducing stack footprint

2015-04-24 Thread Al Viro
On Fri, Apr 24, 2015 at 04:35:34PM +1000, NeilBrown wrote: > > * path_init() arranges for that to be true in the beginning of the walk. > > > > * symlinks aside, walk_component() preserves that. > > + normal name components go through lookup_fast(), where we have > > __d_lookup_rcu() fin

Re: [PATCH] Kbuild: Add an option to enable GCC VTA

2015-04-24 Thread Frank Ch. Eigler
Hi, Josh - On Fri, Apr 24, 2015 at 08:40:02AM -0400, Josh Boyer wrote: > [...] > Frank, did you rebase this against some newer tree or something? Yes; the lib/Kconfig.debug part didn't apply to current git. > Curious why you sent it again. At least as a patch-ping; the poor-debuginfo problems a

RE: [RESEND PATCH V2 1/2] input: misc: da9063: OnKey driver

2015-04-24 Thread Opensource [Steve Twiss]
On 17 April 2015 17:16 Dmitry Torokhov wrote > On Fri, Apr 17, 2015 at 01:03:20PM +0100, S Twiss wrote: > > From: Steve Twiss > > > > Add OnKey driver support for DA9063 > > > > Isn't this almost to the letter identical to da9062 that I just looked > at? Please find a way to not make a brand new

RE: [RESEND PATCH V2 1/2] input: misc: da9063: OnKey driver

2015-04-24 Thread Opensource [Steve Twiss]
On 18 April 2015 08:55 Paul Bolle wrote: > There's still a license mismatch left (it probably got lost in the noise > when I finally noticed that the header comment mentioned the LGPL in > V1). > > On Fri, 2015-04-17 at 13:03 +0100, S Twiss wrote: > > + * as published by the Free Software Foundat

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-04-24 Thread Geert Uytterhoeven
On Fri, Apr 24, 2015 at 3:40 PM, Tomi Valkeinen wrote: > On 24/04/15 16:29, Pavel Machek wrote: >> On Fri 2015-04-10 12:35:52, Archit Taneja wrote: That said, if the fb is in RAM, and is only written by the CPU, I think a normal memcpy() for fb_memcpy_fromfb() should be fine... >>> >>> I

Re: [Question] How does perf still record the stack of a specified pid even when that process is interrupted and CPU is scheduled to other process

2015-04-24 Thread Yunlong Song
On 2015/4/24 21:31, Yunlong Song wrote: > [Profiling Background] > Now we are profiling the performance of ext4 and f2fs on an eMMC card with > iozone, > we find a case that ext4 is better than f2fs in random write under the test of > "iozone -s 262144 -r 64 -i 0 -i 2". We want to analyze the I/O

Re: [Question] How does perf still record the stack of a specified pid even when that process is interrupted and CPU is scheduled to other process

2015-04-24 Thread David Ahern
On 4/24/15 7:31 AM, Yunlong Song wrote: [Profiling Problem] Although perf can record the events (with call stack) of a specified pid, e.g. using "perf record -g iozone -s 262144 -r 64 -i 0 -i 2". But we find iozone is interrupted That command tells perf to *only* collect data for iozone. Thi

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Lukasz Skalski
Hi All, On 04/23/2015 07:16 PM, Greg Kroah-Hartman wrote: > On Thu, Apr 23, 2015 at 09:46:22AM -0700, Andy Lutomirski wrote: >> - There's still an open performance question. Namely: is kdbus performant? > > Yes, I thought that was already answered. Tizen posted some numbers > with a much older

Re: Turn Sony motion controller into RGB led

2015-04-24 Thread Pavel Machek
Hi! > If you can send a version without all of the unrelated underscore changes > I'll help clean it up. I don't own one of these controllers > though, so I can't help test the functionality. I cleaned some of the (easy) comments, and tested that it still works. Here's the updated version. Thank

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-24 Thread Kevin Cernekee
On Fri, Apr 24, 2015 at 2:28 AM, Mark Brown wrote: > On Thu, Apr 23, 2015 at 05:47:49PM -0700, Kevin Cernekee wrote: > >> This is mostly working OK, but regcache_sync() assumes that the >> hardware registers have been reset back to the default values. The >> "pdn" GPIO doesn't actually reset the

Re: 4.0-rc1 perf build error "builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration"

2015-04-24 Thread David Ahern
On 4/23/15 6:38 PM, Vinson Lee wrote: Hi. 4.0-rc1 commit 0d68bc92c48167130b61b449f08be27dc862dba2 "perf kmem: Analyze page allocator events also" introduced a build error with older toolchains. For example, this build errors occurs on CentOS 6. CC builtin-kmem.o cc1: warnings being tr

Re: [PATCH v3] mm/slab_common: Support the slub_debug boot option on specific object size

2015-04-24 Thread Christoph Lameter
On Thu, 23 Apr 2015, Andrew Morton wrote: > > > > + if (i == 2) > > + i = (KMALLOC_SHIFT_LOW - 1); > > Can we get rid of this by using something like Nope index is a ilog2 value of the size. The table changes would not preserve the mapping of the index to the power of t

Re: [Question] How does perf still record the stack of a specified pid even when that process is interrupted and CPU is scheduled to other process

2015-04-24 Thread Yunlong Song
On 2015/4/24 21:49, David Ahern wrote: > On 4/24/15 7:31 AM, Yunlong Song wrote: >> [Profiling Problem] >> >> Although perf can record the events (with call stack) of a specified pid, >> e.g. using >> "perf record -g iozone -s 262144 -r 64 -i 0 -i 2". But we find iozone is >> interrupted > > Tha

Re: [PATCH] perf/x86/intel/uncore: fix IMC missing box initialization

2015-04-24 Thread Vince Weaver
On Fri, 24 Apr 2015, Vince Weaver wrote: > [ 79.473121] kernel BUG at mm/vmalloc.c:1335! > [ 79.477705] invalid opcode: [#1] SMP ... > [ 79.694391] Call Trace: > [ 79.696997] > [ 79.699090] [] get_vm_area_caller+0x40/0x50 > [ 79.705505] [] ? snb_uncore_imc_init_box+0x6d/0x90

Re: [Question] How does perf still record the stack of a specified pid even when that process is interrupted and CPU is scheduled to other process

2015-04-24 Thread David Ahern
On 4/24/15 7:31 AM, Yunlong Song wrote: Now we are profiling the performance of ext4 and f2fs on an eMMC card with iozone, we find a case that ext4 is better than f2fs in random write under the test of "iozone -s 262144 -r 64 -i 0 -i 2". We want to analyze the I/O delay of the two file systems.

Re: [PATCH v10 3/4] cgroups: allow a cgroup subsystem to reject a fork

2015-04-24 Thread Aleksa Sarai
Hey, >> +#define CGROUP_PREFORK_COUNT 0 >> + >> static inline int cgroup_init_early(void) { return 0; } >> static inline int cgroup_init(void) { return 0; } >> static inline void cgroup_fork(struct task_struct *p) {} >> -static inline void cgroup_post_fork(struct task_struct *p) {} >> +static i

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 14:25, Anders Larsen wrote: On 2015-04-24 13:59, Chris Ward wrote: lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. does the attached trivial patch help? (it should make the in-tree driver recognise your ASUS device) I just realised that the above USB id was

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Christoph Lameter
On Thu, 23 Apr 2015, Paul E. McKenney wrote: > > As far as I know Jerome is talkeing about HPC loads and high performance > > GPU processing. This is the same use case. > > The difference is sensitivity to latency. You have latency-sensitive > HPC workloads, and Jerome is talking about HPC worklo

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Steven Rostedt
On Thu, Apr 23, 2015 at 11:33:19PM +0200, Richard Weinberger wrote: > > No it's not. O(256) equals O(1). > > Yeah, that's absolutely correct. > I think Boris wanted to say that iterating over all hash buckets > can be costly. You are thinking of 'k' (the constant), where you usually have k*O(1),

Re: [PATCH v10 4/4] cgroups: implement the PIDs subsystem

2015-04-24 Thread Aleksa Sarai
>>> + rcu_read_lock(); >>> + css = task_css(current, pids_cgrp_id); >>> + if (!css_tryget_online(css)) { >>> + retval = -EBUSY; >>> + goto err_rcu_unlock; >>> + } >>> + rcu_read_unlock(); >> >> Hmmm... so, the above is guaranteed to succeed in finite amou

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Christoph Lameter
On Thu, 23 Apr 2015, Austin S Hemmelgarn wrote: Looking at this whole conversation, all I see is two different views on how to present the asymmetric multiprocessing arrangements that have become commonplace in today's systems to userspace. Your model favors performance, while CAPI favors simpl

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Christoph Lameter
On Thu, 23 Apr 2015, Jerome Glisse wrote: > The numa code we have today for CPU case exist because it does make > a difference but you keep trying to restrict GPU user to a workload > that is specific. Go talk to people doing physic, biology, data > mining, CAD most of them do not care about laten

<    1   2   3   4   5   6   7   8   9   >