Re: [PATCH 2/2] Fix console handling during suspend/resume

Benjamin Herrenschmidt
2006-06-27T22:09:27Z

> What if the interrupt controller or timers or whatever aren't strictly a
> "parent" of the devices that need it? THAT'S OK.

Sure and we have sysdev's for these low level things, those _do_ get
suspended with IRQ off. I hate sysdev's for many reasons but not that
one :)

> (It's also more than OK - it's a fact of life on some things. It should be
> ok to shut off the interrupt controller before you shut off some devices,
> and it should be ok to bring core devices up before the interrupt
> controller is even working).
>
> So all of this means that I don't think the system should be "live" during
> the last phase. It should be as dead as humanly possible.

Yeah, I see your point, and it does make sense, but I still need to find
a solution for the problem of the console semaphore :) I might have to
keep fbdev's in the first phase for now.

Ben.