From: Mikael Pettersson <mikpe@csd.uu.se>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Karol Kozimor <sziwan@hell.org.pl>,
"Georg C. F. Greve" <greve@gnu.org>,
"Nakajima, Jun" <jun.nakajima@intel.com>,
Martin Loschwitz <madkiss@madkiss.org>,
linux-kernel@vger.kernel.org, "Brown, Len" <len.brown@intel.com>,
acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] Re: PROBLEM: ACPI freezes 2.6.1 on boot
Date: Thu, 22 Jan 2004 18:49:26 +0100 [thread overview]
Message-ID: <16400.3366.286902.721704@alkaid.it.uu.se> (raw)
In-Reply-To: <Pine.LNX.4.58.0401220900510.2123@home.osdl.org>
Linus Torvalds writes:
>
>
> On Thu, 22 Jan 2004, Mikael Pettersson wrote:
>
> > Karol Kozimor writes:
> > >
> > > diff -Bru linux-2.6.0-test8/arch/i386/kernel/apic.c patched/arch/i386/kernel/apic.c
> > > --- linux-2.6.0-test8/arch/i386/kernel/apic.c 2003-10-18 05:43:36.000000000 +0800
> > > +++ patched/arch/i386/kernel/apic.c 2003-10-30 23:17:50.000000000 +0800
> > > @@ -836,8 +836,8 @@
> > > {
> > > unsigned int lvtt1_value, tmp_value;
> > >
> > > - lvtt1_value = SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV) |
> > > - APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
> > > + lvtt1_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
> > > +
> > > apic_write_around(APIC_LVTT, lvtt1_value);
> >
> > What is the purpose of this change?
> > I don't remember seeing this before on LKML. (I don't have time to read bugzilla.)
>
> Hmm.. It does seem to fix things for a couple of people, so it looks
> interesting.
>
> As far as I can tell, the _only_ thing it does is to change the timer base
> from "DIV" to "CLKIN". I seem to have misplaced my ia-32 "volume 3" thing,
> but I have an old one for a pentium, and that one doesn't actually
> haev the timer-base thing at all - and marks those bits as "reserved".
>
> So it is entirely possible that the only safe value to write there is 0.
Confirmed. Those bits (18 and 19 in LVTT) are marked reserved in the
latest IA32 Volume 3. I have no idea where this APIC_TIMER_BASE came
from (maybe some ancient discrete LAPIC thing?), but we almost certainly
shouldn't write anything but zero to them.
> So I'm inclined to apply the patch, but it would be better if somebody who
I agree. The patch should be applied.
/Mikael
next prev parent reply other threads:[~2004-01-22 17:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-21 16:32 Nakajima, Jun
2004-01-21 21:21 ` Georg C. F. Greve
2004-01-21 22:29 ` Georg C. F. Greve
2004-01-22 12:08 ` [ACPI] " Karol Kozimor
2004-01-22 13:59 ` Mikael Pettersson
2004-01-22 14:05 ` Karol Kozimor
2004-01-22 17:15 ` Linus Torvalds
2004-01-22 17:49 ` Mikael Pettersson [this message]
2004-01-22 14:08 ` Georg C. F. Greve
2004-01-22 14:26 ` Georg C. F. Greve
2004-01-21 18:56 Linus Torvalds
2004-01-21 21:15 ` Georg C. F. Greve
2004-01-21 21:51 ` [ACPI] " Sérgio Monteiro Basto
2004-01-21 22:33 ` Georg C. F. Greve
2004-01-21 23:31 ` Sérgio Monteiro Basto
2004-01-22 10:32 ` Georg C. F. Greve
2004-01-22 14:16 Yu, Luming
2004-01-22 18:23 Pallipadi, Venkatesh
2004-01-22 18:37 ` Mikael Pettersson
2004-01-22 19:05 ` Linus Torvalds
2004-01-23 13:19 ` Maciej W. Rozycki
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=16400.3366.286902.721704@alkaid.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=acpi-devel@lists.sourceforge.net \
--cc=greve@gnu.org \
--cc=jun.nakajima@intel.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=madkiss@madkiss.org \
--cc=sziwan@hell.org.pl \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®