Re: schizophrenic G5 ...

2008-12-23 Thread Kevin Diggs
Benjamin Herrenschmidt wrote: On Sun, 2008-12-21 at 16:11 -0800, Kevin Diggs wrote: Hi, I have a water cooled dual 2.5 GHz G5 (Powermac7,3). It has YDL 6.0 on it. Using the stock YDL 2.6.23 kernel this machine "appears" to work fine. After finally getting it to boot under 2.6.27, it will

[PATCH] powerpc/iseries: Kexec is known not to work on iseries

2008-12-23 Thread Michael Ellerman
The non-zero return from the prepare callback is returned by sys_kexec_load() to userspace, indicating that kexec is not supported on the machine. Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/iseries/setup.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) dif

[PATCH RESEND] powerpc: make udbg 16550 boot console configurable for EMBEDDED

2008-12-23 Thread Peter Korsgaard
The udbg console is currently always enabled for platforms selecting the PPC_UDBG_16550 symbol (needed to create platform devices for 8250 SoC UARTs from DT). Now, the udbg console is nice for debugging as it works so early, but it also has a number of disadvantages: - It doesn't respect console=

Re: Commits added to powerpc.git next and master branches

2008-12-23 Thread Peter Korsgaard
> "Paul" == Paul Mackerras writes: Hi, I still don't see 'make udbg 16550 boot console configurable for EMBEDDED' (http://patchwork.ozlabs.org/patch/15441/) - Please consider. -- Bye, Peter Korsgaard ___ Linuxppc-dev mailing list Linuxppc-dev@ozl

Re[2]: [PATCH] mm/shmem.c: fix division by zero

2008-12-23 Thread Yuri Tikhonov
Hello Hugh, On Tuesday, December 23, 2008 you wrote: > On Fri, 19 Dec 2008, Yuri Tikhonov wrote: >> >> The following patch fixes division by zero, which we have in >> shmem_truncate_range() and shmem_unuse_inode(), if use big >> PAGE_SIZE values (e.g. 256KB on ppc44x). >> >> With 256KB PAGE_S

Re: schizophrenic G5 ...

2008-12-23 Thread Christian Krafft
On Sun, 21 Dec 2008 16:11:43 -0800 Kevin Diggs wrote: > Hi, > > I have a water cooled dual 2.5 GHz G5 (Powermac7,3). It has > YDL 6.0 on it. Using the stock YDL 2.6.23 kernel this machine > "appears" to work fine. > > After finally getting it to boot under 2.6.27, it will shut > its

[PATCH] ucc_geth: Eliminate the need for forward references

2008-12-23 Thread Anton Vorontsov
This patch simply reorders some functions to eliminate the need for forward references. No other changes than that. Suggested-by: Timur Tabi Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c | 81 +++- 1 files changed, 39 insertions(+), 42 d

Re: [PATCH] powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE

2008-12-23 Thread Anton Vorontsov
On Wed, Dec 03, 2008 at 10:33:27PM +0300, Anton Vorontsov wrote: > On Sat, Nov 08, 2008 at 08:52:54PM +0300, Anton Vorontsov wrote: > > Boards should know when QE_USB is used, so that they can configure USB > > clocks and pins. > > > > Another option would be to add 'select QE_USB' into USB_GADGET

Re: [PATCH RESEND] powerpc: make udbg 16550 boot console configurable for EMBEDDED

2008-12-23 Thread Scott Wood
Peter Korsgaard wrote: - It doesn't respect console= and still outputs console messages even if console isn't ttySx (E.G. if CONFIG_SILENT_CONSOLE is enabled in U-Boot which sets 'console=' I believe it uses /chosen/linux,stdout-path; u-boot could clear that if silent console is desired.

Re: cpm2-scc-uart on mpc8265 not working

2008-12-23 Thread jeff angielski
On Mon, 2008-12-22 at 15:01 -0600, Scott Wood wrote: > > > > c...@119c0 { > > #address-cells = <1>; > > #size-cells = <1>; > > compatible = "fsl,mrdig-cpm", "fsl,cpm2"; > > reg = <0x119c0 0x30>; > >

Re: [PATCH] powerpc/iseries: Kexec is known not to work on iseries

2008-12-23 Thread Nathan Lynch
Hi, Michael Ellerman wrote: > The non-zero return from the prepare callback is returned by sys_kexec_load() > to userspace, indicating that kexec is not supported on the machine. ... > @@ -638,6 +639,13 @@ static int __init iseries_probe(void) > return 1; > } > > +#ifdef CONFIG_KEXEC >

Re: cpm2-scc-uart on mpc8265 not working

2008-12-23 Thread Scott Wood
jeff angielski wrote: I fixed up the DPRAM regions. I also fixed up the muram region which had not been updated for the mpc8265 - it still had the old mpc8272 definitions. The kernel does not hang anymore but I still don't see anything on the serial port. Using an o'scope I can see data on t

Re: [PATCH] powerpc/iseries: Kexec is known not to work on iseries

2008-12-23 Thread Anton Vorontsov
Hi Nathan, On Tue, Dec 23, 2008 at 12:50:51PM -0600, Nathan Lynch wrote: > Hi, > > Michael Ellerman wrote: > > The non-zero return from the prepare callback is returned by > > sys_kexec_load() > > to userspace, indicating that kexec is not supported on the machine. > > ... > > > @@ -638,6 +639

Re: [PATCH RESEND] powerpc: make udbg 16550 boot console configurable for EMBEDDED

2008-12-23 Thread Benjamin Herrenschmidt
On Tue, 2008-12-23 at 14:11 +0100, Peter Korsgaard wrote: > The udbg console is currently always enabled for platforms selecting > the PPC_UDBG_16550 symbol (needed to create platform devices for > 8250 SoC UARTs from DT). > > Now, the udbg console is nice for debugging as it works so early, but >

Re: schizophrenic G5 ...

2008-12-23 Thread Benjamin Herrenschmidt
> I have a very similar problem on my mac at work. > I don't know atm how to look up the critical temperature that is > fused. My mac reported only 55 degrees for the one cpu. > The critical temperature can be read from the device-tree if i remember > it correctly. > I heard that there exists a bo

Re: schizophrenic G5 ...

2008-12-23 Thread Kevin Diggs
Christian Krafft wrote: On Sun, 21 Dec 2008 16:11:43 -0800 Kevin Diggs wrote: Hi, I have a water cooled dual 2.5 GHz G5 (Powermac7,3). It has YDL 6.0 on it. Using the stock YDL 2.6.23 kernel this machine "appears" to work fine. After finally getting it to boot under 2.6.27,

Re: [PATCH] USB: Driver for Freescale QUICC Engine USB Host Controller

2008-12-23 Thread Andrew Morton
On Wed, 24 Dec 2008 00:03:22 +0300 Anton Vorontsov wrote: > This patch adds support for the FHCI USB controller, as found > in the Freescale MPC836x and MPC832x processors. It can support > Full or Low speed modes. > > Quite a lot the hardware is doing by itself (SOF generation, CRC > generation

Re: [PATCH] USB: Driver for Freescale QUICC Engine USB Host Controller

2008-12-23 Thread Alan Stern
On Wed, 24 Dec 2008, Anton Vorontsov wrote: > This patch adds support for the FHCI USB controller, as found > in the Freescale MPC836x and MPC832x processors. It can support > Full or Low speed modes. > > Quite a lot the hardware is doing by itself (SOF generation, CRC > generation and checking),

[PATCH/RFC] sysfs cache code rewrite

2008-12-23 Thread Nathan Lynch
The current code for providing processor cache information in sysfs has the following deficiencies: - several complex functions that are hard to understand - implicit recursion (cache_desc_release -> kobject_put -> cache_desc_release) - explicit recursion (create_cache_index_info) - use of two per-