mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Wilck <martin.wilck@fujitsu-siemens.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] skip sync_arb_IDs on P4/Xeon
Date: Mon, 04 Oct 2004 18:35:36 +0200	[thread overview]
Message-ID: <41617BD8.3000907@fujitsu-siemens.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

Hi,

I recently came across an Intel statement saying that the "INIT Level 
deassert" IPI used by sync_arb_IDs() (arch/i386/kernel/apic.c) should 
not be used on P4 and Xeon which don't have APIC bus arbitration anyway.

See Intel IA32 architecture software developers manual vol. 3, 8.6.1 
(p.8-23), 8.7 (p. 8.31).

The patch below skips the unsupported IPI on P4/Xeon.

The same thing should probably be done for x86_64.

Regards,
Martin

-- 
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1        mailto:Martin.Wilck@Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy


[-- Attachment #2: sync_Arb_IDs.diff --]
[-- Type: text/x-patch, Size: 366 bytes --]

--- arch/i386/kernel/apic.c.orig	2004-10-04 14:54:27.000000000 +0200
+++ arch/i386/kernel/apic.c	2004-10-04 14:56:20.000000000 +0200
@@ -269,6 +269,9 @@ int __init verify_local_APIC(void)
 
 void __init sync_Arb_IDs(void)
 {
+	/* Unsupported on P4 - see Intel Dev. Manual Vol. 3, Ch. 8.6.1 */
+	if (boot_cpu_data.x86 == 15)
+		return;
 	/*
 	 * Wait for idle.
 	 */

                 reply	other threads:[~2004-10-04 15:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41617BD8.3000907@fujitsu-siemens.com \
    --to=martin.wilck@fujitsu-siemens.com \
    --cc=linux-kernel@vger.kernel.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®