Zero-copy sockets

2011-03-01 Thread Guillaume Dargaud
Hello all, I cannot find the option SO_SND_COPYAVOID in socket.h... Is there another way to do zero-copy network transfers ? I'm using the 2.6.35 xilinx patched-kernel. Thanks -- Guillaume Dargaud http://www.gdargaud.net/Photo/ ___ Linuxppc-dev mailing

Re: [PATCH 0/8] fsldma: lockup fixes

2011-03-01 Thread Ira W. Snyder
On Tue, Mar 01, 2011 at 07:52:39AM +0200, Felix Radensky wrote: > Hi Ira, > > On 03/01/2011 02:21 AM, Ira W. Snyder wrote: > > On Mon, Feb 28, 2011 at 11:27:40PM +0200, Felix Radensky wrote: > >> Hi Ira, > >> > >> On 02/28/2011 11:11 PM, Ira W. Snyder wrote: > >>> On Mon, Feb 28, 2011 at 10:15:49P

Re: [PATCH 0/8] fsldma: lockup fixes

2011-03-01 Thread Ira W. Snyder
On Tue, Mar 01, 2011 at 08:55:15AM -0800, Ira W. Snyder wrote: [ big snip ] > > Thanks, this is exactly what I was going to ask for next. :) > > I really don't understand why the P2020 DMA controller isn't behaving > nicely after my patches. > > Can you run a git bisect to figure out which pat

[PATCH] powerpc/ptrace: remove BUG_ON when full register set not available

2011-03-01 Thread Michael Wolf
In some cases during a threaded core dump not all the threads will have a full register set. This will cause problems when the sigkill is sent to the thread. To solve this problem a poison value (0xdeadbeef) will be placed in the buffer in place of the actual register values. This will affect

Re: [PATCH] powerpc/ptrace: remove BUG_ON when full register set not available

2011-03-01 Thread Benjamin Herrenschmidt
> --- ptracev2.orig/include/linux/regset.h 2011-02-20 12:15:57.0 > -0600 > +++ ptracev2/include/linux/regset.h 2011-02-28 13:33:36.685302349 -0600 > @@ -240,6 +240,34 @@ static inline int user_regset_copyout(un > } > return 0; > } > +/* want the count to be the registe

Re: [PATCH v4 2/2] powerpc: make MPIC honor the "pic-no-reset" device tree property

2011-03-01 Thread Benjamin Herrenschmidt
> diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h > index e000cce..7e1be12 100644 > --- a/arch/powerpc/include/asm/mpic.h > +++ b/arch/powerpc/include/asm/mpic.h > @@ -325,6 +325,8 @@ struct mpic > #ifdef CONFIG_PM > struct mpic_irq_save*save_data; > #end

Re: [PATCH][v2] driver/FSL SATA:Fix wrong Device Error Register usage

2011-03-01 Thread Benjamin Herrenschmidt
On Mon, 2011-02-21 at 15:27 +0530, Prabhakar Kushwaha wrote: > When a single device error is detected, the device under the error is > indicated > by the error bit set in the DER. There is a one to one mapping between > register > bit and devices on Port multiplier(PMP) i.e. bit 0 represents PMP

Re: [PATCH V2 1/6] powerpc: Move udbg_early_init() after early_init_devtree()

2011-03-01 Thread Benjamin Herrenschmidt
On Mon, 2011-02-07 at 19:29 +1100, David Gibson wrote: > On Wed, Feb 02, 2011 at 06:00:25PM -0600, Dave Kleikamp wrote: > > On Thu, 2011-02-03 at 10:06 +1100, David Gibson wrote: > > > On Tue, Feb 01, 2011 at 12:48:41PM -0600, Dave Kleikamp wrote: > > > > so that it can use information from the dev

[PATCH] RTC driver(Linux) for PT7C4338 chip.

2011-03-01 Thread Priyanka Jain
PT7C4338 chip is being manufactured by Pericom Technology Inc. It is a serial real-time clock which provides: 1)Low-power clock/calendar. 2)Programmable square-wave output. It has 56 bytes of nonvolatile RAM. Signed-off-by: Priyanka Jain --- PT7C4338 RTC driver is verified on Freescale P1010RDB.

[git pull] Please pull powerpc.git merge branch

2011-03-01 Thread Benjamin Herrenschmidt
Hi Linus ! Here are 3 patches for powerpc, one reverts an Anton mistake (such a thing does exist indeed ! here goes my blind faith...) and a couple of fixes that would be much welcome to have in .38 Cheers, Ben. The following changes since commit dd9c1549edef02290edced639f67b54a25abbe0e: Linu

Re: Per process DSCR + somefixes (try#3)

2011-03-01 Thread Benjamin Herrenschmidt
On Wed, 2011-02-16 at 16:38 +1100, Alexey Kardashevskiy wrote: > step1: http://patchwork.ozlabs.org/patch/71489/ > step2: http://patchwork.ozlabs.org/patch/81423/ > > In step2 I defined sysfs node as: > > static SYSDEV_ATTR(dscr_default, 0600, show_dscr_default, > store_dscr_default); > > and i

Re: [PATCH 0/8] fsldma: lockup fixes

2011-03-01 Thread Felix Radensky
Hi Ira, On 03/01/2011 09:52 PM, Ira W. Snyder wrote: On Tue, Mar 01, 2011 at 08:55:15AM -0800, Ira W. Snyder wrote: [ big snip ] I'd still like the bisect if you have a chance. I've re-reviewed the patch series, and found the places that change register writes to the controller. The patch be

RE: [PATCH][v2] driver/FSL SATA:Fix wrong Device Error Register usage

2011-03-01 Thread Kushwaha Prabhakar-B32579
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Wednesday, March 02, 2011 8:56 AM > To: Kushwaha Prabhakar-B32579 > Cc: linuxppc-dev@lists.ozlabs.org; meet2pra...@gmail.com; Kalra Ashish- > B00888 > Subject: Re: [PATCH][v2] driver/FSL SATA:Fix

Re: Per process DSCR + somefixes (try#3)

2011-03-01 Thread Alexey Kardashevskiy
On 02/03/11 16:47, Benjamin Herrenschmidt wrote: BTW. I suppose it's an expected behaviour that thread created with a given default value will keep that value even when the default is later changed right ? And their descendents will use the same default as the original thread, not the new default

[PATCH] Remove unused is_iso from fsl_udc_core.c

2011-03-01 Thread huzaifas
From: Huzaifa Sidhpurwala is_iso variable is not used anywhere, remove it Signed-off-by: Huzaifa Sidhpurwala --- drivers/usb/gadget/fsl_udc_core.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c in