Re: [PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-18 Thread Ganapatrao Kulkarni
On Mon, Jan 18, 2016 at 11:11 PM, David Daney wrote: > On 01/18/2016 08:36 AM, Ganapatrao Kulkarni wrote: >> >> update numa_node of device associated with pci bus. >> moved down devm_kzalloc to allocate from node memory. >> >> Signed-off-by: Ganapatrao Kulkarni >> --- >> drivers/pci/host/pci-ho

RE: [PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-18 Thread Shaohui Xie
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Monday, January 18, 2016 11:15 PM > To: Shaohui Xie > Cc: Sebastian Hesselbarth; Florian Fainelli; shh@gmail.com; > devicet...@vger.kernel.org; net...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; da...@davem

Re: [RFC PATCH kernel] powerpc/ioda: Set "read" permission when "write" is set

2016-01-18 Thread Alexey Kardashevskiy
On 01/13/2016 01:24 PM, Douglas Miller wrote: On 01/12/2016 05:07 PM, Benjamin Herrenschmidt wrote: On Tue, 2016-01-12 at 15:40 +1100, Alexey Kardashevskiy wrote: Quite often drivers set only "write" permission assuming that this includes "read" permission as well and this works on plenty pla

RE: [PATCH 3/6] QE: Add uqe_serial document to bindings

2016-01-18 Thread Qiang Zhao
On Fri, Jan 19, 2016 at 07:08 PM, Scott Wood wrote: > -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, January 19, 2016 7:08 AM > To: Qiang Zhao ; Li Yang > Cc: devicet...@vger.kernel.org; lkml ; > linuxppc-dev ; priyanka.j...@freescale.com > Subject: Re:

Re: [PATCH v4 2/9] ppc64le FTRACE_WITH_REGS implementation

2016-01-18 Thread Michael Ellerman
On Mon, 2016-01-18 at 23:22 +0100, Jiri Kosina wrote: > On Tue, 5 Jan 2016, Torsten Duwe wrote: > > > > I (still) haven't had a chance to have a good look at it, but I won't > > > this week > > > anyway. So post v5 and hopefully I can review that and it will be perfect > > > :) > > > > The perf

Re: [PATCH 3/6] QE: Add uqe_serial document to bindings

2016-01-18 Thread Scott Wood
On Mon, 2016-01-18 at 09:24 +, Qiang Zhao wrote: > On Fri, Jan 18, 2016 at 05:10 PM, Li Yang wrote: > > -Original Message- > > From: pku@gmail.com [mailto:pku@gmail.com] On Behalf Of Li Yang > > Sent: Monday, January 18, 2016 5:10 PM > > To: Qiang Zhao > > Cc: devicet...@vger.k

Re: [PATCH v4 2/9] ppc64le FTRACE_WITH_REGS implementation

2016-01-18 Thread Jiri Kosina
On Tue, 5 Jan 2016, Torsten Duwe wrote: > > I (still) haven't had a chance to have a good look at it, but I won't this > > week > > anyway. So post v5 and hopefully I can review that and it will be perfect :) > > The perfect v5 is there now, for 4 weeks minus the holiday season, and > no furthe

Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-01-18 Thread Fabio Estevam
On Mon, Jan 18, 2016 at 5:07 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. > > However, the cac

Re: [PATCH] ASoC: fsl_ssi: Set watermark and maxburst settings to eliminate DMA xruns on imx processors

2016-01-18 Thread Caleb Crome
On Mon, Jan 18, 2016 at 10:59 AM, kbuild test robot wrote: > Hi Caleb, > > [auto build test ERROR on asoc/for-next] > [also build test ERROR on v4.4 next-20160118] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] &g

[PATCH] ASoC: fsl_ssi: Set watermark and maxburst settings to eliminate DMA xruns on imx processors

2016-01-18 Thread Caleb Crome
Change watermark settings for imx processors. The previous setting was fifo_depth-2, which causes silent but deadly xruns when using more than 2 channels. This patch sets the watermark & maxburst settings to DMA, imx processors: 4 DMA, mpc8610 : fifo_depth - 2 FIQ, all : fifo_dep

[PATCH v9 0/6] arm64, numa: Add numa support for arm64 platforms

2016-01-18 Thread Ganapatrao Kulkarni
v9: - Added cleanup patch to reuse and avoid redefinition of cpumask_of_pcibus as suggested from Will Deacon and Bjorn Helgaas. - Including patch to Make pci-host-generic driver numa aware. - Incorporated comment from Shannon Zhao. v8: - Incorporated review c

[PATCH v9 3/6] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms.

2016-01-18 Thread Ganapatrao Kulkarni
Adding numa dt binding support for arm64 based platforms. dt node parsing for numa topology is done using device property numa-node-id and device node distance-map. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/Kconfig| 10 ++ arch/arm64/include/asm/

[PATCH v9 2/6] Documentation, dt, arm64/arm: dt bindings for numa.

2016-01-18 Thread Ganapatrao Kulkarni
DT bindings for numa mapping of memory, cores and IOs. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- Documentation/devicetree/bindings/arm/numa.txt | 272 + 1 file changed, 272 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/n

[PATCH v9 1/6] arm64, numa: adding numa support for arm64 platforms.

2016-01-18 Thread Ganapatrao Kulkarni
Adding numa support for arm64 based platforms. This patch adds by default the dummy numa node and maps all memory and cpus to node 0. using this patch, numa can be simulated on single node arm64 platforms. Tested-by: Shannon Zhao Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --

[PATCH v9 4/6] arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node topology.

2016-01-18 Thread Ganapatrao Kulkarni
Adding dt file for Cavium's Thunderx dual socket platform. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/boot/dts/cavium/Makefile | 2 +- arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts | 83 +++ arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi | 806 3

[RFC PATCH v9 6/6] topology, cleanup: Avoid redefinition of cpumask_of_pcibus in asm header files.

2016-01-18 Thread Ganapatrao Kulkarni
At present cpumask_of_pcibus is defined for !CONFIG_NUMA and moving out to common will allow to use for numa too. This also avoids redefinition of this macro in respective architecture header files. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/topology.h | 3 --- arch/ia64/inc

[PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-18 Thread Ganapatrao Kulkarni
update numa_node of device associated with pci bus. moved down devm_kzalloc to allocate from node memory. Signed-off-by: Ganapatrao Kulkarni --- drivers/pci/host/pci-host-generic.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host/pci-host-generic.c b

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

2016-01-18 Thread Maciej S. Szmigiero
Hi Fabio, On 18.01.2016 13:51, Fabio Estevam wrote: > Hi Maciej, > > On Sun, Jan 17, 2016 at 8:02 PM, Maciej S. Szmigiero > wrote: > >> Patch updated according to Timur's suggestions (needs regmap fix): >> diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c > > Tested your patch aga

[PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-01-18 Thread Maciej S. Szmigiero
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. However, the cache needs to be fully populated at probe time to avoid non-atomic allocati

Re: [PATCH] ASoC: fsl_ssi: Set watermark and maxburst settings to eliminate DMA xruns on imx processors

2016-01-18 Thread kbuild test robot
Hi Caleb, [auto build test ERROR on asoc/for-next] [also build test ERROR on v4.4 next-20160118] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Caleb-Crome/ASoC-fsl_ssi-Set-watermark-and

Re: [PATCH v9 4/6] arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node topology.

2016-01-18 Thread David Daney
On 01/18/2016 08:36 AM, Ganapatrao Kulkarni wrote: Adding dt file for Cavium's Thunderx dual socket platform. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/boot/dts/cavium/Makefile | 2 +- arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts | 83 +++ arch/arm64/boot/dts/caviu

Re: [PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-18 Thread David Daney
On 01/18/2016 08:36 AM, Ganapatrao Kulkarni wrote: update numa_node of device associated with pci bus. moved down devm_kzalloc to allocate from node memory. Signed-off-by: Ganapatrao Kulkarni --- drivers/pci/host/pci-host-generic.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-18 Thread Paul E. McKenney
On Mon, Jan 18, 2016 at 04:19:29PM +0800, Herbert Xu wrote: > Paul E. McKenney wrote: > > > > You could use SYNC_ACQUIRE() to implement read_barrier_depends() and > > smp_read_barrier_depends(), but SYNC_RMB probably does not suffice. > > The reason for this is that smp_read_barrier_depends() must

Re: [PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-18 Thread Andrew Lunn
> [S.H] the fsl backplane, e.g. 10GBASE-KR, needs software to handle link > training, > It's to train link partner, and trained by link partner parallel. > > But if media type is not copper, e.g. optical module, we won't need this. So what we actually need to know is copper vs fibre? Andrew

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

2016-01-18 Thread Fabio Estevam
Hi Maciej, On Sun, Jan 17, 2016 at 8:02 PM, Maciej S. Szmigiero wrote: > Patch updated according to Timur's suggestions (needs regmap fix): > diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c Tested your patch against linux-next and it did not give me any warnings: Tested-by: Fabi

Re: [PATCH] Fix: PowerNV crash with 4.4.0-rc8 at sched_init_numa

2016-01-18 Thread Jan Stancek
- Original Message - > From: "Raghavendra K T" > To: mi...@redhat.com, pet...@infradead.org, b...@kernel.crashing.org, > pau...@samba.org, m...@ellerman.id.au, > an...@samba.org, a...@linux-foundation.org > Cc: jstan...@redhat.com, gk...@linux.vnet.ibm.com, "grant likely" > , > nik..

RE: [PATCH 3/6] QE: Add uqe_serial document to bindings

2016-01-18 Thread Qiang Zhao
On Fri, Jan 18, 2016 at 05:10 PM, Li Yang wrote: > -Original Message- > From: pku@gmail.com [mailto:pku@gmail.com] On Behalf Of Li Yang > Sent: Monday, January 18, 2016 5:10 PM > To: Qiang Zhao > Cc: devicet...@vger.kernel.org; lkml ; > linuxppc-dev ; priyanka.j...@freescale.com; >

Re: [POWERPC] Add QUICC Engine (QE) infrastructure

2016-01-18 Thread Li Yang
On Wed, Jan 6, 2016 at 5:27 PM, Dan Carpenter wrote: > Hello Li Yang, > > The patch 986585385131: "[POWERPC] Add QUICC Engine (QE) > infrastructure" from Oct 3, 2006, leads to the following static > checker warning: > > drivers/soc/fsl/qe/qe_ic.c:412 qe_ic_set_priority() > error: b

Re: [PATCH 3/6] QE: Add uqe_serial document to bindings

2016-01-18 Thread Li Yang
On Fri, Jan 8, 2016 at 10:18 AM, Zhao Qiang wrote: > Add uqe_serial document to > Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt As you have submitted patch to move QE code from arch/powerpc into drivers/soc/fsl for the reuse of ARM and powerpc, you should also move the bind

RE: [PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-18 Thread Shaohui Xie
> -Original Message- > From: Sebastian Hesselbarth [mailto:sebastian.hesselba...@gmail.com] > Sent: Monday, January 18, 2016 4:06 PM > To: Shaohui Xie; Florian Fainelli; Andrew Lunn; shh@gmail.com > Cc: devicet...@vger.kernel.org; net...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.or

RE: [PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-18 Thread Shaohui Xie
> > If you look at the list of possible values for "phy-mode" you'd see > > that none of it describes a PHY-to-PHY connection but all are for > > MAC-to-PHY connections. Also, names above suggest it already: MII is > > short for media _independent_ interface. > > > > I copy Andrew's concerns and th

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-18 Thread Herbert Xu
Paul E. McKenney wrote: > > You could use SYNC_ACQUIRE() to implement read_barrier_depends() and > smp_read_barrier_depends(), but SYNC_RMB probably does not suffice. > The reason for this is that smp_read_barrier_depends() must order the > pointer load against any subsequent read or write through

Re: [PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-18 Thread Sebastian Hesselbarth
On 18.01.2016 08:23, Shaohui Xie wrote: If you look at the list of possible values for "phy-mode" you'd see that none of it describes a PHY-to-PHY connection but all are for MAC-to-PHY connections. Also, names above suggest it already: MII is short for media _independent_ interface. I copy Andre