Re: [PATCH v3 2/7] leds: documentation: 'ide-disk' to 'disk-activity'

2016-06-22 Thread Mark Rutland
On Wed, Jun 22, 2016 at 09:55:43AM +0200, Jacek Anaszewski wrote: > On 06/21/2016 05:05 PM, Mark Rutland wrote: > >On Thu, Jun 09, 2016 at 12:29:37AM +0200, Stephan Linz wrote: > >>Cc: Joseph Jezak > >>Cc: Nico Macrionitis > >>Cc: Jörg Sommer > >>Signed-off-by: Stephan Linz > >>--- > >> Docume

Re: [PATCH 1/9] regulator: tps65217: Enable suspend configuration

2016-06-22 Thread Mark Brown
On Wed, Jun 22, 2016 at 03:44:02PM +0530, Keerthy wrote: > Hence saving it in a static array and using it later in the ops functions to > disable or enable regulator during suspend. Why a static array and not part of the dynamically allocated driver data? signature.asc Description: PGP signatur

Re: Build failures in -next due to 'locking/atomic, arch/arc: Implement atomic_fetch_{add,sub,and,andnot,or,xor}()'

2016-06-22 Thread Vineet Gupta
On Friday 17 June 2016 08:11 PM, Peter Zijlstra wrote: > On Fri, Jun 17, 2016 at 04:39:42PM +0200, Peter Zijlstra wrote: >> On Fri, Jun 17, 2016 at 07:36:56AM -0700, Guenter Roeck wrote: >>> Hi Peter, >>> >>> I am seeing build failures in -next when trying to build arc / arcv2 >>> targets. >>> >>>

Re: [PATCH v2] byteswap: try to avoid __builtin_constant_p gcc bug

2016-06-22 Thread Arnd Bergmann
On Wednesday, June 22, 2016 11:24:50 AM CEST Tomas Winkler wrote: > On Tue, Jun 21, 2016 at 12:02 PM, Tomas Winkler wrote: > > On Tue, May 3, 2016 at 9:36 AM, Arnd Bergmann wrote: > >> On Monday 02 May 2016 16:32:25 Andrew Morton wrote: > >> #ifdef __HAVE_BUILTIN_BSWAP32__ > >> -#define __swab3

[PATCH] coresight: etm4x: request to retain power to the trace unit when active

2016-06-22 Thread Sudeep Holla
The Coresight ETMv4 architecture provides a way to request to keep the power to the trace unit. This might help to collect the traces without the need to disable the CPU power management(entering/exiting deeper idle states). Trace PowerDown Control Register provides powerup request bit which when

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-06-22 Thread Oliver Neukum
On Wed, 2016-06-22 at 12:31 +0300, Heikki Krogerus wrote: Hi, > > Now correct me, if I am misreading the spec. I am sure the system > > will boot unless it needs ridiculous amounts of power, but > > will we see anything on the screen? As far as I can tell the spec > > actually says that you canno

Re: [PATCH v3 5/8] rtc: ac100: Add clk output support

2016-06-22 Thread Chen-Yu Tsai
On Wed, Jun 22, 2016 at 6:02 PM, Maxime Ripard wrote: > Hi, > > On Mon, Jun 20, 2016 at 10:52:15AM +0800, Chen-Yu Tsai wrote: >> + /* >> + * The ADDA 4 MHz clock is from the codec side of the AC100, >> + * which is likely a different power domain. However, boards >> + * always h

Re: [PATCH] compat: remove compat_printk

2016-06-22 Thread Arnd Bergmann
On Tuesday, June 21, 2016 4:38:57 PM CEST Andrew Morton wrote: > > @@ -1077,15 +1076,6 @@ static struct ctl_table kern_table[] = { > > .extra1 = &neg_one, > > }, > > #endif > > -#ifdef CONFIG_COMPAT > > - { > > - .procname = "compat-log", > > -

[PATCH] fix error: a bin file can truncate itself while running on overlayfs

2016-06-22 Thread zhangaihua1
From: Aihua Zhang I wrote a testcase to truncate a bin file while it is running on overlayfs. the mount: /dev/mapper/fedora-home on /home type ext4 (rw,relatime,data=ordered) overlay on /tmp type overlay (rw,relatime,lowerdir=/home/zah/lower, upperdir=/home/zah/upper,workdir=/hom

Re: [RFC PATCH V3 0/3] basic device IOTLB support

2016-06-22 Thread Jason Wang
On 2016年06月22日 00:44, Michael S. Tsirkin wrote: On Tue, May 24, 2016 at 05:36:22PM +0800, Jason Wang wrote: This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace IOMMU implementation (qemu) for a secure DMA environment (DMAR) in guest.

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-22 Thread Heikki Krogerus
On Wed, Jun 22, 2016 at 12:50:16PM +0300, Heikki Krogerus wrote: > On Tue, Jun 21, 2016 at 10:25:05PM +0200, Oliver Neukum wrote: > > On Tue, 2016-06-21 at 17:51 +0300, Heikki Krogerus wrote: > > > +What: /sys/class/typec//supported_data_roles > > > +Data: June 2016 > > > +Contact

[PATCH v3 3/3] staging: wilc1000: Change interface wilc_mq_send to wilc_enqueue_cmd

2016-06-22 Thread Binoy Jayan
Replace the interface 'wilc_mq_send' with 'wilc_enqueue_cmd' and remove the now unused structures 'message' and 'message_queue'. Restructure switch statement in the work queue helper function host_if_work and remove unwanted indentation. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/ho

Re: [PATCH] static_key: fix concurrent static_key_slow_inc

2016-06-22 Thread Paolo Bonzini
On 22/06/2016 10:50, Christian Borntraeger wrote: > On 06/21/2016 06:52 PM, Paolo Bonzini wrote: >> The following scenario is possible: >> >> CPU 1 CPU 2 >> static_key_slow_inc >> atomic_inc_not_zero >> -> key.enabled == 0, no increment >>

[PATCH v3 2/3] staging: wilc1000: Replace kthread with workqueue for host interface

2016-06-22 Thread Binoy Jayan
Deconstruct the kthread / message_queue logic, replacing it with create_singlethread_workqueue() / queue_work() setup, by adding a 'struct work_struct' to 'struct host_if_msg'. The current kthread hostIFthread() is converted to a work queue helper with the name 'host_if_work'. Signed-off-by: Binoy

Re: [PATCH net-next 00/14] rxrpc: Get rid of conn bundle and transport structs

2016-06-22 Thread David Howells
Ignore this version please. Fengguang's magic box of tricks spotted a bug in it. David

[PATCH v3 1/3] staging: wilc1000: message_queue: Move code to host interface

2016-06-22 Thread Binoy Jayan
Move the contents of wilc_msgqueue.c and wilc_msgqueue.h into host_interface.c, remove 'wilc_msgqueue.c' and 'wilc_msgqueue.h'. This is done so as to restructure the implementation of the kthread 'hostIFthread' using a work queue. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/Makefile

[PATCH v3 0/3] *** staging: wilc1000: Replace semaphores ***

2016-06-22 Thread Binoy Jayan
This patchset [v3] is part of the second patch series for 'wilc1000'. The original patch series consisted 7 patches of which only the first 5 are good. The patch 6 and 7 are being worked on in this series in a different way. This patch series removes the semaphore 'sem' in 'wilc1000' and also rest

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-22 Thread zhong jiang
On 2016/6/21 23:29, Kirill A. Shutemov wrote: > On Tue, Jun 21, 2016 at 11:19:07PM +0800, zhong jiang wrote: >> On 2016/6/21 22:37, Kirill A. Shutemov wrote: >>> On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: From: zhong jiang with great pressure, I run some test cases.

Re: [PATCH v3 5/8] rtc: ac100: Add clk output support

2016-06-22 Thread Maxime Ripard
Hi, On Mon, Jun 20, 2016 at 10:52:15AM +0800, Chen-Yu Tsai wrote: > + /* > + * The ADDA 4 MHz clock is from the codec side of the AC100, > + * which is likely a different power domain. However, boards > + * always have both sides powered on, so it is impossible to > + * tes

Re: [PATCH] ARM: AM43XX: hwmod: Fix RSTST register offset for pruss

2016-06-22 Thread Tony Lindgren
* Keerthy [160622 02:13]: > Can you pull this patch as well? OK thanks applying into omap-for-v4.8/soc. Tony

[PATCH net-next 00/14] rxrpc: Get rid of conn bundle and transport structs

2016-06-22 Thread David Howells
n be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160622 David --- Arnd Bergmann (1): rxrpc: fix uninitializ

Re: [PATCH V3] ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board

2016-06-22 Thread Maxime Ripard
Hi, On Fri, Jun 17, 2016 at 05:56:02PM +0800, luoyi...@gmail.com wrote: > From: Luo Yi > > Add support for the Bananapi M1 Plus A20 development board from > sinovoip.com.cn . This board is nearly a clone of the Lemaker's > Bananapro, but differ with the wlan chipset connection and i2s pinout. >

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-22 Thread Matthias Brugger
On 06/22/2016 07:43 AM, Horng-Shyang Liao wrote: On Tue, 2016-06-21 at 15:41 +0200, Matthias Brugger wrote: On 21/06/16 07:52, Horng-Shyang Liao wrote: On Fri, 2016-06-17 at 17:57 +0200, Matthias Brugger wrote: On 17/06/16 10:28, Horng-Shyang Liao wrote: Hi Matthias, On Tue, 2016-06-14 a

Re: [PATCH v2] tty: serial: msm: Don't reconfigure same baud rate

2016-06-22 Thread Srinivas Kandagatla
On 21/06/16 10:43, Nicolas Dechesne wrote: On Fri, Jun 17, 2016 at 1:02 PM, Nicolas Dechesne wrote: wrote: msm_set_termios() is called whenever the tty is opened. Setting the baud rate requires a full reset of the msm serial block, even when the rate is unchanged. In the case when the same

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-22 Thread Jirka Hladky
Hi Peter, the performance regression has been caused by this commit = commit 6ecdd74962f246dfe8750b7bea481a1c0816315d Author: Yuyang Du Date: Tue Apr 5 12:12:26 2016 +0800 sched/fair: Generalize the load/util averages resolution definition =

[PATCH net-next 10/14] rxrpc: Calls displayed in /proc may in future lack a connection

2016-06-22 Thread David Howells
Allocated rxrpc calls displayed in /proc/net/rxrpc_calls may in future be on the proc list before they're connected or after they've been disconnected - in which case they may not have a pointer to a connection struct that can be used to get data from there. Deal with this by using stuff from the

[PATCH net-next 08/14] rxrpc: Use IDR to allocate client conn IDs on a machine-wide basis

2016-06-22 Thread David Howells
Use the IDR facility to allocate client connection IDs on a machine-wide basis so that each client connection has a unique identifier. When the connection ID space wraps, we advance the epoch by 1, thereby effectively having a 62-bit ID space. The IDR facility is then used to look up client conne

[PATCH net-next 06/14] rxrpc: Pass sk_buff * rather than rxrpc_host_header * to functions

2016-06-22 Thread David Howells
Pass a pointer to struct sk_buff rather than struct rxrpc_host_header to functions so that they can in the future get at transport protocol parameters rather than just RxRPC parameters. Signed-off-by: David Howells --- net/rxrpc/ar-internal.h |6 +++--- net/rxrpc/call_accept.c |4 ++--

[PATCH net-next 07/14] rxrpc: rxrpc_connection_lock shouldn't be a BH lock, but conn_lock is

2016-06-22 Thread David Howells
rxrpc_connection_lock shouldn't be accessed as a BH-excluding lock. It's only accessed in a few places and none of those are in BH-context. rxrpc_transport::conn_lock, however, *is* a BH-excluding lock and should be accessed so consistently. Signed-off-by: David Howells --- net/rxrpc/conn_obj

[PATCH net-next 04/14] rxrpc: Replace conn->trans->{local, peer} with conn->params.{local, peer}

2016-06-22 Thread David Howells
Replace accesses of conn->trans->{local,peer} with conn->params.{local,peer} thus making it easier for a future commit to remove the rxrpc_transport struct. This also reduces the number of memory accesses involved. Signed-off-by: David Howells --- net/rxrpc/call_event.c | 12 ++-- n

[PATCH net-next 03/14] rxrpc: Use structs to hold connection params and protocol info

2016-06-22 Thread David Howells
Define and use a structure to hold connection parameters. This makes it easier to pass multiple connection parameters around. Define and use a structure to hold protocol information used to hash a connection for lookup on incoming packet. Most of these fields will be disposed of eventually, incl

Re: [PATCHv3 0/2] USB Type-C Connector class

2016-06-22 Thread Heikki Krogerus
Hi Guenter, On Tue, Jun 21, 2016 at 03:25:55PM -0700, Guenter Roeck wrote: > On Tue, Jun 21, 2016 at 05:51:49PM +0300, Heikki Krogerus wrote: > > Hi, > > > > I'm considering all the RFCs I send after v1 as v2 (I don't remember > > how many I send). Hope this is OK and hope there is nothing big >

[PATCH net-next 14/14] rxrpc: Kill off the rxrpc_transport struct

2016-06-22 Thread David Howells
The rxrpc_transport struct is now redundant, given that the rxrpc_peer struct is now per peer port rather than per peer host, so get rid of it. Service connection lists are transferred to the rxrpc_peer struct, as is the conn_lock. Previous patches moved the client connection handling out of the

[PATCH net-next 09/14] rxrpc: Validate the net address given to rxrpc_kernel_begin_call()

2016-06-22 Thread David Howells
Validate the net address given to rxrpc_kernel_begin_call() before using it. Whilst this should be mostly unnecessary for in-kernel users, it does clear the tail of the address struct in case we want to hash or compare the whole thing. Signed-off-by: David Howells --- net/rxrpc/af_rxrpc.c |

Re: kvm: GPF in kvm_lapic_latched_init

2016-06-22 Thread Dmitry Vyukov
On Wed, Jun 22, 2016 at 10:46 AM, Paolo Bonzini wrote: > > > On 22/06/2016 10:38, Dmitry Vyukov wrote: >> On Wed, Jun 22, 2016 at 10:36 AM, Paolo Bonzini wrote: >>> On 22/06/2016 10:20, Dmitry Vyukov wrote: All crashes suggest that apic is NULL. On commit b06f3a168cdcd8

[PATCH net-next 05/14] rxrpc: Fix exclusive connection handling

2016-06-22 Thread David Howells
"Exclusive connections" are meant to be used for a single client call and then scrapped. The idea is to limit the use of the negotiated security context. The current code, however, isn't doing this: it is instead restricting the socket to a single virtual connection and doing all the calls over t

[PATCH net-next 02/14] rxrpc: fix uninitialized variable use

2016-06-22 Thread David Howells
From: Arnd Bergmann Hashing the peer key was introduced for AF_INET, but gcc warns about the rxrpc_peer_hash_key function returning uninitialized data for any other value of srx->transport.family: net/rxrpc/peer_object.c: In function 'rxrpc_peer_hash_key': net/rxrpc/peer_object.c:57:15: error: '

[PATCH net-next 11/14] rxrpc: Make rxrpc_send_packet() take a connection not a transport

2016-06-22 Thread David Howells
Make rxrpc_send_packet() take a connection not a transport as part of the phasing out of the rxrpc_transport struct. Whilst we're at it, rename the function to rxrpc_send_data_packet() to differentiate it from the other packet sending functions. Signed-off-by: David Howells --- net/rxrpc/ar-in

[PATCH 2/3] vhost: convert pre sorted vhost memory array to interval tree

2016-06-22 Thread Jason Wang
Current pre-sorted memory region array has some limitations for future device IOTLB conversion: 1) need extra work for adding and removing a single region, and it's expected to be slow because of sorting or memory re-allocation. 2) need extra work of removing a large range which may intersect

[PATCH net-next 12/14] rxrpc: Provide more refcount helper functions

2016-06-22 Thread David Howells
Provide refcount helper functions for connections so that the code doesn't touch local or connection usage counts directly. Also make it such that local and peer put functions can take a NULL pointer. Signed-off-by: David Howells --- net/rxrpc/af_rxrpc.c |7 ++- net/rxrpc/ar-intern

[PATCH 3/3] vhost: device IOTLB API

2016-06-22 Thread Jason Wang
This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace(qemu) implementation of DMA remapping. The idea is simple, cache the translation in a software device IOTLB (which was implemented as interval tree) in vhost and use vhost_net file desc

[PATCH 0/3] basic device IOTLB support

2016-06-22 Thread Jason Wang
This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace IOMMU implementation (qemu) for a secure DMA environment (DMAR) in guest. The idea is simple. When vhost meets an IOTLB miss, it will request the assistance of userspace to do the trans

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-22 Thread Heikki Krogerus
On Tue, Jun 21, 2016 at 10:25:05PM +0200, Oliver Neukum wrote: > On Tue, 2016-06-21 at 17:51 +0300, Heikki Krogerus wrote: > > +What: /sys/class/typec//supported_data_roles > > +Data: June 2016 > > +Contact: Heikki Krogerus > > +Description: > > + Lists the US

[PATCH 1/3] vhost: introduce vhost memory accessors

2016-06-22 Thread Jason Wang
This patch introduces vhost memory accessors which were just wrappers for userspace address access helpers. This is a requirement for vhost device iotlb implementation which will add iotlb translations in those accessors. Signed-off-by: Jason Wang --- drivers/vhost/net.c | 1 + drivers/vhost/

[PATCH net-next 13/14] rxrpc: Kill the client connection bundle concept

2016-06-22 Thread David Howells
Kill off the concept of maintaining a bundle of connections to a particular target service to increase the number of call slots available for any beyond four for that service (there are four call slots per connection). This will make cleaning up the connection handling code easier and facilitate r

[PATCH net-next 01/14] rxrpc: checking for IS_ERR() instead of NULL

2016-06-22 Thread David Howells
From: Dan Carpenter rxrpc_lookup_peer_rcu() and rxrpc_lookup_peer() return NULL on error, never error pointers, so IS_ERR() can't be used. Fix three callers of those functions. Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table and RCU') Signed-off-by: Dan Carpenter Si

Re: IPI_CPU_BACKTRACE - disable tracing patch

2016-06-22 Thread Russell King - ARM Linux
On Wed, Jun 22, 2016 at 06:05:02AM +, AMIT NAGAL wrote: > Hi > As discussed here :: http://www.spinics.net/lists/arm-kernel/msg484384.html > , > IPI_CPU_BACKTRACE is special and is not traceable . > is the patch enclosed in above discussion finalized and queued up for release > on kernel.o

[PATCH v6 3/5] thermal: streamline get_trend callbacks

2016-06-22 Thread Caesar Wang
From: Sascha Hauer The .get_trend callback in struct thermal_zone_device_ops has the prototype: int (*get_trend) (struct thermal_zone_device *, int, enum thermal_trend *); whereas the .get_trend callback in struct thermal_zone_of_device_ops has: int (*get

Re: [PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-22 Thread Andy Shevchenko
On Wed, 2016-06-22 at 09:43 +0800, Yisen Zhuang wrote: > > 在 2016/6/21 18:32, Andy Shevchenko 写道: > > On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: > > > From: Daode Huang > > > > > > For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, > > > so change the statistics of pfc p

[PATCH v6 0/5] Thermal: Support for hardware-tracked trip points

2016-06-22 Thread Caesar Wang
# cat /proc/version Linux version 4.7.0-rc4-next-20160622-06645-g5cba085 (wxt@nb) --- There are five pathes in this series. thermal: Add support for hardware-tracked trip point thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-06-22 Thread Heikki Krogerus
Hi Oliver, On Tue, Jun 21, 2016 at 10:43:05PM +0200, Oliver Neukum wrote: > On Tue, 2016-06-21 at 16:58 +0300, Heikki Krogerus wrote: > > On Tue, Jun 21, 2016 at 03:08:52PM +0200, Oliver Neukum wrote: > > > > > The firmware will surely want to display something. So it is possible > > > that we s

[PATCH v6 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-06-22 Thread Caesar Wang
From: Sascha Hauer With interrupt driven thermal zones we pass the lower and upper temperature on which shall be acted, so in the governor we have to act on the exact lower temperature to be consistent. Otherwise an interrupt maybe generated on the exact lower temperature, but the bang bang gover

[PATCH v6 1/5] thermal: Add support for hardware-tracked trip points

2016-06-22 Thread Caesar Wang
From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found

Re: [PATCHv2 1/1] thermal: core: call thermal_zone_device_update() after mode update

2016-06-22 Thread Keerthy
On Wednesday 22 June 2016 10:45 AM, Eduardo Valentin wrote: Because several drivers do the following pattern: .set_mode() ... local_data->mode = new_mode; thermal_zone_device_update(tz); makes sense to simply do the thermal_zone_device_update() in thermal core, after setting the ne

Re: [PATCH RESEND V2] ARM64: config: Enable MAX77620 pinctrl/gpio/rtc for Tegra210 P2180

2016-06-22 Thread Jon Hunter
On 17/06/16 07:05, Laxman Dewangan wrote: > NVIDIA's Tegra210 Jetson platform (P2180) uses the MAX77620 as PMIC. > Enable GPIO, Pincontrol and RTC driver for this device. > > Signed-off-by: Laxman Dewangan > --- > Changes from V1: > - MFD and regulator is already enabled, enabling remaining driv

Re: [PATCH v3 3/6] mm/cma: populate ZONE_CMA

2016-06-22 Thread Chen Feng
Hello, On 2016/5/26 14:22, js1...@gmail.com wrote: > From: Joonsoo Kim > > Until now, reserved pages for CMA are managed in the ordinary zones > where page's pfn are belong to. This approach has numorous problems > and fixing them isn't easy. (It is mentioned on previous patch.) > To fix this si

[PATCH] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads again

2016-06-22 Thread Jisheng Zhang
commit abedf8e2419f ("rcu: Use simple wait queues where possible in rcutree") converts wait queues in rcutree to use simple wait queues, but it incorrectly reverts the commit 2aa792e6faf1 ("rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads"). This patch tries to fix the above issue b

Re: linux-next: Tree for Jun 21

2016-06-22 Thread Peter Zijlstra
On Tue, Jun 21, 2016 at 02:36:34PM -0400, Chris Metcalf wrote: > On 6/21/2016 2:28 PM, Peter Zijlstra wrote: > >On Tue, Jun 21, 2016 at 07:29:18PM +0200, Peter Zijlstra wrote: > > > >>>OK, I seem to have a tilepro-linux-gcc-6.1.1 build done. Lets see if I > >>>can build me a kernel with it. > >The

Re: [PATCH] coresight: document binding acronyms

2016-06-22 Thread Sudeep Holla
On 21/06/16 19:41, Mathieu Poirier wrote: It can be hard for people not familiar with the CoreSight IP blocks to make sense of the acronyms found in the current bindings. As such this patch expands each acronym in the hope of providing a better description of the IP block they represent. Th

[PATCH v9 1/8] perf evlist: Introduce aux evlist

2016-06-22 Thread Wang Nan
An auxiliary evlist is created by perf_evlist__new_aux() using an existing evlist as its parent. An auxiliary evlist can have its own 'struct perf_mmap', but can't have any other data. User should use its parent instead when accessing other data. Auxiliary evlists are containers of 'struct perf_mm

[PATCH v9 3/8] perf record: Extract perf_evlist__mmap_ex() processing to a new function

2016-06-22 Thread Wang Nan
Create record__mmap() and record__mmap_evlist() to wrap perf_evlist__mmap_ex() and its error processing. Following commits will introdule multiple evlists for 'perf record'. record__mmap() and record__mmap_evlist() will be improvemented to create mmap for each evlist. Signed-off-by: Wang Nan Cc:

[PATCH v9 2/8] perf tests: Add testcase for auxiliary evlist

2016-06-22 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: He Kuan

[PATCH v9 5/8] perf record: Toggle overwrite ring buffer for reading

2016-06-22 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with 3 states: RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY ^ ^ | | |___(disallow)___/| ||

[PATCH v9 0/8] perf tools: Support overwritable ring buffer

2016-06-22 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v9 8/8] perf tools: Add --tail-synthesize option

2016-06-22 Thread Wang Nan
When working with overwritable ring buffer there's a inconvenience problem: if perf dumps data after a long period after it starts, non-sample events may lost, which makes following 'perf report' unable to identify proc name and mmap layout. For example: # perf record -m 4 -e raw_syscalls:* -g --

Re: [PATCH] ARM: AM43XX: hwmod: Fix RSTST register offset for pruss

2016-06-22 Thread Keerthy
Tony, On Tuesday 21 June 2016 03:27 PM, Keerthy wrote: On Tuesday 21 June 2016 01:22 PM, Mohammed, Afzal wrote: Hi Suman, Anna, Suman wrote on Monday, June 20, 2016 9:49 PM: It does happen when the pruss module is exercised. We found this when we tried to do a standby test on suspend, and

[PATCH v9 4/8] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-06-22 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

Re: [PATCH] coresight: document binding acronyms

2016-06-22 Thread Suzuki K Poulose
On 21/06/16 19:41, Mathieu Poirier wrote: It can be hard for people not familiar with the CoreSight IP blocks to make sense of the acronyms found in the current bindings. As such this patch expands each acronym in the hope of providing a better description of the IP block they represent. Signed

[PATCH v9 7/8] perf tools: Don't warn about out of order event if write_backward is used

2016-06-22 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

[PATCH v9 6/8] perf tools: Enable overwrite settings

2016-06-22 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-22 Thread Joerg Roedel
On Wed, Jun 22, 2016 at 04:39:01PM +0800, Honghui Zhang wrote: > I think that driver and dtsi could merged separately, I would prefer > those previous patches stay in the tree if it's OK for you. Sure, I send them upstream through my tree. Thanks, Joerg

Re: [patch V2 00/20] timer: Refactor the timer wheel

2016-06-22 Thread Mike Galbraith
On Wed, 2016-06-22 at 10:44 +0200, Thomas Gleixner wrote: > B1;2802;0cOn Wed, 22 Jun 2016, Mike Galbraith wrote: > > FWIW, testing with ltp, I noticed a new failure in logs. It turns > out > > to be intermittent, but the testcase mostly fails. > > You forgot to cc the LTP folks ... This ain't th

[PATCH] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-06-22 Thread Pan Wen
add Hisilicon BVT I2C controller driver support. Signed-off-by: Pan Wen --- .../devicetree/bindings/i2c/i2c-hibvt.txt | 24 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-hibvt.c

Re: [PATCH V4 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-22 Thread Giuseppe CAVALLARO
Hello Tien Hock On 6/21/2016 10:46 AM, th...@altera.com wrote: From: Tien Hock Loh This adds support for TSE PCS that uses SGMII adapter when the phy-mode of the dwmac is set to sgmii Signed-off-by: Tien Hock Loh IIUC, you are keeping the two timers w/o looking. Is there any motivation be

[PATCH v6 5/5] thermal: rockchip: add the set_trips function

2016-06-22 Thread Caesar Wang
Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A sensor driver callback `set_trips' is then called with the temperatures. Lastly, The sensor will trigger the hardware high temperature interrupts to increase the sampleing r

[PATCH v6 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-06-22 Thread Caesar Wang
From: Sascha Hauer This patch implements .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal: Add support for hardware-tracked trip points". Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui

Re: [PATCH 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-22 Thread Jacek Anaszewski
On 06/21/2016 05:28 PM, Jacek Anaszewski wrote: Hi Florian, Thanks for the patch. I have two remarks below. On 06/21/2016 09:29 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semiconductor NCP5623 I2C LED driver. The driver can independently control the PWM of the 3 c

Re: [PATCH v2 1/8] arm64: dts: db820c: add basic board support

2016-06-22 Thread Srinivas Kandagatla
On 22/06/16 05:49, Bjorn Andersson wrote: On Tue 21 Jun 10:22 PDT 2016, Srinivas Kandagatla wrote: [..] diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts [..] + +/ { + model = "Qualcomm Technologies, Inc. DB820c"; + compatibl

Re: [RFC PATCH 1/2] drm: bridge: anx7688: Add anx7688 bridge driver support.

2016-06-22 Thread Philipp Zabel
Hi Nicolas, Am Mittwoch, den 22.06.2016, 14:32 +0800 schrieb Nicolas Boichat: > >> Actually, experimenting a bit more with the code, I realized that the > >> connector is always attached to the encoder, not the bridge, so the 2 > >> layouts above are actually identical (from the userspace point of

Re: [PATCH 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-22 Thread Jacek Anaszewski
Hi Florian, On 06/22/2016 08:08 AM, Florian Vaussard wrote: Hi Jacek, Le 21. 06. 16 à 17:28, Jacek Anaszewski a écrit : Hi Florian, Thanks for the patch. I have two remarks below. On 06/21/2016 09:29 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semiconductor NCP5

Re: linux-next: manual merge of the drm-misc tree with the arm tree

2016-06-22 Thread Russell King
On Wed, Jun 22, 2016 at 10:23:36AM +0200, Daniel Vetter wrote: > On Wed, Jun 22, 2016 at 09:21:11AM +0100, Russell King wrote: > > On Wed, Jun 22, 2016 at 09:31:18AM +0200, Daniel Vetter wrote: > > > On Wed, Jun 22, 2016 at 3:47 AM, Stephen Rothwell > > > wrote: > > > > Hi all, > > > > > > > > To

Re: [PATCH] static_key: fix concurrent static_key_slow_inc

2016-06-22 Thread Christian Borntraeger
On 06/21/2016 06:52 PM, Paolo Bonzini wrote: > The following scenario is possible: > > CPU 1 CPU 2 > static_key_slow_inc > atomic_inc_not_zero > -> key.enabled == 0, no increment > jump_label_lock > atomic_inc_return > -> key.ena

Re: [PATCH 06/27] mm, vmscan: Make kswapd reclaim in terms of nodes

2016-06-22 Thread Hillf Danton
> /* > - * kswapd shrinks the zone by the number of pages required to reach > - * the high watermark. > + * kswapd shrinks a node of pages that are at or below the highest usable > + * zone that is currently unbalanced. > * > * Returns true if kswapd scanned at least the requested number of pa

Re: [PATCH v3 04/13] mm: Track NR_KERNEL_STACK in KiB instead of number of stacks

2016-06-22 Thread Michal Hocko
On Mon 20-06-16 16:43:34, Andy Lutomirski wrote: > Currently, NR_KERNEL_STACK tracks the number of kernel stacks in a > zone. This only makes sense if each kernel stack exists entirely in > one zone, and allowing vmapped stacks could break this assumption. > > Since frv has THREAD_SIZE < PAGE_SIZ

Re: kvm: GPF in kvm_lapic_latched_init

2016-06-22 Thread Paolo Bonzini
On 22/06/2016 10:38, Dmitry Vyukov wrote: > On Wed, Jun 22, 2016 at 10:36 AM, Paolo Bonzini wrote: >> On 22/06/2016 10:20, Dmitry Vyukov wrote: >>> All crashes suggest that apic is NULL. >>> >>> On commit b06f3a168cdcd80026276898fd1fee443ef25743 (Jan 6). >>> >>> Ping. Just hit it aga

Re: [patch V2 00/20] timer: Refactor the timer wheel

2016-06-22 Thread Thomas Gleixner
B1;2802;0cOn Wed, 22 Jun 2016, Mike Galbraith wrote: > FWIW, testing with ltp, I noticed a new failure in logs. It turns out > to be intermittent, but the testcase mostly fails. You forgot to cc the LTP folks ... > rtbox:~ # > /usr/local/ltp/conformance/interfaces/sigtimedwait/sigtimedwait_1-1

Re: [PATCH v3 0/3] Add KVM support for Intel local MCE

2016-06-22 Thread Paolo Bonzini
On 22/06/2016 08:59, Haozhong Zhang wrote: > Changes in v3: > * Make guest MSR_IA32_FEATURE_CONTROL always available (Paolo >Bonzini) and remove the nested vmx check in the 'get' case in patch >1 (Borislav Petkov). > * Always mark the locked bit of MSR_IA32_FEATURE_CONTROL >valid. (

Re: kvm: GPF in kvm_lapic_latched_init

2016-06-22 Thread Dmitry Vyukov
On Wed, Jun 22, 2016 at 10:36 AM, Paolo Bonzini wrote: > > > On 22/06/2016 10:20, Dmitry Vyukov wrote: >> All crashes suggest that apic is NULL. >> >> On commit b06f3a168cdcd80026276898fd1fee443ef25743 (Jan 6). >> >> Ping. Just hit it again on 67016f6cdfd079e632bbc49e33178b2d558c120

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-22 Thread Honghui Zhang
On Wed, 2016-06-22 at 10:31 +0200, Joerg Roedel wrote: > On Wed, Jun 22, 2016 at 03:45:47PM +0800, Honghui Zhang wrote: > > This one is based on CCF "arm: dts: mt2701: Add clock controller device > > nodes"[1] and power domain patch "Mediatek MT2701 SCPSYS power domain > > support v7"[2], > > But t

Re: [PATCH 5/5] regulator: qcom_rpm-regulator: Add support for pm8018 rpm regulator

2016-06-22 Thread Neil Armstrong
On 06/17/2016 06:53 PM, Bjorn Andersson wrote: > On Fri 17 Jun 03:22 PDT 2016, Neil Armstrong wrote: > >> In order to support eh Qualcomm MDM9615 SoC, add support for the >> PM8018 RPM regulator in the qcom_rpm-regulator driver. >> >> Signed-off-by: Neil Armstrong > [..] >> diff --git a/drivers/r

Re: [PATCH v2] byteswap: try to avoid __builtin_constant_p gcc bug

2016-06-22 Thread Tomas Winkler
On Tue, Jun 21, 2016 at 12:02 PM, Tomas Winkler wrote: > On Tue, May 3, 2016 at 9:36 AM, Arnd Bergmann wrote: >> On Monday 02 May 2016 16:32:25 Andrew Morton wrote: >>> On Tue, 03 May 2016 01:10:16 +0200 Arnd Bergmann wrote: >>> >>> > On Monday 02 May 2016 16:02:18 Andrew Morton wrote: >>> > > O

Re: kvm: GPF in kvm_lapic_latched_init

2016-06-22 Thread Paolo Bonzini
On 22/06/2016 10:20, Dmitry Vyukov wrote: >>> >> All crashes suggest that apic is NULL. >>> >> >>> >> On commit b06f3a168cdcd80026276898fd1fee443ef25743 (Jan 6). > > Ping. Just hit it again on 67016f6cdfd079e632bbc49e33178b2d558c120a (Jun 20): This might have been the same bug you reported yest

[RFC] block: fix blk_queue_split() resource exhaustion

2016-06-22 Thread Lars Ellenberg
For a long time, generic_make_request() converts recursion into iteration by queuing recursive arguments on current->bio_list. This is convenient for stacking drivers, the top-most driver would take the originally submitted bio, and re-submit a re-mapped version of it, or one or more clones, or on

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-22 Thread Roger Quadros
On 22/06/16 11:14, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> For the real use case, some Carplay platforms need it. > > Carplay does *NOT* rely on OTG. Apple has its own proprietary and > closed > specification which is not OTG-compliant. >

Re: [PATCH 4/5] mfd: qcom-rpm: Add support for pm8018 RPM Regulator

2016-06-22 Thread Neil Armstrong
On 06/22/2016 07:23 AM, Bjorn Andersson wrote: > On Fri 17 Jun 03:22 PDT 2016, Neil Armstrong wrote: > > [..] >> diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c > [..] >> + >> +static const struct qcom_rpm_data mdm9615_template = { >> +.version = 3, >> +.resource_table = mdm96

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-22 Thread Joerg Roedel
On Wed, Jun 22, 2016 at 03:45:47PM +0800, Honghui Zhang wrote: > This one is based on CCF "arm: dts: mt2701: Add clock controller device > nodes"[1] and power domain patch "Mediatek MT2701 SCPSYS power domain > support v7"[2], > But these two patchset are still being review now. > > Do you think i

Re: [PATCH V2 4/5] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-06-22 Thread Archit Taneja
On 6/9/2016 9:55 PM, Peter Senna Tschudin wrote: Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and fir

Re: [Bug 120481] Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks

2016-06-22 Thread Jiri Hladky
Hi Peter, I use this Java package. java-1.7.0-openjdk I think you don't thing you need to install Windows Manager. In fact, I'm using just plain text log file (${VER}/${DATE}.log) produced with this command ./run-specjvm.sh --benchmarkThreads 32 --iterations 1 --iterationTime 180 --warmuptime 9

Re: [RFC] regmap: Add regmap_pipe_read API

2016-06-22 Thread Crestez Dan Leonard
On 06/21/2016 09:42 PM, Mark Brown wrote: > On Thu, Jun 16, 2016 at 06:24:36PM +0300, Crestez Dan Leonard wrote: > >> +val = ((u8*)val) + read_len; > > This cast looks broken, you should be able to do pointer arithmetic on > void pointers as though they were char *. > Pointer arithme

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-22 Thread Jirka Hladky
Hi Branimir, I don't think that it's related. The regression has happened in one of these two commits: $ git log --pretty=oneline e7904a28f5331c21d17af638cb477c83662e3cb6..6ecdd74962f246dfe8750b7bea481a1c0816315d 6ecdd74962f246dfe8750b7bea481a1c0816315d sched/fair: Generalize the load/util averag

<    5   6   7   8   9   10   11   >