[PATCH] KVM: x86: Remove redundant and incorrect cpl check on task-switch

2014-07-29 Thread Nadav Amit
Task-switch emulation checks the privilage level prior to performing the task-switch. This check is incorrect in the case of task-gates, in which the tss.dpl is ignored, and can cause superfluous exceptions. Moreover this check is unnecassary, since the CPU checks the privilage levels prior to ex

Re: [RFC PATCH v1 13/70] x86, x2apic_cluster: _FROZEN Cleanup

2014-07-29 Thread Chen, Gong
On Wed, Jul 23, 2014 at 10:36:28PM +0200, Borislav Petkov wrote: > /* >* At CPU state changes, update the x2apic cluster sibling info. >*/ > @@ -151,9 +166,14 @@ static int > update_clusterinfo(struct notifier_block *nfb, unsigned long action, void > *hcpu) > { > unsigned int thi

Re: [PATCH 3.15 33/37] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler

2014-07-29 Thread Jakub Jelinek
On Tue, Jul 29, 2014 at 06:49:09PM -0700, Greg Kroah-Hartman wrote: > 3.15-stable review patch. If anyone has any objections, please let me know. IMNSHO this is a too big hammer approach. The bug happened on a single file only (right?), so if anything, IMHO it could be disabled for that single f

[PATCH v2] f2fs: remove redundant lines in allocate_data_block

2014-07-29 Thread Dongho Sim
There are redundant lines in allocate_data_block. In this function, we call refresh_sit_entry with old seg and old curseg. After that, we call locate_dirty_segment with old curseg. But, the new address is always allocated from old curseg and we call locate_dirty_segment with old curseg in refresh

Re: [PATCH RFC tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-07-29 Thread Lai Jiangshan
On 07/29/2014 06:56 AM, Paul E. McKenney wrote: > + /* > + * Each pass through the following loop scans the list > + * of holdout tasks, removing any that are no longer > + * holdouts. When the list is empty, we are done. > + */ > +

Re: [RFC][PATCH] PM / sleep: Rename symbols, functions and variables related to sleep

2014-07-29 Thread Pavel Machek
On Wed 2014-07-30 01:41:25, Rafael J. Wysocki wrote: > On Monday, July 28, 2014 01:13:56 AM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The names of several symbols, data types, functions and variables > > related to system sleep states are confusing and don't reflect the > > rea

Re: [PATCH] video: fbdev: intelfb: intelfb_i2c.c: Cleaning up variable that is never used

2014-07-29 Thread Pavel Machek
On Sat 2014-07-05 14:24:08, Rickard Strandqvist wrote: > From: Rickard Strandqvist > > Variable ar assigned a value that is never used. > I have also removed all the code that thereby serves no purpose. > > This was found using a static code analysis program called cppcheck Are you sure this is

Re: [PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2014-07-29 Thread Tony Lindgren
* Felipe Balbi [140729 09:42]: > Hi, > > On Tue, Jul 29, 2014 at 02:38:24PM +0200, Laurent Pinchart wrote: > > On Wednesday 23 July 2014 14:29:36 Kishon Vijay Abraham I wrote: > > > On Monday 21 July 2014 08:45 PM, Felipe Balbi wrote: > > > > On Mon, Jul 21, 2014 at 05:04:57PM +0200, Laurent Pinc

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-07-29 Thread Jiang Liu
On 2014/7/30 10:45, Yijing Wang wrote: > On 2014/7/29 22:08, Arnd Bergmann wrote: >> On Saturday 26 July 2014 11:08:37 Yijing Wang wrote: >>> The series is a draft of generic MSI driver that supports PCI >>> and Non-PCI device which have MSI capability. If you're not interested >>> it, so

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-29 Thread Ley Foon Tan
On Mon, Jul 28, 2014 at 10:59 PM, Geert Uytterhoeven wrote: > On Tue, Jul 15, 2014 at 10:45 AM, Ley Foon Tan wrote: >> --- /dev/null >> +++ b/arch/nios2/include/asm/mmu.h >> @@ -0,0 +1,18 @@ >> +/* >> + * Copyright (C) 2010 Tobias Klauser >> + * Copyright (C) 2004 Microtronix Datacom Ltd. >> + *

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-29 Thread Yuyang Du
On Tue, Jul 29, 2014 at 03:17:29PM +0200, Vincent Guittot wrote: > >> > >> IMHO, we should apply the same policy than the one i mentioned for > >> task. So the load_avg of an entity or a cfs_rq will not be disturbed > >> by an old but no more valid weight > >> > > > > Well, I see your point. But th

Re: [PATCH] ASoC: max98090 not need to return fail if fail to request hpdet irq.

2014-07-29 Thread Jarkko Nikula
On 07/30/2014 04:50 AM, jianqun wrote: From: xujianqun Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the driver can work well without it, can report jack trigger to CPU by a GPIO. But here driver will register fail caused by failed to request irq. Signed-off-by: xujia

RE: [PATCH] scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-29 Thread Nilesh Javali
Acked-By: Nilesh Javali -Original Message- From: Rickard Strandqvist [mailto:rickard_strandqv...@spectrumdigital.se] Sent: Sunday, July 27, 2014 8:28 PM To: Vikas Chaudhary; Dept-Eng iSCSI Driver Cc: Rickard Strandqvist; James E.J. Bottomley; linux-scsi; linux-kernel Subject: [PATCH] sc

Re: [RFC PATCHv2 00/11] Adding FreeBSD's Capsicum security framework

2014-07-29 Thread Eric W. Biederman
I have cut this down to just focus on O_BENEATH openat case. David Drysdale writes: > On Mon, Jul 28, 2014 at 10:13 PM, Eric W. Biederman > wrote: >> Nope. What you can implement today if you want fine grained limitations >> like this is to create a mount namespace with exactly the subdirect

RE: [PATCH] scsi: qla4xxx: ql4_os.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-29 Thread Nilesh Javali
Acked-By: Nilesh Javali -Original Message- From: Rickard Strandqvist [mailto:rickard_strandqv...@spectrumdigital.se] Sent: Saturday, July 26, 2014 8:20 PM To: Vikas Chaudhary; Dept-Eng iSCSI Driver Cc: Rickard Strandqvist; James E.J. Bottomley; linux-scsi; linux-kernel Subject: [PATCH]

ACPI/cpu hotplug: possible lockdep

2014-07-29 Thread Gu Zheng
Hi Rafael, A lockdep warning occurs when hot removing a cpu via sysfs: echo 1 > /sys/bus/acpi/devices/LNXCPU\:02/eject The kernel is latest upstream, and the test box is a kvm vm, detail info as following. [ 221.755113] == [ 221.756189] [ INFO:

Re: [RFC][PATCH] PM / sleep: Rename symbols, functions and variables related to sleep

2014-07-29 Thread Zhang Rui
On Wed, 2014-07-30 at 01:41 +0200, Rafael J. Wysocki wrote: > On Monday, July 28, 2014 01:13:56 AM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The names of several symbols, data types, functions and variables > > related to system sleep states are confusing and don't reflect the

[PATCH] VFS: allow ->d_manage() to declare -EISDIR in rcu_walk mode.

2014-07-29 Thread NeilBrown
In REF-walk mode, ->d_manage can return -EISDIR to indicate that the dentry is not really a mount trap (or even a mount point) and that any mounts or any DCACHE_NEED_AUTOMOUNT flag should be ignored. RCU-walk mode doesn't currently support this, so if there is a dentry with DCACHE_NEED_AUTOMOUNT

Re: use IORESOURCE_REG resource type for non-translatable addresses in DT

2014-07-29 Thread Stephen Boyd
On 07/29, Rob Herring wrote: > On Tue, Jul 29, 2014 at 8:07 PM, Stephen Boyd wrote: > > On 07/29/14 16:45, Grant Likely wrote: > >> On Tue, 29 Jul 2014 17:06:42 +0300, Stanimir Varbanov > >> wrote: > >>> > >>> This was just an example. Of course it has many issues and probaly it is > >>> wrong:)

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-29 Thread Tony Lindgren
* Felipe Balbi [140729 09:36]: > Hi, > > On Tue, Jul 29, 2014 at 10:40:57AM -0500, Felipe Balbi wrote: > > On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Lindgren wrote: > > > * Felipe Balbi [140729 07:18]: > > > > Hi, > > > > > > > > On Tue, Jul 29, 2014 at 05:14:25AM -0700, Tony Lindgren wrot

Re: [PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-07-29 Thread Peter Ujfalusi
On 07/29/2014 07:12 PM, Mike Turquette wrote: >> Oh yea, seems this got lost into the myriad of branches I have. I can push >> this on top of my for-v3.17/ti-clk-drv if you like. > > That is the easiest thing for me. I think that Peter wanted to take > this as a fix for 3.16 though. Peter is that

Re: [perf/x86/RAPL] BUG: unable to handle kernel NULL pointer dereference at 00000028

2014-07-29 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 06:45:58AM +0200, Stephane Eranian wrote: > On Wed, Jul 30, 2014 at 6:00 AM, Fengguang Wu wrote: > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > Is this booting a guest kernel or native? It's a guest kernel. > What is

[PATCH] input: ads7846: Release resources on failure for clean exit

2014-07-29 Thread Pramod Gurav
From: Pramod Gurav Input device must be released(input_free_device) when ads7846_probe_dt fails. This fixes the same by releasing resources on failure. CC: Dmitry Torokhov CC: Lejun Zhu CC: Sachin Kamat Signed-off-by: Pramod Gurav --- drivers/input/touchscreen/ads7846.c |6 -- 1 fi

Re: [PATCH 1/6] MAINTAINERS: Update DMA BUFFER SHARING patterns

2014-07-29 Thread Sumit Semwal
Hi Joe! On 30 July 2014 09:08, Joe Perches wrote: > One pattern per F: line please... Thanks for catching this; Acked-by: Sumit Semwal > > Signed-off-by: Joe Perches > CC: Sumit Semwal > --- > MAINTAINERS | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/MAINTAINERS

Re: [PATCH v2 RESEND 3/4] drivers: dma-coherent: add initialization from device tree

2014-07-29 Thread Marek Szyprowski
Hello, On 2014-07-29 23:54, Grant Likely wrote: On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski wrote: Initialization procedure of dma coherent pool has been split into two parts, so memory pool can now be initialized without assigning to particular struct device. Then initialized region

Re: Open-ended task In kernel

2014-07-29 Thread sanjeev sharma
Thanks greg so I need to find issue myself and then start from there.Do we have some link somewhere open-ended task is captured. Regards Sanjeev Sharma On Tue, Jul 29, 2014 at 8:44 PM, gregkh wrote: > On Tue, Jul 29, 2014 at 12:46:46PM +0530, sanjeev sharma wrote: >> Hello All, >> >> I have sta

Re: Bug on Kernel 3.16 r6: Sound and Buffering in Clementine with Files are Transferring to Music Directory

2014-07-29 Thread Nick Krause
On Tue, Jul 29, 2014 at 1:34 PM, Nick Krause wrote: > On Tue, Jul 29, 2014 at 1:02 PM, Nick Krause wrote: >> On Tue, Jul 29, 2014 at 11:42 AM, wrote: >>> On 2014-07-28 22:57, Nick Krause wrote: r the hang, so doing a bisect might lead us to some innocent commit. >> I have run the rsync + sn

Re: Work Queue for btrfs compression writes

2014-07-29 Thread Nick Krause
On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wrote: > You've been replied to politely, now listen and do or shut up. > > > On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wrote: >> >> Hey Guys , >> I am new to reading and writing kernel code.I got interested in >> writing code for btrfs as it se

[RESEND PATCH] mmc: core: Remove fixed voltage regulator logic

2014-07-29 Thread Tim Kryger
There is no need for regulator consumers to include special logic for fixed voltage regulators as they support regulator_set_voltage() just like their non-fixed regulator counterparts. Signed-off-by: Tim Kryger --- Since this eliminates logic that was concealing a bug in how the SDHCI driver was

Re: [perf/x86/RAPL] BUG: unable to handle kernel NULL pointer dereference at 00000028

2014-07-29 Thread Stephane Eranian
On Wed, Jul 30, 2014 at 6:00 AM, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > Is this booting a guest kernel or native? What is the host CPU? > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 478

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-29 Thread Andy Lutomirski
On Tue, Jul 29, 2014 at 9:08 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Mon, Jul 28, 2014 at 2:18 PM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: >>> [cc: Eric Biederman] >>> Can we do one better and add a flag to prevent any non-self pid look

[PATCH 07/17] ACPICA: Utilities: Fix local printf issue.

2014-07-29 Thread Lv Zheng
The bug can be reproduced by using a format that do not have the width.prec specified after a format that have the width.prec specified. The second formatted output will be wrong. The root cause is acpi_ut_vsnprintf() doesn't reset the specifiers to the default values. This patch fixes this issue.

[PATCH 05/17] ACPICA: Remove some extraneous printf arguments.

2014-07-29 Thread Lv Zheng
From: Sascha Wildner Arguments that have no associated % format specifier. Apparently these are not caught by any current compilers. ACPICA BZ 1090. Sascha Wildner. Currently this patch only affects applications under the toos/power/acpi folder. Reference: https://bugs.acpica.org/show_bug.cgi?i

[PATCH 10/17] ACPICA: ACPI 5.1: Support for the _DSD predefined name.

2014-07-29 Thread Lv Zheng
From: "David E. Box" Adds full support for _DSD. David Box. Signed-off-by: David E. Box Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/acpredef.h | 13 - include/acpi/acnames.h |1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --

[PATCH 11/17] ACPICA: ACPI 5.1: New notify value for System Affinity Update.

2014-07-29 Thread Lv Zheng
From: Bob Moore New value for the Notify() operator. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/utdecode.c |5 +++-- include/acpi/actypes.h |3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpica/utdecode.c b/dri

[PATCH 16/17] ACPICA: ACPI 5.1: Update for PCCT table changes.

2014-07-29 Thread Lv Zheng
From: Bob Moore One new subtable. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl3.h | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index 41ad964..787bcc8 100644 --- a/includ

[PATCH 17/17] ACPICA: Update version to 20140724.

2014-07-29 Thread Lv Zheng
From: Bob Moore Version 20140724. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index c3f38bc..b7c89d4 100644 --- a/include/acpi/acpixf.h +++ b/inc

[PATCH 14/17] ACPICA/ARM: ACPI 5.1: Update for MADT changes.

2014-07-29 Thread Lv Zheng
From: Tomasz Nowicki New subtables and changes to other subtables. Tomasz Nowicki. tomasz.nowi...@linaro.org Signed-off-by: Tomasz Nowicki Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl1.h | 44 +---

[PATCH 12/17] ACPICA: ACPI 5.1: Support for the _CCA predifined name.

2014-07-29 Thread Lv Zheng
From: Bob Moore Full support for _CCA. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/acpredef.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h index c5bfadf..bd3908d 100644 --- a/drivers/acpi

[PATCH 13/17] ACPICA/ARM: ACPI 5.1: Update for FADT changes.

2014-07-29 Thread Lv Zheng
From: Graeme Gregory Adds ARM flags and FADT minor revision. Graeme Gregory. graeme.greg...@linaro.org Signed-off-by: Graeme Gregory Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl.h | 12 +--- 1 file changed, 9 insertions(+), 3 de

[PATCH 08/17] ACPICA: acpihelp: Add UUID support, restructure some existing files.

2014-07-29 Thread Lv Zheng
From: Bob Moore This adds a -u option to acpi_help to display all known ACPI UUIDs. Some existing files in the core code have been restructured. Three new files. [zetalog: changing drivers/acpi/acpica/Makefile accordingly] Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acp

[PATCH 15/17] ACPICA/ARM: ACPI 5.1: Update for GTDT table changes.

2014-07-29 Thread Lv Zheng
From: Tomasz Nowicki New fields and new subtables. Tomasz Nowicki. tomasz.nowi...@linaro.org Signed-off-by: Tomasz Nowicki Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl3.h | 93 + 1 file ch

[PATCH 01/17] ACPICA: Work around an ancient GCC bug.

2014-07-29 Thread Lv Zheng
From: Bob Moore warning: cast from function call of type 'char *' to non-matching type 'long unsigned int' Since acpi_ut_format_number() hasn't been enabled for the Linux kernel, this patch doesn't affect the Linux kernel. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/ac

[PATCH 04/17] ACPICA: Update for comments/formatting. No functional changes.

2014-07-29 Thread Lv Zheng
From: Bob Moore Fix some issues detected by acpisrc utility. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/exfield.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/acpi/acpica/exfield.c b/drivers/acpi/acpica/ex

[PATCH 03/17] ACPICA: Disassembler: Add support for the ToUUID opererator (macro).

2014-07-29 Thread Lv Zheng
From: Bob Moore This change adds support to disassemble a UUID back to the original ToUUID operator. It will detect a UUID within a standard AML Buffer. Also, a description of the UUID is emitted for "known" UUIDs, defined as UUIDs that are defined in the ACPI specification. Since this is a chan

[PATCH 09/17] ACPICA: Debug object: Add current value of Timer() to debug line prefix.

2014-07-29 Thread Lv Zheng
From: Bob Moore Simplifies timing of things like control method execution. [zetalog: fixing 64-bit division link error] Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/exdebug.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 06/17] ACPICA: Tables: Update for DMAR table changes.

2014-07-29 Thread Lv Zheng
From: Bob Moore Update table compiler and disassembler for new DMAR fields introduced in Sept. 2013. Note that Linux DMAR users need to be updated after applying this change. [zetalog: changing drivers/iommu/dmar.c accordingly] Cc: David Woodhouse Cc: io...@lists.linux-foundation.org Signed-of

[PATCH 02/17] ACPICA: Remove a redundant cast to acpi_size for ACPI_OFFSET() macro.

2014-07-29 Thread Lv Zheng
From: Bob Moore It is already casted to acpi_size by ACPI_PTR_DIFF() macro. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actypes.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 608a040..4d9b29c

[PATCH 00/17] ACPICA: 20140724 Release

2014-07-29 Thread Lv Zheng
The 20140724 ACPICA kernel-resident subsystem updates are linuxized based on the pm/linux-next branch to form this patchset. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + default + COFNIG_ACPI=y 2. i386 + allyes + CONFIG_ACPI=y 3. i386 + de

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-29 Thread Eric W. Biederman
Andy Lutomirski writes: > On Mon, Jul 28, 2014 at 2:18 PM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: >> >>> [cc: Eric Biederman] >>> >> >>> Can we do one better and add a flag to prevent any non-self pid >>> lookups? This might actually be easy on top of the pid namespace work >>>

Re: [PATCH v4] mmc: mmci: Add qcom dml support to the driver.

2014-07-29 Thread Srinivas Kandagatla
If its not too late, is it possible to queue this patch for v3.17? --- srini On 29/07/14 03:50, Srinivas Kandagatla wrote: On Qualcomm APQ8064 SOCs, SD card controller has an additional glue called DML (Data Mover Local/Lite) to assist dma transfers. This hardware needs to be setup before any

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-29 Thread Andy Lutomirski
On Mon, Jul 28, 2014 at 2:18 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> [cc: Eric Biederman] >> > >> Can we do one better and add a flag to prevent any non-self pid >> lookups? This might actually be easy on top of the pid namespace work >> (e.g. we could change the way that fin

Work Queue for btrfs compression writes

2014-07-29 Thread Nick Krause
Hey Guys , I am new to reading and writing kernel code.I got interested in writing code for btrfs as it seems to need more work then other file systems and this seems other then drivers, a good use of time on my part. I interested in helping improving the compression of btrfs by using a set of

[vmstat] kernel BUG at mm/vmstat.c:1278!

2014-07-29 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 6e0a6b18b63e2c0a45ff47ab633dd6f3ad417453 Author: Christoph Lameter AuthorDate: Wed Jul 23 09:11:43 2014 +1000 Commit: Steph

Re: [PATCH RFC 2/2 V2] workqueue: use dedicated creater kthread for all pools

2014-07-29 Thread Tejun Heo
On Wed, Jul 30, 2014 at 11:46:02AM +0800, Lai Jiangshan wrote: > It add complexity to other things but not the code. The code is simplified. How? It can simply repeat kthread_create() until it succeeds with msleep() inbetween. How can that be more complex than what's implemented now? > And fai

Re: [PATCH RFC 2/2 V2] workqueue: use dedicated creater kthread for all pools

2014-07-29 Thread Lai Jiangshan
On 07/30/2014 11:23 AM, Tejun Heo wrote: > Hello, Lai. > > On Wed, Jul 30, 2014 at 08:32:51AM +0800, Lai Jiangshan wrote: >>> Why? Just sleep and retry? What's the point of requeueing? >> >> Accepted your comments except this one which may need to discuss >> for an additional round. Requeueing

Re: [GIT] Networking

2014-07-29 Thread David Miller
From: Stephen Rothwell Date: Wed, 30 Jul 2014 10:36:28 +1000 > On Tue, 29 Jul 2014 16:55:32 -0700 (PDT) David Miller > wrote: >> >> Oliver Neukum (2): >> cdc_subset: deal with a device that needs reset for timeout > > This commit causes a build failure on arm (at least). See my > linux-

Re: [PATCH v2 13/29] nios2: DMA mapping API

2014-07-29 Thread Ley Foon Tan
On Thu, Jul 24, 2014 at 8:05 PM, Arnd Bergmann wrote: >> I have spent some times look at other architectures and below is what >> I found. Please correct me if I am wrong, especially >> for_device():DMA_FROM_DEVICE. >> >> _for_cpu(): >> case DMA_BIDIRECTIONAL: >> case DMA_FROM_DEVICE: >> /* i

[PATCH 0/6] MAINTAINERS: Update patterns

2014-07-29 Thread Joe Perches
Miscellaneous collection of MAINTAINER pattern updates Joe Perches (6): MAINTAINERS: Update DMA BUFFER SHARING patterns MAINTAINERS: Update usb/gadget patterns MAINTAINERS: Update go7007 pattern MAINTAINERS: Update solo6x10 patterns MAINTAINERS: Update samsung pinctrl patterns MAINTAIN

Re: One bug of SDHCI driver

2014-07-29 Thread Jaehoon Chung
Hi, Zhonghui. On 07/30/2014 11:47 AM, Fu, Zhonghui wrote: > > Hi, > > In the resume function, SDIO irq must be enabled, or the interrupts from > devices on SDIO bus can't be acknowledged. I also uploaded this new patch to > https://bugzilla.kernel.org/show_bug.cgi?id=80151. > Could you please

[PATCH 3/6] MAINTAINERS: Update go7007 pattern

2014-07-29 Thread Joe Perches
Commit 7955f03d18d1 ("[media] go7007: move out of staging into drivers/media/usb") moved the files, update the pattern. Signed-off-by: Joe Perches cc: Hans Verkuil --- MAINTAINERS | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 603

[PATCH 1/6] MAINTAINERS: Update DMA BUFFER SHARING patterns

2014-07-29 Thread Joe Perches
One pattern per F: line please... Signed-off-by: Joe Perches CC: Sumit Semwal --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5e5478b..66d5894 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2941,7 +2941,9 @@ L:linux-

[PATCH 5/6] MAINTAINERS: Update samsung pinctrl patterns

2014-07-29 Thread Joe Perches
commit ebe629a39e04 ("pinctrl: samsung: Group all drivers in a sub-dir") moved the files, update the patterns. Signed-off-by: Joe Perches --- MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8ed337c..70f157e 100644 --- a/MAINTAINE

[PATCH 4/6] MAINTAINERS: Update solo6x10 patterns

2014-07-29 Thread Joe Perches
commit 28cae868cd24 ("[media] solo6x10: move out of staging into drivers/media/pci") moved the files, update the patterns. Signed-off-by: Joe Perches cc: Ismael Luceno cc: Hans Verkuil --- MAINTAINERS | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b

[PATCH 6/6] MAINTAINERS: Update nomadik patterns

2014-07-29 Thread Joe Perches
commit 3a19805920f1 ("pinctrl: nomadik: move all Nomadik drivers to subdir") move the files, update the patterns Signed-off-by: Joe Perches cc: Linus Walleij cc: Alessandro Rubini --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS i

[PATCH 2/6] MAINTAINERS: Update usb/gadget patterns

2014-07-29 Thread Joe Perches
Several commits have moved files around, update the section patterns. Signed-off-by: Joe Perches cc: Thomas Dahlmann cc: Nicolas Ferre cc: Li Yang cc: Eric Miao cc: Russell King cc: Haojian Zhuang cc: Laurent Pinchart cc: Andrzej Pietrasiewicz --- MAINTAINERS | 12 ++-- 1 file ch

Re: [PATCH resend #7] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-07-29 Thread Carlos O'Donell
On 07/23/2014 02:21 PM, Jeff Layton wrote: > From: Jeff Layton Thanks for resending. Sorry for the delay. Your use of 3 different emails caused me to miss the recent resends. That's my fault and tied to the way I'm tracking everything from patchwork using the first email you used. I am assuming

[LKP] [net] 8f61059a96c: +55.7% netperf.Throughput_Mbps

2014-07-29 Thread Aaron Lu
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 8f61059a96c2a29c1cc5a39dfe23d06ef5b4b065 ("net: sctp: improve timer slack calculation for transport HBs") test case: lkp-wsx02/netperf/300s-200%-10K-SCTP_STREAM_MANY eb1ac820c61d

Re: [PATCH] x86, efi: print debug values in Kib not MB

2014-07-29 Thread Steven Noonan
On Tue, Jul 29, 2014 at 3:54 PM, Prarit Bhargava wrote: > > > On 07/29/2014 06:36 PM, Borislav Petkov wrote: >> On Tue, Jul 29, 2014 at 06:32:56PM -0400, Prarit Bhargava wrote: >>> and it was best to keep the code simple with a KiB. >> >> You're missing the point - the output doesn't get simple wi

Re: [PATCH RFC 2/2 V2] workqueue: use dedicated creater kthread for all pools

2014-07-29 Thread Tejun Heo
Hello, Lai. On Wed, Jul 30, 2014 at 08:32:51AM +0800, Lai Jiangshan wrote: > > Why? Just sleep and retry? What's the point of requeueing? > > Accepted your comments except this one which may need to discuss > for an additional round. Requeueing passes the retry to the > kthread_worker and give

Re: [f2fs-dev] [PATCH 08/11] f2fs: fix wrong condition for unlikely

2014-07-29 Thread Jaegeuk Kim
On Wed, Jul 30, 2014 at 09:44:43AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Saturday, July 26, 2014 6:47 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.source

Re: [f2fs-dev] [PATCH 07/11] f2fs: enable in-place-update for fdatasync

2014-07-29 Thread Jaegeuk Kim
On Wed, Jul 30, 2014 at 10:45:38AM +0800, Chao Yu wrote: > Hi Jaegeuk Changman, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Wednesday, July 30, 2014 9:08 AM > > To: Changman Lee > > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [f2fs-dev] [PATCH 07/11] f2fs: enable in-place-update for fdatasync

2014-07-29 Thread Jaegeuk Kim
On Wed, Jul 30, 2014 at 10:56:31AM +0900, Changman Lee wrote: > On Tue, Jul 29, 2014 at 06:08:21PM -0700, Jaegeuk Kim wrote: > > On Wed, Jul 30, 2014 at 08:54:55AM +0900, Changman Lee wrote: > > > On Tue, Jul 29, 2014 at 05:22:15AM -0700, Jaegeuk Kim wrote: > > > > Hi Changman, > > > > > > > > On

Re: vmstat: On demand vmstat workers V8

2014-07-29 Thread Lai Jiangshan
On 07/29/2014 11:39 PM, Christoph Lameter wrote: > On Tue, 29 Jul 2014, Tejun Heo wrote: > >> Hmmm, well, then it's something else. Either a bug in workqueue or in >> the caller. Given the track record, the latter is more likely. >> e.g. it looks kinda suspicious that the work func is cleared af

Re: linux-next: build failure after merge of the tip tree

2014-07-29 Thread John Stultz
On 07/29/2014 04:56 PM, Stephen Rothwell wrote: > Hi all, > > On Fri, 25 Jul 2014 14:45:22 +1000 Stephen Rothwell wrote: >> >> Hi all, >> >> After merging the tip tree, today's linux-next build (powerpc >> ppc64_defconfig) failed like this: >> >> arch/powerpc/kernel/time.c:743:6: error: conflictin

[PATCH 3/4] ASoC: fsl_spdif: Add stream names for DPCM usage

2014-07-29 Thread Nicolin Chen
DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to SPDIF driver so that we can implement ASRC via DPCM to it. Signed-off-by: Nicolin Chen --- soun

[PATCH 2/4] ASoC: fsl_sai: Add stream names for DPCM usage

2014-07-29 Thread Nicolin Chen
DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to SAI driver so that we can implement ASRC via DPCM to it. Signed-off-by: Nicolin Chen --- sound/

[PATCH 1/4] ASoC: fsl_esai: Add stream names for DPCM usage

2014-07-29 Thread Nicolin Chen
DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to ESAI driver so that we can implement ASRC via DPCM to it. Signed-off-by: Nicolin Chen --- sound

[PATCH 4/4] ASoC: fsl_ssi: Add stream names for DPCM usage

2014-07-29 Thread Nicolin Chen
DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to SSI driver so that we can implement ASRC via DPCM to it. Signed-off-by: Nicolin Chen --- sound/

[PATCH 0/4] ASoC: fsl: Add stream names to CPU DAI drivers for DPCM

2014-07-29 Thread Nicolin Chen
DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to all Freescale ASoC CPU DAI drivers so that we can implement ASRC via DPCM to each of them. Docume

Re: vmstat: On demand vmstat workers V8

2014-07-29 Thread Lai Jiangshan
On 07/11/2014 11:17 PM, Christoph Lameter wrote: > On Fri, 11 Jul 2014, Frederic Weisbecker wrote: > >>> Converted what? We still need to keep a cpumask around that tells us which >>> processor have vmstat running and which do not. >>> >> >> Converted to cpumask_var_t. >> >> I mean we spent dozens

Re: vmstat: On demand vmstat workers V8

2014-07-29 Thread Lai Jiangshan
If I understand the semantics of the cpu_stat_off correctly, please read. cpu_stat_off = a set of such CPU: the cpu is online && vmstat_work is off I consider some code forget to guarantee each cpu in cpu_stat_off is online. Thanks, Lai On 07/10/2014 10:04 PM, Christoph Lameter wrote: > + > +/*

Re: use IORESOURCE_REG resource type for non-translatable addresses in DT

2014-07-29 Thread Rob Herring
On Tue, Jul 29, 2014 at 8:07 PM, Stephen Boyd wrote: > On 07/29/14 16:45, Grant Likely wrote: >> On Tue, 29 Jul 2014 17:06:42 +0300, Stanimir Varbanov >> wrote: >>> >>> This was just an example. Of course it has many issues and probaly it is >>> wrong:) The main goal was to understand does IORES

RE: [f2fs-dev] [PATCH 07/11] f2fs: enable in-place-update for fdatasync

2014-07-29 Thread Chao Yu
Hi Jaegeuk Changman, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, July 30, 2014 9:08 AM > To: Changman Lee > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-07-29 Thread Yijing Wang
On 2014/7/29 22:08, Arnd Bergmann wrote: > On Saturday 26 July 2014 11:08:37 Yijing Wang wrote: >> The series is a draft of generic MSI driver that supports PCI >> and Non-PCI device which have MSI capability. If you're not interested >> it, sorry for the noise. > > I've finally managed to

Re: [PATCH] ARM: imx: clk-vf610: introduce clks_init_on

2014-07-29 Thread Shawn Guo
On Tue, Jul 29, 2014 at 04:20:28PM +0200, Stefan Agner wrote: > At the end of the boot process, the clock framework might disable > required main PLL's. So far, this was no issue since drivers > requested clocks, which are descended of the main PLL's (e.g. > pll1_pfd1, which provides the system clo

Re: [RESEND RFC V2] devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg'

2014-07-29 Thread Simon Horman
r at this time. So it seems there is no backwards-compatibility problem there. I'm less sure about other aspects of the patch. And I'm also less concerned about them. I do have a slight preference for SH Mobile changes to go through my renesas tree rather than elsewhere (as part of a more glo

Re: [PATCH 1/1] drivers: staging: vt6655: ioctl.c - missing __user annotation

2014-07-29 Thread Anil Shashikumar Belur
On Tuesday 29 July 2014 02:47 PM, Dan Carpenter wrote: > On Tue, Jul 29, 2014 at 10:05:38AM +0200, Tobias Klauser wrote: > >> Wouldn't it be better to annotate the data member in struct tagSCmdRequest >> with __user instead of introducing all these casts? Hi, Yes, having the data member annotate

Re: [PATCH v2 2/4] driver core: enable drivers to use deferred probefrom init

2014-07-29 Thread Tetsuo Handa
Luis R. Rodriguez wrote: > Tetsuo is it possible / desirable to allow tasks to not kill unless the > reason is OOM ? Its unclear if this was discussed before, sorry if it was, > have just been a bit busy today to review the archive / discussions on this. Are we aware that the 10 seconds timeout af

linux-next: manual merge of the pm tree with the arm-soc tree

2014-07-29 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/cpuidle/Kconfig.arm between commit 2aaafcdb6883 ("cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config") from the arm-soc tree and commit 6ee7f5dd57fc ("cpuidle: big_little: Fix build error") from the pm tree. I fixed it

Re: [LKP] [drm/i915] WARNING: CPU: 3 PID: 248 at drivers/gpu/drm/i915/intel_pm.c:6427 check_power_well_state+0x60/0x90 [i915]()

2014-07-29 Thread Aaron Lu
On 07/29/2014 07:10 PM, Daniel Vetter wrote: > On Tue, Jul 29, 2014 at 12:14 PM, Ville Syrjälä > wrote: >> On Tue, Jul 29, 2014 at 10:43:02AM +0800, Aaron Lu wrote: >>> FYI, we noticed the below changes on >>> >>> git://people.freedesktop.org/~danvet/drm colder-fusion >> >> Does it happen on -nigh

[PATCH 3.4 06/10] mm: hugetlb: fix copy_hugetlb_page_range()

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 0253d634e0803a8376a0d88efee0bf523d8673f9 upstream. Commit 4a705fef9862 ("hugetlb: fix copy_hugetlb_page_range() to handle migration/hwpoisoned entry") changed the order o

[PATCH 3.4 02/10] libata: support the ata host which implements a queue depth less than 32

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Hao commit 1871ee134b73fb4cadab75752a7152ed2813c751 upstream. The sata on fsl mpc8315e is broken after the commit 8a4aeec8d2d6 ("libata/ahci: accommodate tag ordered controllers"). The re

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-07-29 Thread Aaron Lu
On Tue, Jul 29, 2014 at 04:04:37PM -0400, Rik van Riel wrote: > On Tue, 29 Jul 2014 10:17:12 +0200 > Peter Zijlstra wrote: > > > > +#define NUMA_SCALE 1000 > > > +#define NUMA_MOVE_THRESH 50 > > > > Please make that 1024, there's no reason not to use power of two here. > > This base 10 factor th

[PATCH 3.4 09/10] introduce SIZE_MAX

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang commit a3860c1c5dd1137db23d7786d284939c5761d517 upstream. ULONG_MAX is often used to check for integer overflow when calculating allocation size. While ULONG_MAX happens to work on mos

[PATCH 3.4 08/10] s390/ptrace: fix PSW mask check

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit dab6cf55f81a6e16b8147aed9a843e1691dcd318 upstream. The PSW mask check of the PTRACE_POKEUSR_AREA command is incorrect. The PSW_MASK_USER define contains the PSW_MASK_A

[PATCH 3.4 03/10] libata: introduce ata_host->n_tags to avoid oops on SAS controllers

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 1a112d10f03e83fb3a2fdc4c9165865dec8a3ca6 upstream. 1871ee134b73 ("libata: support the ata host which implements a queue depth less than 32") directly used ata_port->scsi_host->

[PATCH 3.4 01/10] block: dont assume last put of shared tags is for the host

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit d45b3279a5a2252cafcd665bbf2db8c9b31ef783 upstream. There is no inherent reason why the last put of a tag structure must be the one for the Scsi_Host, as device model ob

[PATCH 3.4 10/10] mm: kmemleak: avoid false negatives on vmalloced objects

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit 7f88f88f83ed609650a01b18572e605ea50cd163 upstream. Commit 248ac0e1943a ("mm/vmalloc: remove guard page from between vmap blocks") had the side effect of making vmap_area.

[PATCH 3.4 04/10] ahci: add support for the Promise FastTrak TX8660 SATA HBA (ahci mode)

2014-07-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Romain Degez commit b32bfc06aefab61acc872dec3222624e6cd867ed upstream. Add support of the Promise FastTrak TX8660 SATA HBA in ahci mode by registering the board in the ahci_pci_tbl[]. Note: th

  1   2   3   4   5   6   7   8   9   >