[PATCH] percpu: make pcpu_alloc_chunk() use pcpu_mem_free() instead of kfree()

2014-04-13 Thread Jianyu Zhan
pcpu_chunk_struct_size = sizeof(struct pcpu_chunk) + BITS_TO_LONGS(pcpu_unit_pages) * sizeof(unsigned long) It hardly could be ever bigger than PAGE_SIZE even for large-scale machine, but for consistency with its couterpart pcpu_mem_zalloc(), use pcpu_mem_free() instead. Commit

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-13 Thread Michael S. Tsirkin
On Sun, Apr 13, 2014 at 09:28:51PM -0400, Steven Galgano wrote: > On 04/13/2014 10:14 AM, Michael S. Tsirkin wrote: > > > > Steven, Brian, > > > > thanks for reporting this issue. > > Please see my comments below. > > > > On Fri, Apr 11, 2014 at 12:41:42PM -0400, Brian Adamson wrote: > >> To

[PATCH] thermal: samsung: Only update available threshold limits

2014-04-13 Thread Tushar Behera
Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. While updating the software trigger levels, it overwrites the threshold limit for hardware trip point thereby forcing the Exynos core to issue an emergency shutdown.

Re: Re: [RFC PATCH 4/6] uprobes/x86: Emulate rip-relative call's

2014-04-13 Thread Masami Hiramatsu
(2014/04/11 2:02), Denys Vlasenko wrote: >> The (f64) modifier in x86-opcode-map.txt means that inat_is_force64() >> is true for call opcode. So we won't reach "case 2:" in __get_immv32(): >> insn_get_prefixes() did set insn->opnd_bytes to 2 when it saw 0x66 prefix, >> but it was before we reach

Re: [PATCH] kernel/panic: Add "late_kdump" option for kdump in unstable condition

2014-04-13 Thread Eric W. Biederman
Masami Hiramatsu writes: > Add a "late_kdump" option to run kdump after running panic > notifiers and dump kmsg. This can help rare situations which > kdump drops in failure because of unstable crashed kernel > or hardware failure (memory corruption on critical data/code), > or the 2nd kernel is

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-13 Thread Chanwoo Choi
Dear Olof and Tomasz, On 04/11/2014 05:39 PM, Tomasz Figa wrote: > On 11.04.2014 08:32, Chanwoo Choi wrote: >> Hi, >> >> On 04/11/2014 10:46 AM, Olof Johansson wrote: >>> On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo Choi wrote: This patch add Exynos3250's SoC ID. Exynos 3250 is

[PATCH] kernel/panic: Add "late_kdump" option for kdump in unstable condition

2014-04-13 Thread Masami Hiramatsu
Add a "late_kdump" option to run kdump after running panic notifiers and dump kmsg. This can help rare situations which kdump drops in failure because of unstable crashed kernel or hardware failure (memory corruption on critical data/code), or the 2nd kernel is broken by the 1st kernel (it's a

Re: [PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread David Miller
Please do not post new versions of a patch as a reply to an existing discussion. Instead, post a fresh new email for the patch. -- 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 v4 1/6] devres: introduce API "devm_kmemdup

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 21:27 -0700, Srinivas Pandruvada wrote: > Introduce devm_kmemdup, which uses resource managed kmalloc. > There are several request from maintainers to add this instead > of using kmemdup. [] > diff --git a/include/linux/device.h b/include/linux/device.h [] > @@ -629,6 +629,8

[Patch v4 5/6] iio: hid-sensors: Added device rotation support

2014-04-13 Thread Srinivas Pandruvada
Added usage id processing for device rotation. This uses IIO interfaces for triggered buffer to present data to user mode.This uses HID sensor framework for registering callback events from the sensor hub. Data is exported to user space in the form of quaternion rotation format. Signed-off-by:

[Patch v4 2/6] IIO: core: Introduce read_raw_multi

2014-04-13 Thread Srinivas Pandruvada
This callback is introduced to overcome some limitations of existing read_raw callback. The functionality of both existing read_raw and read_raw_multi is similar, both are used to request values from the device. The current read_raw callback allows only two return values. The new read_raw_multi

[Patch v4 1/6] devres: introduce API "devm_kmemdup

2014-04-13 Thread Srinivas Pandruvada
Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. Signed-off-by: Srinivas Pandruvada --- Documentation/driver-model/devres.txt | 1 + drivers/base/devres.c | 21 +

[Patch v4 4/6] IIO: core: Add quaternion modifier

2014-04-13 Thread Srinivas Pandruvada
Added quaternion in the list of supported modifiers. Signed-off-by: Srinivas Pandruvada --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index

[Patch v4 3/6] IIO: core: Modify scan element type

2014-04-13 Thread Srinivas Pandruvada
The current scan element type uses the following format: [be|le]:[s|u]bits/storagebits[>>shift]. To specify multiple elements in this type, added a repeat value. So new format is: [be|le]:[s|u]bits/storagebits{X[repeat]}[>>shift]. Here X is specifying how may times, real/storage bits are

[Patch v4 6/6] iio: Added ABI description for quaternion

2014-04-13 Thread Srinivas Pandruvada
Added documentation for reading quaternion components for 3D rotations. Signed-off-by: Srinivas Pandruvada --- Documentation/ABI/testing/sysfs-bus-iio | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio

Re: [PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread Steven Galgano
On 04/13/2014 09:40 PM, David Miller wrote: > From: Steven Galgano > Date: Sun, 13 Apr 2014 21:30:27 -0400 > >> Added optional per queue flow control support using IFF_FLOW_CONTROL. When >> the IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue >> flag to indicate that the

Re: Re: [PATCH] module: Introduce MODULE_STATE_COMING_FINAL to avoid ftrace warning

2014-04-13 Thread Masami Hiramatsu
(2014/04/14 11:49), Takao Indoh wrote: > ping, any comments? > > (2014/04/02 16:54), Takao Indoh wrote: >> This patch adds new module state MODULE_STATE_COMING_FINAL to avoid >> ftrace waring message when loading two modules simultaneously. >> >> The original patch was written by Steven Rostedt,

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Pranith Kumar
On Sun, Apr 13, 2014 at 11:18 PM, Joe Perches wrote: >> As the comment mentions, resched_cpu is internal to the scheduler and >> hence is in sched/sched.h file and not in linux/sched.h. > > Note the use of quotes and lack of angle brackets. > >> sched/sched.h cannot be included in other

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 23:03 -0400, Pranith Kumar wrote: > On Sun, Apr 13, 2014 at 10:50 PM, Joe Perches wrote: > >> -/* > >> - * This function really isn't for public consumption, but RCU is special > >> in > >> - * that context switches can allow the state machine to make progress. > >> - */ >

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Pranith Kumar
On Sun, Apr 13, 2014 at 10:50 PM, Joe Perches wrote: >> >> -/* >> - * This function really isn't for public consumption, but RCU is special in >> - * that context switches can allow the state machine to make progress. >> - */ >> -extern void resched_cpu(int cpu); > > why not #include "sched.h" >

Re: [PATCH] net: ipv4: current group_info should be put after using.

2014-04-13 Thread David Miller
From: "Wang, Xiaoming" Date: Mon, 14 Apr 2014 12:30:45 -0400 > Plug a group_info refcount leak in ping_init. > group_info is only needed during initialization and > the code failed to release the reference on exit. > While here move grabbing the reference to a place > where it is actually

Re: [PATCH 4/4] mvolatile: Add page purging logic & SIGBUS trap

2014-04-13 Thread Minchan Kim
On Fri, Apr 11, 2014 at 01:15:40PM -0700, John Stultz wrote: > This patch adds the hooks in the vmscan logic to purge volatile pages > and mark their pte as purged. With this, volatile pages will be purged > under pressure, and their ptes swap entry's marked. If the purged pages > are accessed

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 21:39 -0400, Pranith Kumar wrote: [] > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c [] > @@ -947,12 +947,6 @@ static void print_other_cpu_stall(struct rcu_state *rsp) > force_quiescent_state(rsp); /* Kick them all. */ > } > > -/* > - * This function really isn't

Re: [PATCH] module: Introduce MODULE_STATE_COMING_FINAL to avoid ftrace warning

2014-04-13 Thread Takao Indoh
ping, any comments? (2014/04/02 16:54), Takao Indoh wrote: > This patch adds new module state MODULE_STATE_COMING_FINAL to avoid > ftrace waring message when loading two modules simultaneously. > > The original patch was written by Steven Rostedt, see below. > https://lkml.org/lkml/2014/3/24/242

[PATCH V2] Gadget: race between ffs_epfile_io() and ffs_func_eps_disable()

2014-04-13 Thread Chao Bi
ffs_epfile_io() is called from userspace, while ffs_func_esp_disable() might be called from USB disconnect interrupt, the two functions would run in parallel but they are not well protected, that epfile->ep would be removed by ffs_func_esp_disable() during ffs_epfile_io() is referring this

[PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-13 Thread Jin, Yao
A crash is triggered on the ASUS T100TA Baytrail-T because of a IRQ descriptor conflict. There are two gpio triggered acpi events in this device, GPIO 6 and 18. These gpios are translated to irqs by calling gpio_to_irq which in turn will call irq_create_mapping(vg->domain, offset).

Re: [PATCH 3/4] mvolatile: Add purged page detection on setting memory non-volatile

2014-04-13 Thread Minchan Kim
On Fri, Apr 11, 2014 at 01:15:39PM -0700, John Stultz wrote: > Users of volatile ranges will need to know if memory was discarded. > This patch adds the purged state tracking required to inform userland > when it marks memory as non-volatile that some memory in that range > was purged and needs to

[PATCH] net: ipv4: current group_info should be put after using.

2014-04-13 Thread Wang, Xiaoming
Plug a group_info refcount leak in ping_init. group_info is only needed during initialization and the code failed to release the reference on exit. While here move grabbing the reference to a place where it is actually needed. Signed-off-by: Chuansheng Liu Signed-off-by: Zhang Dongxing

is there a central index of subsystem- & cross-border - issues with progress on these ?

2014-04-13 Thread Winston Graeme
hi kernel-developers _ from recent coverage of the LSFMM-Summit on LWN.net, i again got the impression that there are performance- & behaviour - issues, that persistently don´t seem to get resolved & stay around for the next summit. Additionally many things come to light at such meetings of

Re: [PATCH 2/2] nfc: remove unneeded nfc_put_device() calls

2014-04-13 Thread DaeSeok Youn
Hi, Can you review this patch? Thanks. Daeseok Youn 2014-04-02 16:56 GMT+09:00 Daeseok Youn : > > If local is NULL, nfs_put_device() is called twice. > So nfs_put_device() in "if (!local)" is removed. > > Signed-off-by: Daeseok Youn > --- > net/nfc/netlink.c |1 - > 1 files changed, 0

Re: [PATCH 1/2] nfc: fix NULL pointer dereference

2014-04-13 Thread DaeSeok Youn
Hi, Can you review this patch? Thanks. Daeseok Youn 2014-04-02 16:55 GMT+09:00 Daeseok Youn : > > dev is NULL when nfc_get_device() is failed but > dev is used for handling error. > > coccicheck says: > net/nfc/netlink.c:1092:21-24: ERROR: > dev is NULL but dereferenced. > > Signed-off-by:

[PATCH v2] virtio-scsi: Skip setting affinity on uninitialized vq

2014-04-13 Thread Fam Zheng
virtscsi_init calls virtscsi_remove_vqs on err, even before initializing the vqs. The latter calls virtscsi_set_affinity, so let's check the pointer there before setting affinity on it. This fixes a panic when setting device's num_queues=2 on RHEL 6.5: qemu-system-x86_64 ... \ -device

Re: Missing USB XHCI and EHCI reset for kexec

2014-04-13 Thread Alan Stern
On Sun, 13 Apr 2014, Stefani Seibold wrote: > When executing a kexec kernel on a PowerPC board the new started kernel > will not find already enumerated USB devices due a missing reset on the > USB bus. How do you know the problem is caused by a missing reset? Can you post the dmesg log from

RE: [PATCH] pwm_lpss: Add support for PCI devices

2014-04-13 Thread Chew, Chiau Ee
> > MODULE_DESCRIPTION("PWM driver for Intel LPSS"); > >MODULE_AUTHOR("Mika > > Westerberg "); > > MODULE_LICENSE("GPL v2"); > > MODULE_ALIAS("platform:pwm-lpss"); > > Looks a good idea to combine pci and acpi driver together. > Since pci driver is added, here the alias need to be refined. >

linux-next: Tree for Apr 14

2014-04-13 Thread Stephen Rothwell
Hi all, This tree still fails (more than usual) the powerpc allyesconfig build. Changes since 20140411: Dropped trees: akpm-current, akpm (too complex conflicts) The powerpc tree still had its build failure. Non-merge commits (relative to Linus' tree): 379 788 files changed, 8145

[PATCH -next 3.16 03/19] tile: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/tile/kernel/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tile/kernel/proc.c b/arch/tile/kernel/proc.c index 681100c..6829a95 100644 --- a/arch/tile/kernel/proc.c

[PATCH -next 3.16 01/19] arm: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/arm/kernel/isa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/kernel/isa.c b/arch/arm/kernel/isa.c index 3464859..9d1cf71 100644 --- a/arch/arm/kernel/isa.c +++

Re: [PATCH 2/2] pwm: use PWM_LOOKUP to set the period and polarity

2014-04-13 Thread Simon Horman
On Thu, Apr 10, 2014 at 09:37:03AM +0200, Alexandre Belloni wrote: > On 10/04/2014 at 08:15:49 +0900, Simon Horman wrote : > > On Wed, Apr 09, 2014 at 08:04:09PM +0200, Alexandre Belloni wrote: > > > Now that the PWM core is able to set the period and polarity based on > > > the lookup table, add

[PATCH -next 3.16 06/19] parport: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/parport/procfs.c | 58 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index

[PATCH -next 3.16 02/19] ia64: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/ia64/kernel/crash.c | 4 ++-- arch/ia64/kernel/perfmon.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index

[PATCH -next 3.16 04/19] cdrom: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 8a3aff7..d49a76f 100644 --- a/drivers/cdrom/cdrom.c +++

[PATCH -next 3.16 08/19] coda: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/coda/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c index af56ad5..34218a8 100644 --- a/fs/coda/sysctl.c +++ b/fs/coda/sysctl.c @@

[PATCH -next 3.16 05/19] random: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/char/random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index 6b75713..c71dfb6 100644 --- a/drivers/char/random.c +++

[PATCH -next 3.16 07/19] scsi: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/scsi/scsi_sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c index 2b6b93f..546f162 100644 ---

[PATCH -next 3.16 09/19] fscache: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/fscache/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fscache/main.c b/fs/fscache/main.c index 7c27907..5b2c174 100644 --- a/fs/fscache/main.c +++ b/fs/fscache/main.c @@

[PATCH -next 3.16 10/19] lockd: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/lockd/svc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 6bf06a0..de051cb1 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -436,7

[PATCH -next 3.16 12/19] inotify: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/notify/inotify/inotify_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 78a2ca3..cc423a3 100644 ---

[PATCH -next 3.16 13/19] ntfs: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/ntfs/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c index 79a8918..a3e6626 100644 --- a/fs/ntfs/sysctl.c +++ b/fs/ntfs/sysctl.c @@

[PATCH -next 3.16 11/19] nfs: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/nfs/nfs4sysctl.c | 6 +++--- fs/nfs/sysctl.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/nfs/nfs4sysctl.c b/fs/nfs/nfs4sysctl.c index 2628d92..b6ebe7e 100644 ---

Re: [PATCH 0/7] f2fs: some fix and cleanup about flush_merge

2014-04-13 Thread Gu Zheng
On 04/14/2014 09:44 AM, Jaegeuk Kim wrote: > Hi Gu, > > I just started to review the patches and merge them individually though. > Since I've been internally doing in my local tree, so that should be no > problem. I'll roll back to the latest point. OK, and please pay some attention to the

[PATCH -next 3.16 17/19] sysctl: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- kernel/sysctl.c | 2 +- kernel/utsname_sysctl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 74f5b58..bdabf93 100644 ---

[PATCH -next 3.16 15/19] key: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- include/linux/key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/key.h b/include/linux/key.h index 80d6774..3ae45f0 100644 --- a/include/linux/key.h +++

[PATCH -next 3.16 16/19] ipc: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- ipc/ipc_sysctl.c | 14 +++--- ipc/mq_sysctl.c | 12 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index 998d31b..c3f0326 100644 ---

[PATCH -next 3.16 19/19] security: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- security/keys/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/keys/sysctl.c b/security/keys/sysctl.c index 8c0af08..b68faa1 100644 --- a/security/keys/sysctl.c +++

[PATCH -next 3.16 18/19] mm: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- mm/page-writeback.c | 2 +- mm/page_alloc.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index ef41349..023cf08 100644 ---

[PATCH -next 3.16 14/19] fs: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/dcache.c | 2 +- fs/drop_caches.c | 2 +- fs/eventpoll.c | 2 +- fs/file_table.c | 4 ++-- fs/inode.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/dcache.c

[PATCH -next 3.16 00/19] treewide: Convert typedef ctl_table

2014-04-13 Thread Joe Perches
Most all of these have been converted in the past, these are the stragglers. Original submission: https://lkml.org/lkml/2013/6/13/650 trivial was cc'd previously, \ Joe Perches (19): arm: Convert use of typedef ctl_table to struct ctl_table ia64: Convert use of typedef ctl_table to struct

Re: [Patch v3 2/6] IIO: core: Introduce read_raw_multi

2014-04-13 Thread Srinivas Pandruvada
On 04/12/2014 09:52 AM, Jonathan Cameron wrote: On 09/04/14 01:56, Srinivas Pandruvada wrote: This callback is introduced to overcome some limitations of existing read_raw callback. The functionality of both existing read_raw and read_raw_multi is similar, both are used to request values from

Re: [Patch v3 5/6] iio: hid-sensors: Added device rotation support

2014-04-13 Thread Srinivas Pandruvada
On 04/12/2014 10:21 AM, Jonathan Cameron wrote: On 09/04/14 01:56, Srinivas Pandruvada wrote: Added usage id processing for device rotation. This uses IIO interfaces for triggered buffer to present data to user mode.This uses HID sensor framework for registering callback events from the sensor

[PATCHv2] pinctrl: exynos: Add driver data for Exynos3250

2014-04-13 Thread Chanwoo Choi
From: Tomasz Figa This patch adds driver data (bank list and EINT layout) for Exynos3250 to pinctrl-exynos driver. Exynos3250 includes 158 multi-functional input/output ports. There are 23 general port groups. Changes from v1: - Add signed-off of sender - Post only separated patch for pinctrl

Re: [PATCH 0/7] f2fs: some fix and cleanup about flush_merge

2014-04-13 Thread Jaegeuk Kim
Hi Gu, I just started to review the patches and merge them individually though. Since I've been internally doing in my local tree, so that should be no problem. I'll roll back to the latest point. Anyway, thank you for your work. :) 2014-04-14 (월), 09:18 +0800, Gu Zheng: > Hi All, > There seems

[PATCH v2] ARM: perf: save/restore pmu registers in pm notifier

2014-04-13 Thread Neil Zhang
From: Sudeep KarkadaNagesha This adds core support for saving and restoring CPU PMU registers for suspend/resume support i.e. deeper C-states in cpuidle terms. This patch adds support only to ARMv7 PMU registers save/restore. It needs to be extended to xscale and ARMv6 if needed. [Neil] We

Re: [PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread David Miller
From: Steven Galgano Date: Sun, 13 Apr 2014 21:30:27 -0400 > Added optional per queue flow control support using IFF_FLOW_CONTROL. When > the IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag > to indicate that the queue should be stopped using netif_tx_stop_queue(), >

[PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- kernel/rcu/tree.c |6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 0c47e30..67e850a 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -947,12 +947,6 @@ static void print_other_cpu_stall(struct

[PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread Steven Galgano
Added optional per queue flow control support using IFF_FLOW_CONTROL. When the IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag to indicate that the queue should be stopped using netif_tx_stop_queue(), rather than discarding frames once full. After reading a frame from

Re: [PATCH 1/7] f2fs: put the bio when issue_flush completed

2014-04-13 Thread Jaegeuk Kim
Hi Gu, Merged. thank you. :) 2014-04-11 (금), 17:49 +0800, Gu Zheng: > Put the bio when the flush cmd issued, it also can fix the following > kmemleak: > unreferenced object 0x8800270c73c0 (size 200): > comm "f2fs_flush-7:0", pid 27161, jiffies 4312127988 (age 988.503s) > hex dump (first

RE: [PATCH] ARM: perf: save/restore pmu registers in pm notifier

2014-04-13 Thread Neil Zhang
Stephen, > -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: 2014年4月12日 2:32 > To: Neil Zhang > Cc: will.dea...@arm.com; li...@arm.linux.org.uk; Sudeep KarkadaNagesha; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH]

Re: [GIT PULL] KEYS: Make perm request flags available to security modules

2014-04-13 Thread James Morris
On Tue, 1 Apr 2014, James Morris wrote: > On Mon, 31 Mar 2014, David Howells wrote: > > > James Morris wrote: > > > > > > Can you pull this pair of patches please? They move the flags that are > > > > used to request specific permissions to a more public header file so > > > > that > > > >

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-13 Thread Steven Galgano
On 04/13/2014 10:14 AM, Michael S. Tsirkin wrote: > > Steven, Brian, > > thanks for reporting this issue. > Please see my comments below. > > On Fri, Apr 11, 2014 at 12:41:42PM -0400, Brian Adamson wrote: >> To weigh in on the desire to have support (at least as an optional behavior) >> for

Re: [PATCH 0/7] f2fs: some fix and cleanup about flush_merge

2014-04-13 Thread Gu Zheng
Hi All, There seems to be a mistake in "[PATCH 2/7]f2fs: remove the unuseful "issue_tail" list", and the whole patchset needs to be reworked. So please ignore this one. Sorry for the noise. Regards, Gu On 04/11/2014 05:49 PM, Gu Zheng wrote: > Gu Zheng (7): > f2fs: put the bio when

Re: [PATCH] pinctrl: pinctrl-imx: Print the mux_mode field in hex format

2014-04-13 Thread Shawn Guo
On Sun, Apr 13, 2014 at 12:09:05PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > With debug enabled we get better readability dumps of the mux_mode register > if > we use hexadecimal format instead: > > imx6sl-pinctrl 20e.iomuxc: MX6SL_PAD_FEC_REF_CLK: 0x10 0x0001b0a8 > >

Re: [PATCH 2/7] f2fs: remove the unuseful "issue_tail" list

2014-04-13 Thread Gu Zheng
Hi All, There seems to be a mistake in this patch, please ignore it. I'll send a reworked one later. Regards, Gu On 04/11/2014 05:49 PM, Gu Zheng wrote: > With the issue_list and dispatch_list, we can handle flush_merge > already, so remove the useless "issue_tail" list. > > Signed-off-by: Gu

test mail

2014-04-13 Thread Pranith Kumar
I sent a patch earlier which does not appear here. Just wondering why! -- Pranith -- 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 http://vger.kernel.org/majordomo-info.html Please read the

[PATCH] workqueue: fix double unlock bug

2014-04-13 Thread Daeseok Youn
mutex_unlock() and put_pwq_unlocked() do not need to be called when alloc_unbound_pwq() is failed. Signed-off-by: Daeseok Youn --- kernel/workqueue.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 0ee63af..e6e9f6a 100644

Re: [PATCH] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-13 Thread Chanwoo Choi
Hi Jonathan, On 04/12/2014 04:49 PM, Jonathan Cameron wrote: > > > On April 11, 2014 11:45:42 PM GMT+01:00, "최찬우" wrote: >> Hi Bartlomiej, >> >> On Fri, Apr 11, 2014 at 6:41 PM, Bartlomiej Zolnierkiewicz >> wrote: >>> >>> Hi, >>> >>> On Friday, April 11, 2014 11:00:40 AM Chanwoo Choi wrote:

Re: [PATCH] Docs: Fix elisp code so tabbing more than once works

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 19:23 -0500, Greg Donald wrote: > The example elisp code breaks tabbing more than once on the same line. > Aligning > equal signs in a struct becomes problematic. Fix it. [] > diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle [] > +(global-set-key (kbd

Re: Linux 3.15-rc1 out, merge window closed

2014-04-13 Thread Stephen Rothwell
Hi all, On Mon, 14 Apr 2014 09:18:18 +1000 Stephen Rothwell wrote: > > The merge window is closed, so this would be a good moment for everyone > to tidy up their linux-next included trees/branches (i.e. reset to > v3.15-rc1) before continuing on. For most, this will be a simple fast > forward

Re: X86: kexec issues with i915 in 3.14

2014-04-13 Thread Woodhouse, David
On Sun, 2014-04-13 at 22:01 +0200, Stefani Seibold wrote: > Rebooting my kernel vanilla kernel 3.14 will fail with tons of kernel > log messages: > > [0.262754] IOMMU: Setting identity map for device :00:1a.0 > [0x7c45f000 - 0x7c46bfff] > [0.262780] IOMMU: Setting identity map for

[PATCH v6] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-13 Thread Conrad Meyer
Add structure for parsed BPB information, struct fat_bios_param_block, and move all of the deserialization and validation logic from fat_fill_super() into fat_read_bpb(). Add a 'dos1xfloppy' mount option to infer DOS 2.x BIOS Parameter Block defaults from block device geometry for ancient

[PATCH 2/2] sh-pfc: r8a7791: Add Audio pin support

2014-04-13 Thread Kuninori Morimoto
From: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Kuninori Morimoto --- v1 -> v2 - To Linus Walleij, Cc Linux kernel drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 61 ++ 1 file changed, 61 insertions(+) diff

Re: [PATCH 0/2 v2]: sh-pfc: r8a7791: Add sound pin support

2014-04-13 Thread Kuninori Morimoto
Hi Linus Walleij Cc Simon, Laurent, Geert, Magnus These are r8a7791 sound pin support patches I added To Linus Walleij, Cc linux kernel on V2 patches. Kuninori Morimoto (2): sh-pfc: r8a7791: Add SSI pin support sh-pfc: r8a7791: Add Audio pin support

[PATCH 1/2 v2] sh-pfc: r8a7791: Add SSI pin support

2014-04-13 Thread Kuninori Morimoto
From: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Kuninori Morimoto --- v1 -> v2 - To Linus Walleij, Cc Linux kernel drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 314 ++ 1 file changed, 314 insertions(+) diff

[PATCH] Docs: Fix elisp code so tabbing more than once works

2014-04-13 Thread Greg Donald
The example elisp code breaks tabbing more than once on the same line. Aligning equal signs in a struct becomes problematic. Fix it. Signed-off-by: Greg Donald --- Documentation/CodingStyle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/CodingStyle

Re: [PATCH v3 0/7] Page I/O

2014-04-13 Thread Minchan Kim
On Sun, Apr 13, 2014 at 06:59:49PM -0400, Matthew Wilcox wrote: > Hi Andrew, > > Now that 3.15-rc1 is out, could you queue these patches for 3.16 please? > Patches 1-3 & 7 are, IMO, worthwhile cleanups / bug fixes, regardless > of the rest of the patch set. > > If this patch series gets in, I'll

Re: [PATCH 2/6] shm: add sealing API

2014-04-13 Thread David Herrmann
Hi On Sat, Apr 12, 2014 at 12:07 AM, Andy Lutomirski wrote: > I bet this is missing from lots of places. For example, I can't find > any write_access stuff in the rdma code. > > I suspect that the VM_DENYWRITE code is just generally racy. So what does S_IMMUTABLE do to prevent such races? I

Re: [PATCH v5] fs: FAT: Add support for DOS 1.x formatted volumes

2014-04-13 Thread Conrad Meyer
On Mon, 14 Apr 2014 07:14:51 +0900 OGAWA Hirofumi wrote: > Conrad Meyer writes: > > > + sbi->sec_per_clus = fdefaults->sec_per_clus; > > + sbi->cluster_size = sb->s_blocksize * > > sbi->sec_per_clus; > > + sbi->cluster_bits = ffs(sbi->cluster_size) - 1; > > + sbi->fats = 2; > > +

Crypto Fixes for 3.15

2014-04-13 Thread Herbert Xu
Hi Linus: This push fixes a potential boot crash on bcm2835 due to the recent change that now causes hardware RNGs to be accessed on registration. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or

Re: [PATCH 5/5] hugetlb: add support for gigantic page allocation at runtime

2014-04-13 Thread Yasuaki Ishimatsu
(2014/04/11 2:58), Luiz Capitulino wrote: > HugeTLB is limited to allocating hugepages whose size are less than > MAX_ORDER order. This is so because HugeTLB allocates hugepages via > the buddy allocator. Gigantic pages (that is, pages whose size is > greater than MAX_ORDER order) have to be

Re: Linux 3.15-rc1 out, merge window closed

2014-04-13 Thread Stephen Rothwell
The merge window is closed, so this would be a good moment for everyone to tidy up their linux-next included trees/branches (i.e. reset to v3.15-rc1) before continuing on. For most, this will be a simple fast forward ... -- Cheers, Stephen Rothwells...@canb.auug.org.au

Re: [PATCH] ipc,shm: increase default size for shmmax

2014-04-13 Thread Davidlohr Bueso
On Sun, 2014-04-13 at 20:05 +0200, Manfred Spraul wrote: > Hi Andrew, > > On 04/02/2014 12:08 AM, Andrew Morton wrote: > > Well, I'm assuming 64GB==infinity. It *was* infinity in the RHEL5 > > timeframe, but infinity has since become larger so pickanumber. > > I think infinity is the right

Linux 3.15-rc1 out, merge window closed

2014-04-13 Thread Linus Torvalds
It's been two weeks since 3.14 was released, and -rc1 of 3.15 is now tagged and pushed out, and the patches and tar-balls are going through the compressors on kernel.org as I write this. Which means that the merge window is closed, and people should send me fixes only. And quite frankly, it's

[PATCH v3 6/7] brd: Add support for rw_page

2014-04-13 Thread Matthew Wilcox
Signed-off-by: Matthew Wilcox --- drivers/block/brd.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/block/brd.c b/drivers/block/brd.c index e73b85c..807d3d5 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c @@ -360,6 +360,15 @@ out: bio_endio(bio, err);

[PATCH v3 3/7] Factor page_endio() out of mpage_end_io()

2014-04-13 Thread Matthew Wilcox
page_endio() takes care of updating all the appropriate page flags once I/O has finished to a page. Switch to using mapping_set_error() instead of setting AS_EIO directly; this will handle thin-provisioned devices correctly. Signed-off-by: Matthew Wilcox --- fs/mpage.c | 18

[PATCH v3 4/7] Add bdev_read_page() and bdev_write_page()

2014-04-13 Thread Matthew Wilcox
A block device driver may choose to provide a rw_page operation. These will be called when the filesystem is attempting to do page sized I/O to page cache pages (ie not for direct I/O). This does preclude I/Os that are larger than page size, so this may only be a performance gain for some

[PATCH v3 1/7] Remove block_write_full_page_endio()

2014-04-13 Thread Matthew Wilcox
The last in-tree caller of block_write_full_page_endio() was removed in January 2013. It's time to remove the EXPORT_SYMBOL, which leaves block_write_full_page() as the only caller of block_write_full_page_endio(), so inline block_write_full_page_endio() into block_write_full_page().

[PATCH v3 2/7] Factor clean_buffers() out of __mpage_writepage()

2014-04-13 Thread Matthew Wilcox
__mpage_writepage() is over 200 lines long, has 20 local variables, four goto labels and could desperately use simplification. Splitting clean_buffers() into a helper function improves matters a little, removing 20+ lines from it. Signed-off-by: Matthew Wilcox --- fs/mpage.c | 54

[PATCH v3 5/7] swap: Use bdev_read_page() / bdev_write_page()

2014-04-13 Thread Matthew Wilcox
Signed-off-by: Matthew Wilcox --- mm/page_io.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/mm/page_io.c b/mm/page_io.c index 7c59ef6..43d7220 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -248,11 +248,16 @@ out: return ret; } +static

[PATCH v3 7/7] brd: Return -ENOSPC rather than -ENOMEM on page allocation failure

2014-04-13 Thread Matthew Wilcox
brd is effectively a thinly provisioned device. Thinly provisioned devices return -ENOSPC when they can't write a new block. -ENOMEM is an implementation detail that callers shouldn't know. Acked-by: Dave Chinner Signed-off-by: Matthew Wilcox --- drivers/block/brd.c | 6 +++--- 1 file

[PATCH v3 0/7] Page I/O

2014-04-13 Thread Matthew Wilcox
Hi Andrew, Now that 3.15-rc1 is out, could you queue these patches for 3.16 please? Patches 1-3 & 7 are, IMO, worthwhile cleanups / bug fixes, regardless of the rest of the patch set. If this patch series gets in, I'll take care of including the NVMe driver piece. It'll be a bit more tricky

Re: [PATCH v2 1/3] Fix alignement problems in drivers/staging/crystalhd/crystalhd_lnx.c

2014-04-13 Thread Dan Carpenter
On Mon, Apr 14, 2014 at 12:13:03AM +0200, Paul Bolle wrote: > On Mon, 2014-04-14 at 01:07 +0300, Dan Carpenter wrote: > > The long description was fine. It included a copy of the error message > > and everything. > > This is what I saw in the body of the message above the "---" line: > From:

  1   2   3   4   5   >