[PATCH 1/2] powerpc: make kernel module helper endian-safe.

2013-09-20 Thread Eugene Surovegin
Signed-off-by: Eugene Surovegin --- arch/powerpc/kernel/module_64.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/powerpc/kernel/module_64.c b/arch/powerpc/kernel/module_64.c index 6ee59a0..a102f44 100644 --- a/arch/powerpc/kernel/module_64.c +++ b/arch/powerpc

[PATCH 2/2] powerpc: make ftrace endian-safe.

2013-09-20 Thread Eugene Surovegin
Signed-off-by: Eugene Surovegin --- arch/powerpc/kernel/ftrace.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/kernel/ftrace.c b/arch/powerpc/kernel/ftrace.c index 1fb7856..9b27b29 100644 --- a/arch/powerpc/kernel/ftrace.c +++ b/arch/powerpc/kernel/ftrace.c @@ -174,7

[PATCH] powerpc/hvsi: increase handshake timeout from 200ms to 400ms.

2013-08-26 Thread Eugene Surovegin
ility. This has been tested on Power7 machine with Petitboot as a primary bootloader and PowerNV firmware. Signed-off-by: Eugene Surovegin --- drivers/tty/hvc/hvsi_lib.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvsi_lib.c b/drivers/tty/hvc/hvsi_

Re: [PATCH] ibm_emac: Remove the ibm_emac driver

2008-06-17 Thread Eugene Surovegin
> PowerPC boards with the EMAC hardware. > > Signed-off-by: Josh Boyer <[EMAIL PROTECTED]> Acked-by: Eugene Surovegin <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] net: EMAC: Fix problem with mtu > 4080 on non TAH equipped 4xx PPC's

2008-01-15 Thread Eugene Surovegin
On Tue, Jan 15, 2008 at 08:46:01PM +0100, Stefan Roese wrote: > On Tuesday 15 January 2008, Eugene Surovegin wrote: > > On Tue, Jan 15, 2008 at 01:40:09PM +0100, Stefan Roese wrote: > > > Currently, all non TAH equipped 4xx PPC's call emac_start_xmit() upon > > >

Re: [PATCH] net: EMAC: Fix problem with mtu > 4080 on non TAH equipped 4xx PPC's

2008-01-15 Thread Eugene Surovegin
On Tue, Jan 15, 2008 at 01:40:09PM +0100, Stefan Roese wrote: > Currently, all non TAH equipped 4xx PPC's call emac_start_xmit() upon > xmit. This routine doesn't check if the frame length exceeds the max. > MAL buffer size. > > This patch now changes the driver to call emac_start_xmit_sg() on all

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-12 Thread Eugene Surovegin
On Sat, Jan 12, 2008 at 06:57:24PM +1100, Benjamin Herrenschmidt wrote: > > On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote: > > > > We shouldn't make it too complicated. We can always select different > > settings > > in the defconfig file. My thinking here is to better wast a little > >

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Eugene Surovegin
On Sat, Jan 12, 2008 at 09:05:35AM +1100, Benjamin Herrenschmidt wrote: > > > > The s/w synchronization algorithms proposed in my patches has no LL PLB > > > limitations as opposed to h/w snooping, but, probably, this is not the > > > best > > > way of how it might be implemented. Even though

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Eugene Surovegin
On Fri, Jan 11, 2008 at 06:24:46PM +0300, Yuri Tikhonov wrote: > > Hello, Eugene, > > The h/w snooping mechanism you are talking about is limited to the Low > Latency (LL) segment of the PLB bus in ppc440sp and ppc440spe chips (see > section "7.2.7 L2 Cache Coherency" of the ppc440spe spec),

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-11 Thread Eugene Surovegin
On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote: > On Saturday 05 January 2008, Benjamin Herrenschmidt wrote: > > On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote: > > > Performance tests done by AMCC have shown that 256 buffer increase the > > > performance of the Linux EMAC driv

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2007-11-28 Thread Eugene Surovegin
On Wed, Nov 07, 2007 at 01:40:10AM +0300, Yuri Tikhonov wrote: > > Hello all, > > Here is a patch-set for support L2-cache synchronization routines for > the ppc44x processors family. I know that the "ppc" branch is for bug-fixing > only, thus > the patch-set is just FYI [though enabled but no

Re: [PATCH 2/2] [PPC 44x] enable L2-cache for ALPR, Katmai, Ocotea, and Taishan

2007-11-28 Thread Eugene Surovegin
On Tue, Nov 27, 2007 at 10:41:46AM +1100, Benjamin Herrenschmidt wrote: > BTW... Do you know why we can't just enable HW snoop ? The 440SPe > documentation seems to indicate that this is supported by the L2 cache > via snooping on the PLB. Unless something has been changed significantly in the 44x

Re: [PATCH 2/2] i2c: Add devtree-aware iic support for PPC4xx

2007-10-15 Thread Eugene Surovegin
On Mon, Oct 15, 2007 at 01:53:40PM -0500, Scott Wood wrote: > Though, I don't see what the problem with the original approach is, as long > as the numbers are chosen in the same way when registering i2c clients based > on the children of the adapter node. There's no concept in the hardware > itsel

Re: [PATCH 2/2] i2c: Add devtree-aware iic support for PPC4xx

2007-10-15 Thread Eugene Surovegin
On Mon, Oct 15, 2007 at 03:29:11PM +0200, Stefan Roese wrote: > +#ifdef CONFIG_PPC_MERGE > +static int device_idx = -1; > +#endif > + > + dev->idx = ++device_idx; > + adap->nr = dev->idx; Hmm, this doesn't look right. That mighty powerpc device everybody was so excited about for the

Re: [PATCH] i2c: devtree-aware iic support for PPC4xx

2007-09-16 Thread Eugene Surovegin
On Mon, Sep 17, 2007 at 07:34:08AM +0200, Stefan Roese wrote: > > My understanding was, that adding many #ifdef's into the code was not the > preferred way. But just making a copy seems to be a proffered one? Wow. OCP and/or OF part is quite small part of the driver; another approach would be

Re: [PATCH] i2c: devtree-aware iic support for PPC4xx

2007-09-16 Thread Eugene Surovegin
On Sun, Sep 16, 2007 at 11:07:23AM +0200, Stefan Roese wrote: > On Saturday 15 September 2007, Vitaly Bordug wrote: > > > Where is dev->clkdiv initialized? > > > > > > My original version used iic_clkdiv() to calculate correct devider > > > based on OPB frequency. Did you even test this code? > >

Re: [PATCH] i2c: devtree-aware iic support for PPC4xx

2007-09-16 Thread Eugene Surovegin
On Sun, Sep 16, 2007 at 01:52:02PM +0200, Stefan Roese wrote: > This patch reworks existing ibm-iic driver to an of_platform_device > and enables it to talk to device tree directly. The ocp quirks are > completely removed by this patch. > > This is done to enable I2C support for the PPC4xx platfor

Re: [PATCH] i2c: devtree-aware iic support for PPC4xx

2007-09-15 Thread Eugene Surovegin
On Sat, Sep 15, 2007 at 11:08:01AM +0200, Stefan Roese wrote: > This patch reworks existing ibm-iic driver to an of_platform_device > and enables it to talk to device tree directly. The ocp quirks are > completely removed by this patch. > > This is done to enable I2C support for the PPC4xx platfor