[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070512020056.a24cf472.akpm@linux-foundation.org>
Date: Sat, 12 May 2007 02:00:56 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: tglx@...utronix.de
Cc: "Rafael J. Wysocki" <rjw@...k.pl>, Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>,
John Stultz <johnstul@...ibm.com>, linux-acpi@...r.kernel.org
Subject: Re: [patch 3/3] clockevents: Fix resume logic - updated version
On Sat, 12 May 2007 10:46:03 +0200 Thomas Gleixner <tglx@...utronix.de> wrote:
> On Fri, 2007-05-11 at 23:56 -0700, Andrew Morton wrote:
> > On Fri, 11 May 2007 23:09:15 +0200 "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> >
> > > > >
> > > > > hm, Fedora don't seem to want to give me an RPM which contains acpidump and
> > > > > all the yum servers are featuring scrogged checksums. I could build it, I
> > > > > guess, but there's a principle involved ;)
> > > > >
> > > > > http://userweb.kernel.org/~akpm/dsdt is /proc/acpi/dsdt. Is that OK?
> > > >
> > > > Yes, thanks.
> > >
> > > Hmm, have you tried to do 'echo shutdown > /sys/power/disk' before the
> > > hibernation?
> >
> > That didn't change the behaviour.
>
> Andrew,
>
> can you try the desperate witchcraft patch below ?
>
> tglx
>
> Index: linux-2.6.21/arch/i386/kernel/apic.c
> ===================================================================
> --- linux-2.6.21.orig/arch/i386/kernel/apic.c
> +++ linux-2.6.21/arch/i386/kernel/apic.c
> @@ -238,9 +238,13 @@ static void lapic_timer_setup(enum clock
> break;
> case CLOCK_EVT_MODE_UNUSED:
> case CLOCK_EVT_MODE_SHUTDOWN:
> - v = apic_read(APIC_LVTT);
> - v |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR);
> - apic_write_around(APIC_LVTT, v);
> +
> + if (evt->mode == CLOCK_EVT_MODE_PERIODIC ||
> + evt->mode == CLOCK_EVT_MODE_ONESHOT) {
> + v = apic_read(APIC_LVTT);
> + v |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR);
> + apic_write_around(APIC_LVTT, v);
> + }
> break;
> case CLOCK_EVT_MODE_RESUME:
> /* Nothing to do here */
>
Still hangs in the same fashion, sorry.
It's peculiar that the hang happens when acpi_evaluate_object() hits its
return statement. Any theories there?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists