LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: nigel@nigel.suspend2.net
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Patch] Extend support for PM_TRACE to include x86_64
Date: Mon, 15 Jan 2007 09:39:00 -0800	[thread overview]
Message-ID: <20070115093900.54c105b4.rdunlap@xenotime.net> (raw)
In-Reply-To: <1168859098.4417.3.camel@nigel.suspend2.net>

On Mon, 15 Jan 2007 22:04:58 +1100 Nigel Cunningham wrote:

> Hi.
> 
> This patch adds support for PM_TRACE for the x86_64 architecture. Thanks
> to Linus for help with my asm ignorance.
> 
> Please apply.
> 
> Signed-off-by: Nigel Cunningham <nigel@nigel.suspend2.net>

Goody.  Thanks.

>  arch/x86_64/kernel/vmlinux.lds.S  |    7 +++++++
>  drivers/base/power/trace.c        |    4 +++-
>  include/asm-i386/resume-trace.h   |   21 +++++++++++++++++++++
>  include/asm-x86_64/resume-trace.h |   21 +++++++++++++++++++++
>  include/linux/resume-trace.h      |   19 ++-----------------
>  kernel/power/Kconfig              |    2 +-
>  scripts/kconfig/mconf             |binary

Hm, looks like several scripts/kconfig/* binary files need to be
added to dontdiff.

>  7 files changed, 55 insertions(+), 19 deletions(-)

> diff -ruNp 930-PM_TRACE.patch-old/kernel/power/Kconfig 930-PM_TRACE.patch-new/kernel/power/Kconfig
> --- 930-PM_TRACE.patch-old/kernel/power/Kconfig	2007-01-15 22:00:40.000000000 +1100
> +++ 930-PM_TRACE.patch-new/kernel/power/Kconfig	2007-01-15 00:00:08.000000000 +1100
> @@ -50,7 +50,7 @@ config DISABLE_CONSOLE_SUSPEND
>  
>  config PM_TRACE
>  	bool "Suspend/resume event tracing"
> -	depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL
> +	depends on PM && PM_DEBUG && (X86_32 || X86_64) && EXPERIMENTAL

That's just
	depends on PM && PM_DEBUG && X86 && EXPERIMENTAL

or maybe even:
	depends on PM_DEBUG && X86 && EXPERIMENTAL

since PM_DEBUG depends on PM.
Anyway, X86 means X86_32 or X86_64.

>  	default n
>  	---help---
>  	This enables some cheesy code to save the last PM event point in the


---
~Randy

  parent reply	other threads:[~2007-01-15 17:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15 11:04 Nigel Cunningham
2007-01-15 15:04 ` Rafael J. Wysocki
2007-01-15 17:39 ` Randy Dunlap [this message]
2007-01-18 16:54 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070115093900.54c105b4.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nigel@nigel.suspend2.net \
    --subject='Re: [Patch] Extend support for PM_TRACE to include x86_64' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).