[PATCH] scripts, checkpatch.pl, provide a better output message for commit id format [v2]

2014-10-20 Thread Prarit Bhargava
I tested this using both lower and upper case 'c' with the following commit text: Derp, derpy derp. Derps derpy derpy derp derp derp derp. Some other text besides derp. Stuff. 11 chars, SHOULD FAIL commit 1234567890a 12 chars commit 1234567890ab 13 chars commit 1234567890abc 14 chars commit

Re: randconfig build error with next-20141020, in drivers/media/platform/marvell-ccic/mcam-core.c

2014-10-20 Thread Andreas Ruprecht
Hi, after a lot of staring at the configuration it seems like this boils down to an issue within the Kconfig constraint description. Broken down to the important bits: - CONFIG_VIDEO_TW68 and CONFIG_VIDEO_SAA7134 *select* CONFIG_VIDEOBUF2_DMA_SG - Both of these options are set to *m* in the

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Peter Zijlstra
On Mon, Oct 20, 2014 at 11:34:29PM +0200, Oleg Nesterov wrote: So please make a patch after we know what Peter thinks. Peter thinks its about time to go sleep ;-) Sorry I was hiding today, I wanted to get that speculative fault crap posted. I'll go look at this when I wake up again. Zzzz... --

Re: [PATCH v5 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-20 Thread Scott Branden
On 14-10-20 12:55 PM, Arnd Bergmann wrote: On Tuesday 14 October 2014 19:58:51 Scott Branden wrote: if ARCH_BCM +menu iProc SoC based Machine types + config ARCH_BCM_IPROC + bool + select ARM_GIC + select CACHE_L2X0 + select

Re: [PATCH 1/2 v2] binfmt_misc: add comments debug logs

2014-10-20 Thread Joe Perches
On Mon, 2014-10-20 at 18:45 -0400, Mike Frysinger wrote: let's deploy extensive pr_debug markers at logical parse points, and add comments to the dense parsing logic. It let's you see exactly where the parsing aborts, the string the kernel received (useful when dealing with shell code), how

Re: [PATCH V5 0/5] audit by executable name

2014-10-20 Thread Paul Moore
On Monday, October 20, 2014 06:47:27 PM Eric Paris wrote: On Mon, 2014-10-20 at 16:25 -0400, Steve Grubb wrote: On Thursday, October 02, 2014 11:06:51 PM Richard Guy Briggs wrote: This is a part of Peter Moody, my and Eric Paris' work to implement audit by executable name. Does this

Re: [PATCH] scripts, checkpatch.pl, provide a better output message for commit id format [v2]

2014-10-20 Thread Joe Perches
On Mon, 2014-10-20 at 18:49 -0400, Prarit Bhargava wrote: I tested this using both lower and upper case 'c' with the following commit text: [] I think the patch subject be something like: [PATCH] checkpatch: improve commit id/desc style checking in commit message The [v2] goes in the subject

Re: [Ocfs2-devel] [PATCH 2/2] ocfs2: Fix d_splice_alias() return code checking

2014-10-20 Thread Andrew Morton
On Sun, 19 Oct 2014 12:39:44 +0200 Richard Weinberger rich...@nod.at wrote: d_splice_alias() can return a valid dentry, NULL or an ERR_PTR. Currently the code checks not for ERR_PTR and my oops in ocfs2_dentry_attach_lock(). It's unclear what the second sentence is trying to tell us. The

[RFC][PATCH] add pagesize field to /proc/pid/numa_maps

2014-10-20 Thread Petr Holasek
There were some similar attempts to add vma's pagesize to numa_maps in the past, so I've distilled the most straightforward one - adding pagesize field expressing size in kbytes to each line. Although page size can be also obtained from smaps file, adding pagesize to numa_maps makes the interface

[PATCH 3/4] pinctrl: rockchip: Parse pin groups before calling pinctrl_register()

2014-10-20 Thread Doug Anderson
Just like in (529301c pinctrl: samsung: Parse pin groups before calling pinctrl_register()), Rockchip also needs to parse pin groups earlier to make hogs work. Signed-off-by: Doug Anderson diand...@chromium.org --- drivers/pinctrl/pinctrl-rockchip.c | 10 -- 1 file changed, 4

[PATCH 4/4] pinctrl: rockchip: Protect read-modify-write with the spinlock

2014-10-20 Thread Doug Anderson
There were a few instances where the rockchip pinctrl driver would do read-modify-write with no spinlock. Add a spinlock for these cases. Signed-off-by: Doug Anderson diand...@chromium.org --- drivers/pinctrl/pinctrl-rockchip.c | 16 1 file changed, 16 insertions(+) diff --git

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-20 Thread Vladimir Zapolskiy
Hello LABBE, On 19.10.2014 17:16, LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com

[PATCH 1/4] pinctrl: rockchip: Set wake_enabled

2014-10-20 Thread Doug Anderson
The rockchip pinctrl driver uses irq_gc_set_wake() but doesn't setup the .wake_enabled member. That means that we can never actually use a pin for wakeup. When irq_set_irq_wake() tries to call through it will always get a failure from set_irq_wake_real() and will then set wake_depth to 0.

[PATCH 2/4] pinctrl: rockchip: Don't call pinctrl_gpio_direction_output() in pin_config_set()

2014-10-20 Thread Doug Anderson
The Rockchip pinctrl driver was calling rockchip_gpio_direction_output() in the pin_config_set() callback. This was just a shortcut for: * rockchip_gpio_set() * pinctrl_gpio_direction_output() Unfortunately it's not so good to call pinctrl_gpio_direction_output() from pin_config_set().

Re: [GIT PULL] please pull infiniband.git

2014-10-20 Thread Doug Ledford
On Thu, 2014-10-16 at 15:52 -0700, Roland Dreier wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Main set of InfiniBand/RDMA updates for 3.18

Re: [PATCH V5 0/5] audit by executable name

2014-10-20 Thread Steve Grubb
On Monday, October 20, 2014 07:02:33 PM Paul Moore wrote: On Monday, October 20, 2014 06:47:27 PM Eric Paris wrote: On Mon, 2014-10-20 at 16:25 -0400, Steve Grubb wrote: On Thursday, October 02, 2014 11:06:51 PM Richard Guy Briggs wrote: This is a part of Peter Moody, my and Eric Paris'

Re: [PATCH] staging: android: binder: move to the real part of the kernel

2014-10-20 Thread Arve Hjønnevåg
On Mon, Oct 20, 2014 at 2:20 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Mon, Oct 20, 2014 at 06:05:47AM +0800, Greg Kroah-Hartman wrote: On Fri, Oct 17, 2014 at 12:26:01PM +0300, Dan Carpenter wrote: The code isn't very beautiful and there are lots of details wrong like the error

[GIT PULL] target updates for v3.18-rc2

2014-10-20 Thread Nicholas A. Bellinger
Hi Linus, Here are the target updates for v3.18-rc2 code. These where originally destined for -rc1, but due to the combination of travel last week for KVM Forum and my mistake of taking the three week merge window literally, the pull request slipped.. Apologies for that. A heads-up that you'll

Re: [RFC][PATCH 4/6] SRCU free VMAs

2014-10-20 Thread Linus Torvalds
On Mon, Oct 20, 2014 at 2:56 PM, Peter Zijlstra pet...@infradead.org wrote: Manage the VMAs with SRCU such that we can do a lockless VMA lookup. Can you explain why srcu, and not plain regular rcu? Especially as you then *note* some of the problems srcu can have. Making it regular rcu would

Re: [PATCH v3 1/2] Revert mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption

2014-10-20 Thread Chanwoo Choi
Hi Javier, On 10/21/2014 06:05 AM, Javier Martinez Canillas wrote: This reverts commit b7cde7078d2344073c310aa65fc2b0a845d2cb5b (mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption) Commit b7cde7078d23 called regulator_suspend_prepare() to prepare the

Re: [RFC v2 2/6] driver-core: add driver async_probe support

2014-10-20 Thread Luis R. Rodriguez
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 83e910a..49fe573 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -10,6 +10,7 @@ * */ +#include linux/async.h #include linux/device.h #include linux/module.h #include linux/errno.h @@ -547,15 +548,12 @@ void

Re: [PATCH] tiny: reverse logic for DISABLE_DEV_COREDUMP

2014-10-20 Thread josh
On Tue, Oct 21, 2014 at 06:18:00AM +0800, Greg Kroah-Hartman wrote: On Mon, Oct 20, 2014 at 04:55:11AM -0700, Josh Triplett wrote: On Mon, Oct 20, 2014 at 11:42:31AM +0200, Johannes Berg wrote: On Thu, 2014-10-16 at 11:49 -0400, Aristeu Rozanski wrote: It's desirable for allnconfig and

Re: [PATCH V5 0/5] audit by executable name

2014-10-20 Thread Steve Grubb
On Monday, October 20, 2014 07:33:39 PM Steve Grubb wrote: On Monday, October 20, 2014 07:02:33 PM Paul Moore wrote: On Monday, October 20, 2014 06:47:27 PM Eric Paris wrote: On Mon, 2014-10-20 at 16:25 -0400, Steve Grubb wrote: On Thursday, October 02, 2014 11:06:51 PM Richard Guy

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-20 Thread Joe Perches
On Tue, 2014-10-21 at 02:28 +0300, Vladimir Zapolskiy wrote: On 19.10.2014 17:16, LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. []

Re: [PATCH 1/2 v2] binfmt_misc: add comments debug logs

2014-10-20 Thread Mike Frysinger
On 20 Oct 2014 15:59, Joe Perches wrote: On Mon, 2014-10-20 at 18:45 -0400, Mike Frysinger wrote: diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c [] @@ -323,46 +343,113 @@ static Node *create_entry(const char __user *buffer, size_t count) [] + if (e-mask) { +

Re: [PATCH 4/4] pinctrl: rockchip: Protect read-modify-write with the spinlock

2014-10-20 Thread Doug Anderson
Hi, On Mon, Oct 20, 2014 at 4:27 PM, Doug Anderson diand...@chromium.org wrote: @@ -1464,15 +1474,20 @@ static int rockchip_irq_set_type(struct irq_data *d, unsigned int type) if (ret 0) return ret; + spin_lock_irqsave(bank-slock, flags); + data =

Re: [PATCH] arm: dma-mapping: fix compilation error when CONFIG_MMU is not present

2014-10-20 Thread Laura Abbott
On 10/20/2014 6:50 AM, Stefan Hengelein wrote: Well, arch/arm/mm/dma-mapping.c: In function ‘__atomic_get_pages’: arch/arm/mm/dma-mapping.c:1265:31: error: ‘atomic_pool’ undeclared (first use in this function) arch/arm/mm/dma-mapping.c: In function ‘__iommu_get_pages’:

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-20 Thread Andy Lutomirski
On 10/20/2014 02:56 PM, Peter Zijlstra wrote: Hi, I figured I'd give my 2010 speculative fault series another spin: https://lkml.org/lkml/2010/1/4/257 Since then I think many of the outstanding issues have changed sufficiently to warrant another go. In particular Al Viro's delayed

Re: [PATCH 1/4] pinctrl: rockchip: Set wake_enabled

2014-10-20 Thread Chris Zhong
Tested-by: Chris Zhong z...@rock-chips.com On 10/20/2014 04:27 PM, Doug Anderson wrote: The rockchip pinctrl driver uses irq_gc_set_wake() but doesn't setup the .wake_enabled member. That means that we can never actually use a pin for wakeup. When irq_set_irq_wake() tries to call through it

Re: [PATCH 2/4] pinctrl: rockchip: Don't call pinctrl_gpio_direction_output() in pin_config_set()

2014-10-20 Thread Chris Zhong
On 10/20/2014 04:27 PM, Doug Anderson wrote: The Rockchip pinctrl driver was calling rockchip_gpio_direction_output() in the pin_config_set() callback. This was just a shortcut for: * rockchip_gpio_set() * pinctrl_gpio_direction_output() Unfortunately it's not so good to call

Re: [PATCH 3/4] pinctrl: rockchip: Parse pin groups before calling pinctrl_register()

2014-10-20 Thread Chris Zhong
On 10/20/2014 04:27 PM, Doug Anderson wrote: Just like in (529301c pinctrl: samsung: Parse pin groups before calling pinctrl_register()), Rockchip also needs to parse pin groups earlier to make hogs work. Signed-off-by: Doug Anderson diand...@chromium.org ---

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-20 Thread Andy Lutomirski
On Sun, Oct 19, 2014 at 9:55 PM, Eric W.Biederman ebied...@xmission.com wrote: On October 19, 2014 1:26:29 PM CDT, Andy Lutomirski l...@amacapital.net wrote: On Sat, Oct 18, 2014 at 10:23 PM, Eric W. Biederman ebied...@xmission.com wrote: Serge E. Hallyn se...@hallyn.com writes: Quoting

[PATCH] staging: skein: Loadable Module Support

2014-10-20 Thread Eric Rost
Adds loadable module support for Skein256, Skein512, and Skein1024 NOTE: skein1024_generic does not load, sending patch for feedback! I don't understand why skein256_generic and skein512_generic load no problem but skein1024_generic gives ERROR: Invalid argument from modprobe. Signed-off-by: Eric

[PATCH] netfilter: Fix wastful cleanup check for unconfirmed conn in get_next_corpse

2014-10-20 Thread Feng Gao
Hi all, I am sorry to send the patch commit again because the last email is not plain text and is rejected by some servers. This is the patch to branch master of kernel. The function get_next_corpse is only invoked by nf_ct_iterate_cleanup in one while loop, and it will check the per cpu

linux-next: build failure after merge of the sound-asoc tree

2014-10-20 Thread Stephen Rothwell
function for VAD application). I have used the sound-asoc tree from next-20141020 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

[GIT PULL] core drm support for Rockchip SoCs

2014-10-20 Thread Mark yao
Hi, Dave The following changes since commit bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9: Linux 3.17 (2014-10-05 12:23:04 -0700) are available in the git repository at: https://github.com/markyzq/kernel-drm-rockchip.git drmrockchip for you to fetch changes up to

Re: [PATCH] scripts, checkpatch.pl, provide a better output message for commit id format [v2]

2014-10-20 Thread Prarit Bhargava
On 10/20/2014 07:11 PM, Joe Perches wrote: On Mon, 2014-10-20 at 18:49 -0400, Prarit Bhargava wrote: I tested this using both lower and upper case 'c' with the following commit text: [] I think the patch subject be something like: [PATCH] checkpatch: improve commit id/desc style

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Dan, -Original Message- From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan Streetman Sent: 2014年10月21日 1:03 To: Neil Zhang Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Mon, Oct 20,

Re: [PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-20 Thread Gioh Kim
2014-10-20 오후 4:33, Pintu Kumar 쓴 글: When the system boots up, in the dmesg logs we can see the memory statistics along with total reserved as below. Memory: 458840k/458840k available, 65448k reserved, 0K highmem When CMA is enabled, still the total reserved memory remains the same.

Re: [PATCH] kernel, add bug_on_warn

2014-10-20 Thread Prarit Bhargava
On 10/20/2014 06:24 PM, Andrew Morton wrote: On Mon, 20 Oct 2014 08:00:20 -0400 Prarit Bhargava pra...@redhat.com wrote: There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system.

RE: [PATCH] spi/atmel: add support for runtime PM

2014-10-20 Thread Yang, Wenyou
Hi Kevin, -Original Message- From: Kevin Hilman [mailto:khil...@kernel.org] Sent: Tuesday, October 21, 2014 2:09 AM To: Yang, Wenyou Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH]

RE: [PATCH 1/3] i2c/at91: add support for runtime PM

2014-10-20 Thread Yang, Wenyou
Hi Ludovic, Thanks a lot. -Original Message- From: Ludovic Desroches [mailto:ludovic.desroc...@atmel.com] Sent: Monday, October 20, 2014 8:39 PM To: Yang, Wenyou Cc: w...@the-dreams.de; Desroches, Ludovic; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Ferre, Nicolas;

Re: [RFC][PATCH] add pagesize field to /proc/pid/numa_maps

2014-10-20 Thread David Rientjes
On Tue, 21 Oct 2014, Petr Holasek wrote: There were some similar attempts to add vma's pagesize to numa_maps in the past, so I've distilled the most straightforward one - adding pagesize field expressing size in kbytes to each line. Although page size can be also obtained from smaps file,

Re: [patch 1/4] mm: memcontrol: uncharge pages on swapout

2014-10-20 Thread Kamezawa Hiroyuki
(2014/10/21 0:22), Johannes Weiner wrote: mem_cgroup_swapout() is called with exclusive access to the page at the end of the page's lifetime. Instead of clearing the PCG_MEMSW flag and deferring the uncharge, just do it right away. This allows follow-up patches to simplify the uncharge code.

RE: [PATCH 2/3] i2c/at91: add support for system PM

2014-10-20 Thread Yang, Wenyou
Hi Kevin, -Original Message- From: Kevin Hilman [mailto:khil...@kernel.org] Sent: Tuesday, October 21, 2014 2:16 AM To: Yang, Wenyou Cc: w...@the-dreams.de; Desroches, Ludovic; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Ferre, Nicolas;

Re: [PATCH 2/6] arm64: Add DTS support for Spreadtrum's Shark64 SoC

2014-10-20 Thread Lyra Zhang
Hi, Arnd This problem have been solved, and was submitted in v2. Thanks for your answer to the question(which Orson asked for me) about this on Freenode. Best regards, Lyra 2014-10-21 3:00 GMT+08:00 Arnd Bergmann a...@arndb.de: On Wednesday 15 October 2014 11:17:07 Lyra Zhang wrote: Hi, Arnd

Re: [PATCH v3 04/27] arm/MSI: Save MSI chip in pci_sys_data

2014-10-20 Thread Yijing Wang
On 2014/10/21 1:21, Lorenzo Pieralisi wrote: On Wed, Oct 15, 2014 at 04:06:52AM +0100, Yijing Wang wrote: Saving msi chip in pci_sys_data can make pci bus and devices don't need to know msi chip detail, it also make pci enumeration code be decoupled from msi chip. In fact, all pci devices

Re: [PATCH v8] coresight: bindings for coresight drivers

2014-10-20 Thread Rob Herring
On Tue, Oct 21, 2014 at 5:13 AM, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Coresight IP blocks allow for the support of HW assisted tracing on ARM SoCs. Bindings for the currently available blocks are presented herein. Signed-off-by: Pratik Patel

Re: [PATCH 1/2] kprobes: introduce ARCH_HANDLES_KPROBES_ON_FTRACE

2014-10-20 Thread Masami Hiramatsu
(2014/10/21 3:53), Steven Rostedt wrote: On Mon, 20 Oct 2014 10:55:30 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Hmm, this looks a bit not straight. Maybe we'd better introduce a local check_ftrace_location() function which always returns 0 if

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-20 Thread Bo Shen
Hi Peter, On 10/20/2014 09:45 PM, Peter Rosin wrote: From 1e5621d7b9887c648d1a66238dc82d715c1e2cad Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@axentia.se Date: Mon, 20 Oct 2014 14:38:04 +0200 Subject: [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately. The

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-10-20 Thread Dave Jones
On Fri, May 30, 2014 at 08:41:00AM -0700, Linus Torvalds wrote: On Fri, May 30, 2014 at 8:25 AM, H. Peter Anvin h...@zytor.com wrote: If we removed struct thread_info from the stack allocation then one could do a guard page below the stack. Of course, we'd have to use IST for #PF in

Re: [PATCH] scripts, checkpatch.pl, provide a better output message for commit id format [v2]

2014-10-20 Thread Joe Perches
On Mon, 2014-10-20 at 20:46 -0400, Prarit Bhargava wrote: On 10/20/2014 07:11 PM, Joe Perches wrote: On Mon, 2014-10-20 at 18:49 -0400, Prarit Bhargava wrote: I tested this using both lower and upper case 'c' with the following commit text: [] I think the patch subject be something

[PATCH v1] ARM: imx6: add pm_power_off support for i.mx6 chips

2014-10-20 Thread Robin Gong
All chips of i.mx6 can be powered off by programming SNVS. For example : On i.mx6q-sabresd board, PMIC_ON_REQ connect with external pmic ON/OFF pin, that will cause the whole PMIC powered off except VSNVS. And system can restart once PMIC_ON_REQ goes high by push POWRER key. Signed-off-by: Robin

[PATCH v6] spi: spi-imx: add DMA support

2014-10-20 Thread Robin Gong
Enable DMA support on i.mx6. The read speed can increase from 600KB/s to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts. If not set dma-names in dts, spi will use PIO mode. This patch only validate on i.mx6, not i.mx5, but encourage ones to apply this patch on i.mx5 since they

[PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-10-20 Thread Robin Gong
There is one weird data in rxfifo after one full rx/tx transfer done sometimes. It looks a design issue and hard to workaround totally, so disable dma functhion here. And will re-enable it once the root cause found. Signed-off-by: Robin Gong b38...@freescale.com --- arch/arm/boot/dts/imx6q.dtsi

[PATCH v4 0/3] dma: imx-sdma: add support for sdma memory copy

2014-10-20 Thread Robin Gong
Add memory copy interface to sdma driver, the patch set is based on v3: http://www.spinics.net/lists/dmaengine/msg00850.html. change from v3: 1.split two patches from v3 patch for Vinod's comments. change from v2: 1.remove redundant check for bus width. change from v1: 1. correct some printk

RE: [PATCH v6] spi: spi-imx: add DMA support

2014-10-20 Thread Yibin Gong
Sorry for sending the wrong patch set, please ignore... -Original Message- From: Robin Gong [mailto:b38...@freescale.com] Sent: Tuesday, October 21, 2014 9:06 AM To: vinod.k...@intel.com; dan.j.willi...@intel.com; andriy.shevche...@linux.intel.com Cc: dmaeng...@vger.kernel.org;

[PATCH v4 0/3] dma: imx-sdma: add support for sdma memory copy

2014-10-20 Thread Robin Gong
Add memory copy interface to sdma driver, the patch set is based on v3: http://www.spinics.net/lists/dmaengine/msg00850.html. change from v3: 1.split two patches from v3 patch for Vinod's comments. change from v2: 1.remove redundant check for bus width. change from v1: 1. correct some printk

[PATCH v4 2/3] dma: imx-sdma: correct print format

2014-10-20 Thread Robin Gong
correct print format for 'size_t', 'dma_address_t',etc. Signed-off-by: Robin Gong b38...@freescale.com --- drivers/dma/imx-sdma.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index fc4a0df..7e8aa2d 100644

[PATCH v4 1/3] dma: imx-sdma: add support for sdma memory copy

2014-10-20 Thread Robin Gong
Signed-off-by: Robin Gong b38...@freescale.com --- drivers/dma/imx-sdma.c | 188 ++--- 1 file changed, 164 insertions(+), 24 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index f7626e3..fc4a0df 100644 ---

Re: [PATCH v6 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 01:45:19PM +0200, Boris Brezillon wrote: Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com This driver looks mostly good. Sorry for the delays, and thanks for the patience. ---

[PATCH v2 0/3] i2c/at91: add support PM functions

2014-10-20 Thread Wenyou Yang
Hi Wolfram, The patches is to add the PM functions support for the at91 i2c controller. It is based on the i2c/for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git. Best Regards, Wenyou Yang -- Change log: v2.0 According to the advice from Kevin Hilman, 1./

[PATCH v2 1/3] i2c/at91: add support for runtime PM

2014-10-20 Thread Wenyou Yang
Drivers should put the device into low power states proactively whenever the device is not in use. Thus implement support for runtime PM and use the autosuspend feature to make sure that we can still perform well in case we see lots of i2c traffic within short period of time. Signed-off-by:

[PATCH v4 3/3] dma: imx-sdma: reorg code to make code clean

2014-10-20 Thread Robin Gong
code reorg for transfer prepare and bus width check. Signed-off-by: Robin Gong b38...@freescale.com --- drivers/dma/imx-sdma.c | 127 +++-- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c

[PATCH v2 2/3] i2c/at91: add support for system PM

2014-10-20 Thread Wenyou Yang
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Ludovic Desroches ludovic.desroc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index

[PATCH v2 3/3] i2c/at91: adopt pinctrl support

2014-10-20 Thread Wenyou Yang
Amend the i2c at91 pin controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume and before performing an transfer - sleep on suspend() This should make it possible to optimize energy usage for the pins both for the suspend/resume cycle

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
-Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Tuesday, October 21, 2014 2:28 AM To: Thomas Shao Cc: gre...@linuxfoundation.org; LKML; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; KY Srinivasan; John Stultz

[PATCH v2] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most code ignores the returned value, and none actually

Re: [PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
On 10/17/2014 09:41 PM, Martin Kelly wrote: sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-20 Thread Brian Norris
Hi Boris, On Mon, Oct 20, 2014 at 01:45:20PM +0200, Boris Brezillon wrote: Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++

[PATCH 0/2] Staging: iio: adc: Checkpatch.pl warning cleanups

2014-10-20 Thread Brian Vandre
This patch-set fixes 2 checkpatch.pl warnings dealing with lines over 80 characters. Brian Vandre (2): Staging: iio: adc: fix line over 80 characters Staging: iio: adc: fix line over 80 characters drivers/staging/iio/adc/mxs-lradc.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 2/2] Staging: iio: adc: fix line over 80 characters

2014-10-20 Thread Brian Vandre
This fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Brian Vandre bvan...@gmail.com --- drivers/staging/iio/adc/mxs-lradc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c

[PATCH 1/2] Staging: iio: adc: fix line over 80 characters

2014-10-20 Thread Brian Vandre
This fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Brian Vandre bvan...@gmail.com --- drivers/staging/iio/adc/mxs-lradc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
Hi Neil and Dan, (2014/10/21 2:02), Dan Streetman wrote: On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang zhan...@marvell.com wrote: Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 14:48 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject:

linux-next: Tree for Oct 21

2014-10-20 Thread Stephen Rothwell
Hi all, Changes since 20141020: The sound-asoc tree gained a build failure so I used the version from next-20141020. Non-merge commits (relative to Linus' tree): 960 986 files changed, 21989 insertions(+), 34927 deletions

Qemu hang introduced between next-20141013 and next-20141017

2014-10-20 Thread Martin Kelly
Hi, I have a minimal qemu setup that I used for testing development kernels. I have noticed that somewhere between next-20141013 and next-20141017, qemu started to hang at boot time, with no messages displayed on the console (previously, it would boot to a full userspace). I attempted to bisect

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Thomas Gleixner Sent: Tuesday, October 21, 2014 2:41 AM To: Thomas Shao Cc: gre...@linuxfoundation.org; LKML; de...@linuxdriverproject.org; o...@aepfle.de;

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Yasuaki, -Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: 2014年10月21日 10:57 To: Dan Streetman; Neil Zhang Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug Hi Neil and Dan,

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread John Stultz
On Mon, Oct 20, 2014 at 8:18 PM, Thomas Shao huis...@microsoft.com wrote: -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Thomas Gleixner Sent: Tuesday, October 21, 2014 2:41 AM To: Thomas Shao Cc:

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
(2014/10/21 12:18), Neil Zhang wrote: Yasuaki, -Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: 2014年10月21日 10:57 To: Dan Streetman; Neil Zhang Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info

[PATCH] ASoC: rt5677: fix rt5677 spi driver build

2014-10-20 Thread Ben Zhang
Create a separate module for rt5677 spi driver. Without this patch, the build fails due to multiple defs of 'init_module' and 'cleanup_module'. module_spi_driver() defines its own module, so it can't be part of the rt5677 module. Signed-off-by: Ben Zhang be...@chromium.org ---

Re: [PATCH 2/2] Thermal:Remove usless if(!result) before return tz

2014-10-20 Thread Yao Dongdong
On 2014/10/20 20:10, Eduardo Valentin wrote: Hello Yao On Mon, Oct 20, 2014 at 04:27:59PM +0800, Yao Dongdong wrote: result is always zero when comes here. Signed-off-by:yaodongd...@huawei.com --- drivers/thermal/thermal_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
-Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: 2014年10月21日 11:27 To: Neil Zhang; Dan Streetman Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug (2014/10/21 12:18), Neil

[PATCH v3 0/6] add suspend support for RK3288

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin to high in the final stage of the process of suspend, pull the pin to low again when resume. Changes in v3:

[PATCH v3 1/6] pinctrl: rockchip: add suspend/resume functions

2014-10-20 Thread zyw
From: Chris z...@rock-chips.com support suspend/resume of pinctrl, it allows handling sleep mode for hogged pins in pinctrl Signed-off-by: Chris z...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v3: None Changes in v2: None drivers/pinctrl/pinctrl-rockchip.c |

[PATCH v3 2/6] pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com Save and restore the gpio6_c6 pinmux setting, since Maskrom of RK3288 would modify it to sdmmc0_det, so it need to be restored to the correct setting after resume from Maskrom. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v3: None Changes

[PATCH v3 3/6] clk: rockchip: RK3288: add suspend and resume

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com save and restore some clks, which might be changed in suspend. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v3: None Changes in v2: - __raw_readl/__raw_writel replaced by

[PATCH v3 4/6] ARM: rockchip: add suspend and resume for RK3288

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v3: - move the pinmux of gpio6_c6 save and restore to

[PATCH v3 5/6] ARM: rockchip: Add pmu-sram binding

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v3: None

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 17:04, Andy Lutomirski wrote: --- a/init/main.c +++ b/init/main.c @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) ret = run_init_process(execute_command); if (!ret) return 0; -#ifndef CONFIG_INIT_FALLBACK

[PATCH v3 6/6] ARM: dts: add RK3288 suspend support

2014-10-20 Thread zyw
From: Chris Zhong z...@rock-chips.com add pmu_intmem node for suspend, add global_pwroff pinctrl. The pmu_intmem is used to store the resume code. global_pwroff is held low level at work, it would be pull to high when entering suspend. PMICs can get this singal, then shut down some power rails.

[PATCH] spi/atmel: improve the system suspend/resume functions implementation

2014-10-20 Thread Wenyou Yang
To make it cleaner, the system suspend/resume directly call the runtime suspend/resume functions and remove the wapper of CONFIG_PM_RUNTIME, CONFIG_PM_SLEEP. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com --- drivers/spi/spi-atmel.c | 61 --- 1

Re: [PATCH v2 1/2] kprobes: introduce ARCH_HANDLES_KPROBES_ON_FTRACE

2014-10-20 Thread Masami Hiramatsu
(2014/10/20 19:59), Heiko Carstens wrote: Allow architectures to implement handling of kprobes on function tracer call sites on their own, without depending on common code. This patch removes the kprobes check if a kprobe is being placed on a function tracer call site and therefore gives

[PATCH] usb: storage: Convert usb_stor_dbg to return void

2014-10-20 Thread Joe Perches
No caller or macro uses the return value so make it void. Signed-off-by: Joe Perches j...@perches.com --- This change is associated to a desire to eventually change printk to return void. drivers/usb/storage/debug.c | 7 ++- drivers/usb/storage/debug.h | 10 ++ 2 files changed, 8

Re: [PATCH] perf tools: fix incorrect header string

2014-10-20 Thread Wang Nan
On 2014/10/16 22:55, Arnaldo Carvalho de Melo wrote: Em Thu, Oct 16, 2014 at 11:21:13AM +0800, Wang Nan escreveu: On 2014/10/15 23:13, Arnaldo Carvalho de Melo wrote: Em Wed, Oct 15, 2014 at 11:28:53AM +0800, Wang Nan escreveu: Commit fbe96f29 (perf tools: Make perf.data more self-descriptive)

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Jeff Epler
On Tue, Oct 21, 2014 at 03:18:58AM +, Thomas Shao wrote: In some situation, the user is not able to enable guest VM to sync with external time source, like NTP. But the host is still synced with a trusted time source. In this case, host-guest time synchronization is useful. It's

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 8:45 PM, Rob Landley r...@landley.net wrote: On 10/20/14 17:04, Andy Lutomirski wrote: --- a/init/main.c +++ b/init/main.c @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) ret = run_init_process(execute_command); if (!ret)

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
-Original Message- From: John Stultz [mailto:john.stu...@linaro.org] Sent: Tuesday, October 21, 2014 11:24 AM To: Thomas Shao Cc: Thomas Gleixner; gre...@linuxfoundation.org; LKML; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; KY

Re: [RFC 0/5] CR4 handling improvements

2014-10-20 Thread Vince Weaver
On Tue, 14 Oct 2014, Andy Lutomirski wrote: This little series tightens up rdpmc permissions. With it applied, rdpmc can only be used if a perf_event is actually mmapped. For now, this is only really useful for seccomp. So just to be difficult... I am aware of at least one group who is

[PATCH v2 03/47] hibernate: Call have_kernel_power_off instead of checking pm_power_off

2014-10-20 Thread Guenter Roeck
Poweroff handlers may now be installed with register_power_off_handler. Use the new API function have_kernel_power_off to determine if a poweroff handler has been installed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Pavel Machek pa...@ucw.cz Cc: Len Brown len.br...@intel.com Acked-by: Rafael

<    2   3   4   5   6   7   8   9   10   11   >