RE: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-23 Thread Zhang Zhuoyu
> -Original Message- > From: Denis Kirjanov [mailto:k...@linux-powerpc.org] > Sent: Thursday, December 24, 2015 6:04 AM > To: Zhang Zhuoyu > Cc: Michael Ellerman ; linux-ker...@vger.kernel.org; > pau...@samba.org; t...@linutronix.de; linuxppc-dev@lists.ozlabs.org; > jiang@linux.intel

Re: [RFC 3/3] pseries: sysfs hack to trigger a hash page table resize

2015-12-23 Thread David Gibson
On Wed, Dec 23, 2015 at 03:16:39PM +0300, Denis Kirjanov wrote: > On 12/23/15, David Gibson wrote: > > On Tue, Dec 22, 2015 at 02:19:20PM +0300, Denis Kirjanov wrote: > >> On 12/22/15, David Gibson wrote: > >> > This patch adds a special file in /sys/kernel/mm which can be used to > >> > view > >

RE: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-23 Thread Kushwaha Prabhakar
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, December 24, 2015 10:19 AM > To: Kushwaha Prabhakar-B32579 ; Dogra > Raghav-B46184 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence > > On Wed, 2015-12-23 at 22:38 -

RE: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-23 Thread Kushwaha Prabhakar
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, December 24, 2015 9:49 AM > To: Dogra Raghav-B46184 > Cc: linuxppc-dev@lists.ozlabs.org; Kushwaha Prabhakar-B32579 > > Subject: Re: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence > > On Fri, Oct 30, 2015 at 11:54:5

Re: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-23 Thread Scott Wood
On Wed, 2015-12-23 at 22:38 -0600, Kushwaha Prabhakar-B32579 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, December 24, 2015 9:49 AM > > To: Dogra Raghav-B46184 > > Cc: linuxppc-dev@lists.ozlabs.org; Kushwaha Prabhakar-B32579 > > > > Subject: Re: [1/2] mpc8

Re: [1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-23 Thread Scott Wood
On Fri, Oct 30, 2015 at 11:54:59AM +0530, Raghav Dogra wrote: > /* restore lbc registers */ > -static int fsl_lbc_resume(struct platform_device *pdev) > +static int fsl_lbc_syscore_resume(void) > { > - struct fsl_lbc_ctrl *ctrl = dev_get_drvdata(&pdev->dev); > - struct fsl_lbc_regs __iome

Re: [PATCH v3 1/6] powerpc/mm: any thread in one core can be the first to setup TLB1

2015-12-23 Thread Zhao C . H .
Hi Scott, I updated the patch a moment ago at http://patchwork.ozlabs.org/patch/560771/ . Thanks, Chenhui From: Wood Scott-B07421 Sent: Thursday, December 24, 2015 5:27 To: Zhao Chenhui-B35336; Denis Kirjanov Cc: linuxppc-dev@lists.ozlabs.org Subject: Re:

[PATCH v4 1/6] powerpc/mm: any thread in one core can be the first to setup TLB1

2015-12-23 Thread Chenhui Zhao
On e6500, in the case of cpu hotplug, either thread in one core may be the first thread initilzing the TLB1. The subsequent threads must not setup it again. The code is derived from the comment of Scott Wood. Signed-off-by: Chenhui Zhao --- Changes for v4: * added CONFIG_BOOKE arch/powerpc/inc

Re: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-23 Thread Denis Kirjanov
On 12/23/15, Zhang Zhuoyu wrote: > Hi, Denis > > Any test result on pmac machine for this patch? Hi, So I ran the tests by writing to cpuN/online. with your change I'm observing lines like the following: [ 713.436922] NOHZ: local_softirq_pending 08 Thanks! > > Zhuoyu > >> -Original Messa

Re: [PATCH v3 1/6] powerpc/mm: any thread in one core can be the first to setup TLB1

2015-12-23 Thread Scott Wood
On Thu, 2015-12-03 at 19:27 +0800, Chenhui Zhao wrote: > > On Wed, Dec 2, 2015 at 8:12 PM, Denis Kirjanov > wrote: > > On 11/20/15, Chenhui Zhao wrote: > > > On e6500, in the case of cpu hotplug, either thread in one core > > > may be the first thread initilzing the TLB1. The subsequent threa

Re: [v2] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-23 Thread Scott Wood
On Wed, 2015-12-23 at 15:16 -0600, Scott Wood wrote: > On Tue, 2015-12-22 at 06:25 +0200, igal.liber...@freescale.com wrote: > > From: Igal Liberman > > > > Signed-off-by: Igal Liberman > > > > This patch adds pcsphy node to FManV3 device tree. > > Based on: https://patchwork.ozlabs.org/patch/5

Re: [v2] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-23 Thread Scott Wood
On Tue, 2015-12-22 at 06:25 +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > > This patch adds pcsphy node to FManV3 device tree. > Based on: https://patchwork.ozlabs.org/patch/503921/ > > v1 --> v2: > - Addressed feedback from Shaohui Xi

Re: [PATCH 1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-23 Thread Scott Wood
On Fri, 2015-10-30 at 11:54 +0530, Raghav Dogra wrote: > Modify platform driver suspend/resume to syscore > suspend/resume. This is because p1022ds needs to use > localbus when entering the PCIE resume. > > Signed-off-by: Raghav Dogra > --- > arch/powerpc/sysdev/Makefile | 2 +- > arch/powerpc

Re: [PATCH v2 3/5] powerpc: ftrace: fix the comments for ftrace_modify_code

2015-12-23 Thread Steven Rostedt
On Sun, 6 Dec 2015 10:02:56 +0800 Li Bin wrote: > There is no need to worry about module and __init text disappearing > case, because that ftrace has a module notifier that is called when > a module is being unloaded and before the text goes away and this > code grabs the ftrace_lock mutex and re

Re: [PATCH v3 2/2] powerpc: tracing: don't trace hcalls on offline CPUs

2015-12-23 Thread Steven Rostedt
On Mon, 14 Dec 2015 23:18:06 +0300 Denis Kirjanov wrote: > ./drmgr -c cpu -a -r gives the following warning: > > [ 2327.035563] > RCU used illegally from offline CPU! > rcu_scheduler_active = 1, debug_locks = 1 > [ 2327.035564] no locks held by swapper/12/0. > [ 2327.035565] > stack backtrace: >

Re: [PATCH 3/3] ASoC: fsl_ssi: remove register defaults

2015-12-23 Thread Fabio Estevam
On Sun, Dec 20, 2015 at 6:33 PM, Maciej S. Szmigiero wrote: > There is no guarantee that on fsl_ssi module load > SSI registers will have their power-on-reset values. > > In fact, if the driver is reloaded the values in > registers will be whatever they were set to previously. > > This fixes hard

Re: [PATCH 2/3] ASoC: fsl_ssi: mark some registers precious

2015-12-23 Thread Fabio Estevam
On Sun, Dec 20, 2015 at 6:31 PM, Maciej S. Szmigiero wrote: > Mark some registers precious since their > reads have side effects (like clearing flags). > > Signed-off-by: Maciej S. Szmigiero Reviewed-by: Fabio Estevam ___ Linuxppc-dev mailing list Lin

Re: [PATCH 1/3] ASoC: fsl_ssi: mark SACNT register volatile

2015-12-23 Thread Fabio Estevam
On Sun, Dec 20, 2015 at 6:30 PM, Maciej S. Szmigiero wrote: > SACNT register should be marked volatile since > its WR and RD bits are cleared by SSI after > completing the relevant operation. > This unbreaks AC'97 register access. > > Fixes: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and res

[PATCH] ASoC: twl6040, fsl: use to_platform_device

2015-12-23 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang --- sound/soc/codecs/twl6040.c | 3 +-- sound/soc/fsl/mpc8610_hpcd.c | 3 +-- sound/soc/fsl/p1022_ds.c | 3 +-- sound/soc/fsl/p1022_rdk.c| 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-23 Thread Davidlohr Bueso
On Wed, 23 Dec 2015, Boqun Feng wrote: There is one thing we should be aware of, that is the bug: http://lkml.kernel.org/r/5669d5f2.5050...@caviumnetworks.com which though has been fixed by: http://lkml.kernel.org/r/20151217160549.gh6...@twins.programming.kicks-ass.net Right, and fwiw the te

Re: [RFC 3/3] pseries: sysfs hack to trigger a hash page table resize

2015-12-23 Thread Denis Kirjanov
On 12/23/15, David Gibson wrote: > On Tue, Dec 22, 2015 at 02:19:20PM +0300, Denis Kirjanov wrote: >> On 12/22/15, David Gibson wrote: >> > This patch adds a special file in /sys/kernel/mm which can be used to >> > view >> > the current size of the hash page table (as a bit shift) and to trigger

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-23 Thread Boqun Feng
On Wed, Dec 23, 2015 at 01:40:05PM +1100, Michael Ellerman wrote: > On Tue, 2015-12-15 at 22:24 +0800, Boqun Feng wrote: > > > Hi all, > > > > This is v6 of the series. > > > > Link for v1: https://lkml.org/lkml/2015/8/27/798 > > Link for v2: https://lkml.org/lkml/2015/9/16/527 > > Link for v3:

Re: [RFC 3/3] pseries: sysfs hack to trigger a hash page table resize

2015-12-23 Thread David Gibson
On Tue, Dec 22, 2015 at 02:19:20PM +0300, Denis Kirjanov wrote: > On 12/22/15, David Gibson wrote: > > This patch adds a special file in /sys/kernel/mm which can be used to view > > the current size of the hash page table (as a bit shift) and to trigger > > a resize of the hash table on PAPR guest