[PATCH 1/2] powerpc: Add 64bit optimised memcmp

2015-01-08 Thread Anton Blanchard
I noticed ksm spending quite a lot of time in memcmp on a large KVM box. The current memcmp loop is very unoptimised - byte at a time compares with no loop unrolling. We can do much much better. Optimise the loop in a few ways: - Unroll the byte at a time loop - For large (at least 32 byte)

[PATCH] cxl: remove redundant increment of hwirq

2015-01-08 Thread Colin King
From: Colin Ian King colin.k...@canonical.com hwirq has not been initialized, however it is being incremented and also not being referenced in a loop. This error was detected with cppcheck: [drivers/misc/cxl/irq.c:439]: (error) Uninitialized variable: hwirq Commit 80fa93fce37d (cxl: Name

Re: [PATCH] cxl: remove redundant increment of hwirq

2015-01-08 Thread Ian Munsie
Acked-By: Ian Munsie imun...@au1.ibm.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 2/2] powerpc: Add memcmp testcase

2015-01-08 Thread Anton Blanchard
Add a testcase for the new ppc64 memcmp. Signed-off-by: Anton Blanchard an...@samba.org --- .../testing/selftests/powerpc/stringloops/Makefile | 21 + .../selftests/powerpc/stringloops/asm/ppc_asm.h| 7 ++ .../selftests/powerpc/stringloops/memcmp_64.S | 1 +

Re: PROBLEM: USB isochronous urb leak on EHCI driver

2015-01-08 Thread Peter Chen
On Wed, Jan 7, 2015 at 2:22 AM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 6 Jan 2015, Michael Tessier wrote: That is interresting, however, I have an older kernel running an OHCI driver which is able to handle 4 codecs. Same usb hardware (codecs and hub), but older

Re: [PATCH] cxl: remove redundant increment of hwirq

2015-01-08 Thread Michael Neuling
On Thu, 2015-01-08 at 22:36 +, Colin King wrote: From: Colin Ian King colin.k...@canonical.com hwirq has not been initialized, however it is being incremented and also not being referenced in a loop. This error was detected with cppcheck: [drivers/misc/cxl/irq.c:439]: (error)

[PATCH RFT/RFC] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-08 Thread Sudeep Holla
This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e (drivers: base: support cpu cache information interface to userspace via sysfs) Signed-off-by: Sudeep Holla sudeep.ho...@arm.com Cc: Benjamin

Re: [PATCH] [v3] power/fsl: add MDIO dt binding for FMan

2015-01-08 Thread Emil Medve
Hello Scott, On 01/07/2015 07:12 PM, Scott Wood wrote: On Wed, 2015-01-07 at 13:44 -0600, Emil Medve wrote: Hello Scott, On 01/07/2015 12:05 PM, Scott Wood wrote: On Tue, 2015-01-06 at 23:29 -0600, Xie Shaohui-B21989 wrote: +- interrupts + Usage: optional +

How to make use of SPE instructions?

2015-01-08 Thread Markus Stockhausen
Hello, I developed a SHA224/256 kernel crypto module with SPE instructions. The result looks quite promising (~ +50% speedup). Nevertheless the flooding of kernel messages SPE used in kernel makes me feel uncomfortable. My findings so far: - I can configure the kernel with SPE support. -

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-08 Thread Jiri Olsa
On Wed, Jan 07, 2015 at 05:13:49PM -0800, Sukadev Bhattiprolu wrote: Description of event parameters from the documentation patch: Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when

Re: [RFC] PPC: MPIC: necessary readback after EOI?

2015-01-08 Thread Benjamin Herrenschmidt
On Wed, 2015-01-07 at 11:04 -0600, Scott Wood wrote: On Wed, 2015-01-07 at 15:44 +0100, Benjamin Herrenschmidt wrote: On Mon, 2015-01-05 at 12:10 -0600, Scott Wood wrote: It would have been nice if a code comment explained why it was doing the readback... I don't see any particular need