Re: Arm Target System hangs on uart_open/uart_write

2014-06-19 Thread Abhijit Lamsoge
Hi All, This problem is fixed. By modifying driver code for setting driver->ports correctly, to the one allocated for uart port in uart_register_function. If this is not done, then once an FD for uart file is received, the cleanup, work is put into BH for processing, and then it does not know for w

[GIT PULL] UniCore32 update for v3.16-rc1

2014-06-19 Thread guanxuetao
Hi Linus, This is unicore32 pull request for v3.16-rc1. This pull request includes bugfixes to make unicore32 successfully build under defconfig, and some changes for allmodconfig (though not finished). Please pull tags/for-linus with following updates. Thanks. Xuetao Guan -BEGIN PGP SIG

[RFCv2 0/3] free reclaimed pages by paging out instantly

2014-06-19 Thread Minchan Kim
Normally, I/O completed pages for reclaim would be rotated into inactive LRU tail without freeing. The why it works is we can't free page from atomic context(ie, end_page_writeback) due to vaious locks isn't aware of atomic context. So for reclaiming the I/O completed pages, we need one more itera

[RFCv2 2/3] mm: Introduce atomic_remove_mapping

2014-06-19 Thread Minchan Kim
For release page from atomic context(ie, softirq), locks related to the work should be aware of that. There are two locks. One is mapping->tree_lock and the other is swap_info_struct->lock. The mapping->tree_lock is alreay aware of irq so it's no problem but swap_info_struct->lock isn't so atomic

[RFCv2 1/3] mm: Don't hide spin_lock in swap_info_get internal

2014-06-19 Thread Minchan Kim
Now, swap_info_get hides lock holding by doing it internally but releasing the lock so caller should release the lock. Normally, it's not a good pattern and I need to handle lock from caller in next patchset. Signed-off-by: Minchan Kim --- mm/swapfile.c | 6 +- 1 file changed, 5 insertions(+

[RFCv2 3/3] mm: Free reclaimed pages indepdent of next reclaim

2014-06-19 Thread Minchan Kim
Invalidate dirty/writeback page and file/swap I/O for reclaiming are asynchronous so that when page writeback is completed, it will be rotated back into LRU tail for freeing in next reclaim. But it would make unnecessary CPU overhead and more aging with higher priority of reclaim than necessary th

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-19 Thread Wolfram Sang
> > I already sent the same patch as one single patch to Greg Kroah-Hartman. [1] > > Also, it was accepted by Greg Kroah-Hartman. [2] Thank you. > > > > [1] https://lkml.org/lkml/2014/6/11/26 > > [2] https://lkml.org/lkml/2014/6/11/649 > > Yeah, I'll go apply that right now while I'm remembering

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-19 Thread Alexandre Courbot
On 06/20/2014 02:26 PM, Alexandre Courbot wrote: On 06/20/2014 02:56 AM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Jun 19, 2014 at 09:59:04AM -0600, Stephen Warren wrote: On 06/19/2014 01:49 AM, Alexandre Courbot wrote: Remove the regulator-always-on property from some regula

Re: [linux-sunxi] Re: [PATCH v2 12/20] clk: sunxi: Add A23 APB0 support to sun6i-a31-apb0-clk

2014-06-19 Thread Chen-Yu Tsai
On Thu, Jun 19, 2014 at 5:28 PM, Maxime Ripard wrote: > On Thu, Jun 19, 2014 at 12:33:41PM +0800, Chen-Yu Tsai wrote: >> On Wed, Jun 18, 2014 at 6:26 PM, Maxime Ripard >> wrote: >> > On Tue, Jun 17, 2014 at 10:52:49PM +0800, Chen-Yu Tsai wrote: >> >> The A23 has an almost identical PRCM clock tre

Fwd: [linux-sunxi] Re: [PATCH v2 17/20] ARM: sunxi: Introduce Allwinner A23 support

2014-06-19 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 8:26 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:54PM +0800, Chen-Yu Tsai wrote: >> The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of >> the IPs found in previous SoCs, notably the A31. >> >> Signed-off-by: Chen-Yu Tsai >> --- >> arch/a

Re: [linux-sunxi] Re: [PATCH v2 17/20] ARM: sunxi: Introduce Allwinner A23 support

2014-06-19 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 8:26 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:54PM +0800, Chen-Yu Tsai wrote: >> The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of >> the IPs found in previous SoCs, notably the A31. >> >> Signed-off-by: Chen-Yu Tsai >> --- >> arch/a

Re: [PATCH 1/2] Documentation: Document Hisilicon hix5hd2 sata PHY

2014-06-19 Thread zhangfei
Dear Mark On 06/18/2014 01:13 AM, Mark Rutland wrote: On Tue, Jun 17, 2014 at 08:58:00AM +0100, Zhangfei Gao wrote: From: Jiancheng Xue Add necessary binding documentation SATA PHY on Hisilicon hix5hd2 soc. Signed-off-by: Jiancheng Xue Signed-off-by: Zhangfei Gao --- .../devicetree/bindi

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

2014-06-19 Thread Joonsoo Kim
On Fri, Jun 20, 2014 at 03:27:15PM +1000, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > defconfig) failed like this: > > In file included from /scratch/sfr/next/arch/arm/mm/dma-mapping.c:29:0: > /scratch/sfr/next/include/linux/cma.h:

Re: [patch 2/2] clk: spear3xx: Set proper clock parent of uart1/2

2014-06-19 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:22 AM, Thomas Gleixner wrote: > The uarts only work when the parent is ras_ahb_clk. The stale 3.5 > based ST tree does this in the board file. > > Add it to the clk init function. Not pretty, but the mess there is > amazing anyway. I still feel that board file is the rig

linux-next: Tree for Jun 20

2014-06-19 Thread Stephen Rothwell
Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140619: The mfd-lj tree lost its build failure. The staging tree gained a build failure for which I disabled a driver. The akpm-current tree gained a build failure for which I reverted some commits. Non-merge

Re: linux-next: build warning after merge of the akpm-current tree

2014-06-19 Thread Yinghai Lu
On Thu, Jun 19, 2014 at 10:27 PM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > Introduced by commit 8d9dfa4b0125 ("initramfs: support initramfs that > is more than 2G"). Grep is your frie

linux-next: build warning after merge of the akpm-current tree

2014-06-19 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/printk.h:257:0, from include/linux/kernel.h:13, from arch/x86/include/asm/percpu.h:44, from

linux-next: build failure after merge of the akpm-current tree

2014-06-19 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm defconfig) failed like this: In file included from /scratch/sfr/next/arch/arm/mm/dma-mapping.c:29:0: /scratch/sfr/next/include/linux/cma.h:8:28: error: 'CONFIG_CMA_AREAS' undeclared here (not in a function) #define MA

Re: new mailing list for union/overlay filesystems?

2014-06-19 Thread Erez Local Zadok
BTW, unionfs isn’t inactive (http://unionfs.filesystems.org, http://git.fsl.cs.sunysb.edu/?o=age). Cheers, Erez. On Jun 19, 2014, at 8:36 AM, Miklos Szeredi wrote: > Hi Dave, > > There's interest in having a mailing list specifically for "union > filesystem" like solutions (currently active p

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-19 Thread Alexandre Courbot
On 06/20/2014 02:56 AM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Jun 19, 2014 at 09:59:04AM -0600, Stephen Warren wrote: On 06/19/2014 01:49 AM, Alexandre Courbot wrote: Remove the regulator-always-on property from some regulators that do not need it. On recent kernels fixed

Re: [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Julia Lawall
On Thu, 19 Jun 2014, Joe Perches wrote: > On Thu, 2014-06-19 at 18:49 +0200, Julia Lawall wrote: > > On Thu, 19 Jun 2014, Joe Perches wrote: > > > On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: > > > > This script detects the use of a parenthesis around return value ot the > > > > ret

[PATCH] checkpatch: Ignore email headers better

2014-06-19 Thread Joe Perches
There are some patches created by git format-patch that when scanned by checkpatch report errors on lines like To: address.tld This is a checkpatch false positive. Improve the logic a bit to ignore folded email headers to avoid emitting these messages. Signed-off-by: Joe Perches --- scrip

[PATCH] staging: dgap: make dgap_found_board() return a brd pointer

2014-06-19 Thread Daeseok Youn
Make dgap_found_board() return a brd pointer and that brd pointer assign to dgap_board[] in the end of the dgap_init_one(). Signed-off-by: Daeseok Youn --- drivers/staging/dgap/dgap.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-19 Thread Bjorn Andersson
On Wed, Jun 18, 2014 at 9:44 AM, Kevin Hilman wrote: [...] > Thinking more about what this RPM driver actually does, and since you > mentioned patterns across SoCs, it seems to me the RPM driver bascially > just doing the IPC. > Yes, technically this is IPC. But it's all exposed in memory as if i

[tip:x86/cleanups] x86/tsc: Get rid of custom DIV_ROUND() macro

2014-06-19 Thread tip-bot for Michal Nazarewicz
Commit-ID: 891715793f0451e5114d200be932ac14ce8521a3 Gitweb: http://git.kernel.org/tip/891715793f0451e5114d200be932ac14ce8521a3 Author: Michal Nazarewicz AuthorDate: Thu, 19 Jun 2014 03:58:36 +0200 Committer: H. Peter Anvin CommitDate: Thu, 19 Jun 2014 22:04:50 -0700 x86/tsc: Get rid of

Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread Greg KH
On Fri, Jun 20, 2014 at 06:57:04AM +0200, Olaf Hering wrote: > On Thu, Jun 19, Haiyang Zhang wrote: > > > The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host > > sleep or hibernation. We refresh network at this time. > > > + char *argv[] = { "/etc/init.d/network", "restart"

Re: [RFC][PATCH 1/3] trace_seq: Move the trace_seq code to lib/

2014-06-19 Thread Andrew Morton
On Thu, 19 Jun 2014 17:33:30 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The trace_seq functions are rather useful outside of tracing. Instead > of having it be dependent on CONFIG_TRACING, move the code into lib/ > and allow other users to have access to it even when tra

Re: [PATCH] initramfs: Support initrd that is bigger then 2G.

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 10:02 PM, Yinghai Lu wrote: > On Thu, Jun 19, 2014 at 9:29 PM, H. Peter Anvin wrote: >> On 06/19/2014 07:12 PM, Yinghai Lu wrote: >>> >>> Also need to use that in write_buffer path for cpio that have file is >>> more than file. >> >> That sentence doesn't make sense. > > I mean this

Re: [PATCH] mm: Write down design and intentions in English for proportial scan

2014-06-19 Thread Minchan Kim
On Thu, Jun 19, 2014 at 08:53:57PM -0700, Andrew Morton wrote: > On Fri, 20 Jun 2014 12:00:02 +0900 Minchan Kim wrote: > > > By suggestion from Andrew, first of all, I try to add only comment > > but I believe we could make it more clear by some change like this. > > https://lkml.org/lkml/2014/6/

Re: [PATCH] initramfs: Support initrd that is bigger then 2G.

2014-06-19 Thread Yinghai Lu
On Thu, Jun 19, 2014 at 9:29 PM, H. Peter Anvin wrote: > On 06/19/2014 07:12 PM, Yinghai Lu wrote: >> >> Also need to use that in write_buffer path for cpio that have file is >> more than file. > > That sentence doesn't make sense. I mean this path: unpack_to_rootfs ===> write_buffer ===> act

Re: [PATCH 1/3] staging: lustre: ldlm: ldlm_resource.c removed unecessary braces

2014-06-19 Thread Anil Shashikumar Belur
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) > Doesn't apply :( Thanks - Its probably because I have included a patch already sent earlier, will redo this set. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-19 Thread Bjorn Andersson
On Thu, Jun 19, 2014 at 1:01 PM, Jassi Brar wrote: [...] > Mailbox isn't about how you program the h/w. Do whatever is needed to > send a message across. > But there are no messages to get across here, each individual resource is exposed directly in the address space of the Linux system. > BTW I

Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread Olaf Hering
On Thu, Jun 19, Haiyang Zhang wrote: > The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host > sleep or hibernation. We refresh network at this time. > + char *argv[] = { "/etc/init.d/network", "restart", NULL }; What happens if that file does not exist? Dead network in th

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 08:13:22PM -0400, Pranith Kumar wrote: > On 06/19/2014 07:49 PM, Paul E. McKenney wrote: > > On Thu, Jun 19, 2014 at 07:24:48PM -0400, Pranith Kumar wrote: > >> (dropping some CCs) > >> > >> On 06/19/2014 05:00 PM, Paul E. McKenney wrote: > >>> On Wed, Jun 18, 2014 at 12:49:

Re: [patch 1/2] clk: spear3xx: Use proper control register offset

2014-06-19 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:22 AM, Thomas Gleixner wrote: > The control register is at offset 0x10, not 0x0. This is wreckaged > since commit 5df33a62c (SPEAr: Switch to common clock framework). > > Signed-off-by: Thomas Gleixner > Cc: sta...@vger.kernel.org > --- > drivers/clk/spear/spear3xx_cloc

Re: [patch 1/2] dts: spear: Fix sdhci compatible

2014-06-19 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:26 AM, Thomas Gleixner wrote: > Make it match the bindings and the implementation. > > Signed-off-by: Thomas Gleixner > --- > arch/arm/boot/dts/spear320.dtsi |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux/arch/arm/boot/dts/spear320.dtsi > ==

Re: [RFC][PATCH 1/3] trace_seq: Move the trace_seq code to lib/

2014-06-19 Thread Linus Torvalds
On Thu, Jun 19, 2014 at 11:33 AM, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The trace_seq functions are rather useful outside of tracing. They are? Why and where? And why are they still called "trace_xyz()" then? That commit message is useless and contains no actual informati

Re: [patch 2/2] dts: spear: Add missing i2c1 interrupt

2014-06-19 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:26 AM, Thomas Gleixner wrote: > Signed-off-by: Thomas Gleixner > --- > arch/arm/boot/dts/spear320.dtsi |5 + > 1 file changed, 5 insertions(+) > > Index: linux/arch/arm/boot/dts/spear320.dtsi > ===

Re: kernel BUG at /src/linux-dev/mm/mempolicy.c:1738! on v3.16-rc1

2014-06-19 Thread Hugh Dickins
On Thu, 19 Jun 2014, Naoya Horiguchi wrote: > Hi, > > I triggered the following bug on v3.16-rc1 when I did mbind() testing > where multiple processes repeat calling mbind() for a shared mapped file > (causing pingpong of page migration.) The shared mapped file on shmem/tmpfs? So involving share

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

2014-06-19 Thread Stephen Rothwell
Hi Peter, On Thu, 19 Jun 2014 21:30:49 -0700 "H. Peter Anvin" wrote: > > On 06/19/2014 09:24 PM, Stephen Rothwell wrote: > > > > On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell > > wrote: > >> > >> After merging the tip tree, today's linux-next build (x86_64 > >> allmodconfig) produced t

Re: pull request: wireless 2014-06-18

2014-06-19 Thread David Miller
From: "John W. Linville" Date: Wed, 18 Jun 2014 14:54:14 -0400 > Please pull this batch of fixes intended for the 3.16 stream! Pulled, thanks a lot John. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordom

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

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 09:24 PM, Stephen Rothwell wrote: > Hi all, > > On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell > wrote: >> >> After merging the tip tree, today's linux-next build (x86_64 >> allmodconfig) produced this warning: >> >> In file included from >> arch/x86/crypto/camellia_aesni_

Re: [PATCH] initramfs: Support initrd that is bigger then 2G.

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 07:12 PM, Yinghai Lu wrote: > When initrd (compressed or not) is used, kernel report data corrupted > with /dev/ram0. > > The root cause: > During initramfs checking, if it is initrd, it will be transferred to > /initrd.image with sys_write. > sys_write only support 2G-4K write, so i

Re: [PATCH 1/1] drivers/net/irda/kingsun-sir.c: remove null test before kfree

2014-06-19 Thread David Miller
From: Fabian Frederick Date: Tue, 17 Jun 2014 21:22:50 +0200 > Fix checkpatch warning: > WARNING: kfree(NULL) is safe this check is probably not required > > Cc: Samuel Ortiz > Cc: net...@vger.kernel.org > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the lin

Re: [PATCH 1/1] drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c: remove null test before kfree

2014-06-19 Thread David Miller
From: Fabian Frederick Date: Tue, 17 Jun 2014 21:32:53 +0200 > Fix checkpatch warning: > WARNING: kfree(NULL) is safe this check is probably not required > > Cc: Ariel Elior > Cc: net...@vger.kernel.org > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line

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

2014-06-19 Thread Stephen Rothwell
Hi all, On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell wrote: > > After merging the tip tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from arch/x86/crypto/camellia_aesni_avx_glue.c:23:0: > arch/x86/include/asm/xsave.h:73:12: warning: 'xs

Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread David Miller
From: Haiyang Zhang Date: Thu, 19 Jun 2014 18:34:36 -0700 > The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host > sleep or hibernation. We refresh network at this time. > MS-TFS: 135162 > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan Applied, thanks. -- T

[PATCH] firmware: fix the compiller warning

2014-06-19 Thread Ding Tianhong
When I compile the kernel, found this warning: In file included from arch/arm64/kernel/efi-stub.c:44:0: arch/arm64/kernel/../../../drivers/firmware/efi/fdt.c: In function update_fdt: arch/arm64/kernel/../../../drivers/firmware/efi/fdt.c:66:22: warning: unused variable name [-Wunused-variable]

linux-next: build failure after merge of the staging tree

2014-06-19 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/board/board.c: In function 'find_by_address': drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-functi

Re: [PATCH] iovec: move memcpy_from/toiovecend to lib/iovec.c

2014-06-19 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 19 Jun 2014 21:22:56 +0300 > ERROR: "memcpy_fromiovecend" [drivers/vhost/vhost_scsi.ko] undefined! > > commit 9f977ef7b671f6169eca78bf40f230fe84b7c7e5 > vhost-scsi: Include prot_bytes into expected data transfer length > in target-pending makes drivers/v

staging driver patch queue is empty

2014-06-19 Thread Greg KH
Hi all, I've now caught up with all pending staging driver patches that I had, with the exception of 2 android binder patches that I want to get some review / acks from some android developers on before applying. If you have sent me a patch for the staging tree that has not been applied, consider

Re: linux-next: the selinux tree needs cleaning up

2014-06-19 Thread Stephen Rothwell
Hi Serge, On Fri, 20 Jun 2014 05:43:56 +0200 "Serge E. Hallyn" wrote: > > The duplicates were the result of several misunderstandings and general > naivity all on my part. I'm actually still not clear on what usually > happens with the selinux tree - it feeds into linux-next, then gets > 'pull'e

Re: [PATCH] mm: Write down design and intentions in English for proportial scan

2014-06-19 Thread Andrew Morton
On Fri, 20 Jun 2014 12:00:02 +0900 Minchan Kim wrote: > By suggestion from Andrew, first of all, I try to add only comment > but I believe we could make it more clear by some change like this. > https://lkml.org/lkml/2014/6/16/750 > > Anyway, push this patch firstly. Thanks. >

Re: [PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nick Krause
Our you Guys just removing me from your emails I have checked this patch and it seems right. If you don't want to accept it , the less you can do is give me a reply. Nick On Thu, Jun 19, 2014 at 10:12 PM, Nick Krause wrote: > If anyone able to check this patch it would be great. > Thanks Nick > >

Re: [PATCH v2 10/10] mfd: cros_ec: move EC interrupt to cros_ec_keyb

2014-06-19 Thread Simon Glass
On 18 June 2014 12:14, Doug Anderson wrote: > From: Andrew Bresticker > > If we receive EC interrupts after the cros_ec driver has probed, but > before the cros_ec_keyb driver has probed, the cros_ec IRQ handler > will not run the cros_ec_keyb notifier and the EC will leave the IRQ > line asserte

Re: linux-next: the selinux tree needs cleaning up

2014-06-19 Thread Serge E. Hallyn
Quoting Stephen Rothwell (s...@canb.auug.org.au): > Hi Paul, > > On Thu, 19 Jun 2014 15:47:01 -0400 Paul Moore wrote: > > > > I want to avoid use a -rcX release as the foundation of any of my trees; > > the - > > rc releases aren't as stable and it goes against what we're trying to do > > with

Re: [PATCH v2 08/10] mfd: cros_ec: Check result code from EC messages

2014-06-19 Thread Simon Glass
On 18 June 2014 12:14, Doug Anderson wrote: > From: Bill Richardson > > Just because the host was able to talk to the EC doesn't mean that the EC > was happy with what it was told. Errors in communincation are not the same > as error messages from the EC itself. > > This change lets the EC report

Re: [PATCH v2 05/10] mfd: cros_ec: Use struct cros_ec_command to communicate with the EC

2014-06-19 Thread Simon Glass
On 18 June 2014 12:14, Doug Anderson wrote: > From: Bill Richardson > > This is some internal structure reorganization / renaming to prepare > for future patches that will add a userspace API to cros_ec. There > should be no visible changes. > > Signed-off-by: Bill Richardson > Signed-off-by: D

Re: [PATCHv2] of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch

2014-06-19 Thread Nicolas Pitre
On Thu, 19 Jun 2014, Laura Abbott wrote: > The common early_init_dt_add_memory_arch takes the base and size > of a memory region as u64 types. The function never checks if > the base and size can actually fit in a phys_addr_t which may > be smaller than 64-bits. This may result in incorrect memory

Re: [PATCH v6 03/10] x86, mpx: add macro cpu_has_mpx

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 11:50 AM, Dave Hansen wrote: > On 06/19/2014 11:02 AM, H. Peter Anvin wrote: >> On 06/18/2014 09:25 AM, Dave Hansen wrote: >>> How about something like the attached patch? >>> >>> This lets us use static_cpu_has() for the checks, and allows us to >>> easily add new checks for other fe

[PATCH] NFC: Read frag at a time when sending packets

2014-06-19 Thread Sasha Levin
Right now userspace can pass a large chunk of data and the kernel will attempt to allocate all of it to copy it in from userspace. The problem is that there is no upper limit on the size userspace can pass. Right now userspace can even force a machine to run out of memory by forcing the kernel to

Re: [PATCH] vfio: Fix endianness handling for emulated BARs

2014-06-19 Thread Alex Williamson
On Thu, 2014-06-19 at 13:48 +1000, Alexey Kardashevskiy wrote: > On 06/19/2014 11:50 AM, Alexey Kardashevskiy wrote: > > On 06/19/2014 10:50 AM, Alexey Kardashevskiy wrote: > >> On 06/19/2014 04:35 AM, Alex Williamson wrote: > >>> On Wed, 2014-06-18 at 21:36 +1000, Alexey Kardashevskiy wrote: > >>>

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Naveen Krishna Ch
Hello Tomasz, On 20 June 2014 06:00, Tomasz Figa wrote: > On 20.06.2014 02:28, Chanwoo Choi wrote: >> On 06/20/2014 09:24 AM, Tomasz Figa wrote: >>> On 20.06.2014 02:22, Chanwoo Choi wrote: Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 18.06

RE: [PATCH v6 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-06-19 Thread Ren, Qiaowei
On 2014-06-20, H. Peter Anvin wrote: > On 06/19/2014 10:04 AM, Dave Hansen wrote: >> >> Could you please support this position with some data? I'm a bit >> skeptical that instruction decoding is going to be a >> performance-critical path. >> >> I also don't see the extra field that you talked ab

Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-19 Thread Tang Chen
Hi Marcelo, Thanks for your reply. Please see below. On 06/20/2014 03:00 AM, Marcelo Tosatti wrote: .. Remove pinning is preferable. In fact looks like for identity pagetable it should be trivial, just don't pin. APIC access page is a little bit more complicated since its physical address n

Re: [PATCH -tip v2 0/3] ftrace, kprobes: Introduce IPMODIFY flag for ftrace_ops to detect conflicts

2014-06-19 Thread Masami Hiramatsu
(2014/06/19 23:18), Josh Poimboeuf wrote: > On Thu, Jun 19, 2014 at 02:03:31PM +0900, Masami Hiramatsu wrote: >> (2014/06/19 11:08), Josh Poimboeuf wrote: >>> On Tue, Jun 17, 2014 at 11:04:36AM +, Masami Hiramatsu wrote: Hi, Here is the version 2 of the series of patches which in

[PATCHv2] of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch

2014-06-19 Thread Laura Abbott
The common early_init_dt_add_memory_arch takes the base and size of a memory region as u64 types. The function never checks if the base and size can actually fit in a phys_addr_t which may be smaller than 64-bits. This may result in incorrect memory being passed to memblock_add if the memory falls

Re: [PATCH 1/9] perf bench: Add --repeat option

2014-06-19 Thread Davidlohr Bueso
On Thu, 2014-06-19 at 23:51 +, Namhyung Kim wrote: > Hi Davidlohr, > > On Thu, Jun 19, 2014 at 11:45 AM, Davidlohr Bueso wrote: > > Hi Namhyung, > > > > On Thu, 2014-06-19 at 15:14 +0900, Namhyung Kim wrote: > >> By adding a top-level option, I think it should be applied to all > >> benchmaks

[PATCH] mm: Write down design and intentions in English for proportial scan

2014-06-19 Thread Minchan Kim
On Thu, Jun 19, 2014 at 01:13:22PM -0700, Andrew Morton wrote: > On Thu, 19 Jun 2014 10:02:39 +0900 Minchan Kim wrote: > > > > > @@ -2057,8 +2057,7 @@ out: > > > > static void shrink_lruvec(struct lruvec *lruvec, struct scan_control > > > > *sc) > > > > { > > > > unsigned long nr[NR_LRU

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-19 Thread 'Greg Kroah-Hartman'
On Fri, Jun 20, 2014 at 11:36:03AM +0900, Jingoo Han wrote: > On Friday, June 20, 2014 3:49 AM, Wolfram Sang wrote: > > > > Pretty much a year ago, Tushar cleaned up a lot of deprecated uses of > > devm_request_and_ioremap, yet some remains are still left. Remove the last > > two > > users, and l

Re: [PATCH -tip v2 2/3] ftrace, kprobes: Support IPMODIFY flag to find IP modify conflict

2014-06-19 Thread Steven Rostedt
On Tue, 17 Jun 2014 11:04:49 + Masami Hiramatsu wrote: > Introduce FTRACE_OPS_FL_IPMODIFY to avoid conflict among > ftrace users who may modify regs->ip to change the execution > path. This also adds the flag to kprobe_ftrace_ops, since > ftrace-based kprobes already modifies regs->ip. Thus,

[PATCH] staging: ion: fixup invalid kfree() calls on heap destroy

2014-06-19 Thread Heesub Shin
I've noticed that the last commit to ion_system_heap.c ('staging: ion: optimize struct ion_system_heap') has an omission, so an invalid kfree() gets called on ion_system_heap_destroy(). As ION system heap is never destroyed until system shutdown, it may not cause any harm, but should be fixed. I sh

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-19 Thread Jingoo Han
On Friday, June 20, 2014 3:49 AM, Wolfram Sang wrote: > > Pretty much a year ago, Tushar cleaned up a lot of deprecated uses of > devm_request_and_ioremap, yet some remains are still left. Remove the last two > users, and let the function rest in peace. I'd suggest that this series is > picked up

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-19 Thread xiaofeng.yan
On 2014/6/19 17:13, Luca Abeni wrote: On 06/18/2014 09:01 AM, xiaofeng.yan wrote: [...] I also had an implementation of the GRUB algorithm (based on a modification of my old CBS scheduler for Linux), but the computational complexity of the algorithm was too high. That's why I never proposed to

[PATCH v4] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-19 Thread Masami Hiramatsu
On ia64 and ppc64, the function pointer does not point the entry address of the function, but the address of function discriptor (which contains the entry address and misc data.) Since the kprobes passes the function pointer stored by NOKPROBE_SYMBOL() to kallsyms_lookup_size_offset() for initalizi

[PATCH] x86: numa: setup_node_data(): drop dead code and rename function

2014-06-19 Thread Luiz Capitulino
The setup_node_data() function allocates a pg_data_t object, inserts it into the node_data[] array and initializes the following fields: node_id, node_start_pfn and node_spanned_pages. However, a few function calls later during the kernel boot, free_area_init_node() re-initializes those fields, po

Re: [PATCH -tip v2 3/3] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2014-06-19 Thread Masami Hiramatsu
(2014/06/19 21:34), Namhyung Kim wrote: > Hi Masami, > > 2014-06-17 (화), 11:04 +, Masami Hiramatsu: >> +static int __ftrace_add_filter_ip(struct ftrace_ops *ops, unsigned long ip, >> + int *ref) >> +{ >> +int ret; >> + >> +/* Try to set given ip to filter *

Re: Re: [PATCH -tip v2 1/3] ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move

2014-06-19 Thread Masami Hiramatsu
(2014/06/20 11:08), Steven Rostedt wrote: > On Tue, 17 Jun 2014 11:04:42 + > Masami Hiramatsu wrote: > >> Simplify ftrace_hash_disable/enable path in ftrace_hash_move >> for hardening the process if the memory allocation failed. >> > > Regardless of what we do with IPMODIFY, I pulled this in

Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-19 Thread Masami Hiramatsu
(2014/06/20 9:37), Michael Ellerman wrote: > On Thu, 2014-06-19 at 20:20 +0900, Masami Hiramatsu wrote: >> (2014/06/19 20:01), Masami Hiramatsu wrote: >> >>> Ah, those messages should be shown in dmesg when booting if it doesn't >>> work, >>> because the messages are printed by initial

[PATCH] initramfs: Support initrd that is bigger then 2G.

2014-06-19 Thread Yinghai Lu
When initrd (compressed or not) is used, kernel report data corrupted with /dev/ram0. The root cause: During initramfs checking, if it is initrd, it will be transferred to /initrd.image with sys_write. sys_write only support 2G-4K write, so if the initrd ram is more than that, /initrd.image will n

Re: [PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nick Krause
If anyone able to check this patch it would be great. Thanks Nick On Thu, Jun 19, 2014 at 5:18 PM, Nicholas Krause wrote: > Checks for Null return from dev_skb_alloc if it returns Null, > fw_download returns false. Otherwise it returns true.Also > removed rt_status due to returning true of false

Re: [PATCH -tip v2 1/3] ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move

2014-06-19 Thread Steven Rostedt
On Tue, 17 Jun 2014 11:04:42 + Masami Hiramatsu wrote: > Simplify ftrace_hash_disable/enable path in ftrace_hash_move > for hardening the process if the memory allocation failed. > Regardless of what we do with IPMODIFY, I pulled this into my 3.17 queue. You don't need to resend it with any

Re: [PATCH] extcon: Remove unnecessary OOM messages

2014-06-19 Thread Chanwoo Choi
On 06/18/2014 02:30 PM, Jingoo Han wrote: > The site-specific OOM messages are unnecessary, because they > duplicate the MM subsystem generic OOM message. The following > checkpatch warning is also removed. > > WARNING: Possible unnecessary 'out of memory' message > > Signed-off-by: Jingoo Han

Re: [PATCH] extcon: palmas: Make of_device_id array const

2014-06-19 Thread Chanwoo Choi
Hi Jingoo, On 06/18/2014 02:27 PM, Jingoo Han wrote: > Make of_device_id array const, because all OF functions handle > it as const. > > Signed-off-by: Jingoo Han > --- > drivers/extcon/extcon-palmas.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/extcon/e

Re: [PATCH 1/3] perf timechart: implement IO mode

2014-06-19 Thread Namhyung Kim
Hi Stanislav, On Thu, 19 Jun 2014 16:23:01 +0400, Stanislav Fomichev wrote: > In IO mode timechart shows any disk/network activity. > + for (i = 0; i < disk_events_nr; i++) { > + if (!is_valid_tracepoint(disk_events[i])) { > + rec_argc--; It (and others below)

Re: Re: Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-19 Thread Michael Ellerman
On Thu, 2014-06-19 at 20:20 +0900, Masami Hiramatsu wrote: > (2014/06/19 20:01), Masami Hiramatsu wrote: > > > Ah, those messages should be shown in dmesg when booting if it doesn't > > work, > > because the messages are printed by initialization process of kprobe > > blacklist.

[PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread Haiyang Zhang
The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host sleep or hibernation. We refresh network at this time. MS-TFS: 135162 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |3 ++- drivers/net/hyperv/netvsc_drv.c | 30 +

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:28, Chanwoo Choi wrote: > On 06/20/2014 09:24 AM, Tomasz Figa wrote: >> On 20.06.2014 02:22, Chanwoo Choi wrote: >>> Hi Tomasz, >>> >>> On 06/18/2014 04:58 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: > This patch control special cl

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Chanwoo Choi
On 06/20/2014 09:24 AM, Tomasz Figa wrote: > On 20.06.2014 02:22, Chanwoo Choi wrote: >> Hi Tomasz, >> >> On 06/18/2014 04:58 PM, Tomasz Figa wrote: >>> Hi Chanwoo, >>> >>> On 18.06.2014 04:20, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If

Re: [PATCH v2 2/2] staging: alarm-dev: Support to Compile as Module

2014-06-19 Thread Greg Kroah-Hartman
On Fri, Jun 13, 2014 at 11:49:43AM +0530, pramod.gurav@gmail.com wrote: > From: Pramod Gurav > > Currently this alarm-dev can be compiles only as built in > driver. This adds support to compile it as module as well which is in > planned activity (See drivers/staging/android/TODO) > > > CC:

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:20, Chanwoo Choi wrote: > Hi Tomasz, > > On 06/18/2014 04:55 PM, Tomasz Figa wrote: >> Hi Chanwoo, >> >> On 18.06.2014 04:20, Chanwoo Choi wrote: >>> This patchset add 'exynos_adc_ops' structure which includes some functions >>> to control ADC operation according to ADC version (v

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:22, Chanwoo Choi wrote: > Hi Tomasz, > > On 06/18/2014 04:58 PM, Tomasz Figa wrote: >> Hi Chanwoo, >> >> On 18.06.2014 04:20, Chanwoo Choi wrote: >>> This patch control special clock for ADC in Exynos series's FSYS block. >>> If special clock of ADC is registerd on clock list of c

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Chanwoo Choi
Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 18.06.2014 04:20, Chanwoo Choi wrote: >> This patch control special clock for ADC in Exynos series's FSYS block. >> If special clock of ADC is registerd on clock list of common clk framework, >> Exynos ADC drvier have to c

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-19 Thread Chanwoo Choi
Hi Tomasz, On 06/18/2014 04:55 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 18.06.2014 04:20, Chanwoo Choi wrote: >> This patchset add 'exynos_adc_ops' structure which includes some functions >> to control ADC operation according to ADC version (v1 or v2). >> >> Signed-off-by: Chanwoo Choi >> Ack

Re: [PATCH 1/3] staging: lustre: ldlm: ldlm_resource.c removed unecessary braces

2014-06-19 Thread Greg KH
On Fri, Jun 20, 2014 at 02:01:46AM +1000, Anil Belur wrote: > From: Anil Belur > > - this fixed the "WARNING: braces {} are not necessary for > single statement blocks" > > Signed-off-by: Anil Belur > --- > drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 6 ++ > 1 file changed, 2 in

Re: [PATCH linux-next] staging: r8192ee: Adapt flush function prototype

2014-06-19 Thread Greg Kroah-Hartman
On Sat, Jun 07, 2014 at 07:39:19PM +0200, Vincent Stehlé wrote: > Commit 77be2c54c5bd 'mac80211: add vif to flush call' modifies the flush > operation prototype. Update r8192ee function accordingly. > > This fixes the following compilation warnings: > > drivers/staging/rtl8192ee/core.c: At top

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Pranith Kumar
On 06/19/2014 07:49 PM, Paul E. McKenney wrote: > On Thu, Jun 19, 2014 at 07:24:48PM -0400, Pranith Kumar wrote: >> (dropping some CCs) >> >> On 06/19/2014 05:00 PM, Paul E. McKenney wrote: >>> On Wed, Jun 18, 2014 at 12:49:42PM -0700, Joe Perches wrote: I believe the function doesn't wor

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Pranith Kumar
On 06/19/2014 07:33 PM, Joe Perches wrote: >> >> Here is a first run of the change. Please let me know if I am totally off. >> RFC. :) >> >> Three things on Todo list: >> >> * We need to check that we are using less than the allocated size of the >> buffer (used > size). (we are allocating a big

Re: [PATCH] staging: rtl8172u: Make ieee80211_crypto_init static

2014-06-19 Thread Greg Kroah-Hartman
On Thu, Jun 12, 2014 at 07:40:49PM +0200, L. Alberto Giménez wrote: > Fix sparse warning. > > Signed-off-by: L. Alberto Giménez > --- > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8192u/ieee8021

Re: [PATCH] IBM Akebono: Remove obsolete config select

2014-06-19 Thread Alistair Popple
Hi Ben, It looks like we may have missed this trivial fix? Can you please apply it to your tree? Regards, Alistair On Fri, 13 Jun 2014 13:56:32 Paul Bolle wrote: > On Fri, 2014-05-02 at 18:06 +1000, Alistair Popple wrote: > > The original implementation of MMC support for Akebono introduced a

  1   2   3   4   5   6   7   8   >