From: William Lee Irwin III <wli@holomorphy.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: macro@linux-mips.org
Subject: Re: [PATCH] APIC physical broadcast for i82489DX
Date: Thu, 7 Oct 2004 11:32:03 -0700 [thread overview]
Message-ID: <20041007183203.GW9106@holomorphy.com> (raw)
In-Reply-To: <200410071609.i97G9reQ003072@hera.kernel.org>
On Thu, Oct 07, 2004 at 03:24:23PM +0000, Linux Kernel Mailing List wrote:
> ChangeSet 1.2133, 2004/10/07 08:24:23-07:00, macro@linux-mips.org
> [PATCH] APIC physical broadcast for i82489DX
> The physical broadcast ID is determined incorrectly for the i82489DX,
> which uses 8-bit physical addressing (32-bit logical).
> apic.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
> diff -Nru a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
> --- a/arch/i386/kernel/apic.c 2004-10-07 09:10:03 -07:00
> +++ b/arch/i386/kernel/apic.c 2004-10-07 09:10:03 -07:00
> @@ -91,7 +91,7 @@
> unsigned int lvr, version;
> lvr = apic_read(APIC_LVR);
> version = GET_APIC_VERSION(lvr);
> - if (version >= 0x14)
> + if (!APIC_INTEGRATED(version) || version >= 0x14)
> return 0xff;
> else
> return 0xf;
This is the same as version <= 0xf || version >= 0x14; I'm rather
suspicious, as the docs have long since been purged, making this
hopeless for anyone without archives (or a good memory) dating back to
that time to check. All that's really needed is citing the version that
comes out of the version register and checking other APIC
implementations to verify they don't have versions tripping this check,
the latter of which is feasible for those relying on still-extant
documentation. Better yet would be dredging up the docs... So, what is
the range of the version numbers reported by i82489DX's?
-- wli
next parent reply other threads:[~2004-10-07 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200410071609.i97G9reQ003072@hera.kernel.org>
2004-10-07 18:32 ` William Lee Irwin III [this message]
2004-10-07 22:12 ` [PATCH] APIC physical broadcast for i82489DX Maciej W. Rozycki
2004-10-07 22:45 ` William Lee Irwin III
2004-10-07 1:28 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=20041007183203.GW9106@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.