Re: [PATCH] powerpc: Make PPC_64K_PAGES depend on only 44x or PPC_BOOK3S_64

2019-02-09 Thread Scott Wood
On Fri, 2019-02-08 at 13:01 +, Christophe Leroy wrote: > > On 02/08/2019 12:34 PM, Michael Ellerman wrote: > > In commit 7820856a4fcd ("powerpc/mm/book3e/64: Remove unsupported > > 64Kpage size from 64bit booke") we dropped the 64K page size support > > from the 64-bit nohash (Book3E) code. >

[PATCH 3/4] [powerpc] perf vendor events: Add JSON metrics for POWER9

2019-02-09 Thread Paul Clarke
Descriptions of metrics for POWER9 processors can be found in the "POWER9 Performance Monitor Unit User’s Guide", which is currently available on the "IBM Portal for OpenPOWER" (https://www-355.ibm.com/systems/power/openpower/welcome.xhtml) at

[PATCH 2/4] [powerpc] perf vendor events: Add JSON metrics for POWER9

2019-02-09 Thread Paul Clarke
Descriptions of metrics for POWER9 processors can be found in the "POWER9 Performance Monitor Unit User’s Guide", which is currently available on the "IBM Portal for OpenPOWER" (https://www-355.ibm.com/systems/power/openpower/welcome.xhtml) at

[PATCH 4/4] [powerpc] perf vendor events: Add JSON metrics for POWER9

2019-02-09 Thread Paul Clarke
Descriptions of metrics for POWER9 processors can be found in the "POWER9 Performance Monitor Unit User’s Guide", which is currently available on the "IBM Portal for OpenPOWER" (https://www-355.ibm.com/systems/power/openpower/welcome.xhtml) at

[PATCH 1/4] [powerpc] perf vendor events: Add JSON metrics for POWER9

2019-02-09 Thread Paul Clarke
Descriptions of metrics for POWER9 processors can be found in the "POWER9 Performance Monitor Unit User’s Guide", which is currently available on the "IBM Portal for OpenPOWER" (https://www-355.ibm.com/systems/power/openpower/welcome.xhtml) at

[PATCH v2 0/4] [powerpc] perf vendor events: Add JSON metrics for POWER9

2019-02-09 Thread Paul Clarke
[Note this is for POWER*9* and is different content than a previous patchset for POWER*8*.] The patches define metrics and metric groups for computation by "perf" for POWER9 processors. Paul Clarke (4): [powerpc] perf vendor events: Add JSON metrics for POWER9 [powerpc] perf vendor events:

Re: use generic DMA mapping code in powerpc V4

2019-02-09 Thread Darren Stevens
Hello Christoph On 08/02/2019, Christoph Hellwig wrote: > On Fri, Feb 08, 2019 at 10:01:46AM +0100, Christian Zigotzky wrote: >> Hi Christoph, >> >> Your new patch fixes the problems with the P.A. Semi Ethernet! :-) > > Thanks a lot once again for testing! > > Now can you test with this patch and

Re: use generic DMA mapping code in powerpc V4

2019-02-09 Thread Darren Stevens
Hello Christoph On 08/02/2019, Christoph Hellwig wrote: > On Fri, Feb 08, 2019 at 10:01:46AM +0100, Christian Zigotzky wrote: >> Hi Christoph, >> >> Your new patch fixes the problems with the P.A. Semi Ethernet! :-) > > Thanks a lot once again for testing! > > Now can you test with this patch and

[PATCH] powerpc/85xx: Add Cyrus board power-off and reset nodes

2019-02-09 Thread Darren Stevens
The Cyrus board from Varisys has power-off and reset functions attached to gpio pins. Add the required device-tree bindings. Signed-off-by: Darren Stevens --- diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts index c603390..15e8440 100644 ---

[PATCH] powerpc/85xx: Activate Cyrus disk-activity LED

2019-02-09 Thread Darren Stevens
The disk activity LED on the Cyrus board is attached to a gpio pin, add the required device-tree node for the kernel driver to use. Signed-off-by: Darren Stevens --- diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts index 15e8440..348cfdb

Re: [PATCH 1/2] powerpc/64s: Work around spurious warning on old gccs with -fsanitize-coverage

2019-02-09 Thread Andrew Donnellan
On 9/2/19 2:41 am, Segher Boessenkool wrote: On Fri, Feb 08, 2019 at 02:02:24PM +1100, Michael Ellerman wrote: diff --git a/arch/powerpc/kernel/dt_cpu_ftrs.c b/arch/powerpc/kernel/dt_cpu_ftrs.c index 8be3721d9302..a1acccd25839 100644 --- a/arch/powerpc/kernel/dt_cpu_ftrs.c +++

Re: [PATCH v4 3/3] powerpc/32: Add KASAN support

2019-02-09 Thread christophe leroy
Hi Andrey, Le 08/02/2019 à 18:40, Andrey Konovalov a écrit : On Fri, Feb 8, 2019 at 6:17 PM Christophe Leroy wrote: Hi Daniel, Le 08/02/2019 à 17:18, Daniel Axtens a écrit : Hi Christophe, I've been attempting to port this to 64-bit Book3e nohash (e6500), although I think I've ended up

Re: [PATCH 06/19] KVM: PPC: Book3S HV: add a GET_ESB_FD control to the XIVE native device

2019-02-09 Thread Cédric Le Goater
On 2/8/19 10:53 PM, Paul Mackerras wrote: > On Fri, Feb 08, 2019 at 08:58:14AM +0100, Cédric Le Goater wrote: >> On 2/8/19 6:15 AM, David Gibson wrote: >>> On Thu, Feb 07, 2019 at 10:03:15AM +0100, Cédric Le Goater wrote: That's the plan I have in mind as suggested by Paul if I understood it