Re: [RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Benjamin Herrenschmidt
> > @@ -879,11 +891,18 @@ > > prev = NULL; > > while ((rlen -= np * sizeof(unsigned int)) >= 0) { > > if (prev) { > > - if (prev[0] == ranges[0] && prev[1] == ranges[1] && > > - (prev[2] + prev[na+4]) == ranges[2] && > > -

Re: [RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Vitaly Bordug
Hello Valentine, On Tue, 18 Sep 2007 20:07:54 +0400 Valentine Barshak wrote: > Currently pci_32 doesn't support 64-bit physical addresses, while > PowerPC440 platform has PCI space typically mapped above 4GB range. > The patch adds 64-bit physical address support to 32-bit PCI code > in order to

[RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Valentine Barshak
Currently pci_32 doesn't support 64-bit physical addresses, while PowerPC440 platform has PCI space typically mapped above 4GB range. The patch adds 64-bit physical address support to 32-bit PCI code in order to bring-up PCI on 44x platform. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> ---

Re: [RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Kumar Gala
On Sep 18, 2007, at 10:01 AM, Valentine Barshak wrote: > Kumar Gala wrote: >> On Sep 18, 2007, at 9:44 AM, Valentine Barshak wrote: >>> Add 64-bit physical address support to PCI. >> Can you expand on your commit message. for example why do this? >> is it address a bug fix, etc.. >>> >>> Signe

Re: [RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Valentine Barshak
Kumar Gala wrote: > > On Sep 18, 2007, at 9:44 AM, Valentine Barshak wrote: > >> Add 64-bit physical address support to PCI. > > Can you expand on your commit message. for example why do this? is it > address a bug fix, etc.. > >> >> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> >> ---

Re: [RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Kumar Gala
On Sep 18, 2007, at 9:44 AM, Valentine Barshak wrote: > Add 64-bit physical address support to PCI. Can you expand on your commit message. for example why do this? is it address a bug fix, etc.. > > Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> > --- > arch/powerpc/kernel/iomap.c |

[RFC] [PATCH] PowerPC: Add 64-bit phys addr support to 32-bit pci.

2007-09-18 Thread Valentine Barshak
Add 64-bit physical address support to PCI. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/kernel/iomap.c |4 +-- arch/powerpc/kernel/pci_32.c | 56 +-- 2 files changed, 41 insertions(+), 19 deletions(-) diff -ruN linux-2.6.or