Re: [PATCH] powerpc/pseries: Auto online hotplugged memory

2016-06-27 Thread Michael Ellerman
On Mon, 2016-06-27 at 09:41 -0500, Nathan Fontenot wrote: > On 06/24/2016 12:35 AM, Michael Ellerman wrote: > > On Mon, 2016-06-20 at 21:14 -0500, Nathan Fontenot wrote: > > > On 06/20/2016 07:57 PM, Michael Ellerman wrote: > > > > On Mon, 2016-06-20 at 08:51 -0500, Nathan Fontenot wrote: > > > >

Re: powerpc/fadump: trivial fix of spelling mistake, clean up message

2016-06-27 Thread Michael Ellerman
On Mon, 2016-06-27 at 12:34 +0100, Colin Ian King wrote: > On 27/06/16 12:20, Michael Ellerman wrote: > > On Mon, 2016-06-27 at 03:51 -0700, Joe Perches wrote: > > > On Mon, 2016-06-27 at 11:38 +0100, Colin Ian King wrote: > > > > On 26/06/16 05:19, Michael Ellerman wrote: > > > > > On Fri, 2016-24

Re: [PATCH 7/8] dmaengine: tegra20-apb-dma: Only calculate residue if txstate exists.

2016-06-27 Thread Vinod Koul
On Tue, Jun 21, 2016 at 06:19:50PM +0100, Jon Hunter wrote: > > On 21/06/16 17:01, Vinod Koul wrote: > > On Wed, Jun 08, 2016 at 09:51:57AM +0100, Jon Hunter wrote: > >> Hi Peter, > >> > >> On 07/06/16 18:38, Peter Griffin wrote: > >>> There is no point calculating the residue if there is > >>> no

Re: [PATCH v20 14/14] Documentation: dt: usable-memory and elfcorehdr nodes for arm64 kexec

2016-06-27 Thread Michael Ellerman
On Mon, 2016-06-27 at 15:22 -0300, Thiago Jung Bauermann wrote: > Am Donnerstag, 23 Juni 2016, 17:54:49 schrieb Geoff Levand: > > +linux,usable-memory > > +--- > > + > > +This property is set on PowerPC and arm64 by kexec-tools during kdump > > +to tell the crash kernel the base add

Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

2016-06-27 Thread Michael Ellerman
On Mon, 2016-06-27 at 09:04 +0100, David Binderman wrote: > Hello there, > > linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:20]: (warning) %x in format > string (no. 1) requires 'unsigned int' but the argument type is > 'unsigned long'. > [linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:26]: (warning) %x in

Re: [PATCH 07/17] powerpc/opal: Add real mode call wrappers

2016-06-27 Thread Michael Neuling
mpe, Just flagging this as going to conflict with Shreyas' stop instruction patch series.  It's relatively easy to fix so you can do it manually. Alternatively you could take this one patch now and get Shreyas to rebase. Mikey On Mon, 2016-06-27 at 22:25 +1000, Benjamin Herrenschmidt wrote: > R

Re: [v5] powerpc/timer - large decrementer support

2016-06-27 Thread Michael Ellerman
On Fri, 2016-24-06 at 00:55:55 UTC, Oliver O'Halloran wrote: > diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c > index 7a482a7f4d8d..efebe52133ef 100644 > --- a/arch/powerpc/kernel/time.c > +++ b/arch/powerpc/kernel/time.c > @@ -893,6 +894,86 @@ static void register_decrementer

[PATCH V4 1/3] devicetree/bindings: Add binding for operator panel on FSP machines

2016-06-27 Thread Suraj Jitindar Singh
Add a binding to Documentation/devicetree/bindings/powerpc/opal (oppanel-opal.txt) for the operator panel which is present on IBM Power Systems machines with FSPs. Signed-off-by: Suraj Jitindar Singh Acked-by: Rob Herring Acked-by: Stewart Smith --- Change Log: V1 -> V2: - Nothing V2

[PATCH V4 2/3] powerpc/opal: Add #define to get rc from an ASYNC_COMP opal_msg

2016-06-27 Thread Suraj Jitindar Singh
An opal_msg of type OPAL_MSG_ASYNC_COMP contains the return code in the params[1] struct member. However this isn't intuitive or obvious when reading the code and requires that a user look at the skiboot documentation or opal-api.h to verify this. Add a #define to get the return code from an opal_

[PATCH V4 3/3] powerpc/drivers: Add driver for operator panel on FSP machines

2016-06-27 Thread Suraj Jitindar Singh
Implement new character device driver to allow access from user space to the operator panel display present on IBM Power Systems machines with FSPs. This will allow status information to be presented on the display which is visible to a user. The driver implements a character buffer which a user

Re: [PATCH 2/2] tty/hvc: Use opal irqchip interface if available

2016-06-27 Thread Benjamin Herrenschmidt
On Tue, 2016-06-28 at 13:34 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2016-06-28 at 13:11 +1000, Samuel Mendoza-Jonas wrote: > > Update the hvc driver to use the OPAL irqchip if made available by > > the > > running firmware. If it is not present, the driver falls back to > > the > > existing

Re: [PATCH 2/3] powerpc/spinlock: support vcpu preempted check

2016-06-27 Thread Boqun Feng
On Tue, Jun 28, 2016 at 11:39:18AM +0800, xinhui wrote: [snip] > > > +{ > > > + struct lppaca *lp = &lppaca_of(cpu); > > > + > > > + if (unlikely(!(lppaca_shared_proc(lp) || > > > + lppaca_dedicated_proc(lp > > > > Do you want to detect whether we are running in a guest(ie. pse

[PATCH] powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE

2016-06-27 Thread Michael Ellerman
The pseries HVC early debug options, CONFIG_PPC_EARLY_DEBUG_LPAR and CONFIG_PPC_EARLY_DEBUG_LPAR_HVSI both require code that is part of the hvc driver. If we turn them on but not CONFIG_HVC_CONSOLE then we get: arch/powerpc/kernel/built-in.o: In function `.udbg_early_init': arch/powerpc/kernel

Re: [PATCH 2/3] powerpc/spinlock: support vcpu preempted check

2016-06-27 Thread xinhui
On 2016年06月28日 13:03, Boqun Feng wrote: On Tue, Jun 28, 2016 at 11:39:18AM +0800, xinhui wrote: [snip] +{ + struct lppaca *lp = &lppaca_of(cpu); + + if (unlikely(!(lppaca_shared_proc(lp) || + lppaca_dedicated_proc(lp Do you want to detect whether we are

[PATCH] powerpc/mm: Use VM_WARN_ONCE() for irqs disabled check

2016-06-27 Thread Michael Ellerman
The check for !arch_irqs_disabled() in find_linux_pte_or_hugepte() is a debugging aid, and needn't be enabled for production builds. Switch it to a VM_WARN_ONCE(), which is compiled out when CONFIG_DEBUG_VM=n. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/pgtable.h | 6 ++ 1

<    1   2