Pull request: scottwood/linux.git next

2016-01-04 Thread Scott Wood
Igal Liberman (1): powerpc/mpc85xx: Update B4 FMan MURAM size Raghav Dogra (1): powerpc/fsl_lbc: removal of dead code Scott Wood (2): powerpc/e6500: add locking to hugetlb MAINTAINERS: Update Scott Wood's e-mail address Zhao Qiang (7): genalloc:support memory

[PATCH] MAINTAINERS: Update Scott Wood's e-mail address

2015-12-31 Thread Scott Wood
Freescale is now NXP. I still work there, but I won't be using their mail system for Linux development. Signed-off-by: Scott Wood <o...@buserror.net> --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8099527..124dd37

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(>dev); > - struct fsl_lbc_regs __iomem

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 > >

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
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

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

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 <igal.liber...@freescale.com> > > > > Signed-off-by: Igal Liberman <igal.liber...@freescale.com> > > &g

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/ >

Re: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy

2015-12-22 Thread Scott Wood
On Tue, 2015-12-22 at 06:18 +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/powerpc/fsl/fman.txt | 39 > > 1 file changed, 39

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

2015-12-22 Thread Scott Wood
On Tue, 2015-12-22 at 02:51 -0600, Liberman Igal-B31950 wrote: > > Regards, > Igal Liberman > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Monday, December 21, 2015 4:41 PM > > To: Liberman Igal-B31950 ; > > devicet...@vger.kernel.org;

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

2015-12-21 Thread Scott Wood
On Mon, 2015-12-21 at 01:57 +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/ >

Re: [RFC 1/1] powerpc: legacy serial port use device tree cell-index property

2015-12-21 Thread Scott Wood
On Wed, 2015-11-25 at 10:46 -0800, Curt Brune wrote: > Currently for PowerPC systems using device tree, the legacy serial > ports are allocated in the order by which they are found in the device > tree structure. > > This can cause problems in cases where the device tree nodes are > sysnthesized

Re: [POWERPC] bootwrapper: One check less in fsl_get_immr() after error detection

2015-12-14 Thread Scott Wood
On Mon, 2015-12-14 at 23:10 +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 14 Dec 2015 23:01:32 +0100 > > A status check was performed by the fsl_get_immr() function even if it > was known already that a system setting did not fit to the

[PATCH v3] EDAC, mpc85xx: Make mpc85xx-pci-edac a platform device

2015-12-10 Thread Scott Wood
ci-edac driver binds to. Signed-off-by: Scott Wood <scottw...@freescale.com> Cc: Jia Hongtao <b38...@freescale.com> Cc: Borislav Petkov <b...@suse.de> Cc: Johannes Thumshirn <jthumsh...@suse.de> Cc: Michael Ellerman <m...@ellerman.id.au> --- v3: Fix build with CONFIG

Re: [v9, 6/6] fsl/fman: Add FMan MAC driver

2015-12-09 Thread Scott Wood
On Wed, 2015-12-09 at 04:10 -0600, Bucur Madalin-Cristian-B32716 wrote: > > -Original Message- > > From: David Miller [mailto:da...@davemloft.net] > > > > From: Scott Wood <scottw...@freescale.com> > > Date: Tue, 8 Dec 2015 16:44:38 -0600 > > >

[PATCH v2] EDAC, mpc85xx: Make mpc85xx-pci-edac a platform device

2015-12-09 Thread Scott Wood
ci-edac driver binds to. Signed-off-by: Scott Wood <scottw...@freescale.com> Cc: Jia Hongtao <b38...@freescale.com> Cc: Borislav Petkov <b...@suse.de> Cc: Johannes Thumshirn <jthumsh...@suse.de> Cc: Michael Ellerman <m...@ellerman.id.au> --- v2: Make mpc85xx_pci_err_probe()

[PATCH] EDAC, mpc85xx: Make mpc85xx-pci-edac a platform device

2015-12-09 Thread Scott Wood
ci-edac driver binds to. Signed-off-by: Scott Wood <scottw...@freescale.com> Cc: Jia Hongtao <b38...@freescale.com> Cc: Borislav Petkov <b...@suse.de> Cc: Johannes Thumshirn <jthumsh...@suse.de> Cc: Michael Ellerman <m...@ellerman.id.au> --- arch/powerpc/sysdev/fsl_pci.c | 28

Re: [v9, 6/6] fsl/fman: Add FMan MAC driver

2015-12-08 Thread Scott Wood
On Tue, 2015-12-08 at 14:18 -0600, Andy Fleming wrote: > On Thu, Dec 3, 2015 at 1:19 AM, wrote: > > From: Igal Liberman > > > > This patch adds the Ethernet MAC driver supporting the three > > different types of MACs: dTSEC, tGEC and

Re: FCC driver for Motorola MPC82xx - an error found

2015-12-07 Thread Scott Wood
On Tue, 2015-11-24 at 05:19 -0700, Martin Roth wrote: > I was looking for an error on MPC8270 processor 100 Mbps Ethernet FCC port. > The port may become locked if it is set to AUTO, while the peer is forced to > 100 Mbs full duplex (non AUTO). > I was looking for an error in the area of

Re: [PATCH v2 3/3] ppc64: Add a flag to tell the kernel it's booting from kexec

2015-12-07 Thread Scott Wood
On Tue, 2015-10-06 at 17:55 -0500, Scott Wood wrote: > It needs to know this because the SMP release mechanism for Freescale > book3e is different from when booting with normal hardware. In theory > we could simulate the normal spin table mechanism, but not (easily) at > the addresse

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

2015-12-04 Thread Scott Wood
On Fri, 2015-12-04 at 11:04 +0300, Denis Kirjanov wrote: > On 12/3/15, Scott Wood <scottw...@freescale.com> wrote: > > On Wed, 2015-12-02 at 15:12 +0300, Denis Kirjanov wrote: > > > On 11/20/15, Chenhui Zhao <chenhui.z...@freescale.com> wrote: > > > > On

[PATCH] powerpc/e6500: add locking to hugetlb

2015-12-04 Thread Scott Wood
e6500 has threads but does not have TLB write conditional. Thus, the hugetlb code needs to take the same lock that the normal TLB miss handlers take, to ensure that the tlbsx and tlbwe are atomic. Signed-off-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/mm/hugetlbpage-book3e.

[PATCH v2] powerpc/e6500: add locking to hugetlb

2015-12-04 Thread Scott Wood
e6500 has threads but does not have TLB write conditional. Thus, the hugetlb code needs to take the same lock that the normal TLB miss handlers take, to ensure that the tlbsx and tlbwe are atomic. Signed-off-by: Scott Wood <scottw...@freescale.com> --- v2: Fix trailing whitespace arch/p

Re: [net-next v4 4/8] dpaa_eth: add driver's Tx queue selection

2015-12-03 Thread Scott Wood
On Thu, 2015-12-03 at 04:02 -0600, Bucur Madalin-Cristian-B32716 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, December 02, 2015 11:41 PM > > > > On Mon, 2015-11-02 at 19:31 +0200, Madalin Bucur wrote: > > > Allow the selection of the transmission queue

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

2015-12-03 Thread Scott Wood
gt; must not setup it again. > > > > The code is derived from the comment of Scott Wood. > > > > Signed-off-by: Chenhui Zhao <chenhui.z...@freescale.com> > > --- > > arch/powerpc/include/asm/cputhreads.h | 7 +++ > > arch/powerpc/mm/tlb_no

Re: [net-next v4 4/8] dpaa_eth: add driver's Tx queue selection

2015-12-02 Thread Scott Wood
On Mon, 2015-11-02 at 19:31 +0200, Madalin Bucur wrote: > Allow the selection of the transmission queue based on the CPU id. Explain why. > > Signed-off-by: Madalin Bucur > --- > drivers/net/ethernet/freescale/dpaa/Kconfig | 10 ++ >

Re: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-24 Thread Scott Wood
ongtao <hongtao@freescale.com> > Reviewed-by: Scott Wood <scottw...@freescale.com> When did I add "Reviewed-by" to this? -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Recurring Oops in link_path_walk()

2015-11-20 Thread Scott Wood
On Fri, 2015-11-20 at 17:56 +, Al Viro wrote: > On Fri, Nov 20, 2015 at 06:07:59PM +0100, Christophe Leroy wrote: > > Al, > > > > We've been running Kernel 3.18 for several monthes on our embedded > > boards, and we have a recurring Oops in link_path_walk() > > It doesn't happen very often

Re: [PATCH V4 2/2] powerpc/85xx: Add PCIe controller support for bsc9132qds

2015-11-19 Thread Scott Wood
On Mon, 2015-11-16 at 20:31 -0600, Hou Zhiqiang-B48286 wrote: > Hi, > > Any response, please comment. They look OK. -Scott > > > -Original Message- > > From: Zhiqiang Hou [mailto:zhiqiang@freescale.com] > > Sent: 2015年11月5日 11:16 > > To: linuxppc-dev@lists.ozlabs.org; Wood

Re: [PATCH v4] Documentation: dt: binding: fsl: add devicetree binding for describing RCPM

2015-11-17 Thread Scott Wood
On Tue, 2015-11-17 at 16:05 -0600, Rob Herring wrote: > On Mon, Nov 16, 2015 at 8:07 PM, Scott Wood <scottw...@freescale.com> wrote: > > On Mon, 2015-11-16 at 11:26 -0600, Rob Herring wrote: > > > We just merged a common wakeup source binding[1]. It doesn't really wor

Re: [PATCH v4] Documentation: dt: binding: fsl: add devicetree binding for describing RCPM

2015-11-16 Thread Scott Wood
On Mon, 2015-11-16 at 11:26 -0600, Rob Herring wrote: > +Sudeep > > On Mon, Oct 26, 2015 at 02:44:12PM +0800, Dongsheng Wang wrote: > > From: Wang Dongsheng > > > > RCPM is the Run Control and Power Management module performs all > > device-level tasks associated

Re: [net-next v4 2/8] dpaa_eth: add support for DPAA Ethernet

2015-11-10 Thread Scott Wood
On Mon, Nov 02, 2015 at 07:31:34PM +0200, Madalin Bucur wrote: > diff --git a/drivers/net/ethernet/freescale/dpaa/Makefile > b/drivers/net/ethernet/freescale/dpaa/Makefile > new file mode 100644 > index 000..3847ec7 > --- /dev/null > +++ b/drivers/net/ethernet/freescale/dpaa/Makefile > @@

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Scott Wood
On Fri, 2015-11-06 at 23:22 +0100, Laurent Vivier wrote: > Le 06/11/2015 22:09, Scott Wood a écrit : > > On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: > > > When I try to cross compile a ppc64 kernel, it generally > > > fails on the VDSO stage. This

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Scott Wood
On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: > When I try to cross compile a ppc64 kernel, it generally > fails on the VDSO stage. This is true for powerpc64 cross- > compiler, but also when I try to build a ppc64le kernel > on a ppc64 host. > > VDSO64L fails: > > VDSO64L

Re: powerpc/fsl-pci: Unify pci/pcie initialization code

2015-11-05 Thread Scott Wood
On Thu, 2015-11-05 at 10:48 -0800, Daniel Walker wrote: > Hi, > > 905e75c46dba5f3061049277e4eb7110beedba43:arch/powerpc/platforms/85xx/mpc85xx_ads.c > > > This commit seems to cause problems with PCI devices doing DMA, just > with mpc85xx ads. If you do the "fsl_add_bridge()" after you setup

Re: powerpc/fsl-pci: Unify pci/pcie initialization code

2015-11-05 Thread Scott Wood
On Thu, 2015-11-05 at 15:16 -0800, Daniel Walker wrote: > On 11/05/2015 03:12 PM, Scott Wood wrote: > > On Thu, 2015-11-05 at 10:48 -0800, Daniel Walker wrote: > > > Hi, > > > > > > 905e75c46dba5f3061049277e4eb7110beedba43:arch/

Re: [PATCH V3] thermal: qoriq: Add thermal management support

2015-11-04 Thread Scott Wood
On Wed, 2015-11-04 at 11:24 -0800, Eduardo Valentin wrote: > On Fri, Sep 25, 2015 at 03:09:42AM +, Hongtao Jia wrote: > > > > > -Original Message- > > > From: Wood Scott-B07421 > > > Sent: Friday, September 25, 2015 6:10 AM > > > To: Jia Hongtao-B38951 > > > Cc: edubez...@gmail.com;

Re: [PATCH V3 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-11-04 Thread Scott Wood
On Thu, 2015-11-05 at 10:52 +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Reviewed-by: Zang Tiefei-R61911 >

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

2015-11-02 Thread Scott Wood
On Tue, 2015-11-03 at 00:09 -0600, Dogra Raghav-B46184 wrote: > > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, November 03, 2015 11:10 AM > To: Dogra Raghav-B46184 > Cc: Kushwaha Prabhakar-B32579 ; >

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

2015-11-02 Thread Scott Wood
On Tue, 2015-11-03 at 00:33 -0600, Dogra Raghav-B46184 wrote: > Hi Scott, > > I just checked on patchwork and noticed that the original patch has been > modified as somehow my original comment has become part of the patch: > + if (!lbc) > + goto out; > > ctrl->saved_regs

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

2015-11-02 Thread Scott Wood
On Mon, 2015-11-02 at 23:31 -0600, Dogra Raghav-B46184 wrote: > > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, November 03, 2015 4:31 AM > To: Dogra Raghav-B46184 > Cc: Kushwaha Prabhakar-B32579 ; >

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

2015-11-02 Thread Scott Wood
On Mon, 2015-11-02 at 00:12 -0600, Dogra Raghav-B46184 wrote: > -Original Message- > From: Raghav Dogra [mailto:rag...@freescale.com] > Sent: Friday, October 30, 2015 11:55 AM > To: linuxppc-dev@lists.ozlabs.org > Cc: Wood Scott-B07421 ; Kushwaha Prabhakar-B32579

Re: [ANNOUNCE] kexec-tools 2.0.11-rc1

2015-10-30 Thread Scott Wood
On Fri, 2015-10-30 at 17:12 +0900, Simon Horman wrote: > On Thu, Oct 29, 2015 at 07:23:24PM -0500, Scott Wood wrote: > > On Fri, 2015-10-30 at 08:48 +0900, Simon Horman wrote: > > > Hi all, > > > > > > I am happy to announce t

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

2015-10-30 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

Re: [V5, 2/6] fsl/fman: Add FMan support

2015-10-29 Thread Scott Wood
On Thu, 2015-10-29 at 10:22 -0500, Liberman Igal-B31950 wrote: > Regards, > Igal Liberman > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, October 28, 2015 11:31 PM > > To: Liberman Igal-B31950 > > Cc: net...@vger.kernel.org;

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-29 Thread Scott Wood
On Wed, 2015-10-28 at 15:40 +0100, Tomeu Vizoso wrote: > On 22 October 2015 at 23:27, Scott Wood <scottw...@freescale.com> wrote: > > On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > > > On 22 October 2015 at 00:51, Scott Wood <scottw...@freescale.com> wro

Re: [ANNOUNCE] kexec-tools 2.0.11-rc1

2015-10-29 Thread Scott Wood
On Fri, 2015-10-30 at 08:48 +0900, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.11-rc1. > > This is an incremental feature pre-release. > > So long as no serious problems arise I intend to release kexec-tools 2.0.11 > shortly after the release of the

Re: [PATCH v2 2/3] ppc64: Avoid rfid if no need to clear MSR_LE

2015-10-29 Thread Scott Wood
On Fri, 2015-10-16 at 10:48 +0900, Simon Horman wrote: > On Tue, Oct 06, 2015 at 05:55:49PM -0500, Scott Wood wrote: > > Commit a304e2d82a8c3 ("ppc64: purgatory: Reset primary cpu endian to > > big-endian) changed bctr to rfid. rfid is book3s-only and will cause a > >

Re: [V5, 2/6] fsl/fman: Add FMan support

2015-10-28 Thread Scott Wood
On Tue, 2015-10-27 at 11:32 -0500, Liberman Igal-B31950 wrote: > > > + > > > +struct device *fman_get_device(struct fman *fman) { > > > + return fman->dev; > > > +} > > > > Is this really necessary? > > > > Fman port needs fman->dev, fman structure is opaque, so yes, it's needed. Why is

Pull request: scottwood/linux.git next

2015-10-28 Thread Scott Wood
components for the FSL QorIQ DPAA FMan powerpc/mpc85xx: Add FSL QorIQ DPAA FMan support to the SoC device tree(s) Kevin Hao (1): powerpc/e6500: hw tablewalk: make sure we invalidate and write to the same tlb entry Scott Wood (19): powerpc/fsl_pci: Check for get_user/probe_kernel_address

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-27 Thread Scott Wood
On Tue, 2015-10-27 at 02:34 -0500, Zhao Qiang-B45475 wrote: > On Tue, Oct 27, 2015 at 2:50 PM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 27, 2015 2:50 PM > > To: Zhao Qiang-B45475 > > Cc:

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-27 Thread Scott Wood
On Tue, 2015-10-27 at 01:24 -0500, Zhao Qiang-B45475 wrote: > On Tue, Oct 27, 2015 at 12:48 PM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 27, 2015 12:48 PM > > To: Zhao Qiang-B45475 > > Cc:

[PATCH] powerpc/fsl: Add #clock-cells and clockgen label to clockgen nodes

2015-10-27 Thread Scott Wood
This allows new-style clock references to be used, which is needed for fman. The old clock nodes will be removed and all clock references converted to new-style once the qoriq-cpufreq driver is updated to stop depending on the old-style references in cpu nodes. Signed-off-by: Scott Wood <sco

Re: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 22:15 -0500, Zhao Qiang-B45475 wrote: > On Sat, 2015-10-24 at 04:59 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:59 AM > > To: Zhao Qiang-B45475

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 21:42 -0500, Zhao Qiang-B45475 wrote: > On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:56 AM > > To: Zhao Qiang-B45475 > > Cc:

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-23 Thread Scott Wood
On Fri, 2015-10-23 at 02:45 -0500, Zhao Qiang-B45475 wrote: > On Fri, 2015-10-23 at 11:10 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, October 23, 2015 11:10 AM > > To: Zhao Qiang-B45475

Re: [PATCH v12 6/6] QE: Move QE from arch/powerpc to drivers/soc

2015-10-23 Thread Scott Wood
On Fri, 2015-10-23 at 02:49 -0500, Zhao Qiang-B45475 wrote: > On Fri, Oct 23, 2015 at 11:20 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, October 23, 2015 11:20 AM > > To: Zhao Qiang-B45475

Re: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-23 Thread Scott Wood
Don't send HTML e-mail. On Fri, 2015-10-23 at 02:06 -0500, Zhao Qiang-B45475 wrote: > On Fri, 2015-10-23 at 11:00 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, October 23, 2015 11:00 AM > > To: Zhao

Re: [PATCH v3 0/5] clk: qoriq: Move chip-specific knowledge into driver

2015-10-23 Thread Scott Wood
On Sat, 2015-09-19 at 23:29 -0500, Scott Wood wrote: > The existing device tree bindings are error-prone and inflexible. > Correct the mistake by moving the knowledge into the driver, which has > more flexibility in describing the quirks of each chip. This leaves the > device tree t

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-22 Thread Scott Wood
On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > On 22 October 2015 at 00:51, Scott Wood <scottw...@freescale.com> wrote: > > On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > > > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood <scottw...@freescale.com> >

Re: [PATCH 9/9] powerpc: optimise csum_partial() call when len is constant

2015-10-22 Thread Scott Wood
On Tue, 2015-09-22 at 16:34 +0200, Christophe Leroy wrote: > csum_partial is often called for small fixed length packets > for which it is suboptimal to use the generic csum_partial() > function. > > For instance, in my configuration, I got: > * One place calling it with constant len 4 > * Seven

Re: [PATCH v12 5/6] QE: use subsys_initcall to init qe

2015-10-22 Thread Scott Wood
On Wed, 2015-10-14 at 15:16 +0800, Zhao Qiang wrote: > diff --git a/arch/powerpc/sysdev/qe_lib/qe.c > > b/arch/powerpc/sysdev/qe_lib/qe.c > index c2518cd..3f9f596 100644 > --- a/arch/powerpc/sysdev/qe_lib/qe.c > +++ b/arch/powerpc/sysdev/qe_lib/qe.c > @@ -671,6 +671,21 @@ unsigned int

Re: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-22 Thread Scott Wood
On Wed, 2015-10-14 at 15:16 +0800, Zhao Qiang wrote: > Use genalloc to manage CPM/QE muram instead of rheap. > > Signed-off-by: Zhao Qiang > --- > Changes for v9: > - splitted from patch 3/5, modify cpm muram management functions. > Changes for v10: > -

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-22 Thread Scott Wood
*addr); > +dma_addr_t cpm_muram_dma(void __iomem *addr); > +#endif /* defined(CONFIG_CPM) || defined(CONFIG_QUICC_ENGINE) */ Why did you eliminate the stubs for when CPM/QUICC_ENGINE aren't selected? > diff --git a/arch/powerpc/sysdev/cpm_common.c > b/arch/powerpc/sysdev/qe_lib/qe_c

Re: [PATCH 6/9] powerpc32: optimise a few instructions in csum_partial()

2015-10-22 Thread Scott Wood
On Tue, 2015-09-22 at 16:34 +0200, Christophe Leroy wrote: > r5 does contain the value to be updated, so lets use r5 all way long > for that. It makes the code more readable. > > To avoid confusion, it is better to use adde instead of addc > > The first addition is useless. Its only purpose is

[PATCH] clk: qoriq: Fix wrong data in p2041_cmux_grp2

2015-10-22 Thread Scott Wood
Signed-off-by: Scott Wood <scottw...@freescale.com> --- This is on top of http://patchwork.ozlabs.org/patch/519801/ and I'll apply them together. drivers/clk/clk-qoriq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-q

Re: [PATCH v12 6/6] QE: Move QE from arch/powerpc to drivers/soc

2015-10-22 Thread Scott Wood
On Wed, Oct 14, 2015 at 03:16:08PM +0800, Zhao Qiang wrote: > diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig > index 01626be7..c9541a5 100644 > --- a/arch/powerpc/platforms/Kconfig > +++ b/arch/powerpc/platforms/Kconfig > @@ -272,25 +272,6 @@ config TAU_AVERAGE > >

Re: [PATCH 3/9] powerpc32: checksum_wrappers_64 becomes checksum_wrappers

2015-10-22 Thread Scott Wood
On Tue, 2015-09-22 at 16:34 +0200, Christophe Leroy wrote: > The powerpc64 checksum wrapper functions adds csum_and_copy_to_user() > which otherwise is implemented in include/net/checksum.h by using > csum_partial() then copy_to_user() > > Those two wrapper fonctions are also applicable to

Re: [PATCH 8/9] powerpc: simplify csum_add(a, b) in case a or b is constant 0

2015-10-22 Thread Scott Wood
On Tue, 2015-09-22 at 16:34 +0200, Christophe Leroy wrote: > Simplify csum_add(a, b) in case a or b is constant 0 > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/checksum.h | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

[PATCH v3 05/18] powerpc/85xx: Load all early TLB entries at once

2015-10-22 Thread Scott Wood
want another thread to be running when we create a temporary trampoline TLB1 entry. Signed-off-by: Scott Wood <scottw...@freescale.com> --- v3: Drop rename of settlbcam to preptlbcam, as the settlbcam wrapper was unused. arch/powerpc/kernel/setup_64.c | 8 + arch/powerpc/mm/fsl_booke

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-21 Thread Scott Wood
On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood <scottw...@freescale.com> > wrote: > > On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: > > > Instead of trying to match and probe platform and AMBA dev

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-20 Thread Scott Wood
On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: > Instead of trying to match and probe platform and AMBA devices right > after each is registered, delay their probes until device_initcall_sync. > > This means that devices will start probing once all built-in drivers > have registered, and

Re: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-10-19 Thread Scott Wood
On Mon, 2015-10-19 at 18:35 +0100, Sudeep Holla wrote: > Hi Ben, > > On 23/09/15 05:06, Scott Wood wrote: > > On Mon, 2015-09-21 at 16:47 +0100, Sudeep Holla wrote: > > > mpic_irq_set_wake return -ENXIO for non FSL MPIC and sets > > > IRQF_NO_SUSPEND > &g

[PATCH v3 13/17] powerpc/book3e-64: Don't limit paca to 256 MiB

2015-10-19 Thread Scott Wood
This limit only makes sense on book3s, and on book3e it can cause problems with kdump if we don't have any memory under 256 MiB. Signed-off-by: Scott Wood <scottw...@freescale.com> --- v3: Fix book3s build error arch/powerpc/kernel/paca.c | 9 +++-- 1 file changed, 7 insertions

Re: [v2] powerpc/e6500: hw tablewalk: make sure we invalidate and write to the same tlb entry

2015-10-16 Thread Scott Wood
On Tue, Aug 18, 2015 at 03:55:56PM +0800, Kevin Hao wrote: > diff --git a/arch/powerpc/mm/tlb_low_64e.S b/arch/powerpc/mm/tlb_low_64e.S > index e4185581c5a7..3a5b89dfb5a1 100644 > --- a/arch/powerpc/mm/tlb_low_64e.S > +++ b/arch/powerpc/mm/tlb_low_64e.S > @@ -68,11 +68,21 @@

Re: [2/3] powerpc: dts: p1022si: Add fsl,wake-on-filer for eTSEC

2015-10-16 Thread Scott Wood
e.com> > > Signed-off-by: Claudiu Manoil <claudiu.man...@freescale.com> > --- > arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Scott Wood <scottw...@freescale.com> -Scott _

Re: [V2,1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-16 Thread Scott Wood
On Fri, Oct 16, 2015 at 05:01:10PM +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Change-Id: I4355add4a92d1fcf514843aea5ecadd2e2517969 >

Re: PowerPC: Move Freescale device tree files into fsl folder

2015-10-16 Thread Scott Wood
On Fri, Sep 18, 2015 at 12:00:24PM +0800, Hongtao Jia wrote: > It makes no sense that some Freescale device tree files are in fsl > directory while some others not. This patch move Freescale device tree > files into fsl folder. To do that the following two steps are made: > - Move Freescale device

Re: devicetree and IRQ7 mapping for T1042(mpic)

2015-10-15 Thread Scott Wood
On Thu, 2015-10-15 at 07:11 +, Joakim Tjernlund wrote: > On Wed, 2015-10-14 at 19:11 -0500, Scott Wood wrote: > > On Wed, 2015-10-14 at 19:37 +, Joakim Tjernlund wrote: > > > I am trying to figure out how to describe/map external IRQ7 in the > > > devicetree. &g

Re: [PATCH v3 4/5] clk: Add consumer APIs for discovering possible parent clocks

2015-10-15 Thread Scott Wood
On Sat, 2015-09-19 at 23:29 -0500, Scott Wood wrote: > Commit fc4a05d4b0eb ("clk: Remove unused provider APIs") removed > __clk_get_num_parents() and clk_hw_get_parent_by_index(), leaving only > true provider API versions that operate on struct clk_hw. > > qoriq-cpuf

Re: [PATCH 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-14 Thread Scott Wood
On Tue, 2015-10-13 at 19:29 +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Change-Id: I4355add4a92d1fcf514843aea5ecadd2e2517969 >

Re: devicetree and IRQ7 mapping for T1042(mpic)

2015-10-14 Thread Scott Wood
On Wed, 2015-10-14 at 19:37 +, Joakim Tjernlund wrote: > I am trying to figure out how to describe/map external IRQ7 in the > devicetree. > > Basically either IRQ7 to be left alone by Linux(becase u-boot already set > it up) > or map IRQ7 to sie 0(MPIC_EILR7=0xf0) and

Re: devicetree and IRQ7 mapping for T1042(mpic)

2015-10-14 Thread Scott Wood
On Wed, 2015-10-14 at 19:11 -0500, Scott Wood wrote: > On Wed, 2015-10-14 at 19:37 +, Joakim Tjernlund wrote: > > I am trying to figure out how to describe/map external IRQ7 in the > > devicetree. > > > > Basically either IRQ7 to be left alone by Linux(becase u-

Re: [PATCH 5/6] powerpc/kconfig: Move cpu options after platform options

2015-10-12 Thread Scott Wood
On Fri, 2015-10-09 at 08:09 +1100, Michael Ellerman wrote: > In general platforms are a more important configuration decision than > cpus, so the platforms should come first. > > My basis for saying that is that our cpu selection options are generally > just about tuning for a cpu, rather than

Re: [PATCH v3 00/31] powerpc/mm: Update page table format for book3s 64

2015-10-12 Thread Scott Wood
t pmd level. This will also > enable > us to implement hugetlb migration(not yet done in this series). Acked-by: Scott Wood <scottw...@freescale.com> -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-10-09 Thread Scott Wood
On Thu, 2015-10-01 at 19:26 -0500, Scott Wood wrote: > [Resending to updated e-mail address] > > On Tue, 2015-08-11 at 11:25 -0700, Michael Turquette wrote: > > Hi Scott, > > > > Quoting Scott Wood (2015-06-18 19:49:10) > > > The existing device tree bin

Re: [PATCH v2 22/25] powerpc32: move xxxxx_dcache_range() functions inline

2015-10-08 Thread Scott Wood
On Wed, 2015-10-07 at 14:49 +0200, Christophe Leroy wrote: > Le 29/09/2015 02:29, Scott Wood a écrit : > > On Tue, Sep 22, 2015 at 06:51:13PM +0200, Christophe Leroy wrote: > > > flush/clean/invalidate _dcache_range() functions are all very > > > similar and are quite

Re: [PATCH v2 05/25] powerpc/8xx: Fix vaddr for IMMR early remap

2015-10-08 Thread Scott Wood
On Thu, 2015-10-08 at 14:34 +0200, Christophe Leroy wrote: > Le 29/09/2015 01:39, Scott Wood a écrit : > > On Tue, Sep 22, 2015 at 06:50:38PM +0200, Christophe Leroy wrote: > > > Memory: 124428K/131072K available (3748K kernel code, 188K rwdata, > > > 648K rodata,

Re: [PATCH v2 05/18] powerpc/85xx: Load all early TLB entries at once

2015-10-07 Thread Scott Wood
On Wed, 2015-10-07 at 17:00 +0300, Laurentiu Tudor wrote: > On 10/07/2015 06:48 AM, Scott Wood wrote: > > Use an AS=1 trampoline TLB entry to allow all normal TLB1 entries to > > be loaded at once. This avoids the need to keep the translation that > > code is executing from

Re: [PATCH v2 11/25] powerpc/8xx: map 16M RAM at startup

2015-10-06 Thread Scott Wood
On Tue, 2015-10-06 at 16:10 +0200, Christophe Leroy wrote: > Le 29/09/2015 01:58, Scott Wood a écrit : > > On Tue, Sep 22, 2015 at 06:50:50PM +0200, Christophe Leroy wrote: > > > On recent kernels, with some debug options like for instance > > > CONFIG_LOCKDEP, the BSS r

Re: [PATCH v2 07/25] powerpc32: refactor x_mapped_by_bats() and x_mapped_by_tlbcam() together

2015-10-06 Thread Scott Wood
On Tue, 2015-10-06 at 16:02 +0200, Christophe Leroy wrote: > Le 29/09/2015 01:47, Scott Wood a écrit : > > On Tue, Sep 22, 2015 at 06:50:42PM +0200, Christophe Leroy wrote: > > > x_mapped_by_bats() and x_mapped_by_tlbcam() serve the same kind of > > > purpose, so le

[PATCH v2 01/18] powerpc/fsl-booke-64: Allow booting from the secondary thread

2015-10-06 Thread Scott Wood
or not depends on which cpu crashed). Signed-off-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/platforms/85xx/smp.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c

[PATCH v2 00/18] powerpc/fsl-book3e-64: kexec/kdump support

2015-10-06 Thread Scott Wood
This patchset adds support for kexec and kdump to e5500 and e6500 based systems running 64-bit kernels. It depends on the kexec-tools patch http://patchwork.ozlabs.org/patch/527050/ ("ppc64: Add a flag to tell the kernel it's booting from kexec"). Scott Wood (12): powerpc/fsl-booke

[PATCH v2 04/18] powerpc/fsl_pci: Don't set up inbound windows in kdump crash kernel

2015-10-06 Thread Scott Wood
kexec, in case kexec is being used to upgrade to a kernel that wants a different inbound memory map. Signed-off-by: Scott Wood <scottw...@freescale.com> Cc: Mingkai Hu <mingkai...@freescale.com> --- v2: new patch arch/powerpc/sysdev/fsl_pci.c | 84 +++

[PATCH v2 02/18] powerpc/fsl-corenet: Disable coreint if kexec is enabled

2015-10-06 Thread Scott Wood
-off-by: Scott Wood <scottw...@freescale.com> --- Previously I discussed the possibility of removing coreint entirely, but I think we want to keep it for virtualized guests. --- arch/powerpc/platforms/85xx/corenet_generic.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/p

[PATCH v2 03/18] powerpc/85xx: Don't use generic timebase sync on 64-bit

2015-10-06 Thread Scott Wood
the fact that the hard reset is done on 32-bit kexec, and I especially don't like the timebase sync being triggered only on the presence of CONFIG_KEXEC rather than actually booting in that environment, but that's beyond the scope of this patch... Signed-off-by: Scott Wood <scottw...@freescale.

[PATCH v2 06/18] powerpc/fsl-booke-64: Don't limit ppc64_rma_size to one TLB entry

2015-10-06 Thread Scott Wood
that does. Thus, more TLB entries are needed than would normally be used, as the total memory to be mapped might not be a power of two. Signed-off-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/mm/fsl_booke_mmu.c | 22 +++--- arch/powerpc/mm/mmu_decl.h | 3 ++-

[PATCH v2 05/18] powerpc/85xx: Load all early TLB entries at once

2015-10-06 Thread Scott Wood
want another thread to be running when we create a temporary trampoline TLB1 entry. Signed-off-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/kernel/setup_64.c | 8 + arch/powerpc/mm/fsl_booke_mmu.c | 15 -- arch/powerpc/mm/mmu_decl.h | 1 + arch/powe

[PATCH v2 09/18] powerpc/book3e-64: rename interrupt_end_book3e with __end_interrupts

2015-10-06 Thread Scott Wood
From: Tiejun Chen <tiejun.c...@windriver.com> Rename 'interrupt_end_book3e' to '__end_interrupts' so that the symbol can be used by both book3s and book3e. Signed-off-by: Tiejun Chen <tiejun.c...@windriver.com> [scottwood: edit changelog] Signed-off-by: Scott Wood <scottw..

[PATCH v2 08/18] powerpc/e6500: kexec: Handle hardware threads

2015-10-06 Thread Scott Wood
The new kernel will be expecting secondary threads to be disabled, not spinning. Signed-off-by: Scott Wood <scottw...@freescale.com> --- v2: minor cleanup arch/powerpc/kernel/head_64.S | 16 ++ arch/powerpc/platforms/85xx/smp.c | 46

<    1   2   3   4   5   6   7   8   9   10   >