[PATCH] cxl: Add tracepoints

2015-01-09 Thread Ian Munsie
From: Ian Munsie imun...@au1.ibm.com This patch adds tracepoints throughout the cxl driver, which can provide insight into: - Context lifetimes - Commands sent to the PSL and AFU and their completion status - Segment and page table misses and their resolution - PSL and AFU interrupts - slbia

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

2015-01-09 Thread David Laight
From: 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 -

[RFC 03/11] i2c: at91: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-at91.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 636fd2efad88..8be7cf6e2747 100644 ---

[RFC 05/11] i2c: qup: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-qup.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 4dad23bdffbe..fdcbdab808e9 100644 ---

[RFC 10/11] i2c: viperboard: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-viperboard.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c index 7533fa34d737..47e88adf2011 100644 ---

Re: [PATCH 3/5] powerpc/powernv: Introduce pnv_pci_poll()

2015-01-09 Thread Bjorn Helgaas
On Thu, Dec 04, 2014 at 04:54:46PM +1100, Gavin Shan wrote: We might not get some PCI slot information (e.g. power status) immediately by OPAL API. Instead, opal_pci_poll() need to be called for the required information. The patch introduces pnv_pci_poll(), which bases on original

[RFC 06/11] i2c: cpm: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-cpm.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 2d466538b2e2..714bdc837769 100644 ---

[RFC 07/11] i2c: axxia: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-axxia.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c index 768a598d8d03..488c5d3bf9db 100644 ---

[RFC 01/11] i2c: add quirk structure to describe adapter flaws

2015-01-09 Thread Wolfram Sang
The number of I2C adapters which are not fully I2C compatible is rising, sadly. Drivers usually do handle the flaws, still the user receives only some errno for a transfer which normally can be expected to work. This patch introduces a formal description of flaws. One advantage is that the core

[RFC 04/11] i2c: opal: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-opal.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-opal.c b/drivers/i2c/busses/i2c-opal.c index 16f90b1a7508..f463eae44bf2 100644 ---

[RFC 11/11] i2c: pmcmsp: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-pmcmsp.c | 42 - 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c index 44f03eed00dd..e06efee9fa70

Re: [PATCH 0/6] kbuild: refactor Makefiles related with cc-version

2015-01-09 Thread Michal Marek
On 2014-12-25 06:31, Masahiro Yamada wrote: Masahiro Yamada (6): kbuild: fix cc-ifversion macro kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion kbuild,gcov: remove unnecessary workaround kbuild,gcov: simplify kernel/gcov/Makefile kbuild: allow cc-ifversion to

[RFC 09/11] i2c: powermac: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-powermac.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 60a53c169ed2..6abcf696e359 100644 ---

[RFC 08/11] i2c: dln2: make use of the new infrastructure for quirks

2015-01-09 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-dln2.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-dln2.c b/drivers/i2c/busses/i2c-dln2.c index b3fb86af4cbb..b6f9ba7eb175 100644 ---

[RFC 00/11] i2c: add generic quirk infrastructure

2015-01-09 Thread Wolfram Sang
Recently, a number of submitted I2C master drivers could not fully handle all I2C type transfers due to limited HW. So, they had to bail out with some errno although the user supplied a valid I2C transfer. In order to centralize such quirks, a central structure describing the quirks is introduced.

[RFC 02/11] i2c: add quirk checks to core

2015-01-09 Thread Wolfram Sang
Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/i2c-core.c | 53 ++ 1 file changed, 53 insertions(+) diff --git

Re: [RFC 02/11] i2c: add quirk checks to core

2015-01-09 Thread Sergei Shtylyov
Hello. On 01/09/2015 08:21 PM, Wolfram Sang wrote: Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/i2c-core.c | 53 ++

Re: [RFC 02/11] i2c: add quirk checks to core

2015-01-09 Thread Wolfram Sang
On Fri, Jan 09, 2015 at 10:35:27PM +0300, Sergei Shtylyov wrote: Hello. On 01/09/2015 08:21 PM, Wolfram Sang wrote: Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang w...@the-dreams.de ---

Re: [RFC 02/11] i2c: add quirk checks to core

2015-01-09 Thread Sergei Shtylyov
Hello. On 01/09/2015 11:45 PM, Wolfram Sang wrote: Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/i2c-core.c | 53 ++

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

2015-01-09 Thread Adhemerval Zanella
On 08-01-2015 23:56, Anton Blanchard wrote: 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