Re: [PATCH v2] cdc-acm: prevent infinite loop when parsing CDC headers.

2015-04-20 Thread Greg Kroah-Hartman
On Mon, Apr 20, 2015 at 01:54:56PM +0200, Quentin Casasnovas wrote: On Tue, Apr 14, 2015 at 11:25:43AM +0200, Quentin Casasnovas wrote: Phil and I found out a problem with commit: 7e860a6e7aa6 (cdc-acm: add sanity checks) Any comment on v2? I can't do anything with any patches

Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-20 Thread Vince Weaver
On Fri, 17 Apr 2015, Andy Lutomirski wrote: On 04/16/2015 11:20 AM, Vince Weaver wrote: Probably a better change would have been to add 2 to mean per-process and make that the default setting. Probably too late to fix that now. Good point. I wish you'd thought of that sooner :(

Linux 3.19.5

2015-04-20 Thread Greg KH
I'm announcing the release of the 3.19.5 kernel. All users of the 3.19 kernel series must upgrade. The updated 3.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.19.5

2015-04-20 Thread Greg KH
diff --git a/Makefile b/Makefile index 2ef20781ad25..633b5f0f11a0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 19 -SUBLEVEL = 4 +SUBLEVEL = 5 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c index

Re: Linux 3.14.39

2015-04-20 Thread Greg KH
diff --git a/Makefile b/Makefile index f09e19d2cc4f..b40845e11b84 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 38 +SUBLEVEL = 39 EXTRAVERSION = NAME = Remembering Coco diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c index

Linux 3.14.39

2015-04-20 Thread Greg KH
I'm announcing the release of the 3.14.39 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web

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

2015-04-20 Thread Kevin Cernekee
On Mon, Apr 20, 2015 at 5:21 AM, Mark Brown broo...@kernel.org wrote: On Sat, Apr 18, 2015 at 01:07:07PM -0700, Kevin Cernekee wrote: On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown broo...@kernel.org wrote: Someone trying to use the atmel_wm8904 driver with something other than a wm8904

[PATCH] smack: pass error code through pointers

2015-04-20 Thread Lukasz Pawelczyk
This patch makes the following functions to use ERR_PTR() and related macros to pass the appropriate error code through returned pointers: smk_parse_smack() smk_import_entry() smk_fetch() It also makes all the other functions that use them to handle the error cases properly. This ways correct

Re: Build regressions/improvements in v4.0

2015-04-20 Thread Geert Uytterhoeven
On Mon, Apr 20, 2015 at 3:45 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v4.0[1] to v4.0-rc7[3], the summaries are: - build errors: +7/-2 + /home/kisskb/slave/src/Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c: error: impossible register constraint in

[PATCH 2/7] i2c: mxs: fix broken email address

2015-04-20 Thread Wolfram Sang
My Pengutronix address is not valid anymore, redirect people to the Pengutronix kernel team. Reported-by: Harald Geyer har...@ccbib.org Signed-off-by: Wolfram Sang w...@the-dreams.de Acked-by: Robert Schwebel r.schwe...@pengutronix.de --- These patches shall go via the individual subsystem trees.

[PATCH 5/7] mmc: host: sdhci-esdhc-imx: fix broken email address

2015-04-20 Thread Wolfram Sang
My Pengutronix address is not valid anymore, redirect people to the Pengutronix kernel team. Reported-by: Harald Geyer har...@ccbib.org Signed-off-by: Wolfram Sang w...@the-dreams.de Acked-by: Robert Schwebel r.schwe...@pengutronix.de --- These patches shall go via the individual subsystem trees.

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

2015-04-20 Thread Michael S. Tsirkin
On Thu, Apr 16, 2015 at 02:21:10PM -0700, Stephen Hemminger wrote: On Thu, 16 Apr 2015 09:43:24 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Apr 15, 2015 at 09:59:34AM -0700, Stephen Hemminger wrote: The driver already supported INTX interrupts but had no in kernel function

Re: [RFC PATCH 1/4] PM / QoS: Add pm_qos_cancel_request_lazy() that doesn't sleep

2015-04-20 Thread Dov Levenglick
Add pm_qos_cancel_request_lazy() which is convenient for contexts that may not sleep. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- include/linux/pm_qos.h | 2 ++ kernel/power/qos.c | 20 2 files changed, 22 insertions(+) diff --git

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

2015-04-20 Thread Tobias Klauser
On 2015-04-20 at 08:13:17 +0200, Yoshinori Sato ys...@users.sourceforge.jp wrote: [...] diff --git a/arch/h8300/include/asm/pgtable.h b/arch/h8300/include/asm/pgtable.h new file mode 100644 index 000..8341db6 --- /dev/null +++ b/arch/h8300/include/asm/pgtable.h @@ -0,0 +1,49 @@

Re: [PATCH 6/7] perf data: Fix duplicate field names and avoid reserved keywords

2015-04-20 Thread Arnaldo Carvalho de Melo
Em Sat, Apr 18, 2015 at 10:45:36PM +0200, Jiri Olsa escreveu: On Sat, Apr 18, 2015 at 02:56:00PM -0400, Jérémie Galarneau wrote: On Sat, Apr 18, 2015 at 11:50 AM, Jiri Olsa jo...@kernel.org wrote: From: Wang Nan wangn...@huawei.com Some parameters of syscall tracepoints named as 'nr',

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Alan Stern
On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: Introduce a new per-device flag

RE: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Monday, April 20, 2015 2:40 AM To: KY Srinivasan Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com

Re: [PATCH v4 0/7] tracing: 'hist' triggers

2015-04-20 Thread Tom Zanussi
Hi Daniel, I'm traveling and at a conference this week - let me take a look at this next chance I get, but yeah, that ftrace_trigger_soft_disabled() path is a legal path but obviously when called in the case of a NULL rec, things aren't going to work. Probably a bug in my code somewhere - will

Re: [PATCH] Staging: comedi: fix coding style errors in daqboard2000.c

2015-04-20 Thread Greg KH
On Sun, Apr 19, 2015 at 07:59:31PM -0700, Gbenga Adalumo wrote: Fix coding style errors found by checkpatch.pl tool What errors? Be specific. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v13 2/3] power-domain: rockchip: add power domain driver

2015-04-20 Thread Caesar Wang
Paul, Thanks your commnets!:-) 在 2015年04月20日 17:26, Paul Bolle 写道: On Sun, 2015-04-19 at 18:44 +0800, Caesar Wang wrote: --- a/arch/arm/mach-rockchip/Makefile +++ b/arch/arm/mach-rockchip/Makefile +obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o PM_GENERIC_DOMAINS is a bool symbol, so

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

2015-04-20 Thread Greg Kroah-Hartman
On Mon, Apr 20, 2015 at 03:28:32AM +, Kweh, Hock Leong wrote: Regarding the 'reboot require' status, is it critical to have a 1 to 1 status match with the capsule upload binary? Is it okay to have one sysfs file note to tell the overall status (for example: 10 capsule binaries uploaded

[GIT PULL] kbuild misc update for v4.1-rc1

2015-04-20 Thread Michal Marek
Hi Linus, this is the remaining part of kbuild stuff for v4.1-rc1: - One wew coccinelle script and a clarification of the proposed fix in bugon.coccinelle - CONFIG_KERNEL_LZ4 support for extract-ikconfig Michal The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

[PATCH v2 1/5] kvm/powerpc: Export exit reasons as uapi

2015-04-20 Thread Hemant Kumar
To analyze the kvm exits with perf, we will need to map the exit codes with the exit reasons. Such a mapping exists today in trace_book3s.h. But its not exported to tools like perf. This patch moves these kvm exit reasons and their mapping from arch/powerpc/kvm/trace_book3s.h to

Re: [PATCH 12/49] writeback: move backing_dev_info-bdi_stat[] into bdi_writeback

2015-04-20 Thread Jan Kara
On Mon 06-04-15 15:58:01, Tejun Heo wrote: Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) and the role of the separation is unclear. For cgroup support for writeback IOs, a bdi will be updated to host multiple wb's where each wb serves writeback IOs of a different cgroup

Re: [PATCH] x86_64: use -mskip-rax-setup when available

2015-04-20 Thread Borislav Petkov
On Mon, Apr 20, 2015 at 02:28:16PM +0200, Rasmus Villemoes wrote: gcc 5 supports the option -mskip-rax-setup to avoid emitting the two-byte instruction xor %eax,%eax before a vararg function call. Clearing %eax is redundant in the kernel, since no callee expects any floating point arguments,

Re: [PATCH 14/49] writeback: s/bdi/wb/ in mm/page-writeback.c

2015-04-20 Thread Jan Kara
On Mon 06-04-15 15:58:03, Tejun Heo wrote: Writeback operations will now be per wb (bdi_writeback) instead of bdi. Replace the relevant bdi references in symbol names and comments with wb. This patch is purely cosmetic and doesn't make any functional changes. It's good you made things

Re: [PATCH] dmaengine: imx-sdma: Add DMA event remapping for imx6sx-sdma

2015-04-20 Thread Nicolin Chen
Hi Sascha, Thank you for the comments. On Mon, Apr 20, 2015 at 11:45:41AM +0200, Sascha Hauer wrote: On Tue, Apr 14, 2015 at 10:39:11PM -0700, Nicolin Chen wrote: The SDMA on imx6sx has a few DMA event remapping configurations inside the GPR (General Purpose Register) of that SoC. When

Re: [RFC] i2c-tools: i2ctransfer: add new tool

2015-04-20 Thread Wolfram Sang
On Fri, Feb 27, 2015 at 05:16:56PM +0100, Wolfram Sang wrote: This tool allows to construct and concat multiple I2C messages into one single transfer. Its aim is to test I2C master controllers, and so there is no SMBus fallback. Signed-off-by: Wolfram Sang w...@the-dreams.de --- I've

RE: [PATCH 2/9][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-04-20 Thread Alan Stern
On Mon, 20 Apr 2015, Ramneek Mehresh wrote: This is the wrong way to connect platform-private data with the ehci_hcd structure. The right way is to use an ehci_driver_overrides structure, like in ehci-omap.c and quite a few other EHCI platform drivers. Hi Alan, I checked

Re: [PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable

2015-04-20 Thread Ingo Molnar
* Brown, Len len.br...@intel.com wrote: What's the cutoff for 'modern hardware' - which CPUs stopped requiring the delay? This is the topic of ongoing research, and I'm not ready to send the patch setting a new default until I've heard back from a few more HW people. Every system

Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-20 Thread Steven Rostedt
On Mon, 20 Apr 2015 19:20:48 +0200 Peter Zijlstra pet...@infradead.org wrote: + */ + if (preempt_count() PREEMPT_ACTIVE) + enqueue_pushable_task_preempted(rq, p); + else + enqueue_pushable_task(rq, p); + } } This

Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, David Vrabel wrote: On 20/04/15 12:07, Chen Baozi wrote: On Mon, Apr 20, 2015 at 11:53:47AM +0100, David Vrabel wrote: On 20/04/15 11:48, Chen Baozi wrote: Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi

Re: Need some guidance on i2c-ocores driver

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

Re: [PATCH 12/49] writeback: move backing_dev_info-bdi_stat[] into bdi_writeback

2015-04-20 Thread Tejun Heo
On Mon, Apr 20, 2015 at 05:02:31PM +0200, Jan Kara wrote: Maybe bdi_wb_destroy() would be somewhat more descriptive than bdi_wb_exit()? Otherwise the patch looks good to me. You can add: Reviewed-by: Jan Kara j...@suse.cz Hmmm... maybe, I don't know. I feel weird matching up destroy with

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 03:02:03PM +0200, Jens Wiklander wrote: It appeared to me this driver was copying TPM's old architecture, which is very much known to be broken. The struct tee_device holds a shared memory pool from which shared memory objects are allocated. These shared memory

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Steven Rostedt
On Mon, Apr 20, 2015 at 10:09:03AM -0700, Paul E. McKenney wrote: The sysfs knob might be nice, but as far as I know nobody has been complaining about it. Besides, we already have the rcutree.kthread_prio= kernel-boot parameter. So how about if the Kconfig parameter selects either

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-20 Thread James Bottomley
On Fri, 2015-04-17 at 16:27 -0400, Havoc Pennington wrote: Hi, On Fri, Apr 17, 2015 at 3:27 PM, James Bottomley james.bottom...@hansenpartnership.com wrote: This is why I think kdbus is a bad idea: it solidifies as a linux kernel API something which runs counter to granular OS

Re: [PATCH 13/49] writeback: move bandwidth related fields from backing_dev_info into bdi_writeback

2015-04-20 Thread Tejun Heo
On Mon, Apr 20, 2015 at 05:09:50PM +0200, Jan Kara wrote: On Mon 06-04-15 15:58:02, Tejun Heo wrote: Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) and the role of the separation is unclear. For cgroup support for writeback IOs, a bdi will be updated to host multiple

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

2015-04-20 Thread Al Viro
The patchset below gets rid of recursion in pathname resolution. As the result, stack footprint of fs/namei.c stuff doesn't depend upon the symlink nesting anymore and is much less than the worst cases in mainline - as the matter of fact, it's around the footprint mainline gets with just

[PATCH 07/24] namei: expand nested_symlink() in its only caller

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 61 +++-- 1 file changed, 23 insertions(+), 38 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 4c6ce01f..a1f6271 100644 ---

Re: [PATCH 18/49] bdi: make inode_to_bdi() inline

2015-04-20 Thread Tejun Heo
On Mon, Apr 20, 2015 at 05:40:50PM +0200, Jan Kara wrote: This patch makes inode_to_bdi() and sb_is_blkdev_sb() that the function calls inline. blockdev_superblock and noop_backing_dev_info are EXPORT_GPL'd to allow the inline functions to be used from modules. I somewhat hate making

[PATCH 04/24] VFS: replace nameidata arg to -put_link with a char*.

2015-04-20 Thread Al Viro
From: NeilBrown ne...@suse.de The only thing any -put_link() function did with the nameidata was to call nd_get_link() to get the link name. So now just pass the link name directly. This allows us to make nd_get_link() completely local to namei.c. Suggested-by: Al Viro v...@zeniv.linux.org.uk

[PATCH 02/24] VFS: replace {, total_}link_count in task_struct with pointer to nameidata

2015-04-20 Thread Al Viro
From: NeilBrown ne...@suse.de task_struct currently contains two ad-hoc members for use by the VFS: link_count and total_link_count. These are only interesting to fs/namei.c, so exposing them explicitly is poor layering. This patches replaces those with a single pointer to 'struct nameidata'.

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 08:20:44AM +0200, Jens Wiklander wrote: I'm not sure I understand what you mean. This function is a building block for the TEE driver to supply whatever interface is needed for user space. For a Global Platform like TEE it will typically have support for

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Steven Rostedt
On Mon, 20 Apr 2015 20:09:04 +0200 Ingo Molnar mi...@kernel.org wrote: So the disadvantage is that if a boot default is wrong, we'll hear about it eventually and can fix/improve it. If a sysctl knob is wrong, people will just 'tune' it and forget to propagate it to the kernel proper (why

[PATCH 01/24] lustre: rip the private symlink nesting limit out

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- drivers/staging/lustre/lustre/llite/symlink.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/symlink.c

Re: [PATCH] etherdevice: Add ether_addr_copy_unaligned

2015-04-20 Thread David Miller
From: Mateusz Kulikowski mateusz.kulikow...@gmail.com Date: Sun, 19 Apr 2015 23:39:37 +0200 Some drivers require copying unaligned ethernet addresses. Using memcpy() causes checkpatch warnings and may cause regressions (someone will fix alignment of packed structure) Signed-off-by: Mateusz

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

2015-04-20 Thread Alan Stern
On Mon, 20 Apr 2015, Ivan T. Ivanov wrote: On Mon, 2015-04-20 at 10:14 -0400, Alan Stern wrote: On Mon, 20 Apr 2015, Ivan T. Ivanov wrote: Hi Alan, Perhaps I have to resend this patch with updated commit message? Are they any other obstacles? Instead of submitting this

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-20 Thread Arnd Bergmann
On Monday 20 April 2015 16:56:00 Catalin Marinas wrote: On Fri, Apr 17, 2015 at 05:49:44PM +0200, Arnd Bergmann wrote: On Friday 17 April 2015 15:46:57 Catalin Marinas wrote: On Fri, Apr 17, 2015 at 02:17:32PM +0100, Arnd Bergmann wrote: | typedef unsigned short __kernel_mode_t;

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: On Mon, Apr 20, 2015 at 10:09:03AM -0700, Paul E. McKenney wrote: The sysfs knob might be nice, but as far as I know nobody has been complaining about it. Besides, we already have the rcutree.kthread_prio= kernel-boot parameter. So how

Re: [PATCH 0/2] iommu-common build warning fixes.

2015-04-20 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Sun, 19 Apr 2015 13:13:29 -0400 This patchset has fixes for 2 architectures - Part 1: x86_64 warnings generated by sparse - Part 2: allmodconfig build error for powerpc, identified by Guenter Roeck. Series applied, thank you. -- To

[PATCH 05/24] SECURITY: remove nameidata arg from inode_follow_link.

2015-04-20 Thread Al Viro
From: NeilBrown ne...@suse.de No -inode_follow_link() methods use the nameidata arg, and it is about to become private to namei.c. So remove from all inode_follow_link() functions. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c

[PATCH 21/24] namei: regularize use of put_link() and follow_link(), trim arguments

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk don't bother with separate variables for link and cookie in trailing symlink loops; use nd-stack[0] for that. That makes *all* callers of put_link() (and follow_link()) operate on nd-stack[nd-depth].link and nd-stack[nd-depth].cookie. Trim the argument

[PATCH 15/24] link_path_walk: final preparations to killing recursion

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk reduce the number of returns in there - turn all places where it returns zero into goto OK and places where it returns non-zero into goto Err. The only non-trivial detail is that all breaks in the loop are guaranteed to be with non-zero err. Signed-off-by:

[PATCH 17/24] link_path_walk: split return from recursive call path

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 40 +--- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 4b98f4b..975918f 100644 --- a/fs/namei.c +++

[PATCH 16/24] link_path_walk: kill the recursion

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk absolutely straightforward now - the only variables we need to preserve across the recursive call are name, link and cookie, and recursion depth is limited (and can is equal to nd-depth). So arrange an array of triples to hold instances of those and be done

[PATCH 18/24] link_path_walk: cleanup - turn goto start; into continue;

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Deal with skipping leading slashes before what used to be the recursive call. That way we can get rid of that goto completely. Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-)

[PATCH 19/24] namei: fold may_follow_link() into follow_link()

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk All remaining callers of the former are preceded by the latter Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index

[PATCH V7 3/6] perf, x86: handle multiple records in PEBS buffer

2015-04-20 Thread Kan Liang
From: Yan, Zheng zheng.z@intel.com When the PEBS interrupt threshold is larger than one record and the machine supports multiple PEBS events, the records of these events are mixed up and we need to demultiplex them. Demuxing the records is hard because the hardware is deficient. The hardware

[PATCH V7 1/6] perf, x86: use the PEBS auto reload mechanism when possible

2015-04-20 Thread Kan Liang
From: Yan, Zheng zheng.z@intel.com When a fixed period is specified, this patch make perf use the PEBS auto reload mechanism. This makes normal profiling faster, because it avoids one costly MSR write in the PMI handler. However, the reset value will be loaded by hardware assist. There is a

[PATCH V7 2/6] perf, x86: introduce setup_pebs_sample_data()

2015-04-20 Thread Kan Liang
From: Yan, Zheng zheng.z@intel.com move codes that setup PEBS sample data to separate function. Signed-off-by: Yan, Zheng zheng.z@intel.com Signed-off-by: Kan Liang kan.li...@intel.com --- arch/x86/kernel/cpu/perf_event_intel_ds.c | 95 +-- 1 file changed, 52

Re: [PATCH 15/49] writeback: move backing_dev_info-wb_lock and -worklist into bdi_writeback

2015-04-20 Thread Jan Kara
On Mon 06-04-15 15:58:04, Tejun Heo wrote: Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) and the role of the separation is unclear. For cgroup support for writeback IOs, a bdi will be updated to host multiple wb's where each wb serves writeback IOs of a different cgroup

Re: linux-next: Tree for Apr 20 (gfs2)

2015-04-20 Thread Steven Whitehouse
Hi, On 20/04/15 16:40, Randy Dunlap wrote: 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] undefined! These

Re: [trivial PATCH] arm: dts: socfpga: Remove executable permission bits

2015-04-20 Thread Joe Perches
On Mon, 2015-04-20 at 10:37 -0500, Dinh Nguyen wrote: On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring robherri...@gmail.com wrote: +arm-soc On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches j...@perches.com wrote: Change the .dts file permissions from 755 to 644. Signed-off-by: Joe Perches

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

2015-04-20 Thread Tom Tucker
On 4/20/15 10:16 AM, Michael Wang wrote: On 04/20/2015 04:00 PM, Steve Wise wrote: On 4/20/2015 3:40 AM, Michael Wang wrote: [snip] diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 6805e3e..e4999f6 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@

Re: [PATCH 2/2] futex: lockless wakeups

2015-04-20 Thread Linus Torvalds
On Sun, Apr 19, 2015 at 12:17 PM, Davidlohr Bueso d...@stgolabs.net wrote: Naturally, this can cause spurious wakeups. However there is core code that cannot handle them afaict, and furthermore tglx does have the point that other events can already trigger them anyway. Indeed. We need to make

Re: BLK_MQ_F_DEFER_ISSUE

2015-04-20 Thread Jeff Moyer
Jens Axboe ax...@kernel.dk writes: On 04/20/2015 09:09 AM, Jeff Moyer wrote: Hi, Jens, This flag was introduced under the auspices that the nvme blk-mq conversion would make use of it. That never materialized. Are there still plans to make use of it? If not, I'd like to get rid of it.

Re: [PATCH] arm64: Implement 1-,2- byte smp_load_acquire and smp_store_release

2015-04-20 Thread Paul E. McKenney
On Mon, Apr 20, 2015 at 06:45:53PM +0300, Andrey Ryabinin wrote: commit 47933ad41a86 (arch: Introduce smp_load_acquire(), smp_store_release()) allowed only 4- and 8-byte smp_load_acquire, smp_store_release. So 1- and 2-byte cases weren't implemented in arm64. Later commit 536fa402221f

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-20 Thread David Miller
From: Guenter Roeck li...@roeck-us.net Date: Sun, 19 Apr 2015 22:17:21 -0700 The debug option is intended for all _other_ architectures, to ensure that changes made for those don't break alpha/s390 builds. alpha/s390 have ARCH_NEEDS_WEAK_PER_CPU and don't need the debug option. Ironically

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Clark Williams
On Sat, 18 Apr 2015 19:05:42 -0700 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Real-time priority to use for RCU worker threads (RCU_KTHREAD_PRIO) [0] (NEW) Indeed, Linus complained about this one. ;-) :-) Yes, it's an essentially unanswerable question.

Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-20 Thread Peter Zijlstra
On Mon, Apr 20, 2015 at 10:52:28AM -0400, Steven Rostedt wrote: On Mon, 20 Apr 2015 16:22:47 +0800 Xunlei Pang xlp...@126.com wrote: static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p) { } @@ -1506,8 +1526,21 @@ static void put_prev_task_rt(struct rq

Re: [PATCH 2/2] futex: lockless wakeups

2015-04-20 Thread Davidlohr Bueso
On Mon, 2015-04-20 at 16:57 +0200, Peter Zijlstra wrote: Haha, you dug that out did you ;-) Does this patch on its own actually help anything? Back when I wrote that there was the vague hope it would actually help some of the client-server ping-pong workloads, where the client does sync

Re: [PATCH] blk-mq: rationalize plug

2015-04-20 Thread Jeff Moyer
Shaohua Li s...@fb.com writes: Previous post of the patch is lost, so I repost. This is helpful, for example, using scsi-mq for a sata drive. plug is still helpful for workload with IO merge, but it can be harmful otherwise especially with multiple hardware queues, as there is (supposed) no

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Clark Williams
On Mon, 20 Apr 2015 10:09:03 -0700 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Mon, Apr 20, 2015 at 11:35:54AM -0500, Clark Williams wrote: On Sat, 18 Apr 2015 19:05:42 -0700 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Real-time priority to use for RCU worker

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

2015-04-20 Thread James Bottomley
On Fri, 2015-04-17 at 15:49 +0200, Greg Kroah-Hartman wrote: On Thu, Apr 16, 2015 at 09:42:31AM +, Kweh, Hock Leong wrote: -Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Wednesday, April 15, 2015 9:19 PM On Wed, Apr 15, 2015 at

Re: [PATCH v2] perf tools: Document --children option in more detail

2015-04-20 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: As the --children option changes the output of perf report (and perf top) it sometimes confuses users. Add more words and examples to help understanding of the option's behavior - and how to disable it ;-). Nice! :-) +++

[PATCH 03/24] ovl: rearrange ovl_follow_link to it doesn't need to call -put_link

2015-04-20 Thread Al Viro
From: NeilBrown ne...@suse.de ovl_follow_link current calls -put_link on an error path. However -put_link is about to change in a way that it will be impossible to call it from ovl_follow_link. So rearrange the code to avoid the need for that error path. Specifically: move the kmalloc() call

[PATCH 23/24] new -follow_link() and -put_link() calling conventions

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk a) instead of storing the symlink body (via nd_set_link()) and returning an opaque pointer later passed to -put_link(), -follow_link() _stores_ that opaque pointer (via nd_pin_link()) and returns the symlink body. Returning ERR_PTR() on error, NULL on jump

[PATCH 22/24] namei: trim the arguments of get_link()

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk same story as the previous commit Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 37 +++-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index a8d6751..425986a 100644

[PATCH 24/24] uninline walk_component()

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk seriously improves the stack *and* I-cache footprint... Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index f1ec430..80edea9 100644 ---

[PATCH 14/24] link_path_walk: get rid of duplication

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk What we do after the second walk_component() + put_link() + depth decrement in there is exactly equivalent to what's done right after the first walk_component(). Easy to verify and not at all surprising, seeing that there we have just walked the last

[PATCH 20/24] namei: introduce nameidata-stack

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk move the stack of saved states out of link_path_walk() stack frame to that of callers, put a reference to it into struct nameidata as nd-stack, move nd-saved_names[] elements in there. Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 35

[PATCH 13/24] link_path_walk: massage a bit more

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Pull the block after the if-else in the end of what used to be do-while body into all branches there. We are almost done with the massage... Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 19 +-- 1 file changed, 13

[PATCH 11/24] link_path_walk: don't bother with walk_component() after jumping link

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk ... it does nothing if nd-last_type is LAST_BIND. Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 6e6630c..5366b6d 100644 ---

[PATCH 12/24] link_path_walk: turn inner loop into explicit goto

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 61 - 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 5366b6d..86d54e5 100644 ---

[PATCH 09/24] namei: fold follow_link() into link_path_walk()

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk ... and strip __always_inline from follow_link() - remaining callers don't need that. Now link_path_walk() recursion is a direct one. Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/namei.c | 26 ++ 1 file changed, 22

[PATCH 10/24] link_path_walk: handle get_link() returning ERR_PTR() immediately

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk If we get ERR_PTR() from get_link(), we are guaranteed to get err != 0 when we break out of do-while, so we are going to hit if (err) return err; shortly after it. Pull that into the if (IS_ERR(s)) body. Signed-off-by: Al Viro v...@zeniv.linux.org.uk ---

Re: [PATCH] tools/lib/api/Makefile: Add feature check for _FORTIFY_SOURCE

2015-04-20 Thread Ingo Molnar
* Dirk Gouders d...@gouders.net wrote: For example on Gentoo systems where _FORTIFY_SOURCE is set by default, `make -C tools/perf' fails, because of the macro being redefined. Fix that by a feature-check analogous to tools/perf/config/Makefile. Signed-off-by: Dirk Gouders

Re: [PATCH 15/49] writeback: move backing_dev_info-wb_lock and -worklist into bdi_writeback

2015-04-20 Thread Tejun Heo
Hello, Jan. On Mon, Apr 20, 2015 at 05:32:24PM +0200, Jan Kara wrote: @@ -454,9 +451,9 @@ EXPORT_SYMBOL(bdi_init); void bdi_destroy(struct backing_dev_info *bdi) { - bdi_wb_shutdown(bdi); - - WARN_ON(!list_empty(bdi-work_list)); + /* make sure nobody finds us on the

[PATCH 06/24] VFS: remove nameidata args from -follow_link

2015-04-20 Thread Al Viro
From: NeilBrown ne...@suse.de Now that current-nameidata is available, nd_set_link() can use that directly, so 'nd' doesn't need to be passed through -follow_link. As a result of this change, 'nameidata' is almost entirely local to namei.c. It is only exposed externally as an opaque struct

[PATCH 08/24] namei.c: separate the parts of follow_link() that find the link body

2015-04-20 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Calling conventions for -follow_link() are rather unfortunate. It would be better to have it return ERR_PTR(error) on error, NULL on jumps and link body for normal symlinks. What we currently return (opaque pointer used by -put_link() once we are done)

Re: Need some guidance on i2c-ocores driver

2015-04-20 Thread Lee Jones
On Mon, 20 Apr 2015, York Sun wrote: On 04/19/2015 11:42 PM, Lee Jones wrote: On Fri, 17 Apr 2015, York Sun wrote: Resend to LKML Lee, This question is actually more about MFD. Can you point me to the possible causes for my failure below? It's hard to tell exactly

RE: [PATCH 2/9][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-04-20 Thread Ramneek Mehresh
-Original Message- From: Mehresh Ramneek-B31383 Sent: Monday, April 20, 2015 10:05 PM To: 'Alan Stern' Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; ba...@ti.com; gre...@linuxfoundation.org Subject: RE: [PATCH 2/9][v2]usb:fsl:otg: Add support to add/remove usb host

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-20 Thread Ming Lei
On Mon, 20 Apr 2015 17:52:40 +0200 Dongsu Park dongsu.p...@profitbricks.com wrote: On 20.04.2015 21:12, Ming Lei wrote: On Mon, Apr 20, 2015 at 4:07 PM, Dongsu Park dongsu.p...@profitbricks.com wrote: Hi Ming, On 18.04.2015 00:23, Ming Lei wrote: Does anyone have an idea?

Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

2015-04-20 Thread Andi Kleen
If you don't care about sampling and only care about totals, then you can just open the events concurrently *without* grouping them, as I stated previously. perf record doesn't really support that. We need some group reader that runs regularly. The best choice for the leader is a CPU sample

Re: [GIT PULL] First batch of KVM changes for 4.1

2015-04-20 Thread Paolo Bonzini
On 17/04/2015 22:18, Marcelo Tosatti wrote: The bug which this is fixing is very rare, have no memory of a report. In fact, its even difficult to create a synthetic reproducer. But then why was the task migration notifier even in Jeremy's original code for Xen? Was it supposed to work even

Re: [PATCH] input: cyapa: fix update suspend scanrate set to max 1000 issue

2015-04-20 Thread Benson Leung
Hi Dudley. Just a minor commit message nit. Thanks! On Sun, Apr 19, 2015 at 10:43 PM, Dudley Du d...@cypress.com wrote: Fix update suspend scareate always set to max 1000 issue, the root cause is s/scareate/scanrate the missed using max_t as min_t. TEST=test on Chromebook. Signed-off-by:

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

2015-04-20 Thread Hal Rosenstock
On 4/20/2015 4:33 AM, Michael Wang wrote: Use raw management helpers to reform IB-core cm. Cc: Hal Rosenstock h...@dev.mellanox.co.il Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford

Re: [PATCH] input: cyapa: fix update suspend scanrate set to max 1000 issue

2015-04-20 Thread Dmitry Torokhov
On Mon, Apr 20, 2015 at 10:00:42AM -0700, Benson Leung wrote: Hi Dudley. Just a minor commit message nit. Thanks! On Sun, Apr 19, 2015 at 10:43 PM, Dudley Du d...@cypress.com wrote: Fix update suspend scareate always set to max 1000 issue, the root cause is s/scareate/scanrate the

[PATCH] [RFC] x86/cpu: Fix SMAP check in PVOPS environments

2015-04-20 Thread Andrew Cooper
There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the full flags, while lguest and Xen only return the Interrupt Flag, and both have comments by the implementations stating that only the Interrupt Flag is looked at. This may have

<    8   9   10   11   12   13   14   15   >