Re: [PATCH] ALSA: usb-audio: Add sample rate inquiry quirk for B850V3 CP2114

2016-08-30 Thread Akshay Bhat
On 08/29/2016 10:49 AM, Takashi Iwai wrote: Gah, then it was a different one. Obviously I overlooked your patch during my vacation. Will put it to the queue. But, this message should appear only once in the recent version. Does it still annoy as appearing repeatedly at all...? Hi Takash

Re: [PATCH 07/11] Input: synaptics-rmi4 - f30/f03: Forward mechanical buttons on buttonpads to PS/2 guest

2016-08-30 Thread Benjamin Tissoires
Hi Andrew, On Aug 26 2016 or thereabouts, Andrew Duggan wrote: > Resending as plain text > > Hi Benjamin, > > This patch causes standard clickpads without extended buttons to not work. > I'll explain some more below. > > On 08/18/2016 02:24 AM, Benjamin Tissoires wrote: > >From: Lyude Paul > >

Re: [Xen-devel] [PATCH] xenbus: Use proc_create_mount_point() to create /proc/xen

2016-08-30 Thread David Vrabel
On 30/08/16 16:10, Seth Forshee wrote: > On Tue, Aug 30, 2016 at 04:00:03PM +0100, David Vrabel wrote: >> On 29/08/16 16:03, Seth Forshee wrote: >>> Mounting proc in user namespace containers fails if the xenbus >>> filesystem is mounted on /proc/xen because this directory fails >>> the "permanentl

Re: [PATCH] livepatch: add load/unload hooks to objects

2016-08-30 Thread Christopher Arges
On Tue, Aug 30, 2016 at 04:43:30PM +0200, Petr Mladek wrote: > On Mon 2016-08-29 11:16:28, Christopher Arges wrote: > > On Mon, Aug 29, 2016 at 05:23:30PM +0200, Petr Mladek wrote: > > > On Fri 2016-08-26 13:50:27, Chris J Arges wrote: > > > > It can be useful to execute hook functions whenever a l

Re: [Patch v4 9/9] arm64: Update device tree for Layerscape SoCs

2016-08-30 Thread york sun
On 08/30/2016 03:58 AM, Shawn Guo wrote: > On Tue, Aug 09, 2016 at 02:59:39PM -0700, York Sun wrote: >> Add DDR memory controller nodes to enable EDAC driver. >> >> Signed-off-by: York Sun > > The patch subject is too general. I changed it to "arm64: dts: Add DDR > memory controller for Layerscap

[PATCH RESEND] xenbus: Use proc_create_mount_point() to create /proc/xen

2016-08-30 Thread Seth Forshee
Mounting proc in user namespace containers fails if the xenbus filesystem is mounted on /proc/xen because this directory fails the "permanently empty" test. proc_create_mount_point() exists specifically to create such mountpoints in proc but is currently proc-internal. Export this interface to modu

Re: [PATCH] drm/sun4i: rgb: add missing calls to drm_panel_{prepare, unprepare}

2016-08-30 Thread Emil Velikov
On 30 August 2016 at 07:55, Jonathan Liu wrote: > If the enable-gpios property of a simple panel in device tree is set, > the GPIO is not toggled on/off because of missing calls to > drm_panel_prepare and drm_panel_unprepare. > > Signed-off-by: Jonathan Liu > --- > drivers/gpu/drm/sun4i/sun4i_rg

Re: MAINTAINERS without commits in the last 3 years

2016-08-30 Thread Anders Larsen
On Wednesday, 2016-08-24 16:33 Joe Perches wrote: > Many email addresses in MAINTAINERS no longer work so many > sections in > MAINTAINERS could likely be considered either > obsolete or unmaintained. Whereas I agree it's helpful to purge dysfunctional adresses... > These M: entries in MAINTAINER

Re: Kernel Freeze with American Megatrends BIOS

2016-08-30 Thread Roland Singer
I tried these scenarios: 1. Booted the system without the bbswitch module. The nouveau module was loaded and is responsible for the power management of the GPU. The graphical session freezes after some minutes... 2. Booted the system without bbswitch and with nouveau blacklisted. Manuall

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Guenter Roeck
Hello Heikki, On Tue, Aug 30, 2016 at 11:22:27AM +0300, Heikki Krogerus wrote: > > > > If you are only interested in accessory mode support, maybe we don't need > > the 'type' attribute at all. We could make the 'accessory' attribute always > > visible and display one of "none", "Audio", "Debug",

Re: [PATCH 2/2] clk: mvebu: dynamically allocate resources in Armada CP110 system controller

2016-08-30 Thread Marcin Wojtas
Hi Stephen, 2016-08-25 2:16 GMT+02:00 Stephen Boyd : > On 08/23, Marcin Wojtas wrote: >> Original commit, which added support for Armada CP110 system controller >> used global variables for storing all clock information. It worked >> fine for Armada 7k SoC, with single CP110 block. After dual-CP11

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-08-30 Thread Chris Metcalf
On 8/30/2016 3:58 AM, Peter Zijlstra wrote: On Mon, Aug 29, 2016 at 12:40:32PM -0400, Chris Metcalf wrote: On 8/29/2016 12:33 PM, Peter Zijlstra wrote: On Tue, Aug 16, 2016 at 05:19:27PM -0400, Chris Metcalf wrote: + /* +* Request rescheduling unless we are in full dynticks mode.

Re: MAINTAINERS without commits in the last 3 years

2016-08-30 Thread Joe Perches
On Tue, 2016-08-30 at 17:19 +0200, Anders Larsen wrote: > On Wednesday, 2016-08-24 16:33 Joe Perches wrote: > > Many email addresses in MAINTAINERS no longer work so many > > sections in MAINTAINERS could likely be considered either > > obsolete or unmaintained. > Whereas I agree it's helpful to pu

[PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-08-30 Thread Iaroslav Gridin
From: Voker57 Add device tree definitions for Qualcomm Cryptography engine and its BAM Signed-off-by: Iaroslav Gridin --- arch/arm/boot/dts/qcom-msm8974.dtsi | 42 + 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/ar

[PATCH net-next 0/2] rxrpc: Preparation for removal of use of skbs from AFS

2016-08-30 Thread David Howells
x/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-20160830-1 David --- David Howells (2): rxrpc: Fix a potential NULL-pointer deref in rxrpc_abort_calls rxrpc: Pass st

[PATCH net-next 2/2] rxrpc: Pass struct socket * to more rxrpc kernel interface functions

2016-08-30 Thread David Howells
Pass struct socket * to more rxrpc kernel interface functions. They should be starting from this rather than the socket pointer in the rxrpc_call struct if they need to access the socket. I have left: rxrpc_kernel_is_data_last() rxrpc_kernel_get_abort_code() rxrpc_kernel_

[PATCH net-next 1/2] rxrpc: Fix a potential NULL-pointer deref in rxrpc_abort_calls

2016-08-30 Thread David Howells
The call pointer in a channel on a connection will be NULL if there's no active call on that channel. rxrpc_abort_calls() needs to check for this before trying to take the call's state_lock. Signed-off-by: David Howells --- net/rxrpc/conn_event.c | 26 +++--- 1 file chang

Re: [PATCH net-next 0/2] rxrpc: Preparation for removal of use of skbs from AFS

2016-08-30 Thread David Howells
Oops. Please ignore this, I just sent the first and last patches, not the range :-( David

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Guenter Roeck
Heikki, On Tue, Aug 30, 2016 at 01:04:37PM +0300, Heikki Krogerus wrote: > Hi Oliver, > > On Tue, Aug 30, 2016 at 11:32:01AM +0200, Oliver Neukum wrote: > > On Mon, 2016-08-29 at 15:36 +0300, Heikki Krogerus wrote: > > > +What: /sys/class/typec//current_data_role > > > +Date: Ju

[PATCH net-next 1/8] rxrpc: Fix a potential NULL-pointer deref in rxrpc_abort_calls

2016-08-30 Thread David Howells
The call pointer in a channel on a connection will be NULL if there's no active call on that channel. rxrpc_abort_calls() needs to check for this before trying to take the call's state_lock. Signed-off-by: David Howells --- net/rxrpc/conn_event.c | 26 +++--- 1 file chang

[PATCH net-next 0/8] rxrpc: Preparation for removal of use of skbs from AFS

2016-08-30 Thread David Howells
x/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-20160830-1 David --- David Howells (8): rxrpc: Fix a potential NULL-pointer deref in rxrpc_abort_calls rxrpc: Calls

[PATCH net-next 5/8] afs: Need linux/random.h

2016-08-30 Thread David Howells
We should #include linux/random.h to use get_random(). Signed-off-by: David Howells --- fs/afs/main.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/afs/main.c b/fs/afs/main.c index 35de0c04729f..0b187ef3b5b7 100644 --- a/fs/afs/main.c +++ b/fs/afs/main.c @@ -14,6 +14,7 @@ #include

[PATCH net-next 7/8] rxrpc: Use call->peer rather than going to the connection

2016-08-30 Thread David Howells
Use call->peer rather than call->conn->params.peer as call->conn may become NULL. Signed-off-by: David Howells --- net/rxrpc/call_event.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c index 02fe4a4b60d9..de72de66

[PATCH net-next 3/8] rxrpc: Trace rxrpc_call usage

2016-08-30 Thread David Howells
Add a trace event for debuging rxrpc_call struct usage. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 39 ++ net/rxrpc/ar-internal.h | 19 ++--- net/rxrpc/call_accept.c |5 +- net/rxrpc/call_event.c | 11 ++--- net/rxrpc/call_objec

[PATCH net-next 2/8] rxrpc: Calls should only have one terminal state

2016-08-30 Thread David Howells
Condense the terminal states of a call state machine to a single state, plus a separate completion type value. The value is then set, along with error and abort code values, only when the call is transitioned to the completion state. Helpers are provided to simplify this. Signed-off-by: David Ho

Re: [PATCH v3] time: alarmtimer: Add the trcepoints for alarmtimer

2016-08-30 Thread Steven Rostedt
On Tue, 30 Aug 2016 19:50:20 +0800 Baolin Wang wrote: > Hi, > > On 22 August 2016 at 12:23, Baolin Wang wrote: > > For system debugging, we usually want to know who sets one alarm timer, the > > time of the timer, when the timer started and fired and so on. Thus adding > > tracepoints can help

[PATCH net-next 4/8] afs: Miscellaneous simple cleanups

2016-08-30 Thread David Howells
Remove one #ifndef'd-out variable and a couple of excessive blank lines. Signed-off-by: David Howells --- fs/afs/cmservice.c |6 -- 1 file changed, 6 deletions(-) diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 85737e96ab8b..ca32d891bbc3 100644 --- a/fs/afs/cmservice.c +++ b

[PATCH] dma: qcom: Add initialization of axi and core clocks

2016-08-30 Thread Iaroslav Gridin
From: Voker57 These initialization are missing and causing bam not to init Signed-off-by: Iaroslav Gridin --- drivers/dma/qcom/bam_dma.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c index 03c4eb3..faae0c8 1006

[PATCH net-next 8/8] rxrpc: Pass struct socket * to more rxrpc kernel interface functions

2016-08-30 Thread David Howells
Pass struct socket * to more rxrpc kernel interface functions. They should be starting from this rather than the socket pointer in the rxrpc_call struct if they need to access the socket. I have left: rxrpc_kernel_is_data_last() rxrpc_kernel_get_abort_code() rxrpc_kernel_

[PATCH net-next 6/8] rxrpc: Provide a way for AFS to ask for the peer address of a call

2016-08-30 Thread David Howells
Provide a function so that kernel users, such as AFS, can ask for the peer address of a call: void rxrpc_kernel_get_peer(struct rxrpc_call *call, struct sockaddr_rxrpc *_srx); In the future the kernel service won't get sk_buffs to look inside. Further, this allows

Re: Kernel Freeze with American Megatrends BIOS

2016-08-30 Thread Ilia Mirkin
On Tue, Aug 30, 2016 at 11:25 AM, Roland Singer wrote: > I tried these scenarios: > > 1. Booted the system without the bbswitch module. The nouveau module >was loaded and is responsible for the power management of the GPU. >The graphical session freezes after some minutes... > > 2. Booted

Re: [PATCH v9 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-08-30 Thread Petr Mladek
On Mon 2016-08-29 12:12:49, Chris Metcalf wrote: > When doing an nmi backtrace of many cores, most of which are idle, > the output is a little overwhelming and very uninformative. Suppress > messages for cpus that are idling when they are interrupted and just > emit one line, "NMI backtrace for N

Re: [PATCH v8 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-08-30 Thread Peter Griffin
Hi Lee, Thanks for reviewing. On Tue, 30 Aug 2016, Lee Jones wrote: > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > slim core is used as a basis for many IPs in the STi > > chipsets such as fdma and demux. To avoid duplicating > > the elf loading code in each device driver a slim > > rproc dr

Re: Kernel Freeze with American Megatrends BIOS

2016-08-30 Thread Emil Velikov
On 30 August 2016 at 16:25, Roland Singer wrote: > I tried these scenarios: > > 1. Booted the system without the bbswitch module. The nouveau module >was loaded and is responsible for the power management of the GPU. >The graphical session freezes after some minutes... > > 2. Booted the sy

Re: Kernel Freeze with American Megatrends BIOS

2016-08-30 Thread Ilia Mirkin
On Tue, Aug 30, 2016 at 11:44 AM, Ilia Mirkin wrote: > On Tue, Aug 30, 2016 at 11:25 AM, Roland Singer > wrote: >> I tried these scenarios: >> >> 1. Booted the system without the bbswitch module. The nouveau module >>was loaded and is responsible for the power management of the GPU. >>The

Re: [PATCH] drm/sun4i: Clear encoder->bridge if a bridge is not found

2016-08-30 Thread Chen-Yu Tsai
On Tue, Aug 30, 2016 at 8:56 PM, Maxime Ripard wrote: > Hi, > > On Tue, Aug 30, 2016 at 08:22:23PM +0800, Chen-Yu Tsai wrote: >> The KMS helpers (drm_atomic_helper_check_modeset/mode_fixup) pass >> encoder->bridge directly to drm_bridge_mode_fixup, which expects a >> valid pointer, or NULL (in whi

[PATCH net-next] rxrpc: Don't expose skbs to in-kernel users

2016-08-30 Thread David Howells
Don't expose skbs to in-kernel users, such as the AFS filesystem, but instead provide a notification hook the indicates that a call needs attention and another that indicates that there's a new call to be collected. This makes the following possibilities more achievable: (1) Call refcounting can

[PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
reception for AFS. The patch can 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-20160830-2 David --- David

Re: [PATCH 24/26] dt-bindings: Document img,boston-clock binding

2016-08-30 Thread Paul Burton
On 26/08/16 18:44, Stephen Boyd wrote: > On 08/26, Paul Burton wrote: >> diff --git a/Documentation/devicetree/bindings/clock/img,boston-clock.txt >> b/Documentation/devicetree/bindings/clock/img,boston-clock.txt >> new file mode 100644 >> index 000..c01ea60 >> --- /dev/null >> +++ b/Documenta

[no subject]

2016-08-30 Thread Iaroslav Gridin
This set of patches fixes QCE digest code, preventing lockups and incorrect results.

[PATCH 1/4] crypto: qce: Remove unneeded length check for scatterlist

2016-08-30 Thread Iaroslav Gridin
From: Voker57 Current code avoids supplying scatterlist containing more data than used to DMA. This leads to dropping data from scatterlists which would leave some for next run. Signed-off-by: Iaroslav Gridin --- drivers/crypto/qce/sha.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driv

[PATCH 4/4] crypto: qce: If total text size is zero, return pre-computed digest

2016-08-30 Thread Iaroslav Gridin
From: Voker57 If total data amount to hash is zero, we cannot submit it to QCE, since it locks up on zero-sized updates. So, return pre-computed SHA256/SHA1 hash. Signed-off-by: Iaroslav Gridin --- drivers/crypto/qce/sha.c | 27 --- 1 file changed, 24 insertions(+), 3 de

[PATCH 2/4] crypto: qce: Avoid repeat hash finalization

2016-08-30 Thread Iaroslav Gridin
From: Voker57 Calling QCE finalization when hash have already been finalized causes a lockup. Avoid it by introducing finalized flag. Signed-off-by: Iaroslav Gridin --- drivers/crypto/qce/sha.c | 6 ++ drivers/crypto/qce/sha.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/cr

[PATCH 3/4] crypto: qce: Ensure QCE receives no zero-sized updates

2016-08-30 Thread Iaroslav Gridin
From: Voker57 Zero-sized updates lock QCE, so ensure there's always some data left for the final update, up to blocksize. Signed-off-by: Iaroslav Gridin --- drivers/crypto/qce/sha.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/cryp

Re: [PATCH v5 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-30 Thread Robert Jarzmik
Guennadi Liakhovetski writes: > Hi Robert, > > On Mon, 29 Aug 2016, Robert Jarzmik wrote: > >> Remove the soc_camera adherence. Mostly the change removes the power >> manipulation provided by soc_camera, and instead : >> - powers on the sensor when the s_power control is activated >> - powers o

[GIT PULL] cgroup fixes for v4.8-rc4

2016-08-30 Thread Tejun Heo
Hello, Linus. Two fixes for cgroup. * There still was a hole in enforcing cpuset rules, fixed by Li. * Recent switch to global percpu_rwseom for threadgroup locking revealed a couple issues in how percpu_rwsem is implemented and used by cgroup. Balbir found that the read locking section was

Re: [PATCH 00/13] Add support for perf_arch_regs

2016-08-30 Thread Nilay Vaish
On 28 August 2016 at 16:00, Madhavan Srinivasan wrote: > Patchset to extend PERF_SAMPLE_REGS_INTR to include > platform specific PMU registers. > > Patchset applies cleanly on tip:perf/core branch > > It's a perennial request from hardware folks to be able to > see the raw values of the pmu regist

[GIT PULL] libata fixes for v4.8-rc4

2016-08-30 Thread Tejun Heo
Hello, Linus. Two libata driver specific fixes for v4.8-rc4. Nothing too scary. Thanks. The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel

Re: [PATCH 4/4] crypto: qce: If total text size is zero, return pre-computed digest

2016-08-30 Thread Corentin LABBE
On 30/08/2016 17:53, Iaroslav Gridin wrote: > From: Voker57 > > If total data amount to hash is zero, we cannot submit it to QCE, > since it locks up on zero-sized updates. So, return pre-computed > SHA256/SHA1 hash. > Signed-off-by: Iaroslav Gridin > --- > drivers/crypto/qce/sha.c | 27 +++

Re: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB

2016-08-30 Thread Wei Xu
Hi Guodong, On 25/08/2016 04:00, Guodong Xu wrote: > To support display in Debian on HiKey, cma heap is used to allocate > graphic buffers. The default size of CMA is 16 MB which is not enough. > > Increase the default CMA size to 128 MB. > > cc: Fathi Boudra > cc: John Stultz > cc: Xinliang L

Re: [PATCH] thp: reduce usage of huge zero page's atomic counter

2016-08-30 Thread Sergey Senozhatsky
On (08/29/16 14:31), Aaron Lu wrote: > > The global zero page is used to satisfy an anonymous read fault. If > THP(Transparent HugePage) is enabled then the global huge zero page is used. > The global huge zero page uses an atomic counter for reference counting > and is allocated/freed dynamically

Re: [PATCH 2/3] nvme: Pass pointers, not dma addresses, to nvme_get/set_features()

2016-08-30 Thread Andy Lutomirski
On Mon, Aug 29, 2016 at 11:36 PM, Christoph Hellwig wrote: > On Mon, Aug 29, 2016 at 04:20:43PM -0700, Andy Lutomirski wrote: >> The "Set Features" command (section 5.15) Figure 103 says: >> >> If using PRPs, this field shall not be a pointer to a PRP List as the >> data buffer may not cross more

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing

2016-08-30 Thread Andy Lutomirski
On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: > Hi, > > This series is a proof of concept to fill some missing part of seccomp as the > ability to check syscall argument pointers or creating more dynamic security > policies. The goal of this new stackable Linux Security Module (LSM) calle

Re: [PATCH v4] brcmfmac: add missing header dependencies

2016-08-30 Thread Kalle Valo
Baoyou Xie writes: > On 29 August 2016 at 23:31, Rafał Miłecki wrote: > > On 29 August 2016 at 14:39, Baoyou Xie wrote: > > We get 1 warning when build kernel with W=1: > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: > warning: no previous prototype for '

[PATCH V2] perf tools: adding support for address filters

2016-08-30 Thread Mathieu Poirier
This patch makes it possible to use the current filter framework with address filters. That way address filters for HW tracers such as CoreSight and IntelPT can be communicated to the kernel drivers. CC: Alexander Shishkin Signed-off-by: Mathieu Poirier --- Changes for V2: - Rebased to v4.8-r

Re: [f2fs-dev] [PATCH] fscrypto: fix to null-terminate encrypted filename in fname_encrypt

2016-08-30 Thread Chao Yu
Hi Ted, On 2016/8/30 3:08, Theodore Ts'o wrote: > On Mon, Aug 29, 2016 at 10:55:47PM +0800, Chao Yu wrote: >> Hi Ted, Jaegeuk, >> >> Since encryption functionality in ext4/f2fs was exported to vfs as fscrypot >> module, more filesystems can use it, I'm not sure, maybe other fs will >> traverse >>

Re: [PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-08-30 Thread Juri Lelli
On 16/08/16 11:02, Vincent Guittot wrote: > On 19 July 2016 at 14:40, Juri Lelli wrote: > > ARM systems may be configured to have cpus with different power/performance > > characteristics within the same chip. In this case, additional information > > has to be made available to the kernel (the sch

Re: [PATCH v4 08/10] usb: gadget: remove useless parameter in alloc_ep_req()

2016-08-30 Thread Felipe Ferreri Tonello
On 29/08/16 08:55, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: >>> Felipe Ferreri Tonello writes: > "Felipe F. Tonello" writes: >> The default_length parameter of alloc_ep_req was not really necessary >> and gadget drivers would almost always create an inline f

Re: [PATCH 04/13] perf/core: Extend perf_output_sample_regs() to include perf_arch_regs

2016-08-30 Thread Nilay Vaish
On 28 August 2016 at 16:00, Madhavan Srinivasan wrote: > diff --git a/kernel/events/core.c b/kernel/events/core.c > index 274288819829..e16bf4d057d1 100644 > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -5371,16 +5371,24 @@ u64 __attribute__((weak)) perf_arch_reg_value(struct > pe

[PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
patch can 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-20160830-2v2 David --- David Howells (1): rxrpc: Do

[PATCH v2] printk/nmi: avoid direct printk()-s from __printk_nmi_flush()

2016-08-30 Thread Sergey Senozhatsky
From: Sergey Senozhatsky __printk_nmi_flush() can be called from nmi_panic(), therefore it has to test whether it's executed in NMI context and thus must route the messages through deferred printk() or via direct printk(). Except for two places where __printk_nmi_flush() does unconditional direct

Re: [PATCH v2] f2fs: fix to set superblock dirty correctly

2016-08-30 Thread Chao Yu
Hi Jaegeuk, On 2016/8/30 0:45, Jaegeuk Kim wrote: > Hi Chao, > > On Sun, Aug 28, 2016 at 09:20:46PM +0800, Chao Yu wrote: >> From: Chao Yu >> >> tests/generic/251 of fstest suit complains us with below message: >> >> [ cut here ] >> invalid opcode: [#1] PREEMPT SMP >

[PATCH] drm/nouveau: silence warnings reported during builds with W=1

2016-08-30 Thread Baoyou Xie
We get some warnings when building kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c:222:1: warning: no previous prototype for 'gf117_grctx_generate_main' [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c:255:1: warning: no previous prototype for 'nv50_grctx

[PATCH V7 3/5] perf tools: add infrastructure for PMU specific configuration

2016-08-30 Thread Mathieu Poirier
This patch adds PMU driver specific configuration to the parser infrastructure by preceding any term with the '@' letter. As such doing something like: perf record -e some_event/@cfg1,@cfg2=config/ ... will see 'cfg1' and 'cfg2=config' being added to the list of evsel config terms. Token 'cfg1'

[PATCH V7 0/5] perf: Driver specific configuration for PMU

2016-08-30 Thread Mathieu Poirier
Original blurb: --- This patchset adds the possiblity of specifying PMU driver configuration directly from the perf command line. Anything that falls within the event specifiers '/.../' and that is preceded by the '@' symbol is treated as a configurable. Two formats are supported, @c

[PATCH V7 1/5] perf tools: making coresight PMU listable

2016-08-30 Thread Mathieu Poirier
Adding the required mechanic allowing 'perf list pmu' to discover coresight ETM/PTM tracers. Signed-off-by: Mathieu Poirier Acked-by: Adrian Hunter Acked-by: Jiri Olsa --- MAINTAINERS| 1 + tools/perf/Makefile.config | 11 +++ tools/perf/arch/arm/util/Build |

[PATCH V7 2/5] perf tools: adding coresight etm PMU record capabilities

2016-08-30 Thread Mathieu Poirier
Coresight ETMs are IP blocks used to perform HW assisted tracing on a CPU core. This patch introduce the required auxiliary API functions allowing the perf core to interact with a tracer. Signed-off-by: Mathieu Poirier Acked-by: Adrian Hunter --- MAINTAINERS | 4 + to

Re: [PATCH] perf tools: Fix static building

2016-08-30 Thread Vineet Gupta
On 08/22/2016 10:35 AM, Alexey Brodkin wrote: > With commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols > used by traceevent plugins") we started to add "--dynamic-list" in > LDFLAGS. One side-effect of that was inability to build really > statically-linked perf. > > I.e. even if "L

Re: [PATCH v8 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2016-08-30 Thread Vinod Koul
On Fri, Aug 26, 2016 at 03:56:40PM +0100, Peter Griffin wrote: > config STM32_DMA > bool "STMicroelectronics STM32 DMA support" > depends on ARCH_STM32 > @@ -567,7 +580,6 @@ config ZX_DMA > help > Support the DMA engine for ZTE ZX296702 platform devices. > > - unrelat

Re: [PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
Sorry about this, stgit mail is playing silly devils and not inserting the patch numbers if there's a cover letter but only one patch:-/ David

Re: xfstests xfs fuzzers fail with DAX

2016-08-30 Thread Dan Williams
On Tue, Aug 30, 2016 at 7:53 AM, Dan Williams wrote: > On Mon, Aug 29, 2016 at 7:37 PM, Darrick J. Wong > wrote: >> On Mon, Aug 29, 2016 at 06:50:05PM -0700, Dan Williams wrote: >>> [ Adding Darrick on the off chance that this triggers an "aha, of >>> course it does!" ] >> >> Aha! Of course it d

[PATCH v2 1/2] perf: add container identifier entry in perf sample data

2016-08-30 Thread Hari Bathini
Currently, there is no mechanism to filter events based on containers. perf -G can be used, but it will not filter events for the containers created after perf is invoked, making it difficult to assess/analyze performance issues of multiple containers at once. This limitation can be overcome, if th

[PATCH v2 2/2] perf tool: add container identifier entry related changes

2016-08-30 Thread Hari Bathini
With the introduction of container identifier entry in sample data, perf sample data can now be analyzed with regard to containers. This patch adds cid entry related support in perf tool. Shown below is the output of perf report, sorted based on cid, on a system that was running three containers a

[PATCH V7 4/5] perf tools: Pushing configuration down to PMU driver

2016-08-30 Thread Mathieu Poirier
This patch adds a PMU callback so that drivers can process the command line configuration elements found in evsel::config_terms. The callback is then used in various places where events can be specified. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/builtin-record.c | 9 +++

[PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-30 Thread Mathieu Poirier
Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c | 56 +++ tools/perf/arch/arm/util/cs-etm.h | 3 +++ tools

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-30 Thread Juri Lelli
Hi Vincent, On 16/08/16 10:20, Vincent Guittot wrote: > Hi Juri, > > > On 19 July 2016 at 14:40, Juri Lelli wrote: [...] > > +static int > > +init_cpu_capacity_callback(struct notifier_block *nb, > > + unsigned long val, > > + void *data) > >

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-08-30 Thread Andy Lutomirski
On Tue, Aug 30, 2016 at 8:32 AM, Chris Metcalf wrote: > On 8/30/2016 3:58 AM, Peter Zijlstra wrote: >> >> On Mon, Aug 29, 2016 at 12:40:32PM -0400, Chris Metcalf wrote: >>> >>> On 8/29/2016 12:33 PM, Peter Zijlstra wrote: On Tue, Aug 16, 2016 at 05:19:27PM -0400, Chris Metcalf wrote: >>>

[PATCH] bonding: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues multiple work items viz &bond->mcast_work, &nnw->work, &bond->mii_work, &bond->arp_work, &bond->alb_work, &bond->mii_work, &bond->ad_wo

[PATCH] net: pegasus: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "pegasus_workqueue" queues a single work item per pegasus instance and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The WQ_MEM_RECLAIM flag has been set to ensure forward progress u

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

2016-08-30 Thread Stephane Eranian
Hi, On Mon, Aug 29, 2016 at 6:02 AM, Peter Zijlstra wrote: > > On Mon, Aug 29, 2016 at 12:03:09PM +0200, Peter Zijlstra wrote: > > @@ -1802,8 +1802,18 @@ event_sched_out(struct perf_event *event, > > > > event->tstamp_stopped = tstamp; > > event->pmu->del(event, 0); > > - event->o

[PATCH] parisc: led: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "led_wq" queues a single work item &led_task and hence doesn't require ordering. It is involved in managing when and which chassis LCD/LED gets updated and hence, is not being used on a memory reclaim path. Hence, it has been converted to use system_wq. System workqueues have been ab

[PATCH] rsxx: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "creg_wq" queues a single work item viz &card->creg_ctrl.done_work and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The workqueue "event_wq" queues a single work item viz &card->eve

Re: xfstests xfs fuzzers fail with DAX

2016-08-30 Thread Darrick J. Wong
On Tue, Aug 30, 2016 at 09:25:45AM -0700, Dan Williams wrote: > On Tue, Aug 30, 2016 at 7:53 AM, Dan Williams > wrote: > > On Mon, Aug 29, 2016 at 7:37 PM, Darrick J. Wong > > wrote: > >> On Mon, Aug 29, 2016 at 06:50:05PM -0700, Dan Williams wrote: > >>> [ Adding Darrick on the off chance that

Re: [PATCH] net: pegasus: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Petko Manolov
On 16-08-30 22:02:47, Bhaktipriya Shridhar wrote: > The workqueue "pegasus_workqueue" queues a single work item per pegasus > instance and hence it doesn't require execution ordering. Hence, > alloc_workqueue has been used to replace the deprecated > create_singlethread_workqueue instance. > > The

[PATCH] bfa: do not dereference port before it is null checked

2016-08-30 Thread Colin King
From: Colin Ian King port is deferenced before it is null sanity checked, hence we potentially have a null pointer dereference bug. Instead, initialise trl_enabled from port->fcs->bfa after we are sure port is not null. Signed-off-by: Colin Ian King --- drivers/scsi/bfa/bfa_fcs_lport.c | 4 ++-

Re: [PATCH v2] PCI: altera: Retrain link in rootport mode only

2016-08-30 Thread Ray Jui
On 8/30/2016 6:37 AM, Bjorn Helgaas wrote: On Mon, Aug 29, 2016 at 05:37:09PM -0700, Ray Jui wrote: Hi Bjorn, On 8/24/2016 10:54 AM, Bjorn Helgaas wrote: [+cc Ray, Scott, Jon, bcm-kernel-feedback-list] On Wed, Aug 24, 2016 at 03:07:52PM +0800, Ley Foon Tan wrote: On Mon, Aug 22, 2016 at 11

Re: [PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation

2016-08-30 Thread Rob Herring
On Wed, Aug 24, 2016 at 10:13:27AM +0200, Mike Looijmans wrote: > Add devicetree property for early initialization of the fan controller > to prevent overheating, for example when resetting the board while the > fan was completely turned off. > > Signed-off-by: Mike Looijmans > --- > Documentati

[PATCH 10/15] acpi: Export acpi_bus_type

2016-08-30 Thread jeff . mcgee
From: Ankitprasad Sharma Some modules, like i915.ko, needs to detect when certain ACPI features are active inorder to prevent corruption on contended resources. In particular, use of BIOS RapidStart Technology may corrupt the contents of the reserved graphics memory, due to unalarmed hibernation.

Re: [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-08-30 Thread Huang, Ying
Jaegeuk Kim writes: > Hello, > > On Sat, Aug 27, 2016 at 10:13:34AM +0800, Fengguang Wu wrote: >> Hi Jaegeuk, >> >> > > >> > - [lkp] [f2fs] b93f771286: aim7.jobs-per-min -81.2% regression >> > > >> > >> > > >> > The disk is 4 12G ram disk, and setup RAID0 on them via mdadm. The >> > > >> > step

RE: [PATCH 3/3] drivers: Add visorbus to the drivers/virt directory

2016-08-30 Thread Sell, Timothy C
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, August 21, 2016 2:05 PM > To: Kershner, David A > > On Fri, Jun 10, 2016 at 11:23:56PM -0400, David Kershner wrote: > > visorbus is currently located at drivers/staging/visorbus, > > this patch moves

Re: [PATCH 0/4] Bluetooth: hci_uart: various fixes

2016-08-30 Thread Marcel Holtmann
Hi Boris, > We recently faced some problems when using an BT uart chip interfaced > through the H5 proto (rtk_h5). Here are the logs of the 2 different > issues we had when closing the line discipline (actually, restoring > the previous one) [1][2]. I know the kernel is Tainted in those logs, > bu

[PATCH] dm-bufio: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "dm_bufio_wq" queues a single work item &dm_bufio_work and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The WQ_MEM_RECLAIM flag has been set since md / dm are block multi disk drive

Re: [PATCH 1/4] Bluetooth: hci_ldisc: fix a race in the hdev closing path

2016-08-30 Thread Marcel Holtmann
Hi Boris, > hci_uart_tty_close() is cancelling any pending write work, but some > hci_uart_proto implementations might re-schedule this work after its > cancellation (by calling hci_uart_tx_wakeup()). > > Make sure the write work is not re-scheduled in our back while we're > closing the device. >

Re: [PATCH 2/4] Bluetooth: hci_h5: fix a race in the closing path

2016-08-30 Thread Marcel Holtmann
Hi Boris, > The H5 timer should not be rescheduled while we are closing the device, > otherwise it's defeating the del_timer_sync() call done in h5_close(). > > Signed-off-by: Boris Brezillon > --- > drivers/bluetooth/hci_h5.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > dif

Re: [PATCH v8 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-08-30 Thread Bjorn Andersson
On Tue 30 Aug 05:34 PDT 2016, Lee Jones wrote: Thanks for your review Lee. > On Fri, 26 Aug 2016, Peter Griffin wrote: [..] > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > > index 1a8bf76a..06765e0 100644 > > --- a/drivers/remoteproc/Kconfig > > +++ b/drivers/remoteproc

Re: [PATCH 4/4] Bluetooth: hci_ldisc: make sure we don't loose HCI_UART_TX_WAKEUP events

2016-08-30 Thread Marcel Holtmann
Hi Boris, > The HCI_UART_TX_WAKEUP flag checking is racy and some HCI_UART_TX_WAKEUP > events can be lost. > > Signed-off-by: Boris Brezillon > --- > drivers/bluetooth/hci_ldisc.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/blueto

Re: [PATCH V3 3/3] dmaengine: qcom_hidma: add error reporting for tx_status

2016-08-30 Thread Vinod Koul
On Tue, Aug 23, 2016 at 12:48:11AM -0400, Sinan Kaya wrote: > spin_lock_init(&lldev->lock); > - tasklet_init(&lldev->rst_task, hidma_ll_abort, (unsigned long)lldev); ?? This is not described in changlog? If you are not using in anywhere else, then rst_task variable should be removed to

[GIT PULL] Please pull NFS client bugfixes for Linux 4.8

2016-08-30 Thread Trond Myklebust
Hi Linus, The following changes since commit 694d0d0bb2030d2e36df73e2d23d5770511dbc8d: Linux 4.8-rc2 (2016-08-14 19:11:36 -0700) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-3 for you to fetch changes up to 98b0f80c2396224b

Re: [RFC][PATCH] Fix a race between rwsem and the scheduler

2016-08-30 Thread Oleg Nesterov
On 08/30, Peter Zijlstra wrote: > On Tue, Aug 30, 2016 at 03:04:27PM +0200, Oleg Nesterov wrote: > > On 08/30, Peter Zijlstra wrote: > > > > > > /* > > >* Ensure we load p->on_rq _after_ p->state, otherwise it would > > >* be possible to, falsely, observe p->on_rq == 0 and get stuck > > >

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Guenter Roeck
Heikki, On Tue, Aug 30, 2016 at 11:22:27AM +0300, Heikki Krogerus wrote: > > How about if I add the "supports_usb_power_delivery" attribute for the > partners instead to give some details about them. Any objections? > After looking into the code again, I assume the idea is to have the existing s

<    1   2   3   4   5   6   7   8   9   >