Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: powerfail interrupt



>>> Matt Thomas <matt%3am-software.com@localhost> wrote

> On Feb 11, 2011, at 3:12 PM, Takeshi Nakayama wrote:
> 
> > +           /*
> > +            * Netra X1 may hang when the powerfail interrupt is enabled.
> > +            */
> > +           if (strcmp(machine_model, "SUNW,UltraAX-i2") != 0) {
> > +                   psycho_set_intr(sc, 15, psycho_powerfail,
> > +                           &sc->sc_regs->power_int_map,
> > +                           &sc->sc_regs->power_clr_int);
> > +                   psycho_register_power_button(sc);
> > +           }
> 
> Can you see if the powerfail interrupt is asserted, and if so, ack it, and if 
> still asserted, disable it (since it's obviously broken)?

Probably yes in psycho_powerfail().

But Netra X1 seems to have no usable powerfail interrupt source. It
is unconnected to the power button, and has no LOMlite function.

So I think disabling the interrupt is a better way.

-- Takeshi Nakayama


Home | Main Index | Thread Index | Old Index