public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Alberto Piai <albeclemit-whZMOeQn8C0@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: HIROIT-JE5g2YyFxFHQT0dZR+AlfA@public.gmane.org,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Subject: Re: Re: S3 resume on Fujitsu-Siemens Amilo A7620 (CONTINUES)
Date: Mon, 18 Oct 2004 22:54:12 +0200	[thread overview]
Message-ID: <20041018225412.397dcd1f.albeclemit@yahoo.it> (raw)
In-Reply-To: <20041018124756.GA28463-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

On Mon, 18 Oct 2004 14:47:56 +0200
Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org> wrote:

> Yes, you are going out of wakeup.S... Actually no. You are going to
> ret_point down in do_suspend_lowlevel.

Update: code is executed until
[...]
ENTRY(do_suspend_lowlevel)
	call	save_processor_state
	call	save_registers
	pushl	$3
	call	acpi_enter_sleep_state
	addl	$4,%esp
	ret
	.p2align 4,,7
ret_point:
	call	restore_registers
	call	restore_processor_state
	# Here it's still alive :)
	ret
[...]

So now it's going out of wakeup.S, right?
We should be in drivers/acpi/sleep/main.c at that point
[...]
switch (pm_state)
	{
	case PM_SUSPEND_STANDBY:
		barrier();
		status = acpi_enter_sleep_state(acpi_state);
		break;

	case PM_SUSPEND_MEM:
		do_suspend_lowlevel();
		break;

	case PM_SUSPEND_DISK:
		if (acpi_pm_ops.pm_disk_mode == PM_DISK_PLATFORM)
			status = acpi_enter_sleep_state(acpi_state);
		else
			do_suspend_lowlevel_s4bios();
		break;
	default:
		return -EINVAL;
	}
	local_irq_restore(flags);
	printk(KERN_DEBUG "Back to C!\n");
[...]
right? 
Can i use some beep code from here as well?
I won't sleep until this laptop resumes! ;)

Alberto


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

  parent reply	other threads:[~2004-10-18 20:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18 11:42 S3 resume on Fujitsu-Siemens Amilo A7620 (CONTINUES) Alberto Piai
     [not found] ` <20041018134238.4cf1b380.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 12:47   ` Pavel Machek
     [not found]     ` <20041018124756.GA28463-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-18 20:54       ` Alberto Piai [this message]
     [not found]         ` <20041018225412.397dcd1f.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 21:22           ` Pavel Machek
     [not found]             ` <20041018212208.GA10490-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-18 22:21               ` Alberto Piai
     [not found]                 ` <20041019002115.2faa9436.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 23:00                   ` Pavel Machek
     [not found]                     ` <20041018230008.GC10490-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-27 22:44                       ` Alberto Piai
     [not found]                         ` <20041028004424.1b0f95fb.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-27 23:47                           ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-11-30 11:39 Yu, Luming
2004-12-07 19:12 ` Alberto Piai

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=20041018225412.397dcd1f.albeclemit@yahoo.it \
    --to=albeclemit-whzmoeqn8c0@public.gmane.org \
    --cc=HIROIT-JE5g2YyFxFHQT0dZR+AlfA@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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