2.6.23-rc3 is not booting

2007-08-21 Thread sivaji
Hai, I am using the kernel 2.6.23-rc3. i am trying to boot this kernel to my 8641D board. It was not booting. I go the following message Bytes transferred = 1505 (5e1 hex) ## Booting image at 0020 ... Image Name: Linux-2.6.23-rc3 Image Type: PowerPC Linux Kernel Image (gzi

Re: for-2.6.24 branch in powerpc.git created

2007-08-21 Thread Domen Puncer
On 17/08/07 12:13 +1000, Paul Mackerras wrote: > I have made a for-2.6.24 branch in powerpc.git and pushed the > following patches to it. How about the following? [PATCH 1/3] powerpc clk.h interface for platforms http://patchwork.ozlabs.org/linuxppc/patch?id=12190 Domen _

wmb vs mmiowb

2007-08-21 Thread Nick Piggin
Hi, I'm ignorant when it comes to IO access, so I hope this isn't rubbish (if it is, I would appreciate being corrected). It took me more than a glance to see what the difference is supposed to be between wmb() and mmiowb(). I think especially because mmiowb isn't really like a write barrier. wm

Re: [2.6 patch] ppc .gitignore update

2007-08-21 Thread Paul Mackerras
Adrian Bunk writes: > From: Grant Likely <[EMAIL PROTECTED]> > > arch/ppc/.gitignore shouldn't exclude arch/ppc/boot/include Already in my for-2.6.24 and master branches. Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/m

Re: [PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Scott Wood
On Wed, Aug 22, 2007 at 01:52:49PM +1000, Paul Mackerras wrote: > Scott Wood writes: > > > Previously, the TLB miss handlers assumed that pages above KERNELBASE are > > always present and read/write. This assumption is false in the case of > > CONFIG_DEBUG_PAGEALLOC. > > > blt+112f > > +

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Nick Piggin
On Wed, Aug 22, 2007 at 05:33:16AM +0200, Segher Boessenkool wrote: > >>The I/O accessor functions enforce the necessary ordering > >>already I believe. > > > >Hmm, I never followed those discussions last year about IO ordering, > >and > >I can't see where (if) it was documented anywhere :( > > T

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Nick Piggin
On Wed, Aug 22, 2007 at 05:29:50AM +0200, Segher Boessenkool wrote: > >>>If this isn't causing any problems maybe there > >>>is some loigic we are overlooking? > >> > >>The I/O accessor functions enforce the necessary ordering > >>already I believe. > > > >Ah, it looks like you might be right, IO s

[PATCH] [POWERPC] Exception numbers are not relevent to iSeries

2007-08-21 Thread Stephen Rothwell
so remove them from the macros. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/exception.S | 24 arch/powerpc/platforms/iseries/exception.h |4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) -- Cheers, Stephen Rothw

[PATCH] [POWERPC] Split out iSeries specific exception macros

2007-08-21 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/exception.S | 15 +++--- arch/powerpc/platforms/iseries/exception.h | 58 ++ include/asm-powerpc/exception.h| 71 +--- 3 files changed, 78 insertion

[PATCH] [POWERPC] Move the iSeries exception vectors

2007-08-21 Thread Stephen Rothwell
out of head_64.S and into platforms/iseries/exception.S Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_64.S | 136 arch/powerpc/platforms/iseries/exception.S | 136 2 files changed, 136 inse

[PATCH] [POWERPC] Move the exception macros into a header file

2007-08-21 Thread Stephen Rothwell
It makes head_64.S a bit more readable and will allow us to move the iSeries excetions elsewhere. This also removes the last line of the comment: * The following macros define the code that appears as * the prologue to each of the exception handlers. They * are split into two parts to allow a

[PATCH] [POWERPC] Move iSeries startup code out of head_64.S

2007-08-21 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_64.S | 86 + arch/powerpc/platforms/iseries/Makefile|1 + arch/powerpc/platforms/iseries/exception.S | 114 include/asm-powerpc/ppc_asm.h

Re: [PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Paul Mackerras
Scott Wood writes: > Previously, the TLB miss handlers assumed that pages above KERNELBASE are > always present and read/write. This assumption is false in the case of > CONFIG_DEBUG_PAGEALLOC. > blt+112f > + mfspr r2,SPRN_SRR1/* and MSR_PR bit from SRR1 */ > + rl

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Segher Boessenkool
>> The I/O accessor functions enforce the necessary ordering >> already I believe. > > Hmm, I never followed those discussions last year about IO ordering, > and > I can't see where (if) it was documented anywhere :( The comments in system.h weren't updated with the last fix, I think. > It appea

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Segher Boessenkool
>>> If this isn't causing any problems maybe there >>> is some loigic we are overlooking? >> >> The I/O accessor functions enforce the necessary ordering >> already I believe. > > Ah, it looks like you might be right, IO should appear to go in-order, > in > which case the rmb() would simply need t

[PATCH] powerpc: Rework SMP timebase handoff for pasemi

2007-08-21 Thread Olof Johansson
Rework timebase handoff to play nice with configurations with more than 2 cores, as well as with CPU hotplug. Previous scheme just pushed out the current timebase from the giving core to all cores without caring if they wanted it or not, nor checking if they'd taken it. The taking side didn't make

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Nick Piggin
On Tue, Aug 21, 2007 at 09:43:17PM +0200, Segher Boessenkool wrote: > >> #define mb() __asm__ __volatile__ ("sync" : : : "memory") > >>-#define rmb() __asm__ __volatile__ (__stringify(LWSYNC) : : : > >>"memory") > >>+#define rmb() __asm__ __volatile__ ("sync" : : : "memory") > >> #define wmb()

Re: [PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Olof Johansson
On Wed, Aug 22, 2007 at 11:27:33AM +1000, Paul Mackerras wrote: > Olof Johansson writes: > > > Make sure the new timebase value is available by the time take_timebase > > completes. Otherwise take_timebase might race with give_timebase, > > causing severe badness when the value later is modified (

Re: [PATCH 12/20] bootwrapper: Add 8xx cuboot support.

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:20:21AM -0500, Scott Wood wrote: > David Gibson wrote: > > On Mon, Aug 20, 2007 at 12:40:01PM -0500, Scott Wood wrote: > > > >>This allows booting on legacy, non-device-tree aware versions of > >>U-boot. > > > > > > Is this really sufficient for all 8xx platforms? > >

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 03:24:52PM +0100, Matt Sealey wrote: > David Gibson wrote: > > On Tue, Aug 21, 2007 at 01:58:31PM +0100, Matt Sealey wrote: > >> David Gibson wrote: > >>> Uh... no... this is in the bootwrapper, long before ppc_md even > >>> exists. platform_init() is called from arch/power

Re: [PATCH 20/20] bootwrapper: Add fsl_get_immr(), mpc885_get_clock(), and pq2_get_clocks().

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:34:45AM -0500, Scott Wood wrote: > David Gibson wrote: > > On Mon, Aug 20, 2007 at 12:40:13PM -0500, Scott Wood wrote: > > > >>fsl_get_immr() is equivalent to the kernel's get_immrbase() function. > > > > I notice that this function assumes that P==V. Is that true for

Re: [PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Paul Mackerras
Olof Johansson writes: > Make sure the new timebase value is available by the time take_timebase > completes. Otherwise take_timebase might race with give_timebase, > causing severe badness when the value later is modified (think looong > hang trying to catch up with a very large number of lost ti

Re: [PATCH 17/20] bootwrapper: Add PlanetCore firmware support.

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:29:15AM -0500, Scott Wood wrote: > David Gibson wrote: > >>+void planetcore_prepare_table(char *table) > >>+{ > >>+ int last_was_newline = 0; > >>+ > >>+ while (*table != 10 || !last_was_newline) { > >>+ if (*table == 10) { > >>+ *table = 0

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Nick Piggin
On Tue, Aug 21, 2007 at 09:43:17PM +0200, Segher Boessenkool wrote: > >> #define mb() __asm__ __volatile__ ("sync" : : : "memory") > >>-#define rmb() __asm__ __volatile__ (__stringify(LWSYNC) : : : > >>"memory") > >>+#define rmb() __asm__ __volatile__ ("sync" : : : "memory") > >> #define wmb()

Re: [PATCH 10/20] bootwrapper: Add CPM serial driver.

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:15:53AM -0500, Scott Wood wrote: > David Gibson wrote: > >>diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c > >>index 944f0ee..d47f8e0 100644 > >>--- a/arch/powerpc/boot/serial.c > >>+++ b/arch/powerpc/boot/serial.c > >>@@ -121,6 +121,11 @@ int serial_

Re: [PATCH 09/20] bootwrapper: Declare udelay() in ops.h.

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:12:08AM -0500, Scott Wood wrote: > David Gibson wrote: > > On Mon, Aug 20, 2007 at 12:39:55PM -0500, Scott Wood wrote: > > > >>Declarations in various users are removed. > >> > >>Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > > > > > > Hrm... it should go in a header,

Re: [PATCH 05/20] bootwrapper: flatdevtree fixes

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 11:09:58AM -0500, Scott Wood wrote: > David Gibson wrote: > > On Mon, Aug 20, 2007 at 12:39:49PM -0500, Scott Wood wrote: > > > >>1. ft_create_node was returning the internal pointer rather than a phandle. > >>2. ft_find_device_rel was treating a "top" phandle of NULL as an

Please pull from 'fixes-2.6.23' branch

2007-08-21 Thread Kumar Gala
Please pull from 'fixes-2.6.23' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git fixes-2.6.23 to receive the following updates: arch/powerpc/sysdev/fsl_pci.c |2 ++ include/linux/pci_ids.h |6 -- 2 files changed, 6 insertions(+), 2 deletions(-)

[PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Olof Johansson
Make sure the new timebase value is available by the time take_timebase completes. Otherwise take_timebase might race with give_timebase, causing severe badness when the value later is modified (think looong hang trying to catch up with a very large number of lost ticks). This has shown up lately,

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Linas Vepstas
On Tue, Aug 21, 2007 at 09:43:17PM +0200, Segher Boessenkool wrote: > >> #define mb() __asm__ __volatile__ ("sync" : : : "memory") > >> -#define rmb() __asm__ __volatile__ (__stringify(LWSYNC) : : : > >> "memory") > >> +#define rmb() __asm__ __volatile__ ("sync" : : : "memory") > >> #define

[PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Scott Wood
Previously, the TLB miss handlers assumed that pages above KERNELBASE are always present and read/write. This assumption is false in the case of CONFIG_DEBUG_PAGEALLOC. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_32.S | 12 ++-- 1 files changed, 6 inserti

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Segher Boessenkool
>> #define mb() __asm__ __volatile__ ("sync" : : : "memory") >> -#define rmb() __asm__ __volatile__ (__stringify(LWSYNC) : : : >> "memory") >> +#define rmb() __asm__ __volatile__ ("sync" : : : "memory") >> #define wmb() __asm__ __volatile__ ("sync" : : : "memory") >> #define read_barrier_d

Re: [patch 1/2] powerpc: rmb fix

2007-08-21 Thread Joel Schopp
> #define mb() __asm__ __volatile__ ("sync" : : : "memory") > -#define rmb() __asm__ __volatile__ (__stringify(LWSYNC) : : : "memory") > +#define rmb() __asm__ __volatile__ ("sync" : : : "memory") > #define wmb() __asm__ __volatile__ ("sync" : : : "memory") > #define read_barrier_depends()

[2.6 patch] ppc .gitignore update

2007-08-21 Thread Adrian Bunk
From: Grant Likely <[EMAIL PROTECTED]> arch/ppc/.gitignore shouldn't exclude arch/ppc/boot/include Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- a/arch/ppc/.gitignore +++ b/arch/ppc/.gitignore @@ -1 +1 @@ -include +/include ___ Linuxppc-dev m

Re: Patches for ppc?

2007-08-21 Thread Segher Boessenkool
> So then I get worried, how do I know > who's plan and schedule include/excludes my board/chip/issue? The arch/ppc -> arch/powerpc changeover is exceptional for various reasons. First, it is a huge change taking multiple years to complete. Only recently it has been decided when to finally drop a

Re: Patches for ppc?

2007-08-21 Thread Scott Wood
On Tue, Aug 21, 2007 at 10:12:17AM -0700, Phil Terry wrote: > Sorry guys, this is probably the wrong forum and I didn't mean to sound > like I was trashing anyones efforts here. I don't think it was taken that way -- rather, we want to know what hardware people are still using with recent kernels

Re: Patches for ppc?

2007-08-21 Thread Linas Vepstas
On Tue, Aug 21, 2007 at 09:11:24AM -0700, Phil Terry wrote: > On Tue, 2007-08-21 at 17:14 +0200, Segher Boessenkool wrote: > > > It's not a question of indivudual files being copied over - things are > > > done differently in arch/powerpc. Things are gradually being ported > > > over to arch/power

Re: Patches for ppc?

2007-08-21 Thread Phil Terry
Ooops, Sorry guys, this is probably the wrong forum and I didn't mean to sound like I was trashing anyones efforts here. As I said, I'm not picking on Freescale or anyone else on this list. I'm just trying to understand this process as an embedded developer who works at companies which use code

Re: [PATCH 6/7 v2] fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.

2007-08-21 Thread Scott Wood
Vitaly Bordug wrote: > On Fri, 17 Aug 2007 13:17:18 -0500 > Scott Wood wrote: > > >>The existing OF glue code was crufty and broken. Rather than fix it, >>it will be removed, and the ethernet driver now talks to the device >>tree directly. >> > > A bit short description, I'd rather expect some

Re: Patches for ppc?

2007-08-21 Thread Kumar Gala
On Aug 21, 2007, at 11:11 AM, Phil Terry wrote: > On Tue, 2007-08-21 at 17:14 +0200, Segher Boessenkool wrote: >>> It's not a question of indivudual files being copied over - >>> things are >>> done differently in arch/powerpc. Things are gradually being ported >>> over to arch/powerpc as peop

Re: Patches for ppc?

2007-08-21 Thread Josh Boyer
On Tue, 21 Aug 2007 09:11:24 -0700 Phil Terry <[EMAIL PROTECTED]> wrote: > On Tue, 2007-08-21 at 17:14 +0200, Segher Boessenkool wrote: > > > It's not a question of indivudual files being copied over - things are > > > done differently in arch/powerpc. Things are gradually being ported > > > over

Re: [PATCH 20/20] bootwrapper: Add fsl_get_immr(), mpc885_get_clock(), and pq2_get_clocks().

2007-08-21 Thread Scott Wood
David Gibson wrote: > On Mon, Aug 20, 2007 at 12:40:13PM -0500, Scott Wood wrote: > >>fsl_get_immr() is equivalent to the kernel's get_immrbase() function. > > I notice that this function assumes that P==V. Is that true for all > relevant platforms at this point? Yes. If that ever changes, we'

Re: [PATCH 17/20] bootwrapper: Add PlanetCore firmware support.

2007-08-21 Thread Scott Wood
David Gibson wrote: >>+void planetcore_prepare_table(char *table) >>+{ >>+ int last_was_newline = 0; >>+ >>+ while (*table != 10 || !last_was_newline) { >>+ if (*table == 10) { >>+ *table = 0; >>+ last_was_newline = 1; >>+ } el

Re: [PATCH 14/20] bootwrapper: Add strtoull().

2007-08-21 Thread Scott Wood
David Gibson wrote: >>+/* Not currently supported: leading whitespace, sign, 0x prefix, zero base */ >>+unsigned long long int strtoull(const char *ptr, char **end, int base) >>+{ >>+ unsigned long long ret = 0; >>+ >>+ while (*ptr) { >>+ int digit; >>+ >>+ if (*ptr

Re: [PATCH 12/20] bootwrapper: Add 8xx cuboot support.

2007-08-21 Thread Scott Wood
David Gibson wrote: > On Mon, Aug 20, 2007 at 12:40:01PM -0500, Scott Wood wrote: > >>This allows booting on legacy, non-device-tree aware versions of >>U-boot. > > > Is this really sufficient for all 8xx platforms? It should be enough for all u-boot-based 8xx boards, barring some u-boot which

Re: Patches for ppc?

2007-08-21 Thread Phil Terry
On Tue, 2007-08-21 at 17:14 +0200, Segher Boessenkool wrote: > > It's not a question of indivudual files being copied over - things are > > done differently in arch/powerpc. Things are gradually being ported > > over to arch/powerpc as people get the time - that's why arch/ppc > > isn't gone yet.

Re: [PATCH 10/20] bootwrapper: Add CPM serial driver.

2007-08-21 Thread Scott Wood
David Gibson wrote: >>diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c >>index 944f0ee..d47f8e0 100644 >>--- a/arch/powerpc/boot/serial.c >>+++ b/arch/powerpc/boot/serial.c >>@@ -121,6 +121,11 @@ int serial_console_init(void) >> rc = ns16550_console_init(devp, &seri

Re: [PATCH 09/20] bootwrapper: Declare udelay() in ops.h.

2007-08-21 Thread Scott Wood
David Gibson wrote: > On Mon, Aug 20, 2007 at 12:39:55PM -0500, Scott Wood wrote: > >>Declarations in various users are removed. >> >>Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > > > Hrm... it should go in a header, certainly, but I wonder if io.h would > be more suitable than the already rat

Re: [PATCH 05/20] bootwrapper: flatdevtree fixes

2007-08-21 Thread Scott Wood
David Gibson wrote: > On Mon, Aug 20, 2007 at 12:39:49PM -0500, Scott Wood wrote: > >>1. ft_create_node was returning the internal pointer rather than a phandle. >>2. ft_find_device_rel was treating a "top" phandle of NULL as an error, >>rather than as the root of the tree. >>3. Return the node's

[PATCH v5 2/2] [POWERPC] MPC832x_RDB: update dts to use SPI1 in QE, register mmc_spi stub

2007-08-21 Thread Anton Vorontsov
mmc_spi already tested to work. When it will hit mainline the only change that will be needed is replacing "spidev" with "mmc_spi". Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_rdb.dts |2 +- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 50

[PATCH v5 1/2] [POWERPC] fsl_soc: add support for fsl_spi

2007-08-21 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 84 + arch/powerpc/sysdev/fsl_soc.h |7 +++ 2 files changed, 91 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_s

[PATCH v5 0/2] SPI support for fsl_soc and mpc832x_rdb

2007-08-21 Thread Anton Vorontsov
On Tue, Aug 21, 2007 at 05:45:37PM +0400, Anton Vorontsov wrote: > Hi all, > > Thanks for the previous reviews, this is v4 against Linus' tree, > as of today. Okay, here is brand-new, shiny v5. Today and only today it comes without section mismatch warnings, don't miss your chance. Get it free of

Re: Patches for ppc?

2007-08-21 Thread Segher Boessenkool
> It's not a question of indivudual files being copied over - things are > done differently in arch/powerpc. Things are gradually being ported > over to arch/powerpc as people get the time - that's why arch/ppc > isn't gone yet. And to be blunt, one of the points of arch/powerpc vs. arch/ppc is t

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread Matt Sealey
David Gibson wrote: > On Tue, Aug 21, 2007 at 01:58:31PM +0100, Matt Sealey wrote: >> David Gibson wrote: >>> Uh... no... this is in the bootwrapper, long before ppc_md even >>> exists. platform_init() is called from arch/powerpc/boot/crt0.S, >>> immediately before main(). >> Oh *THAT* platform in

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 01:58:31PM +0100, Matt Sealey wrote: > > David Gibson wrote: > > Uh... no... this is in the bootwrapper, long before ppc_md even > > exists. platform_init() is called from arch/powerpc/boot/crt0.S, > > immediately before main(). > > Oh *THAT* platform init. > > So I coul

[PATCH v4 2/2] [POWERPC] MPC832x_RDB: update dts to use SPI1 in QE, register mmc_spi stub

2007-08-21 Thread Anton Vorontsov
mmc_spi already tested to work. When it will hit mainline the only change that will be needed is replacing "spidev" with "mmc_spi". Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_rdb.dts |2 +- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 50

[PATCH v4 0/2] SPI support for fsl_soc and mpc832x_rdb

2007-08-21 Thread Anton Vorontsov
Hi all, Thanks for the previous reviews, this is v4 against Linus' tree, as of today. Changelog: v3 -> v4 - removed fsl,device-id property from SPI nodes; - instead of fsl_spi_info structure, now fsl_spi_init() accepting four arguments; - machine_is(mpc832x_rdb) added in the beginning

[PATCH v4 1/2] [POWERPC] fsl_soc: add support for fsl_spi

2007-08-21 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 85 + arch/powerpc/sysdev/fsl_soc.h |7 +++ 2 files changed, 92 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_s

Re: Skipping the host bridge in arch/powerpc

2007-08-21 Thread Kumar Gala
On Aug 21, 2007, at 7:13 AM, sivaji wrote: > > Hai, > I am using the kernel 2.6.21. In the file > (arch/ppc/syslib/pci_auto.c) we have the function pciauto_bus_scan > (). In > this function it will skip the host birdge. But in the arch/powepc > directory > we don't have that types of f

Re: Regarding PCIExpress Problem in MPC8641D

2007-08-21 Thread Kumar Gala
On Aug 21, 2007, at 7:09 AM, sivaji wrote: > > Hai, > > Currently I am involved in the testing of a MPC8641D based board > designed by > us. We have planned to test the PCI Express interface through a > back to back > interface, host being mpc8641d and target is mpc8548. > > When trying a tar

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread Matt Sealey
David Gibson wrote: > Uh... no... this is in the bootwrapper, long before ppc_md even > exists. platform_init() is called from arch/powerpc/boot/crt0.S, > immediately before main(). Oh *THAT* platform init. So I could just drop a } else { dt_find_initrd(); } .. at the end and nobody w

Re: [PATCH 0/3 v2] Remove need for include/asm-ppc

2007-08-21 Thread Josh Boyer
On Tue, 21 Aug 2007 14:05:58 +0200 Arnd Bergmann <[EMAIL PROTECTED]> wrote: > On Tuesday 21 August 2007, David Gibson wrote: > > > > > > > The point would be to keep the two trees separate, so that one > > > > > doesn't need to worry about breaking arch/ppc when making a change > > > > > to arch/

Re: [PATCH 0/3 v2] Remove need for include/asm-ppc

2007-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2007, David Gibson wrote: > > > > > The point would be to keep the two trees separate, so that one > > > > doesn't need to worry about breaking arch/ppc when making a change > > > > to arch/powerpc. > > > > > > Exactly so.  Having to be careful about not breaking arch/ppc whe

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 01:36:49PM +0100, Matt Sealey wrote: > David Gibson wrote: > > On Tue, Aug 21, 2007 at 12:21:18PM +0100, Matt Sealey wrote: > >> Damn, I should use patchwork more efficiently; > >> > >> http://patchwork.ozlabs.org/linuxppc/patch?q=initrd&filter=none&id=12168 > >> > >> Does a

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread Matt Sealey
David Gibson wrote: > On Tue, Aug 21, 2007 at 12:21:18PM +0100, Matt Sealey wrote: >> Damn, I should use patchwork more efficiently; >> >> http://patchwork.ozlabs.org/linuxppc/patch?q=initrd&filter=none&id=12168 >> >> Does anyone have any suggestion on the best way to integrate this so that >> it "

Skipping the host bridge in arch/powerpc

2007-08-21 Thread sivaji
Hai, I am using the kernel 2.6.21. In the file (arch/ppc/syslib/pci_auto.c) we have the function pciauto_bus_scan(). In this function it will skip the host birdge. But in the arch/powepc directory we don't have that types of file and the function pciauto_bus_scan() also removed. I want to

Regarding PCIExpress Problem in MPC8641D

2007-08-21 Thread sivaji
Hai, Currently I am involved in the testing of a MPC8641D based board designed by us. We have planned to test the PCI Express interface through a back to back interface, host being mpc8641d and target is mpc8548. When trying a target DMA transaction we are not able to access the host memory usin

Re: PS3 improved video mode autodetection for HDMI/DVI

2007-08-21 Thread Stefan Assmann
Geert Uytterhoeven schrieb: > I know you could get the PS3AV_CID_AV_VIDEO_DISABLE_SIG message in some cases > when booting immediately into a VESA mode. > > I see you have > > CONFIG_CMDLINE="quiet sysrq=1 panic=42 video=ps3fb:mode:0" > > Does it go away if you remove the `video=...'? > remo

[no subject]

2007-08-21 Thread ramesh mrm
Hai, I am using the kernel 2.6.21. In the file (arch/ppc/syslib/pci_auto.c) we have the function pciauto_bus_scan(). In this function it will skip the host birdge. But in the arch/powepc directory we don't have that types of file and the function pciauto_bus_scan() also removed. I want to k

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread David Gibson
On Tue, Aug 21, 2007 at 12:21:18PM +0100, Matt Sealey wrote: > Damn, I should use patchwork more efficiently; > > http://patchwork.ozlabs.org/linuxppc/patch?q=initrd&filter=none&id=12168 > > Does anyone have any suggestion on the best way to integrate this so that > it "just works" on OF platform

Re: OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread Matt Sealey
Damn, I should use patchwork more efficiently; http://patchwork.ozlabs.org/linuxppc/patch?q=initrd&filter=none&id=12168 Does anyone have any suggestion on the best way to integrate this so that it "just works" on OF platforms? It seems only to be usable way too late in boot to work, this code wou

OF /chosen/initrd,* variables - patch, official?

2007-08-21 Thread Matt Sealey
Hi guys, Just a query here, there was a patch for /chosen/initrd,start and initrd,end variables gained from firmware or so, which allowed booting without getting those values into r3/r4, does anyone know the maintainer/author of that patch? Also, what are the chances of pushing it for 2.6.23 or 2

Re: [PATCH 6/7 v2] fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.

2007-08-21 Thread Vitaly Bordug
On Fri, 17 Aug 2007 13:17:18 -0500 Scott Wood wrote: > The existing OF glue code was crufty and broken. Rather than fix it, > it will be removed, and the ethernet driver now talks to the device > tree directly. > A bit short description, I'd rather expect some specific improvements list, that ar