From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Hofmann" Subject: Re: [RFC PATCH] ARM hibernation / suspend-to-disk support code Date: Sun, 22 May 2011 08:39:25 +0200 Message-ID: <2C577202CB5719438D4E9608C565CB2C01B69D7A@NL-EXC-07.intra.local> References: <3DCE2F529B282E4B8F53D4D8AA406A07014FFE@008-AM1MPN1-022.mgdnok.nokia.com> <20110520113758.GA3141@arm.com> <20110520180748.GF7445@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4004460101154973786==" Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Russell King - ARM Linux Cc: Dave Martin , linux-pm@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, tuxonice-devel@tuxonice.net List-Id: linux-pm@vger.kernel.org This is a multi-part message in MIME format. --===============4004460101154973786== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC184B.2ED069F3" This is a multi-part message in MIME format. ------_=_NextPart_001_01CC184B.2ED069F3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Russell / Nicolas, thanks for the clarification on ARM history; there's a lot to learn for = me about that still. I'll reply to Rafael regarding state save/restore. FrankH. -----Original Message----- From: Russell King - ARM Linux [mailto:linux@arm.linux.org.uk] Sent: Fri 20/05/2011 20:07 To: Frank Hofmann Cc: Dave Martin; linux-pm@lists.linux-foundation.org; = tuxonice-devel@tuxonice.net; linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH] ARM hibernation / suspend-to-disk support code =20 On Fri, May 20, 2011 at 01:39:37PM +0100, Frank Hofmann wrote: > I've simply done there what the "setmode" macro from = =20 > is doing, have chosen not to include that file because it overrides=20 > "push" on a global scale for no good reason and that sort of thing = makes=20 > me cringe. "push" was never an ARM instruction until someone decided to make r13 "special". As our macros there pre-date the invention of the new ARM instruction neumonics, it takes precident _especially_ as there's perfectly good alternative ways to say "push" to the assembler. ------_=_NextPart_001_01CC184B.2ED069F3 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [RFC PATCH] ARM hibernation / suspend-to-disk support = code

Hi Russell / Nicolas,

thanks for the clarification on ARM history; there's a lot to learn for = me about that still.

I'll reply to Rafael regarding state save/restore.

FrankH.



-----Original Message-----
From: Russell King - ARM Linux [mailto:linux@arm.linux.org.uk]=
Sent: Fri 20/05/2011 20:07
To: Frank Hofmann
Cc: Dave Martin; linux-pm@lists.linux-foundation.org; = tuxonice-devel@tuxonice.net; linux-arm-kernel@lists.infradead.org
Subject: Re: [RFC PATCH] ARM hibernation / suspend-to-disk support = code

On Fri, May 20, 2011 at 01:39:37PM +0100, Frank Hofmann wrote:
> I've simply done there what the "setmode" macro from = <asm/assembler.h> 
> is doing, have chosen not to include that file because it = overrides
> "push" on a global scale for no good reason and that sort = of thing makes
> me cringe.

"push" was never an ARM instruction until someone decided to = make r13
"special".  As our macros there pre-date the invention of = the new ARM
instruction neumonics, it takes precident _especially_ as there's
perfectly good alternative ways to say "push" to the = assembler.

------_=_NextPart_001_01CC184B.2ED069F3-- --===============4004460101154973786== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4004460101154973786==--