Re: [PATCH] pm_ops: add irq enable/disable hooks

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

 



Hi!

> > And why do _you_ need it? Unfortunately I do not know what the
> > decrementer is...?
> 
> The decrementer is a sort of timer that counts down and once it
> overflows raises an exception in the CPU. Like a timer interrupt, but
> not coming from anything external. We need to be able to make sure we
> don't get a decrementer exception at some spots.
> 
> Also, we need to call some platform function things at that point to
> prepare the system for suspend, and it needs to be done with interrupts
> enabled but after all devices are suspended.

Hmm, and can't you simply create sysdev for decrementer and special
platform handling? sysdevs should be suspended last...
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
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