linux-mips
[Top] [All Lists]

Re: [PATCH V2] MIPS: Alchemy: redo PCI as platform driver

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH V2] MIPS: Alchemy: redo PCI as platform driver
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Fri, 7 Oct 2011 19:33:15 +0200
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=3B8gzzWBzAn9Y8casjElE9Yi6hjuEPdN16InymItd6Q=; b=Gfyink+bvuBl2vVlr0XZ4gK+OkeZHnZaJnbnFKx7B8kGXWgvyKFg4xR3Z6zKZeFx4y DzUsoH/9POxWMjWJZkDIg7uQVPsYJZsIdojWJhAu7a1itAd8ZlEe0x6CJKw38B8Cr7zH URrXTmSw3MxfwCttfxAb4zwzw9wzUFyFhwgCM=
In-reply-to: <20111007163330.GA26918@linux-mips.org>
References: <1317908261-25608-1-git-send-email-manuel.lauss@googlemail.com> <20111007163330.GA26918@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Fri, Oct 7, 2011 at 6:33 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Thu, Oct 06, 2011 at 03:37:41PM +0200, Manuel Lauss wrote:
>
>> V2: changed PM to use syscore_ops instead of the platform_driver PM 
>> callbacks.
>>     syscore_ops are called much earlier during the resume process which
>>     makes restoring the wired entry much more straightforward.
>
> Shouldn't the handling of wired entries rather be done in
> arch/mips/power/cpu.c?

It should, but save_processor_state() is only called during hibernation,
and I am not qualified enough (yet) to implement it.

Manuel

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