Re: [PATCH 3/3] [POWERPC] Add PCI support for AMCC 440EPx (sequoia)

2007-08-26 Thread Vitaly Bordug
On Mon, 27 Aug 2007 11:57:19 +1000 David Gibson wrote: > > + * Free Software Foundation; either version 2 of the License, or > > (at your > > + * option) any later version. > > + */ > > Unless there really is something peculiar about the EPx bridge > compared to say the GP, EP and other 4xx b

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Vitaly Bordug
On Mon, 27 Aug 2007 11:54:17 +1000 David Gibson wrote: > On Sat, Aug 25, 2007 at 01:29:54PM +0400, Vitaly Bordug wrote: > > > > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > > > > --- > > > > arch/powerpc/boot/dts/sequoia.dts | 26

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Stefan Roese
On Monday 27 August 2007, David Gibson wrote: > On Mon, Aug 27, 2007 at 08:07:17AM +0200, Stefan Roese wrote: > [snip] > > > > I usually put device_type, compatible and reg at the top of the block, > > > to announce what the node actually is before giving all the details. > > > > > > Also, apart fr

Re: [PATCH 1/3] [POWERPC] Merge 32 and 64 bit pci_process_bridge_OF_ranges() instances

2007-08-26 Thread Vitaly Bordug
On Mon, 27 Aug 2007 11:15:16 +1000 David Gibson wrote: > On Sat, Aug 25, 2007 at 01:29:47PM +0400, Vitaly Bordug wrote: > > > > We are having 2 different instances of > > pci_process_bridge_OF_ranges(), which makes describing 64-bit > > physical addresses in non PPC64 case impossible. > > > > Th

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread David Gibson
On Mon, Aug 27, 2007 at 08:07:17AM +0200, Stefan Roese wrote: [snip] > > I usually put device_type, compatible and reg at the top of the block, > > to announce what the node actually is before giving all the details. > > > > Also, apart from the stray space in the compatible, I'm guessing that > >

Re: [PATCH 3/3] [POWERPC] Add PCI support for AMCC 440EPx (sequoia)

2007-08-26 Thread Stefan Roese
On Monday 27 August 2007, David Gibson wrote: > On Sat, Aug 25, 2007 at 01:30:01PM +0400, Vitaly Bordug wrote: > > In fact, loosely move of arch/ppc bits, though regions are > > set up using values from ranges property. This also adds > > setup_indirect_pci_noremap() function to handle indirect > >

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Stefan Roese
On Monday 27 August 2007, David Gibson wrote: > On Sat, Aug 25, 2007 at 01:29:54PM +0400, Vitaly Bordug wrote: > > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > > > > --- > > > > arch/powerpc/boot/dts/sequoia.dts | 26 +

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Stefan Roese
On Saturday 25 August 2007, Segher Boessenkool wrote: > > + compatible = "ibm, 440epx"; > > Oh, and shouldn't it be "amcc," anyway? Not sure here. It's still the PCI core used on the early 405 and 440 platforms build by IBM. If we use IBM on other core logic like UIC, EMAC etc,

Re: RFC: issues concerning the next NAPI interface

2007-08-26 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Sun, 26 Aug 2007 20:36:20 +0100 > David Miller wrote: > > From: James Chapman <[EMAIL PROTECTED]> > > Date: Fri, 24 Aug 2007 18:16:45 +0100 > > > >> Does hardware interrupt mitigation really interact well with NAPI? > > > > It interacts quite excelle

Re: [PATCH 3/3] [POWERPC] Add PCI support for AMCC 440EPx (sequoia)

2007-08-26 Thread David Gibson
On Sat, Aug 25, 2007 at 01:30:01PM +0400, Vitaly Bordug wrote: > > In fact, loosely move of arch/ppc bits, though regions are > set up using values from ranges property. This also adds > setup_indirect_pci_noremap() function to handle indirect > PCI without one more ioremap. > > Signed-off-by: Vi

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread David Gibson
On Sun, Aug 26, 2007 at 02:27:50PM +0400, Vitaly Bordug wrote: > On Sat, 25 Aug 2007 11:49:58 +0200 Segher Boessenkool wrote: [snip] > > > + compatible = "ibm, 440epx"; > > > > Stray space. And you need to say it is the PCI host, so something > > like "ibm,440epx-pci". > > > OK,

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread David Gibson
On Sat, Aug 25, 2007 at 01:29:54PM +0400, Vitaly Bordug wrote: > > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/sequoia.dts | 26 ++ > 1 files changed, 26 insertions(+), 0 deletions

Re: [PATCH 1/3] [POWERPC] Merge 32 and 64 bit pci_process_bridge_OF_ranges() instances

2007-08-26 Thread David Gibson
On Sat, Aug 25, 2007 at 01:29:47PM +0400, Vitaly Bordug wrote: > > We are having 2 different instances of pci_process_bridge_OF_ranges(), > which makes describing 64-bit physical addresses in non PPC64 case > impossible. > > This approach inherits pci space parsing, but has a new way to behave >

Re: [PATCH, RFC] linkstation: implement standby

2007-08-26 Thread Tony Breeds
On Sun, Aug 26, 2007 at 02:03:49AM +0200, Guennadi Liakhovetski wrote: > Implement suspend/resume for "mpc10x" compatible fsl host PCI controllers, > use it for linkstation standby. Hi Guennadi > +static int __init ls_pm_init(void) > +{ > + if (!machine_is(linkstation)) > + ret

Please pull powerpc.git merge branch

2007-08-26 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge There are 4 bug fixes for Cell and a cell_defconfig update from Arnd, and a bug fix each from Olof Johansson, Olaf Hering and myself. Thanks, Paul. arch/powerpc/configs/cell_defconfig | 2

Re: Sleep problems with kernels >= 2.6.21 on powerpc

2007-08-26 Thread Michal Piotrowski
Hi [Adding STR wizards to CC] On 26/08/07, Rogério Brito <[EMAIL PROTECTED]> wrote: > Hi. > > Unfortunately, it seems that kernels later than 2.6.21 have problems > letting my powerpc iBook (G3 processor) going to sleep (suspend to > ram). > > The userland that I am using is a Debian testing (len

Re: RFC: issues concerning the next NAPI interface

2007-08-26 Thread James Chapman
David Miller wrote: > From: James Chapman <[EMAIL PROTECTED]> > Date: Fri, 24 Aug 2007 18:16:45 +0100 > >> Does hardware interrupt mitigation really interact well with NAPI? > > It interacts quite excellently. If NAPI disables interrupts and keeps them disabled while there are more packets arri

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Segher Boessenkool
>>> + pci { >>> + reg = <1 eec0 40 1 ef40 >>> 40>; /* phb cfg, phb reg */ >> >> First component of reg is the unit address, so: [EMAIL PROTECTED] . >> >> "phb cfg" is how you access PCI configuration space? It wouldn't >> hurt to document that, either i

Re: [PATCH, RFC] linkstation: implement standby

2007-08-26 Thread Guennadi Liakhovetski
On Sun, 26 Aug 2007, Stephen Rothwell wrote: > On Sun, 26 Aug 2007 02:03:49 +0200 (CEST) Guennadi Liakhovetski <[EMAIL > PROTECTED]> wrote: > > > > +static int ls_pm_enter(suspend_state_t state) > > +{ > > + char ier; > > + int ret = 0; > > + u64 tb; > > + > > + if ((ret = mpc10x_suspend(

Re: [RFC] xmon: setjmp / longjmp implementation problems

2007-08-26 Thread Florian Boelstler
Just for the record: I made a mistake in my userspace test environment regarding the setjmp/longjmp implementation. I defined setjmp/longjmp functions as static ones, which triggered recent compilers to inline. Inlining breaks setjmp/longjmp of course. Further I realized that the NuBus-specific se

Re: [PATCH 2/3] [POWERPC] Add pci node to sequoia dts

2007-08-26 Thread Vitaly Bordug
On Sat, 25 Aug 2007 11:49:58 +0200 Segher Boessenkool wrote: > > + pci { > > + reg = <1 eec0 40 1 ef40 > > 40>; /* phb cfg, phb reg */ > > First component of reg is the unit address, so: [EMAIL PROTECTED] . > > "phb cfg" is how you access PCI configur

[PATCH] fix pmac_zilog debug arg

2007-08-26 Thread Olaf Hering
drivers/serial/pmac_zilog.c:1590: warning: format '%d' expects type 'int', but argument 3 has type 'pm_message_t' Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- drivers/serial/pmac_zilog.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/serial/pmac_zilog.c +++ b/dri