mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@user.it.uu.se>
To: pavel@ucw.cz
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: Switch APIC to driver model
Date: Tue, 4 Mar 2003 02:35:30 +0100 (MET)	[thread overview]
Message-ID: <200303040135.h241ZUkf019356@harpo.it.uu.se> (raw)

On Mon, 3 Mar 2003 23:48:01 +0100, Pavel Machek wrote:
>This switches to driver model, making suspend-to-ram possible. Please
>apply,
>								Pavel
>
>--- clean/arch/i386/kernel/apic.c	2003-02-28 15:10:01.000000000 +0100
>+++ linux/arch/i386/kernel/apic.c	2003-02-28 15:33:45.000000000 +0100

This version works a lot better than the previous one(s). My P4,
which suspends/resumes via apm just fine with UP_APIC, survived
two suspend/resume cycles with this patch: one synchronous
(apm --suspend), and one asynchronous (short press on power button).
Not having IDE oops in a BUG_ON() is a definite improvement.

I had to add an #include <linux/device.h> to apm.c, a patch hunk
failed in oprofile, and there are some cosmetic things I don't like.
I'll merge this with my previous version tomorrow.

/Mikael

             reply	other threads:[~2003-03-04  1:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04  1:35 Mikael Pettersson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-03 22:48 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=200303040135.h241ZUkf019356@harpo.it.uu.se \
    --to=mikpe@user.it.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®