[Top] [All Lists]

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

Subject: Re: [PATCH-v2] Hibernation Support in mips system
From: Ralf Baechle <>
Date: Tue, 16 Jun 2009 12:01:53 +0100
Cc:, Arnaud Patard <>, Atsushi Nemoto <>, Yan Hua <>, Zhang Fuxin <>, Pavel Machek <>, Wu Zhangjin <>, Hu Hongbing <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Jun 04, 2009 at 08:27:10PM +0800, wrote:

> This is pulled from the to-mips branch of
>, the original author is Hu
> Hongbing from
> 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/ 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!


<Prev in Thread] Current Thread [Next in Thread>