RE: [PATCH] powerpc: fsl: update fman dt binding for PCS PHY

2015-12-30 Thread Shaohui Xie
> > [S.H] 'compatible' and 'phy-mode' are standard properties already in > > common Ethernet phy binding, I can update 'phy-mode' with > > "1000base-kx" and "10gbase-kr", how about I still list the two > > properties here for the requirement of PCS PHY to support backplane? > > Yes. The common bin

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

2015-12-30 Thread Rob Herring
On Wed, Nov 25, 2015 at 12:46 PM, 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 by

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

2015-12-30 Thread Segher Boessenkool
On Wed, Dec 30, 2015 at 08:36:01AM -0800, Curt Brune wrote: > > What does this do if the value in cell-index is a duplicate. or the port > > with that number is already created some other way? Are the numbers in > > cell-index global anyway, or relative to some parent device (I couldn't > > find t

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

2015-12-30 Thread Curt Brune
On Mon Dec 21 21:42, Scott Wood wrote: > 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 cas

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

2015-12-30 Thread Curt Brune
On Sun Dec 20 09:02, Segher Boessenkool wrote: > On Wed, Nov 25, 2015 at 10:46:49AM -0800, Curt Brune wrote: > > + /* Check if the ports have an ordering, defined by 'cell-index' */ > > + if (((indexp = (u32*)of_get_property(np, "cell-index", &len)) != NULL) > > && > > + (len == sizeof(u

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

2015-12-30 Thread Rob Herring
On Thu, Dec 24, 2015 at 03:42:11AM +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > The FMan contains internal PHY devices used for SGMII connections > to external PHYs. When these PHYs are in use a reference is needed > for both the external PHY and the internal one. For the e

Re: [PATCH] powerpc: fsl: update fman dt binding for PCS PHY

2015-12-30 Thread Rob Herring
On Tue, Dec 29, 2015 at 9:41 PM, Shaohui Xie wrote: >> Subject: Re: [PATCH] powerpc: fsl: update fman dt binding for PCS PHY >> >> On Mon, Dec 28, 2015 at 11:47:34AM +0800, shh@gmail.com wrote: >> > From: Shaohui Xie >> > >> > PCS PHY can support backplane (1000BASE-KX and 10GBASE-KR), this n

[PATCH 16/34] powerpc: define __smp_XXX

2015-12-30 Thread Michael S. Tsirkin
This defines __smp_XXX barriers for powerpc for use by virtualization. smp_XXX barriers are removed as they are defined correctly by asm-generic/barriers.h This reduces the amount of arch-specific boiler-plate code. Signed-off-by: Michael S. Tsirkin --- arch/powerpc/include/asm/barrier.h | 24

[PATCH 05/34] powerpc: reuse asm-generic/barrier.h

2015-12-30 Thread Michael S. Tsirkin
On powerpc read_barrier_depends, smp_read_barrier_depends smp_store_mb(), smp_mb__before_atomic and smp_mb__after_atomic match the asm-generic variants exactly. Drop the local definitions and pull in asm-generic/barrier.h instead. This is in preparation to refactoring this code area. Signed-off-b

[PATCH] xen/hvc: constify hv_ops structures

2015-12-30 Thread Julia Lawall
These hv_ops structures are never modified, so declare them as const. Most were const already. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/tty/hvc/hvc_xen.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvc_xen.c b/dri