Re: cpu on post feb. 2005 Powerbook: patch does not work
On Mon, Mar 28, 2005 at 06:28:05PM +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2005-03-28 at 18:23 +1000, Benjamin Herrenschmidt wrote:
> > On Mon, 2005-03-28 at 02:20 -0500, Marc Heckmann wrote:
> > >
> > > Is there any other patch that I can help test?
> >
> > Ah, I missed Jochen comments. Can you add checking for a NULL property ?
> > and let me know if that makes a difference ? Also, do you have
> > CONFIG_XMON ? If not, try enabling it and let me know if you get into
> > the debugger at the time of the crash.
>
> Hrm... Indeed, the code looks bogus. Try replacing:
>
> reg = (u32 *)get_property(volt_gpio_np, "reg", NULL);
> voltage_gpio = *reg;
>
> With
>
> if (volt_gpio_np)
> voltage_gpio = read_gpio(volt_gpio_np);
>
> And let me know if it helps.
works like a charm. Scaling down to 750 Mhz also works. thanks a bunch.
-m
Reply to: