Re: [PATCH] perf: fix building error

2015-02-27 Thread Namhyung Kim
Hi He, On Fri, Feb 27, 2015 at 06:05:37PM +0800, He Kuang wrote: When build with ARCH=x86_64/i386, perf failed to compile with following error: tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' collect2: error: ld returned 1 exit status

Re: [PATCH 0/8] introduce dynamic device creation/removal

2015-02-27 Thread Andrew Morton
On Sat, 28 Feb 2015 12:34:15 +0900 Sergey Senozhatsky sergey.senozhatsky.w...@gmail.com wrote: On (02/27/15 14:51), Andrew Morton wrote: hoo boy. Creating a /dev node and doing ioctls on it is really old school. So old school that I've forgotten why we don't do it any more. Hopefully

[PATCH 1/1] Staging: fbtft: fb_ssd1331: replaced C99 comments with C89

2015-02-27 Thread Tolga Ceylan
Replaced C99 '//' comments with C89 '/**/' Signed-off-by: Tolga Ceylan tolga.cey...@gmail.com --- drivers/staging/fbtft/fb_ssd1331.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1331.c

Re: [STLinux Kernel] [PATCH 3/4] clk: Provide always-on clock support

2015-02-27 Thread Maxime Coquelin
Hi Lee, On 02/27/2015 10:14 PM, Lee Jones wrote: Lots of platforms contain clocks which if turned off would prove fatal. The only way to recover from these catastrophic failures is to restart the board(s). Now, when a clock is registered with the framework it is compared against a list of

Re: [PATCH 0/8] introduce dynamic device creation/removal

2015-02-27 Thread Sergey Senozhatsky
On (02/27/15 14:51), Andrew Morton wrote: hoo boy. Creating a /dev node and doing ioctls on it is really old school. So old school that I've forgotten why we don't do it any more. Hopefully Alan can recall the thinking? oh. I thought this is how loop control works, and ioctl there doesn't

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-02-27 Thread Zefan Li
Subject: cpusets,isolcpus: add file to show isolated cpus in cpuset The previous patch makes it so the code skips over isolcpus when building scheduler load balancing domains. This makes it hard to see for a user which of the CPUs in a cpuset are participating in load balancing, and which

Re: [PATCH 3/2] cpusets,isolcpus: document relationship between cpusets isolcpus

2015-02-27 Thread Zefan Li
On 2015/2/28 1:08, Rik van Riel wrote: Document the subtly changed relationship between cpusets and isolcpus. Turns out the old documentation did not quite match the code... Signed-off-by: Rik van Riel r...@redhat.com Suggested-by: Peter Zijlstra pet...@infradead.org Acked-by: Zefan Li

Re: [PATCH 1/3] ocfs2: remove unneeded variable 'status'

2015-02-27 Thread Richard Weinberger
Am 27.02.2015 um 11:29 schrieb DaeSeok Youn: Hi, 2015-02-27 18:41 GMT+09:00 Richard Weinberger richard.weinber...@gmail.com: On Fri, Feb 27, 2015 at 10:27 AM, DaeSeok Youn daeseok.y...@gmail.com wrote: Hi, I think this patch was already queued. Can I send this patch again after update

[PATCH] perf tools: Fix pthread_attr_setaffinity_np() feature detection on Ubuntu systems

2015-02-27 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 0afb1704010f60e7ae85aef0f93fc10f2d99761e: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

[PATCH v5] drm/panel: Add support for AUO b101ean01 panel

2015-02-27 Thread huang lin
The AUO b101ean01 panel is a 10.1 1280x800 panel, which can be supported by the simple panel driver. Signed-off-by: huang lin h...@rock-chips.com --- Changes in v5: - increase the vsync time .../devicetree/bindings/panel/auo,b101ean01.txt| 7 ++ drivers/gpu/drm/panel/panel-simple.c

Re: [LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-27 Thread Huang Ying
On Sat, 2015-02-28 at 01:46 +, Mel Gorman wrote: On Fri, Feb 27, 2015 at 03:21:36PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3484b2de9499df23c4604a513b36f96326ae81ad (mm: rearrange

[PATCH perf/core ] perf-probe: Warn if given uprobe event accesses memory on older kernel

2015-02-27 Thread Masami Hiramatsu
Warn if given uprobe event accesses memory on older kernel. Until 3.14, uprobe event only supports accessing registers so this warns to upgrade kernel if uprobe-event returns -EINVAL and an argument of the event accesses memory ($stack, @+offset, and +|-offs() symtax). With this patch (on

Re: [LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-27 Thread Huang Ying
On Fri, 2015-02-27 at 11:53 +, Mel Gorman wrote: On Fri, Feb 27, 2015 at 03:21:36PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3484b2de9499df23c4604a513b36f96326ae81ad (mm: rearrange

Re: [LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-27 Thread Huang Ying
On Sat, 2015-02-28 at 10:30 +0800, Huang Ying wrote: On Sat, 2015-02-28 at 01:46 +, Mel Gorman wrote: On Fri, Feb 27, 2015 at 03:21:36PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit

Re: [PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets

2015-02-27 Thread Zefan Li
On 2015/2/26 0:38, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com Ensure that cpus specified with the isolcpus= boot commandline option stay outside of the load balancing in the kernel scheduler. Operations like load balancing can introduce unwanted latencies, which is exactly

Re: [patch v2 1/3] mm: remove GFP_THISNODE

2015-02-27 Thread David Rientjes
On Fri, 27 Feb 2015, Christoph Lameter wrote: +/* + * Construct gfp mask to allocate from a specific node but do not invoke reclaim + * or warn about failures. + */ We should be triggering reclaim from slab allocations. Why would we not do this? Otherwise we will be going

Re: [PATCH perf/core ] perf-probe: Warn if given uprobe event accesses memory on older kernel

2015-02-27 Thread Masami Hiramatsu
(2015/02/28 11:53), Masami Hiramatsu wrote: Warn if given uprobe event accesses memory on older kernel. Until 3.14, uprobe event only supports accessing registers so this warns to upgrade kernel if uprobe-event returns -EINVAL and an argument of the event accesses memory ($stack, @+offset,

[PATCH 1/1] Staging: rtl8192u: r8192U_wx: removed unnecessary comments

2015-02-27 Thread Tolga Ceylan
1) Removed commented out include header statement 2) Removed unnecessary author/date comment Signed-off-by: Tolga Ceylan tolga.cey...@gmail.com --- drivers/staging/rtl8192u/r8192U_wx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.h

RE: [RFC] mm: change mm_advise_free to clear page dirty

2015-02-27 Thread Wang, Yalin
-Original Message- From: Michal Hocko [mailto:msts...@gmail.com] On Behalf Of Michal Hocko Sent: Saturday, February 28, 2015 5:03 AM To: Wang, Yalin Cc: 'Minchan Kim'; Andrew Morton; linux-kernel@vger.kernel.org; linux- m...@kvack.org; Rik van Riel; Johannes Weiner; Mel Gorman;

[PATCH v3] net: bcmgenet: fix throughtput regression

2015-02-27 Thread Jaedon Shin
This patch adds bcmgenet_tx_poll for the tx_rings. This can reduce the interrupt load and send xmit in network stack on time. This also separated for the completion of tx_ring16 from bcmgenet_poll. The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] operative by an interrupt is to be not more than a

Re: [PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-27 Thread Ben Hutchings
On Fri, 2015-02-27 at 17:16 +0100, Geert Uytterhoeven wrote: Commit 740c7f31c094703c (sh_eth: Ensure DMA engines are stopped before freeing buffers) added a call to sh_eth_reset() to the sh_eth_set_ringparam() and sh_eth_close() paths. However, setting the software reset bit(s) in the EDMR

Re: [PATCH] Remove redhat'ism from ftrace selftests.

2015-02-27 Thread Namhyung Kim
Hi, On Tue, Feb 24, 2015 at 01:24:59PM -0500, Dave Jones wrote: On Tue, Feb 24, 2015 at 11:22:58AM -0700, Shuah Khan wrote: On 02/24/2015 11:18 AM, Steven Rostedt wrote: Shuah, Can you take this in your tree? Yes I can do that. This must be the original patch email:

Re: [PATCH 0/8] introduce dynamic device creation/removal

2015-02-27 Thread Sergey Senozhatsky
On (02/27/15 14:51), Andrew Morton wrote: hoo boy. Creating a /dev node and doing ioctls on it is really old school. So old school that I've forgotten why we don't do it any more. Hopefully Alan can recall the thinking? perhaps, something like static struct class_attribute

[PATCH 1/1] Staging: fbtft: fb_ssd1331: replaced C99 comments with C89

2015-02-27 Thread Tolga Ceylan
Replaced C99 '//' comments with C89 '/**/' Signed-off-by: Tolga Ceylan tolga.cey...@gmail.com --- drivers/staging/fbtft/fb_ssd1331.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1331.c

Re: [PATCH] spi: spidev_test: Added functionalities

2015-02-27 Thread Mark Brown
On Fri, Feb 27, 2015 at 03:11:17PM -0700, Jonathan Corbet wrote: (Meanwhile, I've applied this one). Sorry, I shoud've been clearer that my previous mail was intended as a nack for the patch as submitted - I'd expected SPI documentation/test code updates to be going via the SPI tree.

Re: [LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-27 Thread Huang Ying
On Sat, 2015-02-28 at 01:46 +, Mel Gorman wrote: On Fri, Feb 27, 2015 at 03:21:36PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3484b2de9499df23c4604a513b36f96326ae81ad (mm: rearrange

Re: [PATCH] seccomp: switch to using asm-generic for seccomp.h

2015-02-27 Thread Stephen Rothwell
Hi Kees, On Fri, 27 Feb 2015 16:52:29 -0800 Kees Cook keesc...@chromium.org wrote: diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h index 52b156b341f5..66ca6a30bf5c 100644 --- a/arch/arm/include/asm/seccomp.h +++ b/arch/arm/include/asm/seccomp.h @@ -1,11 +1 @@

Re: [LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-27 Thread Mel Gorman
On Fri, Feb 27, 2015 at 03:21:36PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3484b2de9499df23c4604a513b36f96326ae81ad (mm: rearrange zone fields into read-only, page alloc, statistics and page

Re: [PATCH v2] mm: cma: fix CMA aligned offset calculation

2015-02-27 Thread Gregory Fong
On Fri, Feb 27, 2015 at 5:18 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 27 Feb 2015 17:07:28 -0800 Danesh Petigara dpetig...@broadcom.com wrote: On 2/27/2015 3:54 PM, Andrew Morton wrote: On Fri, 27 Feb 2015 15:52:56 -0800 Danesh Petigara dpetig...@broadcom.com wrote:

Re: [RFC 2/3] hugetlbfs: coordinate global and subpool reserve accounting

2015-02-27 Thread Hillf Danton
@@ -3444,10 +3445,14 @@ int hugetlb_reserve_pages(struct inode *inode, * Check enough hugepages are available for the reservation. * Hand the pages back to the subpool if there are not */ Better if comment is updated correspondingly. Hillf - ret =

[RFC V2] mm: change mm_advise_free to clear page dirty

2015-02-27 Thread Wang, Yalin
This patch add ClearPageDirty() to clear AnonPage dirty flag, if not clear page dirty for this anon page, the page will never be treated as freeable. we also make sure the shared AnonPage is not freeable, we implement it by dirty all copyed AnonPage pte, so that make sure the Anonpage will not

[PATCH 4/4] crypto: caamhash: replace kmalloc with kzalloc

2015-02-27 Thread yanjiang.jin
From: Yanjiang Jin yanjiang@windriver.com This can make sure we get a clean memory, else system would report the below warning: caam_jr ffe301000.jr: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0xdeadbeefdeadbeef] [size=18446744073150512879 bytes]

[PATCH 2/4] crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem

2015-02-27 Thread yanjiang.jin
From: Yanjiang Jin yanjiang@windriver.com Fix rng_unmap_ctx's DMA_UNMAP size problem for caam_rng, else system would report the below calltrace during kexec boot: caam_jr ffe301000.jr: DMA-API: device driver frees DMA memory with different size [device address=0x7f080010] [map

Generic page fault (Was: libsigsegv ....)

2015-02-27 Thread Benjamin Herrenschmidt
On Sun, 2015-02-01 at 17:09 -0800, Linus Torvalds wrote: Of course, what I *really* want would be to make a new generic_mm_fault() helper that would do all the normal stuff: - find_vma() - check permissions and ranges - call 'handle_mm_fault()' - do the proper error, retry and

Re: [PATCH 1/1] Staging: fbtft: fb_ssd1331: replaced C99 comments with C89

2015-02-27 Thread Tolga Ceylan
On Fri, Feb 27, 2015 at 9:37 PM, Tolga Ceylan tolga.cey...@gmail.com wrote: Replaced C99 '//' comments with C89 '/**/' Signed-off-by: Tolga Ceylan tolga.cey...@gmail.com --- drivers/staging/fbtft/fb_ssd1331.c | 30 +++--- 1 file changed, 15 insertions(+), 15

[tip:x86/urgent] x86: Init per-cpu shadow copy of CR4 on 32-bit CPUs too

2015-02-27 Thread tip-bot for Steven Rostedt
Commit-ID: 5b2bdbc84556774afbe11bcfd24c2f6411cfa92b Gitweb: http://git.kernel.org/tip/5b2bdbc84556774afbe11bcfd24c2f6411cfa92b Author: Steven Rostedt rost...@goodmis.org AuthorDate: Fri, 27 Feb 2015 14:50:19 -0500 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 28 Feb 2015

[PATCH 1/1] Staging: fbtft: fbtft-core: removed space before ','

2015-02-27 Thread Tolga Ceylan
Removed space before ',' Signed-off-by: Tolga Ceylan tolga.cey...@gmail.com --- drivers/staging/fbtft/fbtft-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 37dcf7e..ac4287f 100644 ---

Re: Generic page fault (Was: libsigsegv ....)

2015-02-27 Thread Benjamin Herrenschmidt
On Sat, 2015-02-28 at 18:12 +1100, Benjamin Herrenschmidt wrote: Let me know what you think of the approach. It's boot tested on x86_64 in qemu and ... and powerpc64 LE on qemu as well :-) Cheers, Ben. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] seccomp: switch to using asm-generic for seccomp.h

2015-02-27 Thread Kees Cook
On Fri, Feb 27, 2015 at 5:36 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Kees, On Fri, 27 Feb 2015 16:52:29 -0800 Kees Cook keesc...@chromium.org wrote: diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h index 52b156b341f5..66ca6a30bf5c 100644 ---

Re: [PATCH 0/8] introduce dynamic device creation/removal

2015-02-27 Thread Sergey Senozhatsky
On (02/28/15 10:33), Sergey Senozhatsky wrote: hoo boy. Creating a /dev node and doing ioctls on it is really old school. So old school that I've forgotten why we don't do it any more. Hopefully Alan can recall the thinking? oh. I thought this is how loop control works, and ioctl

[PATCH 3/4] crypto: caamhash: add two missed dma_mapping_error

2015-02-27 Thread yanjiang.jin
From: Yanjiang Jin yanjiang@windriver.com Add two missed dma_mapping_error() after dma_map_single(). Signed-off-by: Yanjiang Jin yanjiang@windriver.com --- drivers/crypto/caam/caamhash.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/crypto/caam/caamhash.c

[PATCH 1/4] crypto: caam: fix some compile warnings

2015-02-27 Thread yanjiang.jin
From: Yanjiang Jin yanjiang@windriver.com This commit is to avoid the below warnings: drivers/crypto/caam/sg_sw_sec4.h:88:12: warning: 'dma_map_sg_chained' defined but not used [-Wunused-function] static int dma_map_sg_chained(struct device *dev, struct scatterlist *sg, ^

Re: [PATCH] usb: gadget: f_mass_storage: use defined constant instead of numeric value

2015-02-27 Thread Michal Nazarewicz
On Thu, Feb 26 2015, Tal Shorer tal.sho...@gmail.com wrote: Signed-off-by: Tal Shorer tal.sho...@gmail.com Acked-by: Michal Nazarewicz min...@mina86.com --- drivers/usb/gadget/function/f_mass_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v5 3/3] tools lib traceevent: Add support for __print_array()

2015-02-27 Thread Javi Merino
Hi Steve, On Wed, Jan 28, 2015 at 12:48:55PM +, Javi Merino wrote: Trace can now generate traces with variable element size arrays. Add support to parse them. Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Steven Rostedt rost...@goodmis.org Cc:

[PATCH v2] de_thread: Move notify_count write under lock

2015-02-27 Thread Kirill Tkhai
We set sig-notify_count = -1 between RELEASE and ACQUIRE operations: spin_unlock_irq(lock); ... if (!thread_group_leader(tsk)) { ... for (;;) { sig-notify_count = -1;

Re: [PATCH v9 21/21] ARM64 / ACPI: additions of ACPI documentation for arm64

2015-02-27 Thread Hanjun Guo
Hi Shannon, On 2015年02月27日 19:22, Shannon Zhao wrote: On 2015/2/25 16:40, Hanjun Guo wrote: +Not yet implemented are: + + -- Section 10: power source and power meter devices + + -- Section 11: thermal management + + -- Section 12: embedded controllers interface + + --

Re: [PATCH] Documentation: add print bitmap description

2015-02-27 Thread Tejun Heo
On Thu, Feb 26, 2015 at 03:28:25AM +, Wang Long wrote: as the commit: lib/vsprintf: implement bitmap printing through '%*pb[l]' add an easy way to print bitmaps. so printk-formats.txt should reflect it. Signed-off-by: Wang Long long.wangl...@huawei.com Acked-by: Tejun Heo

[PATCH] include/linux: remove empty conditionals

2015-02-27 Thread Rasmus Villemoes
Commit 607ca46e97a1 (UAPI: (Scripted) Disintegrate include/linux) left behind some empty conditional blocks. Since they are useless and may cause a reader to wonder whether something is missing, remove them. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/a.out.h | 67

Re: [PATCH] perf tools: Fix a building error introduced by recent new patch

2015-02-27 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 27, 2015 at 10:36:06AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Feb 27, 2015 at 07:53:46PM +0800, Yunlong Song escreveu: The recent new patch perf tools: Add new 'perf data' command (commit 2245bf14 in acme's git repo perf/core) has caused a building error when

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Austin S Hemmelgarn
On 2015-02-27 06:49, Tejun Heo wrote: Hello, On Mon, Feb 23, 2015 at 02:08:09PM +1100, Aleksa Sarai wrote: The current state of resource limitation for the number of open processes (as well as the number of open file descriptors) requires you to use setrlimit(2), which means that you are

Re: [PATCH net-next 1/2] net: davinci_mdio: don't request io address range

2015-02-27 Thread Tony Lindgren
* Murali Karicheri m-kariche...@ti.com [150224 13:32]: From: Grygorii Strashko grygorii.stras...@ti.com Historically Davinci MDIO driver was created with assumption that MDIO is standalone device, but for Keystone 2 it's a part of NETCP module and now NETCP driver requests IO range which

[PATCH v3] spi: qup: Add DMA capabilities

2015-02-27 Thread Stanimir Varbanov
From: Andy Gross agr...@codeaurora.org This patch adds DMA capabilities to the spi-qup driver. If DMA channels are present, the QUP will use DMA instead of block mode for transfers to/from SPI peripherals for transactions larger than the length of a block. Signed-off-by: Andy Gross

[PATCH 2/3] locking: ww_mutex: Allow to use rt_mutex instead of mutex for the baselock

2015-02-27 Thread Sebastian Andrzej Siewior
This patch makes it possible to replace the base mutex by a rt_mutex. In general one would not do this. In -RT we use rt_mutex instead of the mutex by default and this means we need the ww_mutex functionality based on rt_mutex. This patch includes a slightly modified version of what we have in the

Re: [PATCH 07/10] ARM: dts: n9/n950: Enable omap crypto support

2015-02-27 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150227 08:05]: On Friday 27 February 2015 16:43:20 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150226 05:54]: Harmattan system on Nokia N9 and N950 devices uses omap crypto support. Bootloader on those devices is known that it enables HW

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-27 Thread Dave Gerlach
Tony, On 02/26/2015 04:08 PM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [150226 12:05]: Tony, On 01/05/2015 04:51 PM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [150105 14:51]: Felipe, On 01/02/2015 02:16 PM, Felipe Balbi wrote: On Fri, Jan 02, 2015 at 02:00:16PM -0600,

Re: [PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread John Stultz
On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin a.ryabi...@samsung.com wrote: binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add flag preventing guard hole allocation) this

Re: [PATCH v2 1/1] Bluetooth: make hci_test_bit's addr const

2015-02-27 Thread Marcel Holtmann
Hi Jiri, gcc5 warns about passing a const array to hci_test_bit which takes a non-const pointer: net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’: net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’ discards ‘const’ qualifier from pointer target type

[PATCH] Introduce the simple waitqueue (swait) implementation

2015-02-27 Thread Sebastian Andrzej Siewior
From: Peter Zijlstra pet...@infradead.org The existing wait queue support has support for custom wake up call backs, wake flags, wake key (passed to call back) and exclusive flags that allow wakers to be tagged as exclusive, for limiting the number of wakers. In a lot of cases, none of these

Re: [PATCH v2] net: bcmgenet: fix throughtput regression

2015-02-27 Thread Florian Fainelli
On 27/02/15 06:27, Jaedon Shin wrote: This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce the interrupt load and send xmit in upper network stack on time. The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18 descriptors is to late reclaiming transmitted

Re: [PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread Andrey Ryabinin
On 02/27/2015 08:26 PM, John Stultz wrote: On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin a.ryabi...@samsung.com wrote: binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add

Re: [PATCH] net: Use setup_timer and mod_timer

2015-02-27 Thread David Miller
I'm not applying these patches. Your Subject lines need adjusting. You have to say what specific thing you are touching in each change. All of your changes say net: therefore someone scanning the git shortlog can't tell what might be difference in one of these changes vs. another. -- To

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

2015-02-27 Thread Stephen Boyd
On 02/26/15 19:08, Stephen Rothwell wrote: Hi Mike, After merging the clk tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/trace/define_trace.h:90:0, from include/trace/events/clk.h:198, from

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-27 Thread Kees Cook
On Thu, Feb 26, 2015 at 9:16 PM, Wang Nan wangn...@huawei.com wrote: On 2015/2/27 2:31, Andy Lutomirski wrote: On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook keesc...@chromium.org wrote: On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Feb 25, 2015 at 11:06 PM,

[PATCH 2/3] perf, x86: Dump DEBUGCTL in pmu dump

2015-02-27 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com LBRs and LBR freezing are controlled through DEBUGCTL. So dump the state of DEBUGCTL too when dumping the PMU state. Signed-off-by: Andi Kleen a...@linux.intel.com --- arch/x86/kernel/cpu/perf_event.c | 6 +- 1 file changed, 5 insertions(+), 1

[PATCH 3/3] perf, x86: Only dump PEBS register when PEBS has been detected

2015-02-27 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Technically PEBS_ENABLED is only guaranteed to exist when we detected PEBS. So add a check for this to the PMU dump function. I don't think it can happen on a real CPU, but could in a VM. Signed-off-by: Andi Kleen a...@linux.intel.com ---

[PATCH 1/3] perf, x86: Reset more state in PMU reset

2015-02-27 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com The PMU reset code didn't quite keep up with newer PMU features. Improve it a bit to really reset a modern PMU: - Clear all overflow status - Clear LBRs and freezing state - Disable fixed counters too Signed-off-by: Andi Kleen a...@linux.intel.com ---

[PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread Andrey Ryabinin
binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add flag preventing guard hole allocation) this was because map_vm_area() didn't use any other fields in vm_struct except addr and

Re: [PATCH] perf report: Fix branch stack mode cannot be set

2015-02-27 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 27, 2015 at 05:58:44PM +0800, He Kuang escreveu: ping.. Thanks, applied to perf/core. - Arnaldo 在 2015/2/15 10:33, He Kuang 写道: When perf.data file be abtained by using 'perf record -b', perf report should use branch stack mode to generate output. But this function is broken by

[PATCH] Staging: rtl8188eu: fix coding style errors

2015-02-27 Thread Matteo Semenzato
From: Matteo Semenzato mattew8...@gmail.com This patch fixes the following errors: ERROR: space prohibited before that ',' (ctx:WxW) ERROR: space prohibited before that ',' (ctx:WxW) ERROR: switch and case should be at the same indent Signed-off-by: Matteo Semenzato mattew8...@gmail.com ---

Re: [PATCH] Staging: rtl8188eu: fix coding style errors

2015-02-27 Thread Greg KH
On Fri, Feb 27, 2015 at 05:44:09PM +0100, Matteo Semenzato wrote: From: Matteo Semenzato mattew8...@gmail.com This patch fixes the following errors: ERROR: space prohibited before that ',' (ctx:WxW) ERROR: space prohibited before that ',' (ctx:WxW) ERROR: switch and case should be at the

Re: [PATCH] Staging: rtl8188eu: fix style errors

2015-02-27 Thread Greg KH
On Fri, Feb 27, 2015 at 05:49:15PM +0100, Matteo Semenzato wrote: From: Matteo Semenzato mattew8...@gmail.com This patch fixes the following errors: ERROR: code indent should use tabs where possible ERROR: space prohibited before that Again, multiple things means multiple patches. -- To

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Tim Hockin
On Fri, Feb 27, 2015 at 8:42 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: On 2015-02-27 06:49, Tejun Heo wrote: Hello, On Mon, Feb 23, 2015 at 02:08:09PM +1100, Aleksa Sarai wrote: The current state of resource limitation for the number of open processes (as well as the number of

[PATCH] qlcnic: Fix trivial typo in comment

2015-02-27 Thread Yannick Guerrini
Change 'Firmare' to 'Firmware' Signed-off-by: Yannick Guerrini yguerr...@tomshardware.fr --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-27 Thread Tony Lindgren
* Dave Gerlach d-gerl...@ti.com [150227 09:04]: Tony, On 02/26/2015 04:08 PM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [150226 12:05]: Tony, On 01/05/2015 04:51 PM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [150105 14:51]: Felipe, On 01/02/2015 02:16 PM, Felipe

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Tejun Heo
On Fri, Feb 27, 2015 at 09:12:45AM -0800, Tim Hockin wrote: I was told that the plan was to use kmemcg - but I was told that YEARS AGO. In the mean time we all either do our own thing or we do nothing and suffer. Wasn't it like a year ago? Yeah, it's taking longer than everybody hoped but

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-27 Thread Stathis Voukelatos
Hi Richard, On 25/02/15 17:30, Richard Cochran wrote: I need some more time to study your other suggestions regarding the PHY timestamping framework. From my (limited) understanding of your HW device, I should think that it will work. The PHY time stamping subsystem is not the most obvious

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Tim Hockin
On Fri, Feb 27, 2015 at 9:06 AM, Tejun Heo t...@kernel.org wrote: Hello, On Fri, Feb 27, 2015 at 11:42:10AM -0500, Austin S Hemmelgarn wrote: Kernel memory consumption isn't the only valid reason to want to limit the number of processes in a cgroup. Limiting the number of processes is very

Re: [PATCH v2 1/1] Bluetooth: make hci_test_bit's addr const

2015-02-27 Thread Marcel Holtmann
Hi Jiri, gcc5 warns about passing a const array to hci_test_bit which takes a non-const pointer: net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’: net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’ discards ‘const’ qualifier from pointer target type

Re: [PATCH v6 4/5] Input: add haptic drvier on max77843

2015-02-27 Thread Dmitry Torokhov
On Thu, Feb 26, 2015 at 11:49:36AM +0900, Jaewon Kim wrote: Hi Dmitry, On 26/02/2015 10:23, Dmitry Torokhov wrote: Hi Jaewon, On Tue, Feb 24, 2015 at 10:29:07AM +0900, Jaewon Kim wrote: +static void max77843_haptic_play_work(struct work_struct *work) +{ + struct max77843_haptic

[PATCH] Staging: rtl8188eu: fix style errors

2015-02-27 Thread Matteo Semenzato
From: Matteo Semenzato mattew8...@gmail.com This patch fixes the following errors: ERROR: code indent should use tabs where possible ERROR: space prohibited before that Signed-off-by: Matteo Semenzato mattew8...@gmail.com --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 4 ++--

[PATCH 3/3] locking: rtmutex: set state back to running on error

2015-02-27 Thread Sebastian Andrzej Siewior
The usual path is: - rt_mutex_slowlock() - set_current_state() - task_blocks_on_rt_mutex() (ret 0) - __rt_mutex_slowlock() - sleep or not but do return with __set_current_state(TASK_RUNNING) - back to caller. In the early error case where task_blocks_on_rt_mutex() return -EDEADLK we never

[PATCH 1/3] locking: ww_mutex: add one level of indirection for access of the lock

2015-02-27 Thread Sebastian Andrzej Siewior
This level of indirection is one step towards replacing the mutex with a different kind of locking mechanism. The new functions of the form __.*_lock provide access to whatever is hidden behind the base member in ww-mutex's struct Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de ---

Re: [RFC 2/3] x86: Switch all C consumers of kernel_stack to this_cpu_sp0

2015-02-27 Thread Denys Vlasenko
On 02/27/2015 01:07 AM, Andy Lutomirski wrote: This will make modifying the semantics of kernel_stack easier. Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Boris Ostrovsky boris.ostrov...@oracle.com Cc: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Andy Lutomirski

[PATCH] regulator: act8865: Add act8600 support

2015-02-27 Thread Zubair Lutfullah Kakakhel
This patch adds act8600 support to the act8865 driver. VBUS and USB charger supported by this chip can be added later Tested on MIPS Creator CI20 Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- I've tried to be least intrusive. But can't use the macro because of

Re: [PATCH v2] net: bcmgenet: fix throughtput regression

2015-02-27 Thread Eric Dumazet
On Fri, 2015-02-27 at 23:27 +0900, Jaedon Shin wrote: This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce the interrupt load and send xmit in upper network stack on time. The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18 descriptors is to late reclaiming

Re: [PATCH] mm: replace mmap_sem for mm-exe_file serialization

2015-02-27 Thread Oleg Nesterov
On 02/26, Cyrill Gorcunov wrote: On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: We currently use the mmap_sem to serialize the mm exe_file. This is atrocious and a clear example of the misuses this lock has all over the place, making any significant changes to the

[PATCH] netxen_nic: Fix trivial typos in comments

2015-02-27 Thread Yannick Guerrini
Change 'mutliple' to 'multiple' Change 'Firmare' to 'Firmware' Signed-off-by: Yannick Guerrini yguerr...@tomshardware.fr --- drivers/net/ethernet/qlogic/netxen/netxen_nic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h

House keeping for the perf PMU dump/reset code

2015-02-27 Thread Andi Kleen
The perf core PMU driver has functions to dump the PMU, and also reset it when something goes wrong. These code paths hadn't quite keep up with newer PMU features. This patchkit fixes various issues. Shouldn't make a difference unless something goes wrong with the PMU. -Andi -- To unsubscribe

[REGRESSION][4.0-rc1] My i386 fails to do CPU hotplug

2015-02-27 Thread Steven Rostedt
Running my test suite on 4.0-rc1, my i386 run of my tests crashed with the following: Initializing CPU#1 invalid opcode: [#1] SMP Modules linked in: ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables ipv6 ppdev parport_pc microcode r8169 parport CPU: 1

Re: [PATCH v2 1/1] Bluetooth: make hci_test_bit's addr const

2015-02-27 Thread Jiri Slaby
On 02/19/2015, 05:10 PM, Marcel Holtmann wrote: Hi Jiri, gcc5 warns about passing a const array to hci_test_bit which takes a non-const pointer: net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’: net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’ discards

randconfig build error with next-20150227, in drivers/rtc/rtc-abx805.c

2015-02-27 Thread Jim Davis
Building with the attached random configuration file, drivers/rtc/rtc-abx805.c: In function 'abx805_read_multiple_regs': drivers/rtc/rtc-abx805.c:55:2: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration] if ((i2c_transfer(client-adapter, msgs[0], 2))

rt_mutex based ww_mutex implementation

2015-02-27 Thread Sebastian Andrzej Siewior
On -RT we use struct rt_mutex instead of struct mutex for a regular mutex. And since people use GPUs there, too we needed a port of ww_mutex based rtmutex. I snipped the implementaton out of -RT tried to fit on mainline and not breaking too much. It doesn't look that bad now :) #1 is here to keep

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Tejun Heo
Hello, On Fri, Feb 27, 2015 at 11:42:10AM -0500, Austin S Hemmelgarn wrote: Kernel memory consumption isn't the only valid reason to want to limit the number of processes in a cgroup. Limiting the number of processes is very useful to ensure that a program is working correctly (for example,

[PATCH 3/2] cpusets,isolcpus: document relationship between cpusets isolcpus

2015-02-27 Thread Rik van Riel
Document the subtly changed relationship between cpusets and isolcpus. Turns out the old documentation did not quite match the code... Signed-off-by: Rik van Riel r...@redhat.com Suggested-by: Peter Zijlstra pet...@infradead.org --- Documentation/cgroups/cpusets.txt | 10 -- 1 file

Re: [PATCH v2 7/7] thermal: export thermal_zone_parameters to sysfs

2015-02-27 Thread Javi Merino
On Thu, Feb 26, 2015 at 10:04:24PM +, Eduardo Valentin wrote: On Thu, Feb 26, 2015 at 05:30:00PM -0400, Eduardo Valentin wrote: On Thu, Feb 26, 2015 at 07:00:33PM +, Javi Merino wrote: It's useful for tuning to be able to edit thermal_zone_parameters from userspace. Export them

[PATCH 2/2 linux-next] FS/HFSPLUS: move xattr_name allocation in hfsplus_setxattr()

2015-02-27 Thread Fabian Frederick
security/trusted/user/osx setxattr did the same xattr_name initialization. Move that operation in hfsplus_setxattr(). Tested with security/trusted/user getfattr/setfattr Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/hfsplus/xattr.c |

[PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-02-27 Thread Jiri Slaby
This problem was taken care of three times already in * b0de59b5733d18b0d1974a060860a8b5c1b36a2e (TTY: do not update atime/mtime on read/write), * 37b7f3c76595e23257f61bd80b223de8658617ee (TTY: fix atime/mtime regression), and * b0b885657b6c8ef63a46bc9299b2a7715d19acde (tty: fix up atime/mtime

[PATCH 1/2 linux-next] FS/HFSPLUS: move xattr_name allocation in hfsplus_getxattr()

2015-02-27 Thread Fabian Frederick
security/trusted/user/osx getxattr did the same xattr_name initialization. Move that operation in hfsplus_getxattr(). Tested with security/trusted/user getfattr/setfattr Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/hfsplus/xattr.c |

Re: [PATCH] net: Use setup_timer and mod_timer

2015-02-27 Thread Vaishali Thakkar
On Fri, Feb 27, 2015 at 11:11 PM, David Miller da...@davemloft.net wrote: I'm not applying these patches. Your Subject lines need adjusting. You have to say what specific thing you are touching in each change. All of your changes say net: therefore someone scanning the git shortlog can't

Re: [PATCH RFC 0/2] add nproc cgroup subsystem

2015-02-27 Thread Tejun Heo
On Fri, Feb 27, 2015 at 09:25:10AM -0800, Tim Hockin wrote: In general, I'm pretty strongly against adding controllers for things which aren't fundamental resources in the system. What's next? Open files? Pipe buffer? Number of flocks? Number of session leaders or program groups?

  1   2   3   4   5   6   7   8   9   10   >