Re: [PATCH-v2] Hibernation Support in mips system

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

 



On Thu, Jun 04, 2009 at 08:27:10PM +0800, wuzhangjin@xxxxxxxxx wrote:

> This is pulled from the to-mips branch of
> http://dev.lemote.com/code/linux_loongson, the original author is Hu
> Hongbing from www.lemote.com
> 
> according to the feedback from Atsushi Nemoto, Arnaud Patard, Yanhua,
> Pavel Machek and Ralf Baechle. I removed the a0-a7,v1 registers
> saving/restoring, added cache/tlb flushing and fpu,dsp registers
> saving/restoring, and also tuned some coding style problem with the
> support of scripts/checkpatch.pl and added GPL notice.

SMP support requires CPU hotplugging which MIPS currently doesn't support.
As implemented in this patch cache and tlb flushing will also be
invoked with interrupts disabled so smp_call_function() will blow up in
charming ways.  My request to move the cache and tlb flushing code was
ignored but since this matter will need revisiting anyway and hibernation
is a very useful feature I decieded to take the patch but limit hibernation
to !SMP.

Thanks folks!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux