Re: [PATCH v4] pm_ops: add system quiesce/activate hooks

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

 



On Fri, 2007-04-13 at 23:12 +0200, Pavel Machek wrote:
> Hi!
> 
> > > That it is same old hack it used to be. There's nothing magic about
> > > decrementer, and I do not think it is _neccessary_ to touch it just
> > > before cli. Just disable it from sysdev handler or something.
> > 
> > No, you cannot disable it from sysdev handler because you have to be
> > able to take interrupts. Can we *please* move on to some more productive
> > discussion?
> 
> So what happens if you disable it as a platform device? There has to
> be better solution than this. What is so special about decrementer?

That you are dead since once it's disabled, kernel timers etc... stop
working.

> We were able to handle MTRR registers on PC. Timer setup fit into the
> model too...

I don't care what you do on x86. If I tell you I need to take control at
that point, then I need. Beside I really can't understand why you are so
dead set against an arch hook there. It's not like this will do anything
to you... it can't propagate to drivers, it's purely arch stuff, so
what ? 

Ben.

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux