public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Daniel Drake <dsd@laptop.org>
Cc: mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	dilinger@queued.net
Subject: Re: [PATCH v5 resend] OLPC: Add XO-1 suspend/resume support
Date: Wed, 8 Dec 2010 14:50:40 -0800	[thread overview]
Message-ID: <20101208145040.e23f832d.akpm@linux-foundation.org> (raw)
In-Reply-To: <20101203141828.33E8F9D401B@zog.reactivated.net>

On Fri,  3 Dec 2010 14:18:27 +0000 (GMT)
Daniel Drake <dsd@laptop.org> wrote:

> Add code needed for basic suspend/resume of the XO-1 laptop.
> 
> As distro kernels would prefer to build XO-1 support modular, we have
> had to export suspend_set_ops() and create an exported function for
> reading the address of the initial page table.
> 
> Due to complications compiling asm into a module, the olpc-xo1.c file had to
> be renamed to have a name different from the target module name.
> 
> Based on earlier work by Jordan Crouse, Andres Salomon, and others.

x86_64 allmodconfig gives me

{standard input}: Assembler messages:
{standard input}:300: Error: suffix or operands invalid for `mov'

due to

        movl %rax,%eax  # tmp70

in olpc_xo1_do_sleep().


Also, this checkpatch warning

WARNING: struct platform_suspend_ops should normally be const
#502: FILE: arch/x86/platform/olpc/xo1.c:106:
+static struct platform_suspend_ops xo1_suspend_ops = {

seems valid.


Also, something in today's linux-next has mucked up the x86 Kconfig:

drivers/platform/x86/Kconfig:422:error: recursive dependency detected!
drivers/platform/x86/Kconfig:422:       symbol EEEPC_WMI depends on ACPI_WMI
drivers/platform/x86/Kconfig:438:       symbol ACPI_WMI is selected by ACER_WMI
drivers/platform/x86/Kconfig:18:        symbol ACER_WMI depends on LEDS_CLASS


  parent reply	other threads:[~2010-12-08 22:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 14:18 [PATCH v5 resend] OLPC: Add XO-1 suspend/resume support Daniel Drake
2010-12-06 21:31 ` Thomas Gleixner
2010-12-06 22:31   ` Rafael J. Wysocki
2010-12-08 22:50 ` Andrew Morton [this message]
2010-12-08 22:56   ` Daniel Drake
2010-12-08 23:05     ` Andrew Morton

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=20101208145040.e23f832d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dilinger@queued.net \
    --cc=dsd@laptop.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox