mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vegard Nossum" <vegard.nossum@gmail.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	"Frans Pop" <elendil@planet.nl>,
	linux-kernel@vger.kernel.org, "Andi Kleen" <andi@firstfloor.org>,
	"Ingo Molnar" <mingo@elte.hu>
Subject: Re: 2.6.27-rc3: 'APIC error on CPU1: 00(40)', but only on resume!
Date: Thu, 21 Aug 2008 14:20:26 +0200	[thread overview]
Message-ID: <19f34abd0808210520q60357776xbfcf288018e04161@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.55.0808211240090.22938@cliff.in.clinika.pl>

On Thu, Aug 21, 2008 at 1:51 PM, Maciej W. Rozycki <macro@linux-mips.org> wrote:
>  Otherwise there is no correlation between the sequence of APIC writes and
> an error triggering -- a bad vector in a LVT or interrupt redirection
> entry will be reported whenever its associated interrupt line gets active
> even though the entry might have been initialised long ago.  Depending on
> the device signalling hardware interrupts may quite often be ignored for a
> long time without affecting the stability of the rest of the system.

Ah, right. Here is a dump of the LVT registers:

[00000320] = 000100ef
[00000330] = 00000200
[00000340] = 00010000
[00000350] = 00010700
[00000360] = 00000400
[00000370] = 000000fe

Maybe I've misunderstood something (again), but should those vectors
really be 0 for 330-360? (At least 330 + 360, which are not masked.)

Intel manual says: "Receive Illegal Vector : Set when the local APIC
detects an illegal vector in the message it received, including an
illegal vector code in the local vector table interrupts or in a
self-interrupt."

And 0 is clearly an illegal value for the vector code: "When an
interrupt vector in the range 0 to 15 is sent or received through the
local APIC, the APIC indicates an illegal vector in its Error Status
Register [...]".

But I still find the whole thing slightly confusing. Will play a bit
with the LVT, maybe I can learn something more :-) Thanks for the
help!


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

  parent reply	other threads:[~2008-08-21 12:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20 19:06 Frans Pop
2008-08-20 19:38 ` Rafael J. Wysocki
2008-08-20 20:26   ` Frans Pop
2008-08-20 21:56     ` Rafael J. Wysocki
2008-08-21  9:27       ` Maciej W. Rozycki
2008-08-21 11:18         ` Vegard Nossum
2008-08-21 11:51           ` Maciej W. Rozycki
2008-08-21 12:01             ` Maciej W. Rozycki
2008-08-21 12:20             ` Vegard Nossum [this message]
2008-08-21 12:57               ` Maciej W. Rozycki
2008-08-21 13:14                 ` Vegard Nossum
2008-08-21 13:15                 ` Mikael Pettersson
2008-08-30 19:33               ` Yinghai Lu
2008-08-30 19:16         ` Frans Pop
2008-08-30 20:16           ` Maciej W. Rozycki
2008-09-04 20:18             ` Frans Pop
2008-08-21 11:30       ` Matthew Garrett
2008-08-21 11:31     ` Matthew Garrett
2008-08-22  0:02       ` Frans Pop

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=19f34abd0808210520q60357776xbfcf288018e04161@mail.gmail.com \
    --to=vegard.nossum@gmail.com \
    --cc=andi@firstfloor.org \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@linux-mips.org \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    /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®