mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gregory Haskins" <ghaskins@novell.com>
To: <linux.kernel@free.fr>
Cc: <macro@linux-mips.org>, <linux-kernel@vger.kernel.org>,
	<linux-rt-users@vger.kernel.org>
Subject: Re: BIOS implementors disabling the LAPIC
Date: Tue, 31 Jul 2007 08:53:10 -0400	[thread overview]
Message-ID: <46AEF8760200005A00028671@mcclure.wal.novell.com> (raw)

On Tue, 2007-07-31 at 14:32 +0200, John Sigler wrote:

> The motherboard manufacturer (well, their level 1 support, anyway) told 
> me I could "safely enable the LAPIC". If it is safe to enable the LAPIC, 
> then why are they disabling it in the BIOS?

I would guess that because they don't have an IOAPIC, they figured they
don't need the APIC and didn't bother to write support for it.  In
reality, other features of the APIC are useful other than IOAPIC routing
(e.g. LVTT) so as you have discovered, you end up with reduced
functionality for probably no good reason. 




> Is this a "either works or doesn't" situation where hell should break 
> loose if I try to enable the LAPIC and it's not supported by the 
> motherboard, or is this a "you will silently lose data at the worst 
> possible time" situation?

You will most likely be fine.


> 
> >> (And what does it mean to "disable" the LAPIC?)
> > 
> > The LINT0 and LINT1 inputs of the APIC are routed straight to the INT and
> > NMI inputs of the CPU respectively and the rest of the APIC logic becomes
> > inactive (tri-stated, etc.).
> 
> If that were the case, then I could not enable the LAPIC and have NMIs 
> work, right?

No, again you should be fine.  All this means is that LINT0/1 go to
defaults of "EXTINT" and "NMI" when the APIC is disabled.  When they are
enabled, the programming of the LVT for LINT0/1 defines what they are.
When you enable it, linux will start programming the LVT and should
continue to use NMI in whatever way it sees fit.

The one way you will get screwed is if there is some routing information
that *should* be in the ACPI tables that is missing due to the lack of
support.  I don't think you will have an issue, but I figured it should
mention its not guaranteed you wont either.  So don't sue me... ;)

Regards,
-Greg


             reply	other threads:[~2007-07-31 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 12:53 Gregory Haskins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-07-31  8:06 John Sigler
2007-07-31 10:27 ` Maciej W. Rozycki
2007-07-31 12:32   ` John Sigler
2007-07-31 12:55     ` 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=46AEF8760200005A00028671@mcclure.wal.novell.com \
    --to=ghaskins@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux.kernel@free.fr \
    --cc=macro@linux-mips.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®